@billgangcom/theme-lib 1.101.4 → 1.101.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder.cjs.js +3 -3
- package/dist/builder.es.js +712 -676
- package/dist/{index-CC9TWIGo.js → index-DVZrX3Xc.js} +710 -682
- package/dist/{index-BwJYWLp0.cjs → index-DcfdU2iD.cjs} +29 -29
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var u2=Object.defineProperty;var d2=(e,t,n)=>t in e?u2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var
|
|
1
|
+
"use strict";var u2=Object.defineProperty;var d2=(e,t,n)=>t in e?u2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ti=(e,t,n)=>d2(e,typeof t!="symbol"?t+"":t,n);const _=require("react"),r=require("@phosphor-icons/react"),To=require("react-dom");function Af(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const z=Af(_),h2=Af(To);var xd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ws(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bc={exports:{}},xi={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var _d;function f2(){if(_d)return
|
|
9
|
+
*/var _d;function f2(){if(_d)return xi;_d=1;var e=_,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(l,c,u){var h,f={},g=null,m=null;u!==void 0&&(g=""+u),c.key!==void 0&&(g=""+c.key),c.ref!==void 0&&(m=c.ref);for(h in c)o.call(c,h)&&!a.hasOwnProperty(h)&&(f[h]=c[h]);if(l&&l.defaultProps)for(h in c=l.defaultProps,c)f[h]===void 0&&(f[h]=c[h]);return{$$typeof:t,type:l,key:g,ref:m,props:f,_owner:i.current}}return xi.Fragment=n,xi.jsx=s,xi.jsxs=s,xi}var _i={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
`),Ne=ke.length-1,Me=Be.length-1;Ne>=1&&Me>=0&&ke[Ne]!==Be[Me];)Me--;for(;Ne>=1&&Me>=0;Ne--,Me--)if(ke[Ne]!==Be[Me]){if(Ne!==1||Me!==1)do if(Ne--,Me--,Me<0||ke[Ne]!==Be[Me]){var $t=`
|
|
21
21
|
`+ke[Ne].replace(" at new "," at ");return N.displayName&&$t.includes("<anonymous>")&&($t=$t.replace("<anonymous>",N.displayName)),typeof N=="function"&&ce.set(N,$t),$t}while(Ne>=1&&Me>=0);break}}}finally{ae=!1,ee.current=ye,le(),Error.prepareStackTrace=fe}var Yn=N?N.displayName||N.name:"",an=Yn?Se(Yn):"";return typeof N=="function"&&ce.set(N,an),an}function Ve(N,U,K){return Q(N,!1)}function Te(N){var U=N.prototype;return!!(U&&U.isReactComponent)}function we(N,U,K){if(N==null)return"";if(typeof N=="function")return Q(N,Te(N));if(typeof N=="string")return Se(N);switch(N){case u:return Se("Suspense");case h:return Se("SuspenseList")}if(typeof N=="object")switch(N.$$typeof){case c:return Ve(N.render);case f:return we(N.type,U,K);case g:{var J=N,fe=J._payload,ye=J._init;try{return we(ye(fe),U,K)}catch{}}}return""}var ze=Object.prototype.hasOwnProperty,Tt={},wt=S.ReactDebugCurrentFrame;function $e(N){if(N){var U=N._owner,K=we(N.type,N._source,U?U.type:null);wt.setExtraStackFrame(K)}else wt.setExtraStackFrame(null)}function nt(N,U,K,J,fe){{var ye=Function.call.bind(ze);for(var Ee in N)if(ye(N,Ee)){var ke=void 0;try{if(typeof N[Ee]!="function"){var Be=Error((J||"React class")+": "+K+" type `"+Ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof N[Ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Be.name="Invariant Violation",Be}ke=N[Ee](U,Ee,J,K,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ne){ke=Ne}ke&&!(ke instanceof Error)&&($e(fe),y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",J||"React class",K,Ee,typeof ke),$e(null)),ke instanceof Error&&!(ke.message in Tt)&&(Tt[ke.message]=!0,$e(fe),y("Failed %s type: %s",K,ke.message),$e(null))}}}var Tn=Array.isArray;function gt(N){return Tn(N)}function dn(N){{var U=typeof Symbol=="function"&&Symbol.toStringTag,K=U&&N[Symbol.toStringTag]||N.constructor.name||"Object";return K}}function It(N){try{return Lt(N),!1}catch{return!0}}function Lt(N){return""+N}function q(N){if(It(N))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",dn(N)),Lt(N)}var oe=S.ReactCurrentOwner,_e={key:!0,ref:!0,__self:!0,__source:!0},Ae,We;function rt(N){if(ze.call(N,"ref")){var U=Object.getOwnPropertyDescriptor(N,"ref").get;if(U&&U.isReactWarning)return!1}return N.ref!==void 0}function hn(N){if(ze.call(N,"key")){var U=Object.getOwnPropertyDescriptor(N,"key").get;if(U&&U.isReactWarning)return!1}return N.key!==void 0}function Je(N,U){typeof N.ref=="string"&&oe.current}function fn(N,U){{var K=function(){Ae||(Ae=!0,y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};K.isReactWarning=!0,Object.defineProperty(N,"key",{get:K,configurable:!0})}}function pn(N,U){{var K=function(){We||(We=!0,y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",U))};K.isReactWarning=!0,Object.defineProperty(N,"ref",{get:K,configurable:!0})}}var Nt=function(N,U,K,J,fe,ye,Ee){var ke={$$typeof:t,type:N,key:U,ref:K,props:Ee,_owner:ye};return ke._store={},Object.defineProperty(ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:J}),Object.defineProperty(ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(ke.props),Object.freeze(ke)),ke};function Gn(N,U,K,J,fe){{var ye,Ee={},ke=null,Be=null;K!==void 0&&(q(K),ke=""+K),hn(U)&&(q(U.key),ke=""+U.key),rt(U)&&(Be=U.ref,Je(U,fe));for(ye in U)ze.call(U,ye)&&!_e.hasOwnProperty(ye)&&(Ee[ye]=U[ye]);if(N&&N.defaultProps){var Ne=N.defaultProps;for(ye in Ne)Ee[ye]===void 0&&(Ee[ye]=Ne[ye])}if(ke||Be){var Me=typeof N=="function"?N.displayName||N.name||"Unknown":N;ke&&fn(Ee,Me),Be&&pn(Ee,Me)}return Nt(N,ke,Be,fe,J,oe.current,Ee)}}var zt=S.ReactCurrentOwner,Lr=S.ReactDebugCurrentFrame;function ir(N){if(N){var U=N._owner,K=we(N.type,N._source,U?U.type:null);Lr.setExtraStackFrame(K)}else Lr.setExtraStackFrame(null)}var Nr;Nr=!1;function Ct(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function Yt(){{if(zt.current){var N=X(zt.current.type);if(N)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+N+"`."}return""}}function Zt(N){return""}var
|
|
23
|
+
Check the render method of \``+N+"`."}return""}}function Zt(N){return""}var Bn={};function on(N){{var U=Yt();if(!U){var K=typeof N=="string"?N:N.displayName||N.name;K&&(U=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+K+">.")}return U}}function Pt(N,U){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var K=on(U);if(
|
|
25
|
+
Check the top-level render call using <`+K+">.")}return U}}function Pt(N,U){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var K=on(U);if(Bn[K])return;Bn[K]=!0;var J="";N&&N._owner&&N._owner!==zt.current&&(J=" It was passed a child from "+X(N._owner.type)+"."),ir(N),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',K,J),ir(null)}}function Xt(N,U){{if(typeof N!="object")return;if(gt(N))for(var K=0;K<N.length;K++){var J=N[K];Ct(J)&&Pt(J,U)}else if(Ct(N))N._store&&(N._store.validated=!0);else if(N){var fe=b(N);if(typeof fe=="function"&&fe!==N.entries)for(var ye=fe.call(N),Ee;!(Ee=ye.next()).done;)Ct(Ee.value)&&Pt(Ee.value,U)}}}function gr(N){{var U=N.type;if(U==null||typeof U=="string")return;var K;if(typeof U=="function")K=U.propTypes;else if(typeof U=="object"&&(U.$$typeof===c||U.$$typeof===f))K=U.propTypes;else return;if(K){var J=X(U);nt(K,N.props,"prop",J,N)}else if(U.PropTypes!==void 0&&!Nr){Nr=!0;var fe=X(U);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fe||"Unknown")}typeof U.getDefaultProps=="function"&&!U.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Rt(N){{for(var U=Object.keys(N.props),K=0;K<U.length;K++){var J=U[K];if(J!=="children"&&J!=="key"){ir(N),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",J),ir(null);break}}N.ref!==null&&(ir(N),y("Invalid attribute `ref` supplied to `React.Fragment`."),ir(null))}}var O={};function F(N,U,K,J,fe,ye){{var Ee=w(N);if(!Ee){var ke="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Be=Zt();Be?ke+=Be:ke+=Yt();var Ne;N===null?Ne="null":gt(N)?Ne="array":N!==void 0&&N.$$typeof===t?(Ne="<"+(X(N.type)||"Unknown")+" />",ke=" Did you accidentally export a JSX literal instead of a component?"):Ne=typeof N,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ne,ke)}var Me=Gn(N,U,K,fe,ye);if(Me==null)return Me;if(Ee){var $t=U.children;if($t!==void 0)if(J)if(gt($t)){for(var Yn=0;Yn<$t.length;Yn++)Xt($t[Yn],N);Object.freeze&&Object.freeze($t)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Xt($t,N)}if(ze.call(U,"key")){var an=X(N),ft=Object.keys(U).filter(function(Pr){return Pr!=="key"}),fo=ft.length>0?"{key: someKey, "+ft.join(": ..., ")+": ...}":"{key: someKey}";if(!O[an+fo]){var po=ft.length>0?"{"+ft.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,fo,an,po,an),O[an+fo]=!0}}return N===o?Rt(Me):gr(Me),Me}}function $(N,U,K){return F(N,U,K,!0)}function te(N,U,K){return F(N,U,K,!1)}var me=te,xe=$;
|
|
30
|
+
<%s key={someKey} {...props} />`,fo,an,po,an),O[an+fo]=!0}}return N===o?Rt(Me):gr(Me),Me}}function $(N,U,K){return F(N,U,K,!0)}function te(N,U,K){return F(N,U,K,!1)}var me=te,xe=$;_i.Fragment=o,_i.jsx=me,_i.jsxs=xe}()),_i}process.env.NODE_ENV==="production"?bc.exports=f2():bc.exports=p2();var d=bc.exports;/**
|
|
31
31
|
* @remix-run/router v1.23.0
|
|
32
32
|
*
|
|
33
33
|
* Copyright (c) Remix Software Inc.
|
|
@@ -36,8 +36,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
36
36
|
* LICENSE.md file in the root directory of this source tree.
|
|
37
37
|
*
|
|
38
38
|
* @license MIT
|
|
39
|
-
*/function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Et.apply(this,arguments)}var jt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(jt||(jt={}));const vd="popstate";function m2(e){e===void 0&&(e={});function t(o,i){let{pathname:a,search:s,hash:l}=o.location;return ia("",{pathname:a,search:s,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(o,i){return typeof i=="string"?i:oo(i)}return I2(t,n,null,e)}function Re(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Gt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function g2(){return Math.random().toString(36).substr(2,8)}function Ad(e,t){return{usr:e.state,key:e.key,idx:t}}function ia(e,t,n,o){return n===void 0&&(n=null),Et({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?lo(t):t,{state:n,key:t&&t.key||o||g2()})}function oo(e){let{pathname:t="/",search:n="",hash:o=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function lo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function I2(e,t,n,o){o===void 0&&(o={});let{window:i=document.defaultView,v5Compat:a=!1}=o,s=i.history,l=jt.Pop,c=null,u=h();u==null&&(u=0,s.replaceState(Et({},s.state,{idx:u}),""));function h(){return(s.state||{idx:null}).idx}function f(){l=jt.Pop;let b=h(),S=b==null?null:b-u;u=b,c&&c({action:l,location:I.location,delta:S})}function g(b,S){l=jt.Push;let y=ia(I.location,b,S);u=h()+1;let T=Ad(y,u),k=I.createHref(y);try{s.pushState(T,"",k)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(k)}a&&c&&c({action:l,location:I.location,delta:1})}function m(b,S){l=jt.Replace;let y=ia(I.location,b,S);u=h();let T=Ad(y,u),k=I.createHref(y);s.replaceState(T,"",k),a&&c&&c({action:l,location:I.location,delta:0})}function C(b){let S=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof b=="string"?b:oo(b);return y=y.replace(/ $/,"%20"),Re(S,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,S)}let I={get action(){return l},get location(){return e(i,s)},listen(b){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(vd,f),c=b,()=>{i.removeEventListener(vd,f),c=null}},createHref(b){return t(i,b)},createURL:C,encodeLocation(b){let S=C(b);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:m,go(b){return s.go(b)}};return I}var ot;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ot||(ot={}));const C2=new Set(["lazy","caseSensitive","path","id","index","children"]);function b2(e){return e.index===!0}function xs(e,t,n,o){return n===void 0&&(n=[]),o===void 0&&(o={}),e.map((i,a)=>{let s=[...n,String(a)],l=typeof i.id=="string"?i.id:s.join("-");if(Re(i.index!==!0||!i.children,"Cannot specify children on an index route"),Re(!o[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),b2(i)){let c=Et({},i,t(i),{id:l});return o[l]=c,c}else{let c=Et({},i,t(i),{id:l,children:void 0});return o[l]=c,i.children&&(c.children=xs(i.children,t,s,o)),c}})}function bo(e,t,n){return n===void 0&&(n="/"),us(e,t,n,!1)}function us(e,t,n,o){let i=typeof t=="string"?lo(t):t,a=ur(i.pathname||"/",n);if(a==null)return null;let s=kf(e);y2(s);let l=null;for(let c=0;l==null&&c<s.length;++c){let u=P2(a);l=L2(s[c],u,o)}return l}function S2(e,t){let{route:n,pathname:o,params:i}=e;return{id:n.id,pathname:o,params:i,data:t[n.id],handle:n.handle}}function kf(e,t,n,o){t===void 0&&(t=[]),n===void 0&&(n=[]),o===void 0&&(o="");let i=(a,s,l)=>{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};c.relativePath.startsWith("/")&&(Re(c.relativePath.startsWith(o),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(o.length));let u=_r([o,c.relativePath]),h=n.concat(c);a.children&&a.children.length>0&&(Re(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kf(a.children,t,h,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:A2(u,a.index),routesMeta:h})};return e.forEach((a,s)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,s);else for(let c of Lf(a.path))i(a,s,c)}),t}function Lf(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(o.length===0)return i?[a,""]:[a];let s=Lf(o.join("/")),l=[];return l.push(...s.map(c=>c===""?a:[a,c].join("/"))),i&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function y2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:k2(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}const E2=/^:[\w-]+$/,T2=3,x2=2,_2=1,w2=10,v2=-2,kd=e=>e==="*";function A2(e,t){let n=e.split("/"),o=n.length;return n.some(kd)&&(o+=v2),t&&(o+=x2),n.filter(i=>!kd(i)).reduce((i,a)=>i+(E2.test(a)?T2:a===""?_2:w2),o)}function k2(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function L2(e,t,n){n===void 0&&(n=!1);let{routesMeta:o}=e,i={},a="/",s=[];for(let l=0;l<o.length;++l){let c=o[l],u=l===o.length-1,h=a==="/"?t:t.slice(a.length)||"/",f=_s({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},h),g=c.route;if(!f&&u&&n&&!o[o.length-1].route.index&&(f=_s({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},h)),!f)return null;Object.assign(i,f.params),s.push({params:i,pathname:_r([a,f.pathname]),pathnameBase:O2(_r([a,f.pathnameBase])),route:g}),f.pathnameBase!=="/"&&(a=_r([a,f.pathnameBase]))}return s}function _s(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=N2(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],s=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:o.reduce((u,h,f)=>{let{paramName:g,isOptional:m}=h;if(g==="*"){let I=l[f]||"";s=a.slice(0,a.length-I.length).replace(/(.)\/+$/,"$1")}const C=l[f];return m&&!C?u[g]=void 0:u[g]=(C||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:s,pattern:e}}function N2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Gt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,c)=>(o.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function P2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Gt(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ur(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function R2(e,t){t===void 0&&(t="/");let{pathname:n,search:o="",hash:i=""}=typeof e=="string"?lo(e):e;return{pathname:n?n.startsWith("/")?n:D2(n,t):t,search:M2(o),hash:B2(i)}}function D2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function wl(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Nf(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Cu(e,t){let n=Nf(e);return t?n.map((o,i)=>i===n.length-1?o.pathname:o.pathnameBase):n.map(o=>o.pathnameBase)}function bu(e,t,n,o){o===void 0&&(o=!1);let i;typeof e=="string"?i=lo(e):(i=Et({},e),Re(!i.pathname||!i.pathname.includes("?"),wl("?","pathname","search",i)),Re(!i.pathname||!i.pathname.includes("#"),wl("#","pathname","hash",i)),Re(!i.search||!i.search.includes("#"),wl("#","search","hash",i)));let a=e===""||i.pathname==="",s=a?"/":i.pathname,l;if(s==null)l=n;else{let f=t.length-1;if(!o&&s.startsWith("..")){let g=s.split("/");for(;g[0]==="..";)g.shift(),f-=1;i.pathname=g.join("/")}l=f>=0?t[f]:"/"}let c=R2(i,l),u=s&&s!=="/"&&s.endsWith("/"),h=(a||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||h)&&(c.pathname+="/"),c}const _r=e=>e.join("/").replace(/\/\/+/g,"/"),O2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,B2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ws{constructor(t,n,o,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}}function aa(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Pf=["post","put","patch","delete"],F2=new Set(Pf),H2=["get",...Pf],j2=new Set(H2),U2=new Set([301,302,303,307,308]),V2=new Set([307,308]),vl={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},z2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_i={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Su=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Rf="remix-router-transitions";function W2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",o=!n;Re(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let O=e.detectErrorBoundary;i=F=>({hasErrorBoundary:O(F)})}else i=$2;let a={},s=xs(e.routes,i,void 0,a),l,c=e.basename||"/",u=e.dataStrategy||Z2,h=e.patchRoutesOnNavigation,f=Et({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),g=null,m=new Set,C=null,I=null,b=null,S=e.hydrationData!=null,y=bo(s,e.history.location,c),T=!1,k=null;if(y==null&&!h){let O=Nn(404,{pathname:e.history.location.pathname}),{matches:F,route:$}=jd(s);y=F,k={[$.id]:O}}y&&!e.hydrationData&&Pt(y,s,e.history.location.pathname).active&&(y=null);let A;if(y)if(y.some(O=>O.route.lazy))A=!1;else if(!y.some(O=>O.route.loader))A=!0;else if(f.v7_partialHydration){let O=e.hydrationData?e.hydrationData.loaderData:null,F=e.hydrationData?e.hydrationData.errors:null;if(F){let $=y.findIndex(te=>F[te.route.id]!==void 0);A=y.slice(0,$+1).every(te=>!yc(te.route,O,F))}else A=y.every($=>!yc($.route,O,F))}else A=e.hydrationData!=null;else if(A=!1,y=[],f.v7_partialHydration){let O=Pt(null,s,e.history.location.pathname);O.active&&O.matches&&(T=!0,y=O.matches)}let P,E={historyAction:e.history.action,location:e.history.location,matches:y,initialized:A,navigation:vl,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||k,fetchers:new Map,blockers:new Map},M=jt.Pop,B=!1,w,V=!1,H=new Map,X=null,W=!1,se=!1,Ce=[],be=new Set,ve=new Map,Le=0,x=-1,ne=new Map,pe=new Set,L=new Map,Z=new Map,le=new Set,ee=new Map,Ie=new Map,Se;function ae(){if(g=e.history.listen(O=>{let{action:F,location:$,delta:te}=O;if(Se){Se(),Se=void 0;return}Gt(Ie.size===0||te!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let me=ir({currentLocation:E.location,nextLocation:$,historyAction:F});if(me&&te!=null){let xe=new Promise(N=>{Se=N});e.history.go(te*-1),Lr(me,{state:"blocked",location:$,proceed(){Lr(me,{state:"proceeding",proceed:void 0,reset:void 0,location:$}),xe.then(()=>e.history.go(te))},reset(){let N=new Map(E.blockers);N.set(me,_i),Q({blockers:N})}});return}return ze(F,$)}),n){c3(t,H);let O=()=>u3(t,H);t.addEventListener("pagehide",O),X=()=>t.removeEventListener("pagehide",O)}return E.initialized||ze(jt.Pop,E.location,{initialHydration:!0}),P}function ce(){g&&g(),X&&X(),m.clear(),w&&w.abort(),E.fetchers.forEach((O,F)=>rt(F)),E.blockers.forEach((O,F)=>zt(F))}function Ue(O){return m.add(O),()=>m.delete(O)}function Q(O,F){F===void 0&&(F={}),E=Et({},E,O);let $=[],te=[];f.v7_fetcherPersist&&E.fetchers.forEach((me,xe)=>{me.state==="idle"&&(le.has(xe)?te.push(xe):$.push(xe))}),le.forEach(me=>{!E.fetchers.has(me)&&!ve.has(me)&&te.push(me)}),[...m].forEach(me=>me(E,{deletedFetchers:te,viewTransitionOpts:F.viewTransitionOpts,flushSync:F.flushSync===!0})),f.v7_fetcherPersist?($.forEach(me=>E.fetchers.delete(me)),te.forEach(me=>rt(me))):te.forEach(me=>le.delete(me))}function Ve(O,F,$){var te,me;let{flushSync:xe}=$===void 0?{}:$,N=E.actionData!=null&&E.navigation.formMethod!=null&&lr(E.navigation.formMethod)&&E.navigation.state==="loading"&&((te=O.state)==null?void 0:te._isRedirect)!==!0,U;F.actionData?Object.keys(F.actionData).length>0?U=F.actionData:U=null:N?U=E.actionData:U=null;let K=F.loaderData?Fd(E.loaderData,F.loaderData,F.matches||[],F.errors):E.loaderData,J=E.blockers;J.size>0&&(J=new Map(J),J.forEach((Ee,ke)=>J.set(ke,_i)));let fe=B===!0||E.navigation.formMethod!=null&&lr(E.navigation.formMethod)&&((me=O.state)==null?void 0:me._isRedirect)!==!0;l&&(s=l,l=void 0),W||M===jt.Pop||(M===jt.Push?e.history.push(O,O.state):M===jt.Replace&&e.history.replace(O,O.state));let ye;if(M===jt.Pop){let Ee=H.get(E.location.pathname);Ee&&Ee.has(O.pathname)?ye={currentLocation:E.location,nextLocation:O}:H.has(O.pathname)&&(ye={currentLocation:O,nextLocation:E.location})}else if(V){let Ee=H.get(E.location.pathname);Ee?Ee.add(O.pathname):(Ee=new Set([O.pathname]),H.set(E.location.pathname,Ee)),ye={currentLocation:E.location,nextLocation:O}}Q(Et({},F,{actionData:U,loaderData:K,historyAction:M,location:O,initialized:!0,navigation:vl,revalidation:"idle",restoreScrollPosition:on(O,F.matches||E.matches),preventScrollReset:fe,blockers:J}),{viewTransitionOpts:ye,flushSync:xe===!0}),M=jt.Pop,B=!1,V=!1,W=!1,se=!1,Ce=[]}async function Te(O,F){if(typeof O=="number"){e.history.go(O);return}let $=Sc(E.location,E.matches,c,f.v7_prependBasename,O,f.v7_relativeSplatPath,F==null?void 0:F.fromRouteId,F==null?void 0:F.relative),{path:te,submission:me,error:xe}=Ld(f.v7_normalizeFormMethod,!1,$,F),N=E.location,U=ia(E.location,te,F&&F.state);U=Et({},U,e.history.encodeLocation(U));let K=F&&F.replace!=null?F.replace:void 0,J=jt.Push;K===!0?J=jt.Replace:K===!1||me!=null&&lr(me.formMethod)&&me.formAction===E.location.pathname+E.location.search&&(J=jt.Replace);let fe=F&&"preventScrollReset"in F?F.preventScrollReset===!0:void 0,ye=(F&&F.flushSync)===!0,Ee=ir({currentLocation:N,nextLocation:U,historyAction:J});if(Ee){Lr(Ee,{state:"blocked",location:U,proceed(){Lr(Ee,{state:"proceeding",proceed:void 0,reset:void 0,location:U}),Te(O,F)},reset(){let ke=new Map(E.blockers);ke.set(Ee,_i),Q({blockers:ke})}});return}return await ze(J,U,{submission:me,pendingError:xe,preventScrollReset:fe,replace:F&&F.replace,enableViewTransition:F&&F.viewTransition,flushSync:ye})}function we(){if(oe(),Q({revalidation:"loading"}),E.navigation.state!=="submitting"){if(E.navigation.state==="idle"){ze(E.historyAction,E.location,{startUninterruptedRevalidation:!0});return}ze(M||E.historyAction,E.navigation.location,{overrideNavigation:E.navigation,enableViewTransition:V===!0})}}async function ze(O,F,$){w&&w.abort(),w=null,M=O,W=($&&$.startUninterruptedRevalidation)===!0,Mn(E.location,E.matches),B=($&&$.preventScrollReset)===!0,V=($&&$.enableViewTransition)===!0;let te=l||s,me=$&&$.overrideNavigation,xe=$!=null&&$.initialHydration&&E.matches&&E.matches.length>0&&!T?E.matches:bo(te,F,c),N=($&&$.flushSync)===!0;if(xe&&E.initialized&&!se&&t3(E.location,F)&&!($&&$.submission&&lr($.submission.formMethod))){Ve(F,{matches:xe},{flushSync:N});return}let U=Pt(xe,te,F.pathname);if(U.active&&U.matches&&(xe=U.matches),!xe){let{error:Be,notFoundMatches:Ne,route:Me}=Nr(F.pathname);Ve(F,{matches:Ne,loaderData:{},errors:{[Me.id]:Be}},{flushSync:N});return}w=new AbortController;let K=jo(e.history,F,w.signal,$&&$.submission),J;if($&&$.pendingError)J=[So(xe).route.id,{type:ot.error,error:$.pendingError}];else if($&&$.submission&&lr($.submission.formMethod)){let Be=await Tt(K,F,$.submission,xe,U.active,{replace:$.replace,flushSync:N});if(Be.shortCircuited)return;if(Be.pendingActionResult){let[Ne,Me]=Be.pendingActionResult;if(Un(Me)&&aa(Me.error)&&Me.error.status===404){w=null,Ve(F,{matches:Be.matches,loaderData:{},errors:{[Ne]:Me.error}});return}}xe=Be.matches||xe,J=Be.pendingActionResult,me=Al(F,$.submission),N=!1,U.active=!1,K=jo(e.history,K.url,K.signal)}let{shortCircuited:fe,matches:ye,loaderData:Ee,errors:ke}=await wt(K,F,xe,U.active,me,$&&$.submission,$&&$.fetcherSubmission,$&&$.replace,$&&$.initialHydration===!0,N,J);fe||(w=null,Ve(F,Et({matches:ye||xe},Hd(J),{loaderData:Ee,errors:ke})))}async function Tt(O,F,$,te,me,xe){xe===void 0&&(xe={}),oe();let N=s3(F,$);if(Q({navigation:N},{flushSync:xe.flushSync===!0}),me){let J=await Xt(te,F.pathname,O.signal);if(J.type==="aborted")return{shortCircuited:!0};if(J.type==="error"){let fe=So(J.partialMatches).route.id;return{matches:J.partialMatches,pendingActionResult:[fe,{type:ot.error,error:J.error}]}}else if(J.matches)te=J.matches;else{let{notFoundMatches:fe,error:ye,route:Ee}=Nr(F.pathname);return{matches:fe,pendingActionResult:[Ee.id,{type:ot.error,error:ye}]}}}let U,K=Fi(te,F);if(!K.route.action&&!K.route.lazy)U={type:ot.error,error:Nn(405,{method:O.method,pathname:F.pathname,routeId:K.route.id})};else if(U=(await Lt("action",E,O,[K],te,null))[K.route.id],O.signal.aborted)return{shortCircuited:!0};if(xo(U)){let J;return xe&&xe.replace!=null?J=xe.replace:J=Od(U.response.headers.get("Location"),new URL(O.url),c)===E.location.pathname+E.location.search,await It(O,U,!0,{submission:$,replace:J}),{shortCircuited:!0}}if(to(U))throw Nn(400,{type:"defer-action"});if(Un(U)){let J=So(te,K.route.id);return(xe&&xe.replace)!==!0&&(M=jt.Push),{matches:te,pendingActionResult:[J.route.id,U]}}return{matches:te,pendingActionResult:[K.route.id,U]}}async function wt(O,F,$,te,me,xe,N,U,K,J,fe){let ye=me||Al(F,xe),Ee=xe||N||Vd(ye),ke=!W&&(!f.v7_partialHydration||!K);if(te){if(ke){let vt=$e(fe);Q(Et({navigation:ye},vt!==void 0?{actionData:vt}:{}),{flushSync:J})}let Ke=await Xt($,F.pathname,O.signal);if(Ke.type==="aborted")return{shortCircuited:!0};if(Ke.type==="error"){let vt=So(Ke.partialMatches).route.id;return{matches:Ke.partialMatches,loaderData:{},errors:{[vt]:Ke.error}}}else if(Ke.matches)$=Ke.matches;else{let{error:vt,notFoundMatches:Fo,route:yi}=Nr(F.pathname);return{matches:Fo,loaderData:{},errors:{[yi.id]:vt}}}}let Be=l||s,[Ne,Me]=Pd(e.history,E,$,Ee,F,f.v7_partialHydration&&K===!0,f.v7_skipActionErrorRevalidation,se,Ce,be,le,L,pe,Be,c,fe);if(Ct(Ke=>!($&&$.some(vt=>vt.route.id===Ke))||Ne&&Ne.some(vt=>vt.route.id===Ke)),x=++Le,Ne.length===0&&Me.length===0){let Ke=pn();return Ve(F,Et({matches:$,loaderData:{},errors:fe&&Un(fe[1])?{[fe[0]]:fe[1].error}:null},Hd(fe),Ke?{fetchers:new Map(E.fetchers)}:{}),{flushSync:J}),{shortCircuited:!0}}if(ke){let Ke={};if(!te){Ke.navigation=ye;let vt=$e(fe);vt!==void 0&&(Ke.actionData=vt)}Me.length>0&&(Ke.fetchers=nt(Me)),Q(Ke,{flushSync:J})}Me.forEach(Ke=>{Je(Ke.key),Ke.controller&&ve.set(Ke.key,Ke.controller)});let $t=()=>Me.forEach(Ke=>Je(Ke.key));w&&w.signal.addEventListener("abort",$t);let{loaderResults:Yn,fetcherResults:an}=await q(E,$,Ne,Me,O);if(O.signal.aborted)return{shortCircuited:!0};w&&w.signal.removeEventListener("abort",$t),Me.forEach(Ke=>ve.delete(Ke.key));let ft=ja(Yn);if(ft)return await It(O,ft.result,!0,{replace:U}),{shortCircuited:!0};if(ft=ja(an),ft)return pe.add(ft.key),await It(O,ft.result,!0,{replace:U}),{shortCircuited:!0};let{loaderData:fo,errors:po}=Bd(E,$,Yn,fe,Me,an,ee);ee.forEach((Ke,vt)=>{Ke.subscribe(Fo=>{(Fo||Ke.done)&&ee.delete(vt)})}),f.v7_partialHydration&&K&&E.errors&&(po=Et({},E.errors,po));let Pr=pn(),Fa=Nt(x),Ha=Pr||Fa||Me.length>0;return Et({matches:$,loaderData:fo,errors:po},Ha?{fetchers:new Map(E.fetchers)}:{})}function $e(O){if(O&&!Un(O[1]))return{[O[0]]:O[1].data};if(E.actionData)return Object.keys(E.actionData).length===0?null:E.actionData}function nt(O){return O.forEach(F=>{let $=E.fetchers.get(F.key),te=wi(void 0,$?$.data:void 0);E.fetchers.set(F.key,te)}),new Map(E.fetchers)}function Tn(O,F,$,te){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Je(O);let me=(te&&te.flushSync)===!0,xe=l||s,N=Sc(E.location,E.matches,c,f.v7_prependBasename,$,f.v7_relativeSplatPath,F,te==null?void 0:te.relative),U=bo(xe,N,c),K=Pt(U,xe,N);if(K.active&&K.matches&&(U=K.matches),!U){Ae(O,F,Nn(404,{pathname:N}),{flushSync:me});return}let{path:J,submission:fe,error:ye}=Ld(f.v7_normalizeFormMethod,!0,N,te);if(ye){Ae(O,F,ye,{flushSync:me});return}let Ee=Fi(U,J),ke=(te&&te.preventScrollReset)===!0;if(fe&&lr(fe.formMethod)){gt(O,F,J,Ee,U,K.active,me,ke,fe);return}L.set(O,{routeId:F,path:J}),dn(O,F,J,Ee,U,K.active,me,ke,fe)}async function gt(O,F,$,te,me,xe,N,U,K){oe(),L.delete(O);function J(Bt){if(!Bt.route.action&&!Bt.route.lazy){let Ho=Nn(405,{method:K.formMethod,pathname:$,routeId:F});return Ae(O,F,Ho,{flushSync:N}),!0}return!1}if(!xe&&J(te))return;let fe=E.fetchers.get(O);_e(O,l3(K,fe),{flushSync:N});let ye=new AbortController,Ee=jo(e.history,$,ye.signal,K);if(xe){let Bt=await Xt(me,new URL(Ee.url).pathname,Ee.signal,O);if(Bt.type==="aborted")return;if(Bt.type==="error"){Ae(O,F,Bt.error,{flushSync:N});return}else if(Bt.matches){if(me=Bt.matches,te=Fi(me,$),J(te))return}else{Ae(O,F,Nn(404,{pathname:$}),{flushSync:N});return}}ve.set(O,ye);let ke=Le,Ne=(await Lt("action",E,Ee,[te],me,O))[te.route.id];if(Ee.signal.aborted){ve.get(O)===ye&&ve.delete(O);return}if(f.v7_fetcherPersist&&le.has(O)){if(xo(Ne)||Un(Ne)){_e(O,Xr(void 0));return}}else{if(xo(Ne))if(ve.delete(O),x>ke){_e(O,Xr(void 0));return}else return pe.add(O),_e(O,wi(K)),It(Ee,Ne,!1,{fetcherSubmission:K,preventScrollReset:U});if(Un(Ne)){Ae(O,F,Ne.error);return}}if(to(Ne))throw Nn(400,{type:"defer-action"});let Me=E.navigation.location||E.location,$t=jo(e.history,Me,ye.signal),Yn=l||s,an=E.navigation.state!=="idle"?bo(Yn,E.navigation.location,c):E.matches;Re(an,"Didn't find any matches after fetcher action");let ft=++Le;ne.set(O,ft);let fo=wi(K,Ne.data);E.fetchers.set(O,fo);let[po,Pr]=Pd(e.history,E,an,K,Me,!1,f.v7_skipActionErrorRevalidation,se,Ce,be,le,L,pe,Yn,c,[te.route.id,Ne]);Pr.filter(Bt=>Bt.key!==O).forEach(Bt=>{let Ho=Bt.key,Td=E.fetchers.get(Ho),c2=wi(void 0,Td?Td.data:void 0);E.fetchers.set(Ho,c2),Je(Ho),Bt.controller&&ve.set(Ho,Bt.controller)}),Q({fetchers:new Map(E.fetchers)});let Fa=()=>Pr.forEach(Bt=>Je(Bt.key));ye.signal.addEventListener("abort",Fa);let{loaderResults:Ha,fetcherResults:Ke}=await q(E,an,po,Pr,$t);if(ye.signal.aborted)return;ye.signal.removeEventListener("abort",Fa),ne.delete(O),ve.delete(O),Pr.forEach(Bt=>ve.delete(Bt.key));let vt=ja(Ha);if(vt)return It($t,vt.result,!1,{preventScrollReset:U});if(vt=ja(Ke),vt)return pe.add(vt.key),It($t,vt.result,!1,{preventScrollReset:U});let{loaderData:Fo,errors:yi}=Bd(E,an,Ha,void 0,Pr,Ke,ee);if(E.fetchers.has(O)){let Bt=Xr(Ne.data);E.fetchers.set(O,Bt)}Nt(ft),E.navigation.state==="loading"&&ft>x?(Re(M,"Expected pending action"),w&&w.abort(),Ve(E.navigation.location,{matches:an,loaderData:Fo,errors:yi,fetchers:new Map(E.fetchers)})):(Q({errors:yi,loaderData:Fd(E.loaderData,Fo,an,yi),fetchers:new Map(E.fetchers)}),se=!1)}async function dn(O,F,$,te,me,xe,N,U,K){let J=E.fetchers.get(O);_e(O,wi(K,J?J.data:void 0),{flushSync:N});let fe=new AbortController,ye=jo(e.history,$,fe.signal);if(xe){let Ne=await Xt(me,new URL(ye.url).pathname,ye.signal,O);if(Ne.type==="aborted")return;if(Ne.type==="error"){Ae(O,F,Ne.error,{flushSync:N});return}else if(Ne.matches)me=Ne.matches,te=Fi(me,$);else{Ae(O,F,Nn(404,{pathname:$}),{flushSync:N});return}}ve.set(O,fe);let Ee=Le,Be=(await Lt("loader",E,ye,[te],me,O))[te.route.id];if(to(Be)&&(Be=await yu(Be,ye.signal,!0)||Be),ve.get(O)===fe&&ve.delete(O),!ye.signal.aborted){if(le.has(O)){_e(O,Xr(void 0));return}if(xo(Be))if(x>Ee){_e(O,Xr(void 0));return}else{pe.add(O),await It(ye,Be,!1,{preventScrollReset:U});return}if(Un(Be)){Ae(O,F,Be.error);return}Re(!to(Be),"Unhandled fetcher deferred data"),_e(O,Xr(Be.data))}}async function It(O,F,$,te){let{submission:me,fetcherSubmission:xe,preventScrollReset:N,replace:U}=te===void 0?{}:te;F.response.headers.has("X-Remix-Revalidate")&&(se=!0);let K=F.response.headers.get("Location");Re(K,"Expected a Location header on the redirect Response"),K=Od(K,new URL(O.url),c);let J=ia(E.location,K,{_isRedirect:!0});if(n){let Ne=!1;if(F.response.headers.has("X-Remix-Reload-Document"))Ne=!0;else if(Su.test(K)){const Me=e.history.createURL(K);Ne=Me.origin!==t.location.origin||ur(Me.pathname,c)==null}if(Ne){U?t.location.replace(K):t.location.assign(K);return}}w=null;let fe=U===!0||F.response.headers.has("X-Remix-Replace")?jt.Replace:jt.Push,{formMethod:ye,formAction:Ee,formEncType:ke}=E.navigation;!me&&!xe&&ye&&Ee&&ke&&(me=Vd(E.navigation));let Be=me||xe;if(V2.has(F.response.status)&&Be&&lr(Be.formMethod))await ze(fe,J,{submission:Et({},Be,{formAction:K}),preventScrollReset:N||B,enableViewTransition:$?V:void 0});else{let Ne=Al(J,me);await ze(fe,J,{overrideNavigation:Ne,fetcherSubmission:xe,preventScrollReset:N||B,enableViewTransition:$?V:void 0})}}async function Lt(O,F,$,te,me,xe){let N,U={};try{N=await X2(u,O,F,$,te,me,xe,a,i)}catch(K){return te.forEach(J=>{U[J.route.id]={type:ot.error,error:K}}),U}for(let[K,J]of Object.entries(N))if(n3(J)){let fe=J.result;U[K]={type:ot.redirect,response:J2(fe,$,K,me,c,f.v7_relativeSplatPath)}}else U[K]=await Q2(J);return U}async function q(O,F,$,te,me){let xe=O.matches,N=Lt("loader",O,me,$,F,null),U=Promise.all(te.map(async fe=>{if(fe.matches&&fe.match&&fe.controller){let Ee=(await Lt("loader",O,jo(e.history,fe.path,fe.controller.signal),[fe.match],fe.matches,fe.key))[fe.match.route.id];return{[fe.key]:Ee}}else return Promise.resolve({[fe.key]:{type:ot.error,error:Nn(404,{pathname:fe.path})}})})),K=await N,J=(await U).reduce((fe,ye)=>Object.assign(fe,ye),{});return await Promise.all([i3(F,K,me.signal,xe,O.loaderData),a3(F,J,te)]),{loaderResults:K,fetcherResults:J}}function oe(){se=!0,Ce.push(...Ct()),L.forEach((O,F)=>{ve.has(F)&&be.add(F),Je(F)})}function _e(O,F,$){$===void 0&&($={}),E.fetchers.set(O,F),Q({fetchers:new Map(E.fetchers)},{flushSync:($&&$.flushSync)===!0})}function Ae(O,F,$,te){te===void 0&&(te={});let me=So(E.matches,F);rt(O),Q({errors:{[me.route.id]:$},fetchers:new Map(E.fetchers)},{flushSync:(te&&te.flushSync)===!0})}function We(O){return Z.set(O,(Z.get(O)||0)+1),le.has(O)&&le.delete(O),E.fetchers.get(O)||z2}function rt(O){let F=E.fetchers.get(O);ve.has(O)&&!(F&&F.state==="loading"&&ne.has(O))&&Je(O),L.delete(O),ne.delete(O),pe.delete(O),f.v7_fetcherPersist&&le.delete(O),be.delete(O),E.fetchers.delete(O)}function hn(O){let F=(Z.get(O)||0)-1;F<=0?(Z.delete(O),le.add(O),f.v7_fetcherPersist||rt(O)):Z.set(O,F),Q({fetchers:new Map(E.fetchers)})}function Je(O){let F=ve.get(O);F&&(F.abort(),ve.delete(O))}function fn(O){for(let F of O){let $=We(F),te=Xr($.data);E.fetchers.set(F,te)}}function pn(){let O=[],F=!1;for(let $ of pe){let te=E.fetchers.get($);Re(te,"Expected fetcher: "+$),te.state==="loading"&&(pe.delete($),O.push($),F=!0)}return fn(O),F}function Nt(O){let F=[];for(let[$,te]of ne)if(te<O){let me=E.fetchers.get($);Re(me,"Expected fetcher: "+$),me.state==="loading"&&(Je($),ne.delete($),F.push($))}return fn(F),F.length>0}function Gn(O,F){let $=E.blockers.get(O)||_i;return Ie.get(O)!==F&&Ie.set(O,F),$}function zt(O){E.blockers.delete(O),Ie.delete(O)}function Lr(O,F){let $=E.blockers.get(O)||_i;Re($.state==="unblocked"&&F.state==="blocked"||$.state==="blocked"&&F.state==="blocked"||$.state==="blocked"&&F.state==="proceeding"||$.state==="blocked"&&F.state==="unblocked"||$.state==="proceeding"&&F.state==="unblocked","Invalid blocker state transition: "+$.state+" -> "+F.state);let te=new Map(E.blockers);te.set(O,F),Q({blockers:te})}function ir(O){let{currentLocation:F,nextLocation:$,historyAction:te}=O;if(Ie.size===0)return;Ie.size>1&&Gt(!1,"A router only supports one blocker at a time");let me=Array.from(Ie.entries()),[xe,N]=me[me.length-1],U=E.blockers.get(xe);if(!(U&&U.state==="proceeding")&&N({currentLocation:F,nextLocation:$,historyAction:te}))return xe}function Nr(O){let F=Nn(404,{pathname:O}),$=l||s,{matches:te,route:me}=jd($);return Ct(),{notFoundMatches:te,route:me,error:F}}function Ct(O){let F=[];return ee.forEach(($,te)=>{(!O||O(te))&&($.cancel(),F.push(te),ee.delete(te))}),F}function Yt(O,F,$){if(C=O,b=F,I=$||null,!S&&E.navigation===vl){S=!0;let te=on(E.location,E.matches);te!=null&&Q({restoreScrollPosition:te})}return()=>{C=null,b=null,I=null}}function Zt(O,F){return I&&I(O,F.map(te=>S2(te,E.loaderData)))||O.key}function Mn(O,F){if(C&&b){let $=Zt(O,F);C[$]=b()}}function on(O,F){if(C){let $=Zt(O,F),te=C[$];if(typeof te=="number")return te}return null}function Pt(O,F,$){if(h)if(O){if(Object.keys(O[0].params).length>0)return{active:!0,matches:us(F,$,c,!0)}}else return{active:!0,matches:us(F,$,c,!0)||[]};return{active:!1,matches:null}}async function Xt(O,F,$,te){if(!h)return{type:"success",matches:O};let me=O;for(;;){let xe=l==null,N=l||s,U=a;try{await h({signal:$,path:F,matches:me,fetcherKey:te,patch:(fe,ye)=>{$.aborted||Dd(fe,ye,N,U,i)}})}catch(fe){return{type:"error",error:fe,partialMatches:me}}finally{xe&&!$.aborted&&(s=[...s])}if($.aborted)return{type:"aborted"};let K=bo(N,F,c);if(K)return{type:"success",matches:K};let J=us(N,F,c,!0);if(!J||me.length===J.length&&me.every((fe,ye)=>fe.route.id===J[ye].route.id))return{type:"success",matches:null};me=J}}function gr(O){a={},l=xs(O,i,void 0,a)}function Rt(O,F){let $=l==null;Dd(O,F,l||s,a,i),$&&(s=[...s],Q({}))}return P={get basename(){return c},get future(){return f},get state(){return E},get routes(){return s},get window(){return t},initialize:ae,subscribe:Ue,enableScrollRestoration:Yt,navigate:Te,fetch:Tn,revalidate:we,createHref:O=>e.history.createHref(O),encodeLocation:O=>e.history.encodeLocation(O),getFetcher:We,deleteFetcher:hn,dispose:ce,getBlocker:Gn,deleteBlocker:zt,patchRoutes:Rt,_internalFetchControllers:ve,_internalActiveDeferreds:ee,_internalSetRoutes:gr},P}function q2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Sc(e,t,n,o,i,a,s,l){let c,u;if(s){c=[];for(let f of t)if(c.push(f),f.route.id===s){u=f;break}}else c=t,u=t[t.length-1];let h=bu(i||".",Cu(c,a),ur(e.pathname,n)||e.pathname,l==="path");if(i==null&&(h.search=e.search,h.hash=e.hash),(i==null||i===""||i===".")&&u){let f=Eu(h.search);if(u.route.index&&!f)h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&f){let g=new URLSearchParams(h.search),m=g.getAll("index");g.delete("index"),m.filter(I=>I).forEach(I=>g.append("index",I));let C=g.toString();h.search=C?"?"+C:""}}return o&&n!=="/"&&(h.pathname=h.pathname==="/"?n:_r([n,h.pathname])),oo(h)}function Ld(e,t,n,o){if(!o||!q2(o))return{path:n};if(o.formMethod&&!o3(o.formMethod))return{path:n,error:Nn(405,{method:o.formMethod})};let i=()=>({path:n,error:Nn(400,{type:"invalid-body"})}),a=o.formMethod||"get",s=e?a.toUpperCase():a.toLowerCase(),l=Mf(n);if(o.body!==void 0){if(o.formEncType==="text/plain"){if(!lr(s))return i();let g=typeof o.body=="string"?o.body:o.body instanceof FormData||o.body instanceof URLSearchParams?Array.from(o.body.entries()).reduce((m,C)=>{let[I,b]=C;return""+m+I+"="+b+`
|
|
40
|
-
`},""):String(o.body);return{path:n,submission:{formMethod:s,formAction:l,formEncType:o.formEncType,formData:void 0,json:void 0,text:g}}}else if(o.formEncType==="application/json"){if(!lr(s))return i();try{let g=typeof o.body=="string"?JSON.parse(o.body):o.body;return{path:n,submission:{formMethod:s,formAction:l,formEncType:o.formEncType,formData:void 0,json:g,text:void 0}}}catch{return i()}}}Re(typeof FormData=="function","FormData is not available in this environment");let c,u;if(o.formData)c=Ec(o.formData),u=o.formData;else if(o.body instanceof FormData)c=Ec(o.body),u=o.body;else if(o.body instanceof URLSearchParams)c=o.body,u=Md(c);else if(o.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(o.body),u=Md(c)}catch{return i()}let h={formMethod:s,formAction:l,formEncType:o&&o.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(lr(h.formMethod))return{path:n,submission:h};let f=lo(n);return t&&f.search&&Eu(f.search)&&c.append("index",""),f.search="?"+c,{path:oo(f),submission:h}}function Nd(e,t,n){n===void 0&&(n=!1);let o=e.findIndex(i=>i.route.id===t);return o>=0?e.slice(0,n?o+1:o):e}function Pd(e,t,n,o,i,a,s,l,c,u,h,f,g,m,C,I){let b=I?Un(I[1])?I[1].error:I[1].data:void 0,S=e.createURL(t.location),y=e.createURL(i),T=n;a&&t.errors?T=Nd(n,Object.keys(t.errors)[0],!0):I&&Un(I[1])&&(T=Nd(n,I[0]));let k=I?I[1].statusCode:void 0,A=s&&k&&k>=400,P=T.filter((M,B)=>{let{route:w}=M;if(w.lazy)return!0;if(w.loader==null)return!1;if(a)return yc(w,t.loaderData,t.errors);if(G2(t.loaderData,t.matches[B],M)||c.some(X=>X===M.route.id))return!0;let V=t.matches[B],H=M;return Rd(M,Et({currentUrl:S,currentParams:V.params,nextUrl:y,nextParams:H.params},o,{actionResult:b,actionStatus:k,defaultShouldRevalidate:A?!1:l||S.pathname+S.search===y.pathname+y.search||S.search!==y.search||Df(V,H)}))}),E=[];return f.forEach((M,B)=>{if(a||!n.some(W=>W.route.id===M.routeId)||h.has(B))return;let w=bo(m,M.path,C);if(!w){E.push({key:B,routeId:M.routeId,path:M.path,matches:null,match:null,controller:null});return}let V=t.fetchers.get(B),H=Fi(w,M.path),X=!1;g.has(B)?X=!1:u.has(B)?(u.delete(B),X=!0):V&&V.state!=="idle"&&V.data===void 0?X=l:X=Rd(H,Et({currentUrl:S,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},o,{actionResult:b,actionStatus:k,defaultShouldRevalidate:A?!1:l})),X&&E.push({key:B,routeId:M.routeId,path:M.path,matches:w,match:H,controller:new AbortController})}),[P,E]}function yc(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let o=t!=null&&t[e.id]!==void 0,i=n!=null&&n[e.id]!==void 0;return!o&&i?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!o&&!i}function G2(e,t,n){let o=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return o||i}function Df(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Rd(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function Dd(e,t,n,o,i){var a;let s;if(e){let u=o[e];Re(u,"No route found to patch children into: routeId = "+e),u.children||(u.children=[]),s=u.children}else s=n;let l=t.filter(u=>!s.some(h=>Of(u,h))),c=xs(l,i,[e||"_","patch",String(((a=s)==null?void 0:a.length)||"0")],o);s.push(...c)}function Of(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,o)=>{var i;return(i=t.children)==null?void 0:i.some(a=>Of(n,a))}):!1}async function Y2(e,t,n){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=n[e.id];Re(i,"No route found in manifest");let a={};for(let s in o){let c=i[s]!==void 0&&s!=="hasErrorBoundary";Gt(!c,'Route "'+i.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!c&&!C2.has(s)&&(a[s]=o[s])}Object.assign(i,a),Object.assign(i,Et({},t(i),{lazy:void 0}))}async function Z2(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,a,s)=>Object.assign(i,{[n[s].route.id]:a}),{})}async function X2(e,t,n,o,i,a,s,l,c,u){let h=a.map(m=>m.route.lazy?Y2(m.route,c,l):void 0),f=a.map((m,C)=>{let I=h[C],b=i.some(y=>y.route.id===m.route.id);return Et({},m,{shouldLoad:b,resolve:async y=>(y&&o.method==="GET"&&(m.route.lazy||m.route.loader)&&(b=!0),b?K2(t,o,m,I,y,u):Promise.resolve({type:ot.data,result:void 0}))})}),g=await e({matches:f,request:o,params:a[0].params,fetcherKey:s,context:u});try{await Promise.all(h)}catch{}return g}async function K2(e,t,n,o,i,a){let s,l,c=u=>{let h,f=new Promise((C,I)=>h=I);l=()=>h(),t.signal.addEventListener("abort",l);let g=C=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):u({request:t,params:n.params,context:a},...C!==void 0?[C]:[]),m=(async()=>{try{return{type:"data",result:await(i?i(I=>g(I)):g())}}catch(C){return{type:"error",result:C}}})();return Promise.race([m,f])};try{let u=n.route[e];if(o)if(u){let h,[f]=await Promise.all([c(u).catch(g=>{h=g}),o]);if(h!==void 0)throw h;s=f}else if(await o,u=n.route[e],u)s=await c(u);else if(e==="action"){let h=new URL(t.url),f=h.pathname+h.search;throw Nn(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:ot.data,result:void 0};else if(u)s=await c(u);else{let h=new URL(t.url),f=h.pathname+h.search;throw Nn(404,{pathname:f})}Re(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:ot.error,result:u}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function Q2(e){let{result:t,type:n}=e;if(Bf(t)){let f;try{let g=t.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?t.body==null?f=null:f=await t.json():f=await t.text()}catch(g){return{type:ot.error,error:g}}return n===ot.error?{type:ot.error,error:new ws(t.status,t.statusText,f),statusCode:t.status,headers:t.headers}:{type:ot.data,data:f,statusCode:t.status,headers:t.headers}}if(n===ot.error){if(Ud(t)){var o,i;if(t.data instanceof Error){var a,s;return{type:ot.error,error:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}}return{type:ot.error,error:new ws(((o=t.init)==null?void 0:o.status)||500,void 0,t.data),statusCode:aa(t)?t.status:void 0,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}}return{type:ot.error,error:t,statusCode:aa(t)?t.status:void 0}}if(r3(t)){var l,c;return{type:ot.deferred,deferredData:t,statusCode:(l=t.init)==null?void 0:l.status,headers:((c=t.init)==null?void 0:c.headers)&&new Headers(t.init.headers)}}if(Ud(t)){var u,h;return{type:ot.data,data:t.data,statusCode:(u=t.init)==null?void 0:u.status,headers:(h=t.init)!=null&&h.headers?new Headers(t.init.headers):void 0}}return{type:ot.data,data:t}}function J2(e,t,n,o,i,a){let s=e.headers.get("Location");if(Re(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!Su.test(s)){let l=o.slice(0,o.findIndex(c=>c.route.id===n)+1);s=Sc(new URL(t.url),l,i,!0,s,a),e.headers.set("Location",s)}return e}function Od(e,t,n){if(Su.test(e)){let o=e,i=o.startsWith("//")?new URL(t.protocol+o):new URL(o),a=ur(i.pathname,n)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function jo(e,t,n,o){let i=e.createURL(Mf(t)).toString(),a={signal:n};if(o&&lr(o.formMethod)){let{formMethod:s,formEncType:l}=o;a.method=s.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(o.json)):l==="text/plain"?a.body=o.text:l==="application/x-www-form-urlencoded"&&o.formData?a.body=Ec(o.formData):a.body=o.formData}return new Request(i,a)}function Ec(e){let t=new URLSearchParams;for(let[n,o]of e.entries())t.append(n,typeof o=="string"?o:o.name);return t}function Md(e){let t=new FormData;for(let[n,o]of e.entries())t.append(n,o);return t}function e3(e,t,n,o,i){let a={},s=null,l,c=!1,u={},h=n&&Un(n[1])?n[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let g=f.route.id,m=t[g];if(Re(!xo(m),"Cannot handle redirect results in processLoaderData"),Un(m)){let C=m.error;h!==void 0&&(C=h,h=void 0),s=s||{};{let I=So(e,g);s[I.route.id]==null&&(s[I.route.id]=C)}a[g]=void 0,c||(c=!0,l=aa(m.error)?m.error.status:500),m.headers&&(u[g]=m.headers)}else to(m)?(o.set(g,m.deferredData),a[g]=m.deferredData.data,m.statusCode!=null&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[g]=m.headers)):(a[g]=m.data,m.statusCode&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[g]=m.headers))}),h!==void 0&&n&&(s={[n[0]]:h},a[n[0]]=void 0),{loaderData:a,errors:s,statusCode:l||200,loaderHeaders:u}}function Bd(e,t,n,o,i,a,s){let{loaderData:l,errors:c}=e3(t,n,o,s);return i.forEach(u=>{let{key:h,match:f,controller:g}=u,m=a[h];if(Re(m,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(Un(m)){let C=So(e.matches,f==null?void 0:f.route.id);c&&c[C.route.id]||(c=Et({},c,{[C.route.id]:m.error})),e.fetchers.delete(h)}else if(xo(m))Re(!1,"Unhandled fetcher revalidation redirect");else if(to(m))Re(!1,"Unhandled fetcher deferred data");else{let C=Xr(m.data);e.fetchers.set(h,C)}}),{loaderData:l,errors:c}}function Fd(e,t,n,o){let i=Et({},t);for(let a of n){let s=a.route.id;if(t.hasOwnProperty(s)?t[s]!==void 0&&(i[s]=t[s]):e[s]!==void 0&&a.route.loader&&(i[s]=e[s]),o&&o.hasOwnProperty(s))break}return i}function Hd(e){return e?Un(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function So(e,t){return(t?e.slice(0,e.findIndex(o=>o.route.id===t)+1):[...e]).reverse().find(o=>o.route.hasErrorBoundary===!0)||e[0]}function jd(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Nn(e,t){let{pathname:n,routeId:o,method:i,type:a,message:s}=t===void 0?{}:t,l="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(l="Bad Request",i&&n&&o?c="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+o+'", ')+"so there is no way to handle the request.":a==="defer-action"?c="defer() is not supported in actions":a==="invalid-body"&&(c="Unable to encode submission body")):e===403?(l="Forbidden",c='Route "'+o+'" does not match URL "'+n+'"'):e===404?(l="Not Found",c='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",i&&n&&o?c="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+o+'", ')+"so there is no way to handle the request.":i&&(c='Invalid request method "'+i.toUpperCase()+'"')),new ws(e||500,l,new Error(c),!0)}function ja(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[o,i]=t[n];if(xo(i))return{key:o,result:i}}}function Mf(e){let t=typeof e=="string"?lo(e):e;return oo(Et({},t,{hash:""}))}function t3(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function n3(e){return Bf(e.result)&&U2.has(e.result.status)}function to(e){return e.type===ot.deferred}function Un(e){return e.type===ot.error}function xo(e){return(e&&e.type)===ot.redirect}function Ud(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function r3(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Bf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function o3(e){return j2.has(e.toLowerCase())}function lr(e){return F2.has(e.toLowerCase())}async function i3(e,t,n,o,i){let a=Object.entries(t);for(let s=0;s<a.length;s++){let[l,c]=a[s],u=e.find(g=>(g==null?void 0:g.route.id)===l);if(!u)continue;let h=o.find(g=>g.route.id===u.route.id),f=h!=null&&!Df(h,u)&&(i&&i[u.route.id])!==void 0;to(c)&&f&&await yu(c,n,!1).then(g=>{g&&(t[l]=g)})}}async function a3(e,t,n){for(let o=0;o<n.length;o++){let{key:i,routeId:a,controller:s}=n[o],l=t[i];e.find(u=>(u==null?void 0:u.route.id)===a)&&to(l)&&(Re(s,"Expected an AbortController for revalidating fetcher deferred result"),await yu(l,s.signal,!0).then(u=>{u&&(t[i]=u)}))}}async function yu(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ot.data,data:e.deferredData.unwrappedData}}catch(i){return{type:ot.error,error:i}}return{type:ot.data,data:e.deferredData.data}}}function Eu(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Fi(e,t){let n=typeof t=="string"?lo(t).search:t.search;if(e[e.length-1].route.index&&Eu(n||""))return e[e.length-1];let o=Nf(e);return o[o.length-1]}function Vd(e){let{formMethod:t,formAction:n,formEncType:o,text:i,formData:a,json:s}=e;if(!(!t||!n||!o)){if(i!=null)return{formMethod:t,formAction:n,formEncType:o,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:o,formData:a,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:o,formData:void 0,json:s,text:void 0}}}function Al(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function s3(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function wi(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function l3(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Xr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function c3(e,t){try{let n=e.sessionStorage.getItem(Rf);if(n){let o=JSON.parse(n);for(let[i,a]of Object.entries(o||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function u3(e,t){if(t.size>0){let n={};for(let[o,i]of t)n[o]=[...i];try{e.sessionStorage.setItem(Rf,JSON.stringify(n))}catch(o){Gt(!1,"Failed to save applied view transitions in sessionStorage ("+o+").")}}}/**
|
|
39
|
+
*/function Et(){return Et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Et.apply(this,arguments)}var jt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(jt||(jt={}));const vd="popstate";function m2(e){e===void 0&&(e={});function t(o,i){let{pathname:a,search:s,hash:l}=o.location;return aa("",{pathname:a,search:s,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(o,i){return typeof i=="string"?i:oo(i)}return I2(t,n,null,e)}function Re(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Gt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function g2(){return Math.random().toString(36).substr(2,8)}function Ad(e,t){return{usr:e.state,key:e.key,idx:t}}function aa(e,t,n,o){return n===void 0&&(n=null),Et({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?lo(t):t,{state:n,key:t&&t.key||o||g2()})}function oo(e){let{pathname:t="/",search:n="",hash:o=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function lo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function I2(e,t,n,o){o===void 0&&(o={});let{window:i=document.defaultView,v5Compat:a=!1}=o,s=i.history,l=jt.Pop,c=null,u=h();u==null&&(u=0,s.replaceState(Et({},s.state,{idx:u}),""));function h(){return(s.state||{idx:null}).idx}function f(){l=jt.Pop;let b=h(),S=b==null?null:b-u;u=b,c&&c({action:l,location:I.location,delta:S})}function g(b,S){l=jt.Push;let y=aa(I.location,b,S);u=h()+1;let T=Ad(y,u),k=I.createHref(y);try{s.pushState(T,"",k)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(k)}a&&c&&c({action:l,location:I.location,delta:1})}function m(b,S){l=jt.Replace;let y=aa(I.location,b,S);u=h();let T=Ad(y,u),k=I.createHref(y);s.replaceState(T,"",k),a&&c&&c({action:l,location:I.location,delta:0})}function C(b){let S=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof b=="string"?b:oo(b);return y=y.replace(/ $/,"%20"),Re(S,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,S)}let I={get action(){return l},get location(){return e(i,s)},listen(b){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(vd,f),c=b,()=>{i.removeEventListener(vd,f),c=null}},createHref(b){return t(i,b)},createURL:C,encodeLocation(b){let S=C(b);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:m,go(b){return s.go(b)}};return I}var ot;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ot||(ot={}));const C2=new Set(["lazy","caseSensitive","path","id","index","children"]);function b2(e){return e.index===!0}function xs(e,t,n,o){return n===void 0&&(n=[]),o===void 0&&(o={}),e.map((i,a)=>{let s=[...n,String(a)],l=typeof i.id=="string"?i.id:s.join("-");if(Re(i.index!==!0||!i.children,"Cannot specify children on an index route"),Re(!o[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),b2(i)){let c=Et({},i,t(i),{id:l});return o[l]=c,c}else{let c=Et({},i,t(i),{id:l,children:void 0});return o[l]=c,i.children&&(c.children=xs(i.children,t,s,o)),c}})}function bo(e,t,n){return n===void 0&&(n="/"),us(e,t,n,!1)}function us(e,t,n,o){let i=typeof t=="string"?lo(t):t,a=ur(i.pathname||"/",n);if(a==null)return null;let s=kf(e);y2(s);let l=null;for(let c=0;l==null&&c<s.length;++c){let u=P2(a);l=L2(s[c],u,o)}return l}function S2(e,t){let{route:n,pathname:o,params:i}=e;return{id:n.id,pathname:o,params:i,data:t[n.id],handle:n.handle}}function kf(e,t,n,o){t===void 0&&(t=[]),n===void 0&&(n=[]),o===void 0&&(o="");let i=(a,s,l)=>{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:s,route:a};c.relativePath.startsWith("/")&&(Re(c.relativePath.startsWith(o),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(o.length));let u=_r([o,c.relativePath]),h=n.concat(c);a.children&&a.children.length>0&&(Re(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kf(a.children,t,h,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:A2(u,a.index),routesMeta:h})};return e.forEach((a,s)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,s);else for(let c of Lf(a.path))i(a,s,c)}),t}function Lf(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(o.length===0)return i?[a,""]:[a];let s=Lf(o.join("/")),l=[];return l.push(...s.map(c=>c===""?a:[a,c].join("/"))),i&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function y2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:k2(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}const E2=/^:[\w-]+$/,T2=3,x2=2,_2=1,w2=10,v2=-2,kd=e=>e==="*";function A2(e,t){let n=e.split("/"),o=n.length;return n.some(kd)&&(o+=v2),t&&(o+=x2),n.filter(i=>!kd(i)).reduce((i,a)=>i+(E2.test(a)?T2:a===""?_2:w2),o)}function k2(e,t){return e.length===t.length&&e.slice(0,-1).every((o,i)=>o===t[i])?e[e.length-1]-t[t.length-1]:0}function L2(e,t,n){n===void 0&&(n=!1);let{routesMeta:o}=e,i={},a="/",s=[];for(let l=0;l<o.length;++l){let c=o[l],u=l===o.length-1,h=a==="/"?t:t.slice(a.length)||"/",f=_s({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},h),g=c.route;if(!f&&u&&n&&!o[o.length-1].route.index&&(f=_s({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},h)),!f)return null;Object.assign(i,f.params),s.push({params:i,pathname:_r([a,f.pathname]),pathnameBase:O2(_r([a,f.pathnameBase])),route:g}),f.pathnameBase!=="/"&&(a=_r([a,f.pathnameBase]))}return s}function _s(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=N2(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],s=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:o.reduce((u,h,f)=>{let{paramName:g,isOptional:m}=h;if(g==="*"){let I=l[f]||"";s=a.slice(0,a.length-I.length).replace(/(.)\/+$/,"$1")}const C=l[f];return m&&!C?u[g]=void 0:u[g]=(C||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:s,pattern:e}}function N2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Gt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,c)=>(o.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),o]}function P2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Gt(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ur(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function R2(e,t){t===void 0&&(t="/");let{pathname:n,search:o="",hash:i=""}=typeof e=="string"?lo(e):e;return{pathname:n?n.startsWith("/")?n:D2(n,t):t,search:M2(o),hash:B2(i)}}function D2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function wl(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Nf(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Cu(e,t){let n=Nf(e);return t?n.map((o,i)=>i===n.length-1?o.pathname:o.pathnameBase):n.map(o=>o.pathnameBase)}function bu(e,t,n,o){o===void 0&&(o=!1);let i;typeof e=="string"?i=lo(e):(i=Et({},e),Re(!i.pathname||!i.pathname.includes("?"),wl("?","pathname","search",i)),Re(!i.pathname||!i.pathname.includes("#"),wl("#","pathname","hash",i)),Re(!i.search||!i.search.includes("#"),wl("#","search","hash",i)));let a=e===""||i.pathname==="",s=a?"/":i.pathname,l;if(s==null)l=n;else{let f=t.length-1;if(!o&&s.startsWith("..")){let g=s.split("/");for(;g[0]==="..";)g.shift(),f-=1;i.pathname=g.join("/")}l=f>=0?t[f]:"/"}let c=R2(i,l),u=s&&s!=="/"&&s.endsWith("/"),h=(a||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||h)&&(c.pathname+="/"),c}const _r=e=>e.join("/").replace(/\/\/+/g,"/"),O2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,B2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ws{constructor(t,n,o,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}}function sa(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Pf=["post","put","patch","delete"],F2=new Set(Pf),H2=["get",...Pf],j2=new Set(H2),U2=new Set([301,302,303,307,308]),V2=new Set([307,308]),vl={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},z2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},wi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Su=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Rf="remix-router-transitions";function W2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",o=!n;Re(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let O=e.detectErrorBoundary;i=F=>({hasErrorBoundary:O(F)})}else i=$2;let a={},s=xs(e.routes,i,void 0,a),l,c=e.basename||"/",u=e.dataStrategy||Z2,h=e.patchRoutesOnNavigation,f=Et({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),g=null,m=new Set,C=null,I=null,b=null,S=e.hydrationData!=null,y=bo(s,e.history.location,c),T=!1,k=null;if(y==null&&!h){let O=Pn(404,{pathname:e.history.location.pathname}),{matches:F,route:$}=jd(s);y=F,k={[$.id]:O}}y&&!e.hydrationData&&Pt(y,s,e.history.location.pathname).active&&(y=null);let A;if(y)if(y.some(O=>O.route.lazy))A=!1;else if(!y.some(O=>O.route.loader))A=!0;else if(f.v7_partialHydration){let O=e.hydrationData?e.hydrationData.loaderData:null,F=e.hydrationData?e.hydrationData.errors:null;if(F){let $=y.findIndex(te=>F[te.route.id]!==void 0);A=y.slice(0,$+1).every(te=>!yc(te.route,O,F))}else A=y.every($=>!yc($.route,O,F))}else A=e.hydrationData!=null;else if(A=!1,y=[],f.v7_partialHydration){let O=Pt(null,s,e.history.location.pathname);O.active&&O.matches&&(T=!0,y=O.matches)}let P,E={historyAction:e.history.action,location:e.history.location,matches:y,initialized:A,navigation:vl,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||k,fetchers:new Map,blockers:new Map},M=jt.Pop,B=!1,w,V=!1,H=new Map,X=null,W=!1,se=!1,Ce=[],be=new Set,ve=new Map,Le=0,x=-1,ne=new Map,pe=new Set,L=new Map,Z=new Map,le=new Set,ee=new Map,Ie=new Map,Se;function ae(){if(g=e.history.listen(O=>{let{action:F,location:$,delta:te}=O;if(Se){Se(),Se=void 0;return}Gt(Ie.size===0||te!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let me=ir({currentLocation:E.location,nextLocation:$,historyAction:F});if(me&&te!=null){let xe=new Promise(N=>{Se=N});e.history.go(te*-1),Lr(me,{state:"blocked",location:$,proceed(){Lr(me,{state:"proceeding",proceed:void 0,reset:void 0,location:$}),xe.then(()=>e.history.go(te))},reset(){let N=new Map(E.blockers);N.set(me,wi),Q({blockers:N})}});return}return ze(F,$)}),n){c3(t,H);let O=()=>u3(t,H);t.addEventListener("pagehide",O),X=()=>t.removeEventListener("pagehide",O)}return E.initialized||ze(jt.Pop,E.location,{initialHydration:!0}),P}function ce(){g&&g(),X&&X(),m.clear(),w&&w.abort(),E.fetchers.forEach((O,F)=>rt(F)),E.blockers.forEach((O,F)=>zt(F))}function Ue(O){return m.add(O),()=>m.delete(O)}function Q(O,F){F===void 0&&(F={}),E=Et({},E,O);let $=[],te=[];f.v7_fetcherPersist&&E.fetchers.forEach((me,xe)=>{me.state==="idle"&&(le.has(xe)?te.push(xe):$.push(xe))}),le.forEach(me=>{!E.fetchers.has(me)&&!ve.has(me)&&te.push(me)}),[...m].forEach(me=>me(E,{deletedFetchers:te,viewTransitionOpts:F.viewTransitionOpts,flushSync:F.flushSync===!0})),f.v7_fetcherPersist?($.forEach(me=>E.fetchers.delete(me)),te.forEach(me=>rt(me))):te.forEach(me=>le.delete(me))}function Ve(O,F,$){var te,me;let{flushSync:xe}=$===void 0?{}:$,N=E.actionData!=null&&E.navigation.formMethod!=null&&lr(E.navigation.formMethod)&&E.navigation.state==="loading"&&((te=O.state)==null?void 0:te._isRedirect)!==!0,U;F.actionData?Object.keys(F.actionData).length>0?U=F.actionData:U=null:N?U=E.actionData:U=null;let K=F.loaderData?Fd(E.loaderData,F.loaderData,F.matches||[],F.errors):E.loaderData,J=E.blockers;J.size>0&&(J=new Map(J),J.forEach((Ee,ke)=>J.set(ke,wi)));let fe=B===!0||E.navigation.formMethod!=null&&lr(E.navigation.formMethod)&&((me=O.state)==null?void 0:me._isRedirect)!==!0;l&&(s=l,l=void 0),W||M===jt.Pop||(M===jt.Push?e.history.push(O,O.state):M===jt.Replace&&e.history.replace(O,O.state));let ye;if(M===jt.Pop){let Ee=H.get(E.location.pathname);Ee&&Ee.has(O.pathname)?ye={currentLocation:E.location,nextLocation:O}:H.has(O.pathname)&&(ye={currentLocation:O,nextLocation:E.location})}else if(V){let Ee=H.get(E.location.pathname);Ee?Ee.add(O.pathname):(Ee=new Set([O.pathname]),H.set(E.location.pathname,Ee)),ye={currentLocation:E.location,nextLocation:O}}Q(Et({},F,{actionData:U,loaderData:K,historyAction:M,location:O,initialized:!0,navigation:vl,revalidation:"idle",restoreScrollPosition:on(O,F.matches||E.matches),preventScrollReset:fe,blockers:J}),{viewTransitionOpts:ye,flushSync:xe===!0}),M=jt.Pop,B=!1,V=!1,W=!1,se=!1,Ce=[]}async function Te(O,F){if(typeof O=="number"){e.history.go(O);return}let $=Sc(E.location,E.matches,c,f.v7_prependBasename,O,f.v7_relativeSplatPath,F==null?void 0:F.fromRouteId,F==null?void 0:F.relative),{path:te,submission:me,error:xe}=Ld(f.v7_normalizeFormMethod,!1,$,F),N=E.location,U=aa(E.location,te,F&&F.state);U=Et({},U,e.history.encodeLocation(U));let K=F&&F.replace!=null?F.replace:void 0,J=jt.Push;K===!0?J=jt.Replace:K===!1||me!=null&&lr(me.formMethod)&&me.formAction===E.location.pathname+E.location.search&&(J=jt.Replace);let fe=F&&"preventScrollReset"in F?F.preventScrollReset===!0:void 0,ye=(F&&F.flushSync)===!0,Ee=ir({currentLocation:N,nextLocation:U,historyAction:J});if(Ee){Lr(Ee,{state:"blocked",location:U,proceed(){Lr(Ee,{state:"proceeding",proceed:void 0,reset:void 0,location:U}),Te(O,F)},reset(){let ke=new Map(E.blockers);ke.set(Ee,wi),Q({blockers:ke})}});return}return await ze(J,U,{submission:me,pendingError:xe,preventScrollReset:fe,replace:F&&F.replace,enableViewTransition:F&&F.viewTransition,flushSync:ye})}function we(){if(oe(),Q({revalidation:"loading"}),E.navigation.state!=="submitting"){if(E.navigation.state==="idle"){ze(E.historyAction,E.location,{startUninterruptedRevalidation:!0});return}ze(M||E.historyAction,E.navigation.location,{overrideNavigation:E.navigation,enableViewTransition:V===!0})}}async function ze(O,F,$){w&&w.abort(),w=null,M=O,W=($&&$.startUninterruptedRevalidation)===!0,Bn(E.location,E.matches),B=($&&$.preventScrollReset)===!0,V=($&&$.enableViewTransition)===!0;let te=l||s,me=$&&$.overrideNavigation,xe=$!=null&&$.initialHydration&&E.matches&&E.matches.length>0&&!T?E.matches:bo(te,F,c),N=($&&$.flushSync)===!0;if(xe&&E.initialized&&!se&&t3(E.location,F)&&!($&&$.submission&&lr($.submission.formMethod))){Ve(F,{matches:xe},{flushSync:N});return}let U=Pt(xe,te,F.pathname);if(U.active&&U.matches&&(xe=U.matches),!xe){let{error:Be,notFoundMatches:Ne,route:Me}=Nr(F.pathname);Ve(F,{matches:Ne,loaderData:{},errors:{[Me.id]:Be}},{flushSync:N});return}w=new AbortController;let K=jo(e.history,F,w.signal,$&&$.submission),J;if($&&$.pendingError)J=[So(xe).route.id,{type:ot.error,error:$.pendingError}];else if($&&$.submission&&lr($.submission.formMethod)){let Be=await Tt(K,F,$.submission,xe,U.active,{replace:$.replace,flushSync:N});if(Be.shortCircuited)return;if(Be.pendingActionResult){let[Ne,Me]=Be.pendingActionResult;if(Vn(Me)&&sa(Me.error)&&Me.error.status===404){w=null,Ve(F,{matches:Be.matches,loaderData:{},errors:{[Ne]:Me.error}});return}}xe=Be.matches||xe,J=Be.pendingActionResult,me=Al(F,$.submission),N=!1,U.active=!1,K=jo(e.history,K.url,K.signal)}let{shortCircuited:fe,matches:ye,loaderData:Ee,errors:ke}=await wt(K,F,xe,U.active,me,$&&$.submission,$&&$.fetcherSubmission,$&&$.replace,$&&$.initialHydration===!0,N,J);fe||(w=null,Ve(F,Et({matches:ye||xe},Hd(J),{loaderData:Ee,errors:ke})))}async function Tt(O,F,$,te,me,xe){xe===void 0&&(xe={}),oe();let N=s3(F,$);if(Q({navigation:N},{flushSync:xe.flushSync===!0}),me){let J=await Xt(te,F.pathname,O.signal);if(J.type==="aborted")return{shortCircuited:!0};if(J.type==="error"){let fe=So(J.partialMatches).route.id;return{matches:J.partialMatches,pendingActionResult:[fe,{type:ot.error,error:J.error}]}}else if(J.matches)te=J.matches;else{let{notFoundMatches:fe,error:ye,route:Ee}=Nr(F.pathname);return{matches:fe,pendingActionResult:[Ee.id,{type:ot.error,error:ye}]}}}let U,K=Hi(te,F);if(!K.route.action&&!K.route.lazy)U={type:ot.error,error:Pn(405,{method:O.method,pathname:F.pathname,routeId:K.route.id})};else if(U=(await Lt("action",E,O,[K],te,null))[K.route.id],O.signal.aborted)return{shortCircuited:!0};if(xo(U)){let J;return xe&&xe.replace!=null?J=xe.replace:J=Od(U.response.headers.get("Location"),new URL(O.url),c)===E.location.pathname+E.location.search,await It(O,U,!0,{submission:$,replace:J}),{shortCircuited:!0}}if(to(U))throw Pn(400,{type:"defer-action"});if(Vn(U)){let J=So(te,K.route.id);return(xe&&xe.replace)!==!0&&(M=jt.Push),{matches:te,pendingActionResult:[J.route.id,U]}}return{matches:te,pendingActionResult:[K.route.id,U]}}async function wt(O,F,$,te,me,xe,N,U,K,J,fe){let ye=me||Al(F,xe),Ee=xe||N||Vd(ye),ke=!W&&(!f.v7_partialHydration||!K);if(te){if(ke){let vt=$e(fe);Q(Et({navigation:ye},vt!==void 0?{actionData:vt}:{}),{flushSync:J})}let Ke=await Xt($,F.pathname,O.signal);if(Ke.type==="aborted")return{shortCircuited:!0};if(Ke.type==="error"){let vt=So(Ke.partialMatches).route.id;return{matches:Ke.partialMatches,loaderData:{},errors:{[vt]:Ke.error}}}else if(Ke.matches)$=Ke.matches;else{let{error:vt,notFoundMatches:Fo,route:Ei}=Nr(F.pathname);return{matches:Fo,loaderData:{},errors:{[Ei.id]:vt}}}}let Be=l||s,[Ne,Me]=Pd(e.history,E,$,Ee,F,f.v7_partialHydration&&K===!0,f.v7_skipActionErrorRevalidation,se,Ce,be,le,L,pe,Be,c,fe);if(Ct(Ke=>!($&&$.some(vt=>vt.route.id===Ke))||Ne&&Ne.some(vt=>vt.route.id===Ke)),x=++Le,Ne.length===0&&Me.length===0){let Ke=pn();return Ve(F,Et({matches:$,loaderData:{},errors:fe&&Vn(fe[1])?{[fe[0]]:fe[1].error}:null},Hd(fe),Ke?{fetchers:new Map(E.fetchers)}:{}),{flushSync:J}),{shortCircuited:!0}}if(ke){let Ke={};if(!te){Ke.navigation=ye;let vt=$e(fe);vt!==void 0&&(Ke.actionData=vt)}Me.length>0&&(Ke.fetchers=nt(Me)),Q(Ke,{flushSync:J})}Me.forEach(Ke=>{Je(Ke.key),Ke.controller&&ve.set(Ke.key,Ke.controller)});let $t=()=>Me.forEach(Ke=>Je(Ke.key));w&&w.signal.addEventListener("abort",$t);let{loaderResults:Yn,fetcherResults:an}=await q(E,$,Ne,Me,O);if(O.signal.aborted)return{shortCircuited:!0};w&&w.signal.removeEventListener("abort",$t),Me.forEach(Ke=>ve.delete(Ke.key));let ft=ja(Yn);if(ft)return await It(O,ft.result,!0,{replace:U}),{shortCircuited:!0};if(ft=ja(an),ft)return pe.add(ft.key),await It(O,ft.result,!0,{replace:U}),{shortCircuited:!0};let{loaderData:fo,errors:po}=Bd(E,$,Yn,fe,Me,an,ee);ee.forEach((Ke,vt)=>{Ke.subscribe(Fo=>{(Fo||Ke.done)&&ee.delete(vt)})}),f.v7_partialHydration&&K&&E.errors&&(po=Et({},E.errors,po));let Pr=pn(),Fa=Nt(x),Ha=Pr||Fa||Me.length>0;return Et({matches:$,loaderData:fo,errors:po},Ha?{fetchers:new Map(E.fetchers)}:{})}function $e(O){if(O&&!Vn(O[1]))return{[O[0]]:O[1].data};if(E.actionData)return Object.keys(E.actionData).length===0?null:E.actionData}function nt(O){return O.forEach(F=>{let $=E.fetchers.get(F.key),te=vi(void 0,$?$.data:void 0);E.fetchers.set(F.key,te)}),new Map(E.fetchers)}function Tn(O,F,$,te){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Je(O);let me=(te&&te.flushSync)===!0,xe=l||s,N=Sc(E.location,E.matches,c,f.v7_prependBasename,$,f.v7_relativeSplatPath,F,te==null?void 0:te.relative),U=bo(xe,N,c),K=Pt(U,xe,N);if(K.active&&K.matches&&(U=K.matches),!U){Ae(O,F,Pn(404,{pathname:N}),{flushSync:me});return}let{path:J,submission:fe,error:ye}=Ld(f.v7_normalizeFormMethod,!0,N,te);if(ye){Ae(O,F,ye,{flushSync:me});return}let Ee=Hi(U,J),ke=(te&&te.preventScrollReset)===!0;if(fe&&lr(fe.formMethod)){gt(O,F,J,Ee,U,K.active,me,ke,fe);return}L.set(O,{routeId:F,path:J}),dn(O,F,J,Ee,U,K.active,me,ke,fe)}async function gt(O,F,$,te,me,xe,N,U,K){oe(),L.delete(O);function J(Bt){if(!Bt.route.action&&!Bt.route.lazy){let Ho=Pn(405,{method:K.formMethod,pathname:$,routeId:F});return Ae(O,F,Ho,{flushSync:N}),!0}return!1}if(!xe&&J(te))return;let fe=E.fetchers.get(O);_e(O,l3(K,fe),{flushSync:N});let ye=new AbortController,Ee=jo(e.history,$,ye.signal,K);if(xe){let Bt=await Xt(me,new URL(Ee.url).pathname,Ee.signal,O);if(Bt.type==="aborted")return;if(Bt.type==="error"){Ae(O,F,Bt.error,{flushSync:N});return}else if(Bt.matches){if(me=Bt.matches,te=Hi(me,$),J(te))return}else{Ae(O,F,Pn(404,{pathname:$}),{flushSync:N});return}}ve.set(O,ye);let ke=Le,Ne=(await Lt("action",E,Ee,[te],me,O))[te.route.id];if(Ee.signal.aborted){ve.get(O)===ye&&ve.delete(O);return}if(f.v7_fetcherPersist&&le.has(O)){if(xo(Ne)||Vn(Ne)){_e(O,Xr(void 0));return}}else{if(xo(Ne))if(ve.delete(O),x>ke){_e(O,Xr(void 0));return}else return pe.add(O),_e(O,vi(K)),It(Ee,Ne,!1,{fetcherSubmission:K,preventScrollReset:U});if(Vn(Ne)){Ae(O,F,Ne.error);return}}if(to(Ne))throw Pn(400,{type:"defer-action"});let Me=E.navigation.location||E.location,$t=jo(e.history,Me,ye.signal),Yn=l||s,an=E.navigation.state!=="idle"?bo(Yn,E.navigation.location,c):E.matches;Re(an,"Didn't find any matches after fetcher action");let ft=++Le;ne.set(O,ft);let fo=vi(K,Ne.data);E.fetchers.set(O,fo);let[po,Pr]=Pd(e.history,E,an,K,Me,!1,f.v7_skipActionErrorRevalidation,se,Ce,be,le,L,pe,Yn,c,[te.route.id,Ne]);Pr.filter(Bt=>Bt.key!==O).forEach(Bt=>{let Ho=Bt.key,Td=E.fetchers.get(Ho),c2=vi(void 0,Td?Td.data:void 0);E.fetchers.set(Ho,c2),Je(Ho),Bt.controller&&ve.set(Ho,Bt.controller)}),Q({fetchers:new Map(E.fetchers)});let Fa=()=>Pr.forEach(Bt=>Je(Bt.key));ye.signal.addEventListener("abort",Fa);let{loaderResults:Ha,fetcherResults:Ke}=await q(E,an,po,Pr,$t);if(ye.signal.aborted)return;ye.signal.removeEventListener("abort",Fa),ne.delete(O),ve.delete(O),Pr.forEach(Bt=>ve.delete(Bt.key));let vt=ja(Ha);if(vt)return It($t,vt.result,!1,{preventScrollReset:U});if(vt=ja(Ke),vt)return pe.add(vt.key),It($t,vt.result,!1,{preventScrollReset:U});let{loaderData:Fo,errors:Ei}=Bd(E,an,Ha,void 0,Pr,Ke,ee);if(E.fetchers.has(O)){let Bt=Xr(Ne.data);E.fetchers.set(O,Bt)}Nt(ft),E.navigation.state==="loading"&&ft>x?(Re(M,"Expected pending action"),w&&w.abort(),Ve(E.navigation.location,{matches:an,loaderData:Fo,errors:Ei,fetchers:new Map(E.fetchers)})):(Q({errors:Ei,loaderData:Fd(E.loaderData,Fo,an,Ei),fetchers:new Map(E.fetchers)}),se=!1)}async function dn(O,F,$,te,me,xe,N,U,K){let J=E.fetchers.get(O);_e(O,vi(K,J?J.data:void 0),{flushSync:N});let fe=new AbortController,ye=jo(e.history,$,fe.signal);if(xe){let Ne=await Xt(me,new URL(ye.url).pathname,ye.signal,O);if(Ne.type==="aborted")return;if(Ne.type==="error"){Ae(O,F,Ne.error,{flushSync:N});return}else if(Ne.matches)me=Ne.matches,te=Hi(me,$);else{Ae(O,F,Pn(404,{pathname:$}),{flushSync:N});return}}ve.set(O,fe);let Ee=Le,Be=(await Lt("loader",E,ye,[te],me,O))[te.route.id];if(to(Be)&&(Be=await yu(Be,ye.signal,!0)||Be),ve.get(O)===fe&&ve.delete(O),!ye.signal.aborted){if(le.has(O)){_e(O,Xr(void 0));return}if(xo(Be))if(x>Ee){_e(O,Xr(void 0));return}else{pe.add(O),await It(ye,Be,!1,{preventScrollReset:U});return}if(Vn(Be)){Ae(O,F,Be.error);return}Re(!to(Be),"Unhandled fetcher deferred data"),_e(O,Xr(Be.data))}}async function It(O,F,$,te){let{submission:me,fetcherSubmission:xe,preventScrollReset:N,replace:U}=te===void 0?{}:te;F.response.headers.has("X-Remix-Revalidate")&&(se=!0);let K=F.response.headers.get("Location");Re(K,"Expected a Location header on the redirect Response"),K=Od(K,new URL(O.url),c);let J=aa(E.location,K,{_isRedirect:!0});if(n){let Ne=!1;if(F.response.headers.has("X-Remix-Reload-Document"))Ne=!0;else if(Su.test(K)){const Me=e.history.createURL(K);Ne=Me.origin!==t.location.origin||ur(Me.pathname,c)==null}if(Ne){U?t.location.replace(K):t.location.assign(K);return}}w=null;let fe=U===!0||F.response.headers.has("X-Remix-Replace")?jt.Replace:jt.Push,{formMethod:ye,formAction:Ee,formEncType:ke}=E.navigation;!me&&!xe&&ye&&Ee&&ke&&(me=Vd(E.navigation));let Be=me||xe;if(V2.has(F.response.status)&&Be&&lr(Be.formMethod))await ze(fe,J,{submission:Et({},Be,{formAction:K}),preventScrollReset:N||B,enableViewTransition:$?V:void 0});else{let Ne=Al(J,me);await ze(fe,J,{overrideNavigation:Ne,fetcherSubmission:xe,preventScrollReset:N||B,enableViewTransition:$?V:void 0})}}async function Lt(O,F,$,te,me,xe){let N,U={};try{N=await X2(u,O,F,$,te,me,xe,a,i)}catch(K){return te.forEach(J=>{U[J.route.id]={type:ot.error,error:K}}),U}for(let[K,J]of Object.entries(N))if(n3(J)){let fe=J.result;U[K]={type:ot.redirect,response:J2(fe,$,K,me,c,f.v7_relativeSplatPath)}}else U[K]=await Q2(J);return U}async function q(O,F,$,te,me){let xe=O.matches,N=Lt("loader",O,me,$,F,null),U=Promise.all(te.map(async fe=>{if(fe.matches&&fe.match&&fe.controller){let Ee=(await Lt("loader",O,jo(e.history,fe.path,fe.controller.signal),[fe.match],fe.matches,fe.key))[fe.match.route.id];return{[fe.key]:Ee}}else return Promise.resolve({[fe.key]:{type:ot.error,error:Pn(404,{pathname:fe.path})}})})),K=await N,J=(await U).reduce((fe,ye)=>Object.assign(fe,ye),{});return await Promise.all([i3(F,K,me.signal,xe,O.loaderData),a3(F,J,te)]),{loaderResults:K,fetcherResults:J}}function oe(){se=!0,Ce.push(...Ct()),L.forEach((O,F)=>{ve.has(F)&&be.add(F),Je(F)})}function _e(O,F,$){$===void 0&&($={}),E.fetchers.set(O,F),Q({fetchers:new Map(E.fetchers)},{flushSync:($&&$.flushSync)===!0})}function Ae(O,F,$,te){te===void 0&&(te={});let me=So(E.matches,F);rt(O),Q({errors:{[me.route.id]:$},fetchers:new Map(E.fetchers)},{flushSync:(te&&te.flushSync)===!0})}function We(O){return Z.set(O,(Z.get(O)||0)+1),le.has(O)&&le.delete(O),E.fetchers.get(O)||z2}function rt(O){let F=E.fetchers.get(O);ve.has(O)&&!(F&&F.state==="loading"&&ne.has(O))&&Je(O),L.delete(O),ne.delete(O),pe.delete(O),f.v7_fetcherPersist&&le.delete(O),be.delete(O),E.fetchers.delete(O)}function hn(O){let F=(Z.get(O)||0)-1;F<=0?(Z.delete(O),le.add(O),f.v7_fetcherPersist||rt(O)):Z.set(O,F),Q({fetchers:new Map(E.fetchers)})}function Je(O){let F=ve.get(O);F&&(F.abort(),ve.delete(O))}function fn(O){for(let F of O){let $=We(F),te=Xr($.data);E.fetchers.set(F,te)}}function pn(){let O=[],F=!1;for(let $ of pe){let te=E.fetchers.get($);Re(te,"Expected fetcher: "+$),te.state==="loading"&&(pe.delete($),O.push($),F=!0)}return fn(O),F}function Nt(O){let F=[];for(let[$,te]of ne)if(te<O){let me=E.fetchers.get($);Re(me,"Expected fetcher: "+$),me.state==="loading"&&(Je($),ne.delete($),F.push($))}return fn(F),F.length>0}function Gn(O,F){let $=E.blockers.get(O)||wi;return Ie.get(O)!==F&&Ie.set(O,F),$}function zt(O){E.blockers.delete(O),Ie.delete(O)}function Lr(O,F){let $=E.blockers.get(O)||wi;Re($.state==="unblocked"&&F.state==="blocked"||$.state==="blocked"&&F.state==="blocked"||$.state==="blocked"&&F.state==="proceeding"||$.state==="blocked"&&F.state==="unblocked"||$.state==="proceeding"&&F.state==="unblocked","Invalid blocker state transition: "+$.state+" -> "+F.state);let te=new Map(E.blockers);te.set(O,F),Q({blockers:te})}function ir(O){let{currentLocation:F,nextLocation:$,historyAction:te}=O;if(Ie.size===0)return;Ie.size>1&&Gt(!1,"A router only supports one blocker at a time");let me=Array.from(Ie.entries()),[xe,N]=me[me.length-1],U=E.blockers.get(xe);if(!(U&&U.state==="proceeding")&&N({currentLocation:F,nextLocation:$,historyAction:te}))return xe}function Nr(O){let F=Pn(404,{pathname:O}),$=l||s,{matches:te,route:me}=jd($);return Ct(),{notFoundMatches:te,route:me,error:F}}function Ct(O){let F=[];return ee.forEach(($,te)=>{(!O||O(te))&&($.cancel(),F.push(te),ee.delete(te))}),F}function Yt(O,F,$){if(C=O,b=F,I=$||null,!S&&E.navigation===vl){S=!0;let te=on(E.location,E.matches);te!=null&&Q({restoreScrollPosition:te})}return()=>{C=null,b=null,I=null}}function Zt(O,F){return I&&I(O,F.map(te=>S2(te,E.loaderData)))||O.key}function Bn(O,F){if(C&&b){let $=Zt(O,F);C[$]=b()}}function on(O,F){if(C){let $=Zt(O,F),te=C[$];if(typeof te=="number")return te}return null}function Pt(O,F,$){if(h)if(O){if(Object.keys(O[0].params).length>0)return{active:!0,matches:us(F,$,c,!0)}}else return{active:!0,matches:us(F,$,c,!0)||[]};return{active:!1,matches:null}}async function Xt(O,F,$,te){if(!h)return{type:"success",matches:O};let me=O;for(;;){let xe=l==null,N=l||s,U=a;try{await h({signal:$,path:F,matches:me,fetcherKey:te,patch:(fe,ye)=>{$.aborted||Dd(fe,ye,N,U,i)}})}catch(fe){return{type:"error",error:fe,partialMatches:me}}finally{xe&&!$.aborted&&(s=[...s])}if($.aborted)return{type:"aborted"};let K=bo(N,F,c);if(K)return{type:"success",matches:K};let J=us(N,F,c,!0);if(!J||me.length===J.length&&me.every((fe,ye)=>fe.route.id===J[ye].route.id))return{type:"success",matches:null};me=J}}function gr(O){a={},l=xs(O,i,void 0,a)}function Rt(O,F){let $=l==null;Dd(O,F,l||s,a,i),$&&(s=[...s],Q({}))}return P={get basename(){return c},get future(){return f},get state(){return E},get routes(){return s},get window(){return t},initialize:ae,subscribe:Ue,enableScrollRestoration:Yt,navigate:Te,fetch:Tn,revalidate:we,createHref:O=>e.history.createHref(O),encodeLocation:O=>e.history.encodeLocation(O),getFetcher:We,deleteFetcher:hn,dispose:ce,getBlocker:Gn,deleteBlocker:zt,patchRoutes:Rt,_internalFetchControllers:ve,_internalActiveDeferreds:ee,_internalSetRoutes:gr},P}function q2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Sc(e,t,n,o,i,a,s,l){let c,u;if(s){c=[];for(let f of t)if(c.push(f),f.route.id===s){u=f;break}}else c=t,u=t[t.length-1];let h=bu(i||".",Cu(c,a),ur(e.pathname,n)||e.pathname,l==="path");if(i==null&&(h.search=e.search,h.hash=e.hash),(i==null||i===""||i===".")&&u){let f=Eu(h.search);if(u.route.index&&!f)h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&f){let g=new URLSearchParams(h.search),m=g.getAll("index");g.delete("index"),m.filter(I=>I).forEach(I=>g.append("index",I));let C=g.toString();h.search=C?"?"+C:""}}return o&&n!=="/"&&(h.pathname=h.pathname==="/"?n:_r([n,h.pathname])),oo(h)}function Ld(e,t,n,o){if(!o||!q2(o))return{path:n};if(o.formMethod&&!o3(o.formMethod))return{path:n,error:Pn(405,{method:o.formMethod})};let i=()=>({path:n,error:Pn(400,{type:"invalid-body"})}),a=o.formMethod||"get",s=e?a.toUpperCase():a.toLowerCase(),l=Mf(n);if(o.body!==void 0){if(o.formEncType==="text/plain"){if(!lr(s))return i();let g=typeof o.body=="string"?o.body:o.body instanceof FormData||o.body instanceof URLSearchParams?Array.from(o.body.entries()).reduce((m,C)=>{let[I,b]=C;return""+m+I+"="+b+`
|
|
40
|
+
`},""):String(o.body);return{path:n,submission:{formMethod:s,formAction:l,formEncType:o.formEncType,formData:void 0,json:void 0,text:g}}}else if(o.formEncType==="application/json"){if(!lr(s))return i();try{let g=typeof o.body=="string"?JSON.parse(o.body):o.body;return{path:n,submission:{formMethod:s,formAction:l,formEncType:o.formEncType,formData:void 0,json:g,text:void 0}}}catch{return i()}}}Re(typeof FormData=="function","FormData is not available in this environment");let c,u;if(o.formData)c=Ec(o.formData),u=o.formData;else if(o.body instanceof FormData)c=Ec(o.body),u=o.body;else if(o.body instanceof URLSearchParams)c=o.body,u=Md(c);else if(o.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(o.body),u=Md(c)}catch{return i()}let h={formMethod:s,formAction:l,formEncType:o&&o.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(lr(h.formMethod))return{path:n,submission:h};let f=lo(n);return t&&f.search&&Eu(f.search)&&c.append("index",""),f.search="?"+c,{path:oo(f),submission:h}}function Nd(e,t,n){n===void 0&&(n=!1);let o=e.findIndex(i=>i.route.id===t);return o>=0?e.slice(0,n?o+1:o):e}function Pd(e,t,n,o,i,a,s,l,c,u,h,f,g,m,C,I){let b=I?Vn(I[1])?I[1].error:I[1].data:void 0,S=e.createURL(t.location),y=e.createURL(i),T=n;a&&t.errors?T=Nd(n,Object.keys(t.errors)[0],!0):I&&Vn(I[1])&&(T=Nd(n,I[0]));let k=I?I[1].statusCode:void 0,A=s&&k&&k>=400,P=T.filter((M,B)=>{let{route:w}=M;if(w.lazy)return!0;if(w.loader==null)return!1;if(a)return yc(w,t.loaderData,t.errors);if(G2(t.loaderData,t.matches[B],M)||c.some(X=>X===M.route.id))return!0;let V=t.matches[B],H=M;return Rd(M,Et({currentUrl:S,currentParams:V.params,nextUrl:y,nextParams:H.params},o,{actionResult:b,actionStatus:k,defaultShouldRevalidate:A?!1:l||S.pathname+S.search===y.pathname+y.search||S.search!==y.search||Df(V,H)}))}),E=[];return f.forEach((M,B)=>{if(a||!n.some(W=>W.route.id===M.routeId)||h.has(B))return;let w=bo(m,M.path,C);if(!w){E.push({key:B,routeId:M.routeId,path:M.path,matches:null,match:null,controller:null});return}let V=t.fetchers.get(B),H=Hi(w,M.path),X=!1;g.has(B)?X=!1:u.has(B)?(u.delete(B),X=!0):V&&V.state!=="idle"&&V.data===void 0?X=l:X=Rd(H,Et({currentUrl:S,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},o,{actionResult:b,actionStatus:k,defaultShouldRevalidate:A?!1:l})),X&&E.push({key:B,routeId:M.routeId,path:M.path,matches:w,match:H,controller:new AbortController})}),[P,E]}function yc(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let o=t!=null&&t[e.id]!==void 0,i=n!=null&&n[e.id]!==void 0;return!o&&i?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!o&&!i}function G2(e,t,n){let o=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return o||i}function Df(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Rd(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function Dd(e,t,n,o,i){var a;let s;if(e){let u=o[e];Re(u,"No route found to patch children into: routeId = "+e),u.children||(u.children=[]),s=u.children}else s=n;let l=t.filter(u=>!s.some(h=>Of(u,h))),c=xs(l,i,[e||"_","patch",String(((a=s)==null?void 0:a.length)||"0")],o);s.push(...c)}function Of(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,o)=>{var i;return(i=t.children)==null?void 0:i.some(a=>Of(n,a))}):!1}async function Y2(e,t,n){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=n[e.id];Re(i,"No route found in manifest");let a={};for(let s in o){let c=i[s]!==void 0&&s!=="hasErrorBoundary";Gt(!c,'Route "'+i.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!c&&!C2.has(s)&&(a[s]=o[s])}Object.assign(i,a),Object.assign(i,Et({},t(i),{lazy:void 0}))}async function Z2(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,a,s)=>Object.assign(i,{[n[s].route.id]:a}),{})}async function X2(e,t,n,o,i,a,s,l,c,u){let h=a.map(m=>m.route.lazy?Y2(m.route,c,l):void 0),f=a.map((m,C)=>{let I=h[C],b=i.some(y=>y.route.id===m.route.id);return Et({},m,{shouldLoad:b,resolve:async y=>(y&&o.method==="GET"&&(m.route.lazy||m.route.loader)&&(b=!0),b?K2(t,o,m,I,y,u):Promise.resolve({type:ot.data,result:void 0}))})}),g=await e({matches:f,request:o,params:a[0].params,fetcherKey:s,context:u});try{await Promise.all(h)}catch{}return g}async function K2(e,t,n,o,i,a){let s,l,c=u=>{let h,f=new Promise((C,I)=>h=I);l=()=>h(),t.signal.addEventListener("abort",l);let g=C=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):u({request:t,params:n.params,context:a},...C!==void 0?[C]:[]),m=(async()=>{try{return{type:"data",result:await(i?i(I=>g(I)):g())}}catch(C){return{type:"error",result:C}}})();return Promise.race([m,f])};try{let u=n.route[e];if(o)if(u){let h,[f]=await Promise.all([c(u).catch(g=>{h=g}),o]);if(h!==void 0)throw h;s=f}else if(await o,u=n.route[e],u)s=await c(u);else if(e==="action"){let h=new URL(t.url),f=h.pathname+h.search;throw Pn(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:ot.data,result:void 0};else if(u)s=await c(u);else{let h=new URL(t.url),f=h.pathname+h.search;throw Pn(404,{pathname:f})}Re(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:ot.error,result:u}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function Q2(e){let{result:t,type:n}=e;if(Bf(t)){let f;try{let g=t.headers.get("Content-Type");g&&/\bapplication\/json\b/.test(g)?t.body==null?f=null:f=await t.json():f=await t.text()}catch(g){return{type:ot.error,error:g}}return n===ot.error?{type:ot.error,error:new ws(t.status,t.statusText,f),statusCode:t.status,headers:t.headers}:{type:ot.data,data:f,statusCode:t.status,headers:t.headers}}if(n===ot.error){if(Ud(t)){var o,i;if(t.data instanceof Error){var a,s;return{type:ot.error,error:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}}return{type:ot.error,error:new ws(((o=t.init)==null?void 0:o.status)||500,void 0,t.data),statusCode:sa(t)?t.status:void 0,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}}return{type:ot.error,error:t,statusCode:sa(t)?t.status:void 0}}if(r3(t)){var l,c;return{type:ot.deferred,deferredData:t,statusCode:(l=t.init)==null?void 0:l.status,headers:((c=t.init)==null?void 0:c.headers)&&new Headers(t.init.headers)}}if(Ud(t)){var u,h;return{type:ot.data,data:t.data,statusCode:(u=t.init)==null?void 0:u.status,headers:(h=t.init)!=null&&h.headers?new Headers(t.init.headers):void 0}}return{type:ot.data,data:t}}function J2(e,t,n,o,i,a){let s=e.headers.get("Location");if(Re(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!Su.test(s)){let l=o.slice(0,o.findIndex(c=>c.route.id===n)+1);s=Sc(new URL(t.url),l,i,!0,s,a),e.headers.set("Location",s)}return e}function Od(e,t,n){if(Su.test(e)){let o=e,i=o.startsWith("//")?new URL(t.protocol+o):new URL(o),a=ur(i.pathname,n)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function jo(e,t,n,o){let i=e.createURL(Mf(t)).toString(),a={signal:n};if(o&&lr(o.formMethod)){let{formMethod:s,formEncType:l}=o;a.method=s.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(o.json)):l==="text/plain"?a.body=o.text:l==="application/x-www-form-urlencoded"&&o.formData?a.body=Ec(o.formData):a.body=o.formData}return new Request(i,a)}function Ec(e){let t=new URLSearchParams;for(let[n,o]of e.entries())t.append(n,typeof o=="string"?o:o.name);return t}function Md(e){let t=new FormData;for(let[n,o]of e.entries())t.append(n,o);return t}function e3(e,t,n,o,i){let a={},s=null,l,c=!1,u={},h=n&&Vn(n[1])?n[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let g=f.route.id,m=t[g];if(Re(!xo(m),"Cannot handle redirect results in processLoaderData"),Vn(m)){let C=m.error;h!==void 0&&(C=h,h=void 0),s=s||{};{let I=So(e,g);s[I.route.id]==null&&(s[I.route.id]=C)}a[g]=void 0,c||(c=!0,l=sa(m.error)?m.error.status:500),m.headers&&(u[g]=m.headers)}else to(m)?(o.set(g,m.deferredData),a[g]=m.deferredData.data,m.statusCode!=null&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[g]=m.headers)):(a[g]=m.data,m.statusCode&&m.statusCode!==200&&!c&&(l=m.statusCode),m.headers&&(u[g]=m.headers))}),h!==void 0&&n&&(s={[n[0]]:h},a[n[0]]=void 0),{loaderData:a,errors:s,statusCode:l||200,loaderHeaders:u}}function Bd(e,t,n,o,i,a,s){let{loaderData:l,errors:c}=e3(t,n,o,s);return i.forEach(u=>{let{key:h,match:f,controller:g}=u,m=a[h];if(Re(m,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(Vn(m)){let C=So(e.matches,f==null?void 0:f.route.id);c&&c[C.route.id]||(c=Et({},c,{[C.route.id]:m.error})),e.fetchers.delete(h)}else if(xo(m))Re(!1,"Unhandled fetcher revalidation redirect");else if(to(m))Re(!1,"Unhandled fetcher deferred data");else{let C=Xr(m.data);e.fetchers.set(h,C)}}),{loaderData:l,errors:c}}function Fd(e,t,n,o){let i=Et({},t);for(let a of n){let s=a.route.id;if(t.hasOwnProperty(s)?t[s]!==void 0&&(i[s]=t[s]):e[s]!==void 0&&a.route.loader&&(i[s]=e[s]),o&&o.hasOwnProperty(s))break}return i}function Hd(e){return e?Vn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function So(e,t){return(t?e.slice(0,e.findIndex(o=>o.route.id===t)+1):[...e]).reverse().find(o=>o.route.hasErrorBoundary===!0)||e[0]}function jd(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Pn(e,t){let{pathname:n,routeId:o,method:i,type:a,message:s}=t===void 0?{}:t,l="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(l="Bad Request",i&&n&&o?c="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+o+'", ')+"so there is no way to handle the request.":a==="defer-action"?c="defer() is not supported in actions":a==="invalid-body"&&(c="Unable to encode submission body")):e===403?(l="Forbidden",c='Route "'+o+'" does not match URL "'+n+'"'):e===404?(l="Not Found",c='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",i&&n&&o?c="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+o+'", ')+"so there is no way to handle the request.":i&&(c='Invalid request method "'+i.toUpperCase()+'"')),new ws(e||500,l,new Error(c),!0)}function ja(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[o,i]=t[n];if(xo(i))return{key:o,result:i}}}function Mf(e){let t=typeof e=="string"?lo(e):e;return oo(Et({},t,{hash:""}))}function t3(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function n3(e){return Bf(e.result)&&U2.has(e.result.status)}function to(e){return e.type===ot.deferred}function Vn(e){return e.type===ot.error}function xo(e){return(e&&e.type)===ot.redirect}function Ud(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function r3(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Bf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function o3(e){return j2.has(e.toLowerCase())}function lr(e){return F2.has(e.toLowerCase())}async function i3(e,t,n,o,i){let a=Object.entries(t);for(let s=0;s<a.length;s++){let[l,c]=a[s],u=e.find(g=>(g==null?void 0:g.route.id)===l);if(!u)continue;let h=o.find(g=>g.route.id===u.route.id),f=h!=null&&!Df(h,u)&&(i&&i[u.route.id])!==void 0;to(c)&&f&&await yu(c,n,!1).then(g=>{g&&(t[l]=g)})}}async function a3(e,t,n){for(let o=0;o<n.length;o++){let{key:i,routeId:a,controller:s}=n[o],l=t[i];e.find(u=>(u==null?void 0:u.route.id)===a)&&to(l)&&(Re(s,"Expected an AbortController for revalidating fetcher deferred result"),await yu(l,s.signal,!0).then(u=>{u&&(t[i]=u)}))}}async function yu(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ot.data,data:e.deferredData.unwrappedData}}catch(i){return{type:ot.error,error:i}}return{type:ot.data,data:e.deferredData.data}}}function Eu(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Hi(e,t){let n=typeof t=="string"?lo(t).search:t.search;if(e[e.length-1].route.index&&Eu(n||""))return e[e.length-1];let o=Nf(e);return o[o.length-1]}function Vd(e){let{formMethod:t,formAction:n,formEncType:o,text:i,formData:a,json:s}=e;if(!(!t||!n||!o)){if(i!=null)return{formMethod:t,formAction:n,formEncType:o,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:o,formData:a,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:o,formData:void 0,json:s,text:void 0}}}function Al(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function s3(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function vi(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function l3(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Xr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function c3(e,t){try{let n=e.sessionStorage.getItem(Rf);if(n){let o=JSON.parse(n);for(let[i,a]of Object.entries(o||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function u3(e,t){if(t.size>0){let n={};for(let[o,i]of t)n[o]=[...i];try{e.sessionStorage.setItem(Rf,JSON.stringify(n))}catch(o){Gt(!1,"Failed to save applied view transitions in sessionStorage ("+o+").")}}}/**
|
|
41
41
|
* React Router v6.30.0
|
|
42
42
|
*
|
|
43
43
|
* Copyright (c) Remix Software Inc.
|
|
@@ -46,9 +46,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
46
46
|
* LICENSE.md file in the root directory of this source tree.
|
|
47
47
|
*
|
|
48
48
|
* @license MIT
|
|
49
|
-
*/function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vs.apply(this,arguments)}const ai=z.createContext(null);process.env.NODE_ENV!=="production"&&(ai.displayName="DataRouter");const qs=z.createContext(null);process.env.NODE_ENV!=="production"&&(qs.displayName="DataRouterState");const d3=z.createContext(null);process.env.NODE_ENV!=="production"&&(d3.displayName="Await");const hr=z.createContext(null);process.env.NODE_ENV!=="production"&&(hr.displayName="Navigation");const Gs=z.createContext(null);process.env.NODE_ENV!=="production"&&(Gs.displayName="Location");const fr=z.createContext({outlet:null,matches:[],isDataRoute:!1});process.env.NODE_ENV!=="production"&&(fr.displayName="Route");const Tu=z.createContext(null);process.env.NODE_ENV!=="production"&&(Tu.displayName="RouteError");function h3(e,t){let{relative:n}=t===void 0?{}:t;
|
|
49
|
+
*/function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vs.apply(this,arguments)}const ai=z.createContext(null);process.env.NODE_ENV!=="production"&&(ai.displayName="DataRouter");const qs=z.createContext(null);process.env.NODE_ENV!=="production"&&(qs.displayName="DataRouterState");const d3=z.createContext(null);process.env.NODE_ENV!=="production"&&(d3.displayName="Await");const hr=z.createContext(null);process.env.NODE_ENV!=="production"&&(hr.displayName="Navigation");const Gs=z.createContext(null);process.env.NODE_ENV!=="production"&&(Gs.displayName="Location");const fr=z.createContext({outlet:null,matches:[],isDataRoute:!1});process.env.NODE_ENV!=="production"&&(fr.displayName="Route");const Tu=z.createContext(null);process.env.NODE_ENV!=="production"&&(Tu.displayName="RouteError");function h3(e,t){let{relative:n}=t===void 0?{}:t;ba()||(process.env.NODE_ENV!=="production"?Re(!1,"useHref() may be used only in the context of a <Router> component."):Re(!1));let{basename:o,navigator:i}=z.useContext(hr),{hash:a,pathname:s,search:l}=Sa(e,{relative:n}),c=s;return o!=="/"&&(c=s==="/"?o:_r([o,s])),i.createHref({pathname:c,search:l,hash:a})}function ba(){return z.useContext(Gs)!=null}function Ur(){return ba()||(process.env.NODE_ENV!=="production"?Re(!1,"useLocation() may be used only in the context of a <Router> component."):Re(!1)),z.useContext(Gs).location}const Ff="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Hf(e){z.useContext(hr).static||z.useLayoutEffect(e)}function Vr(){let{isDataRoute:e}=z.useContext(fr);return e?v3():f3()}function f3(){ba()||(process.env.NODE_ENV!=="production"?Re(!1,"useNavigate() may be used only in the context of a <Router> component."):Re(!1));let e=z.useContext(ai),{basename:t,future:n,navigator:o}=z.useContext(hr),{matches:i}=z.useContext(fr),{pathname:a}=Ur(),s=JSON.stringify(Cu(i,n.v7_relativeSplatPath)),l=z.useRef(!1);return Hf(()=>{l.current=!0}),z.useCallback(function(u,h){if(h===void 0&&(h={}),process.env.NODE_ENV!=="production"&&Gt(l.current,Ff),!l.current)return;if(typeof u=="number"){o.go(u);return}let f=bu(u,JSON.parse(s),a,h.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:_r([t,f.pathname])),(h.replace?o.replace:o.push)(f,h.state,h)},[t,o,s,a,e])}const p3=z.createContext(null);function m3(e){let t=z.useContext(fr).outlet;return t&&z.createElement(p3.Provider,{value:e},t)}function g3(){let{matches:e}=z.useContext(fr),t=e[e.length-1];return t?t.params:{}}function Sa(e,t){let{relative:n}=t===void 0?{}:t,{future:o}=z.useContext(hr),{matches:i}=z.useContext(fr),{pathname:a}=Ur(),s=JSON.stringify(Cu(i,o.v7_relativeSplatPath));return z.useMemo(()=>bu(e,JSON.parse(s),a,n==="path"),[e,s,a,n])}function I3(e,t,n,o){ba()||(process.env.NODE_ENV!=="production"?Re(!1,"useRoutes() may be used only in the context of a <Router> component."):Re(!1));let{navigator:i,static:a}=z.useContext(hr),{matches:s}=z.useContext(fr),l=s[s.length-1],c=l?l.params:{},u=l?l.pathname:"/",h=l?l.pathnameBase:"/",f=l&&l.route;if(process.env.NODE_ENV!=="production"){let y=f&&f.path||"";Vf(u,!f||y.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+u+'" (under <Route path="'+y+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
50
50
|
|
|
51
|
-
`+('Please change the parent <Route path="'+y+'"> to <Route ')+('path="'+(y==="/"?"*":y+"/*")+'">.'))}let g=Ur(),m;m=g;let C=m.pathname||"/",I=C;if(h!=="/"){let y=h.replace(/^\//,"").split("/");I="/"+C.replace(/^\//,"").split("/").slice(y.length).join("/")}let b=!a&&n&&n.matches&&n.matches.length>0?n.matches:bo(e,{pathname:I});return process.env.NODE_ENV!=="production"&&(process.env.NODE_ENV!=="production"&&Gt(f||b!=null,'No routes matched location "'+m.pathname+m.search+m.hash+'" '),process.env.NODE_ENV!=="production"&&Gt(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,'Matched leaf route at location "'+m.pathname+m.search+m.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')),E3(b&&b.map(y=>Object.assign({},y,{params:Object.assign({},c,y.params),pathname:_r([h,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?h:_r([h,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),s,n,o)}function C3(){let e=Uf(),t=aa(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},s=null;return process.env.NODE_ENV!=="production"&&(console.error("Error handled by React Router default ErrorBoundary:",e),s=z.createElement(z.Fragment,null,z.createElement("p",null,"💿 Hey developer 👋"),z.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",z.createElement("code",{style:a},"ErrorBoundary")," or"," ",z.createElement("code",{style:a},"errorElement")," prop on your route."))),z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},t),n?z.createElement("pre",{style:i},n):null,s)}const b3=z.createElement(C3,null);class S3 extends z.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?z.createElement(fr.Provider,{value:this.props.routeContext},z.createElement(Tu.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function y3(e){let{routeContext:t,match:n,children:o}=e,i=z.useContext(ai);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),z.createElement(fr.Provider,{value:t},o)}function E3(e,t,n,o){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),o===void 0&&(o=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=o)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let h=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);h>=0||(process.env.NODE_ENV!=="production"?Re(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(l).join(",")):Re(!1)),s=s.slice(0,Math.min(s.length,h+1))}let c=!1,u=-1;if(n&&o&&o.v7_partialHydration)for(let h=0;h<s.length;h++){let f=s[h];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=h),f.route.id){let{loaderData:g,errors:m}=n,C=f.route.loader&&g[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||C){c=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((h,f,g)=>{let m,C=!1,I=null,b=null;n&&(m=l&&f.route.id?l[f.route.id]:void 0,I=f.route.errorElement||b3,c&&(u<0&&g===0?(Vf("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,b=null):u===g&&(C=!0,b=f.route.hydrateFallbackElement||null)));let S=t.concat(s.slice(0,g+1)),y=()=>{let T;return m?T=I:C?T=b:f.route.Component?T=z.createElement(f.route.Component,null):f.route.element?T=f.route.element:T=h,z.createElement(y3,{match:f,routeContext:{outlet:h,matches:S,isDataRoute:n!=null},children:T})};return n&&(f.route.ErrorBoundary||f.route.errorElement||g===0)?z.createElement(S3,{location:n.location,revalidation:n.revalidation,component:I,error:m,children:y(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):y()},null)}var jf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(jf||{}),sa=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(sa||{});function xu(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function T3(e){let t=z.useContext(ai);return t||(process.env.NODE_ENV!=="production"?Re(!1,xu(e)):Re(!1)),t}function x3(e){let t=z.useContext(qs);return t||(process.env.NODE_ENV!=="production"?Re(!1,xu(e)):Re(!1)),t}function _3(e){let t=z.useContext(fr);return t||(process.env.NODE_ENV!=="production"?Re(!1,xu(e)):Re(!1)),t}function _u(e){let t=_3(e),n=t.matches[t.matches.length-1];return n.route.id||(process.env.NODE_ENV!=="production"?Re(!1,e+' can only be used on routes that contain a unique "id"'):Re(!1)),n.route.id}function w3(){return _u(sa.UseRouteId)}function Uf(){var e;let t=z.useContext(Tu),n=x3(sa.UseRouteError),o=_u(sa.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[o]}function v3(){let{router:e}=T3(jf.UseNavigateStable),t=_u(sa.UseNavigateStable),n=z.useRef(!1);return Hf(()=>{n.current=!0}),z.useCallback(function(i,a){a===void 0&&(a={}),process.env.NODE_ENV!=="production"&&Gt(n.current,Ff),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,vs({fromRouteId:t},a)))},[e,t])}const zd={};function Vf(e,t,n){!t&&!zd[e]&&(zd[e]=!0,process.env.NODE_ENV!=="production"&&Gt(!1,n))}const $d={};function A3(e,t){process.env.NODE_ENV!=="production"&&!$d[t]&&($d[t]=!0,console.warn(t))}const Uo=(e,t,n)=>A3(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function k3(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Uo("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||!t.v7_relativeSplatPath)&&Uo("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist===void 0&&Uo("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===void 0&&Uo("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration===void 0&&Uo("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===void 0&&Uo("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}function L3(e){return m3(e.context)}function N3(e){let{basename:t="/",children:n=null,location:o,navigationType:i=jt.Pop,navigator:a,static:s=!1,future:l}=e;Ca()&&(process.env.NODE_ENV!=="production"?Re(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app."):Re(!1));let c=t.replace(/^\/*/,"/"),u=z.useMemo(()=>({basename:c,navigator:a,static:s,future:vs({v7_relativeSplatPath:!1},l)}),[c,l,a,s]);typeof o=="string"&&(o=lo(o));let{pathname:h="/",search:f="",hash:g="",state:m=null,key:C="default"}=o,I=z.useMemo(()=>{let b=ur(h,c);return b==null?null:{location:{pathname:b,search:f,hash:g,state:m,key:C},navigationType:i}},[c,h,f,g,m,C,i]);return process.env.NODE_ENV!=="production"&&Gt(I!=null,'<Router basename="'+c+'"> is not able to match the URL '+('"'+h+f+g+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),I==null?null:z.createElement(hr.Provider,{value:u},z.createElement(Gs.Provider,{children:n,value:I}))}new Promise(()=>{});function P3(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(process.env.NODE_ENV!=="production"&&e.element&&process.env.NODE_ENV!=="production"&&Gt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:z.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(process.env.NODE_ENV!=="production"&&e.hydrateFallbackElement&&process.env.NODE_ENV!=="production"&&Gt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:z.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(process.env.NODE_ENV!=="production"&&e.errorElement&&process.env.NODE_ENV!=="production"&&Gt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:z.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}/**
|
|
51
|
+
`+('Please change the parent <Route path="'+y+'"> to <Route ')+('path="'+(y==="/"?"*":y+"/*")+'">.'))}let g=Ur(),m;m=g;let C=m.pathname||"/",I=C;if(h!=="/"){let y=h.replace(/^\//,"").split("/");I="/"+C.replace(/^\//,"").split("/").slice(y.length).join("/")}let b=!a&&n&&n.matches&&n.matches.length>0?n.matches:bo(e,{pathname:I});return process.env.NODE_ENV!=="production"&&(process.env.NODE_ENV!=="production"&&Gt(f||b!=null,'No routes matched location "'+m.pathname+m.search+m.hash+'" '),process.env.NODE_ENV!=="production"&&Gt(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,'Matched leaf route at location "'+m.pathname+m.search+m.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')),E3(b&&b.map(y=>Object.assign({},y,{params:Object.assign({},c,y.params),pathname:_r([h,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?h:_r([h,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),s,n,o)}function C3(){let e=Uf(),t=sa(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},s=null;return process.env.NODE_ENV!=="production"&&(console.error("Error handled by React Router default ErrorBoundary:",e),s=z.createElement(z.Fragment,null,z.createElement("p",null,"💿 Hey developer 👋"),z.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",z.createElement("code",{style:a},"ErrorBoundary")," or"," ",z.createElement("code",{style:a},"errorElement")," prop on your route."))),z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},t),n?z.createElement("pre",{style:i},n):null,s)}const b3=z.createElement(C3,null);class S3 extends z.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?z.createElement(fr.Provider,{value:this.props.routeContext},z.createElement(Tu.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function y3(e){let{routeContext:t,match:n,children:o}=e,i=z.useContext(ai);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),z.createElement(fr.Provider,{value:t},o)}function E3(e,t,n,o){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),o===void 0&&(o=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=o)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let h=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);h>=0||(process.env.NODE_ENV!=="production"?Re(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(l).join(",")):Re(!1)),s=s.slice(0,Math.min(s.length,h+1))}let c=!1,u=-1;if(n&&o&&o.v7_partialHydration)for(let h=0;h<s.length;h++){let f=s[h];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=h),f.route.id){let{loaderData:g,errors:m}=n,C=f.route.loader&&g[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||C){c=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((h,f,g)=>{let m,C=!1,I=null,b=null;n&&(m=l&&f.route.id?l[f.route.id]:void 0,I=f.route.errorElement||b3,c&&(u<0&&g===0?(Vf("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,b=null):u===g&&(C=!0,b=f.route.hydrateFallbackElement||null)));let S=t.concat(s.slice(0,g+1)),y=()=>{let T;return m?T=I:C?T=b:f.route.Component?T=z.createElement(f.route.Component,null):f.route.element?T=f.route.element:T=h,z.createElement(y3,{match:f,routeContext:{outlet:h,matches:S,isDataRoute:n!=null},children:T})};return n&&(f.route.ErrorBoundary||f.route.errorElement||g===0)?z.createElement(S3,{location:n.location,revalidation:n.revalidation,component:I,error:m,children:y(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):y()},null)}var jf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(jf||{}),la=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(la||{});function xu(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function T3(e){let t=z.useContext(ai);return t||(process.env.NODE_ENV!=="production"?Re(!1,xu(e)):Re(!1)),t}function x3(e){let t=z.useContext(qs);return t||(process.env.NODE_ENV!=="production"?Re(!1,xu(e)):Re(!1)),t}function _3(e){let t=z.useContext(fr);return t||(process.env.NODE_ENV!=="production"?Re(!1,xu(e)):Re(!1)),t}function _u(e){let t=_3(e),n=t.matches[t.matches.length-1];return n.route.id||(process.env.NODE_ENV!=="production"?Re(!1,e+' can only be used on routes that contain a unique "id"'):Re(!1)),n.route.id}function w3(){return _u(la.UseRouteId)}function Uf(){var e;let t=z.useContext(Tu),n=x3(la.UseRouteError),o=_u(la.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[o]}function v3(){let{router:e}=T3(jf.UseNavigateStable),t=_u(la.UseNavigateStable),n=z.useRef(!1);return Hf(()=>{n.current=!0}),z.useCallback(function(i,a){a===void 0&&(a={}),process.env.NODE_ENV!=="production"&&Gt(n.current,Ff),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,vs({fromRouteId:t},a)))},[e,t])}const zd={};function Vf(e,t,n){!t&&!zd[e]&&(zd[e]=!0,process.env.NODE_ENV!=="production"&&Gt(!1,n))}const $d={};function A3(e,t){process.env.NODE_ENV!=="production"&&!$d[t]&&($d[t]=!0,console.warn(t))}const Uo=(e,t,n)=>A3(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function k3(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Uo("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||!t.v7_relativeSplatPath)&&Uo("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist===void 0&&Uo("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod===void 0&&Uo("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration===void 0&&Uo("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation===void 0&&Uo("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}function L3(e){return m3(e.context)}function N3(e){let{basename:t="/",children:n=null,location:o,navigationType:i=jt.Pop,navigator:a,static:s=!1,future:l}=e;ba()&&(process.env.NODE_ENV!=="production"?Re(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app."):Re(!1));let c=t.replace(/^\/*/,"/"),u=z.useMemo(()=>({basename:c,navigator:a,static:s,future:vs({v7_relativeSplatPath:!1},l)}),[c,l,a,s]);typeof o=="string"&&(o=lo(o));let{pathname:h="/",search:f="",hash:g="",state:m=null,key:C="default"}=o,I=z.useMemo(()=>{let b=ur(h,c);return b==null?null:{location:{pathname:b,search:f,hash:g,state:m,key:C},navigationType:i}},[c,h,f,g,m,C,i]);return process.env.NODE_ENV!=="production"&&Gt(I!=null,'<Router basename="'+c+'"> is not able to match the URL '+('"'+h+f+g+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),I==null?null:z.createElement(hr.Provider,{value:u},z.createElement(Gs.Provider,{children:n,value:I}))}new Promise(()=>{});function P3(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(process.env.NODE_ENV!=="production"&&e.element&&process.env.NODE_ENV!=="production"&&Gt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:z.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(process.env.NODE_ENV!=="production"&&e.hydrateFallbackElement&&process.env.NODE_ENV!=="production"&&Gt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:z.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(process.env.NODE_ENV!=="production"&&e.errorElement&&process.env.NODE_ENV!=="production"&&Gt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:z.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}/**
|
|
52
52
|
* React Router DOM v6.30.0
|
|
53
53
|
*
|
|
54
54
|
* Copyright (c) Remix Software Inc.
|
|
@@ -57,20 +57,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
57
57
|
* LICENSE.md file in the root directory of this source tree.
|
|
58
58
|
*
|
|
59
59
|
* @license MIT
|
|
60
|
-
*/function io(){return io=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},io.apply(this,arguments)}function wu(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const ds="get",hs="application/x-www-form-urlencoded";function Ys(e){return e!=null&&typeof e.tagName=="string"}function R3(e){return Ys(e)&&e.tagName.toLowerCase()==="button"}function D3(e){return Ys(e)&&e.tagName.toLowerCase()==="form"}function O3(e){return Ys(e)&&e.tagName.toLowerCase()==="input"}function M3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function B3(e,t){return e.button===0&&(!t||t==="_self")&&!M3(e)}function Tc(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let o=e[n];return t.concat(Array.isArray(o)?o.map(i=>[n,i]):[[n,o]])},[]))}function F3(e,t){let n=Tc(e);return t&&t.forEach((o,i)=>{n.has(i)||t.getAll(i).forEach(a=>{n.append(i,a)})}),n}let Ua=null;function H3(){if(Ua===null)try{new FormData(document.createElement("form"),0),Ua=!1}catch{Ua=!0}return Ua}const j3=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function kl(e){return e!=null&&!j3.has(e)?(process.env.NODE_ENV!=="production"&&Gt(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+hs+'"')),null):e}function U3(e,t){let n,o,i,a,s;if(D3(e)){let l=e.getAttribute("action");o=l?ur(l,t):null,n=e.getAttribute("method")||ds,i=kl(e.getAttribute("enctype"))||hs,a=new FormData(e)}else if(R3(e)||O3(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||l.getAttribute("action");if(o=c?ur(c,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||ds,i=kl(e.getAttribute("formenctype"))||kl(l.getAttribute("enctype"))||hs,a=new FormData(l,e),!H3()){let{name:u,type:h,value:f}=e;if(h==="image"){let g=u?u+".":"";a.append(g+"x","0"),a.append(g+"y","0")}else u&&a.append(u,f)}}else{if(Ys(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=ds,o=null,i=hs,s=e}return a&&i==="text/plain"&&(s=a,a=void 0),{action:o,method:n.toLowerCase(),encType:i,formData:a,body:s}}const V3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],z3=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],$3=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],W3="6";try{window.__reactRouterVersion=W3}catch{}function q3(e,t){return W2({basename:void 0,future:io({},void 0,{v7_prependBasename:!0}),history:m2({window:void 0}),hydrationData:G3(),routes:e,mapRouteProperties:P3,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function G3(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=io({},t,{errors:Y3(t.errors)})),t}function Y3(e){if(!e)return null;let t=Object.entries(e),n={};for(let[o,i]of t)if(i&&i.__type==="RouteErrorResponse")n[o]=new ws(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let s=new a(i.message);s.stack="",n[o]=s}catch{}}if(n[o]==null){let a=new Error(i.message);a.stack="",n[o]=a}}else n[o]=i;return n}const vu=z.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(vu.displayName="ViewTransition");const zf=z.createContext(new Map);process.env.NODE_ENV!=="production"&&(zf.displayName="Fetchers");const Z3="startTransition",Wd=z[Z3],X3="flushSync",qd=h2[X3];function K3(e){Wd?Wd(e):e()}function vi(e){qd?qd(e):e()}class Q3{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=o=>{this.status==="pending"&&(this.status="resolved",t(o))},this.reject=o=>{this.status==="pending"&&(this.status="rejected",n(o))}})}}function J3(e){let{fallbackElement:t,router:n,future:o}=e,[i,a]=z.useState(n.state),[s,l]=z.useState(),[c,u]=z.useState({isTransitioning:!1}),[h,f]=z.useState(),[g,m]=z.useState(),[C,I]=z.useState(),b=z.useRef(new Map),{v7_startTransition:S}=o||{},y=z.useCallback(M=>{S?K3(M):M()},[S]),T=z.useCallback((M,B)=>{let{deletedFetchers:w,flushSync:V,viewTransitionOpts:H}=B;M.fetchers.forEach((W,se)=>{W.data!==void 0&&b.current.set(se,W.data)}),w.forEach(W=>b.current.delete(W));let X=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!H||X){V?vi(()=>a(M)):y(()=>a(M));return}if(V){vi(()=>{g&&(h&&h.resolve(),g.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:H.currentLocation,nextLocation:H.nextLocation})});let W=n.window.document.startViewTransition(()=>{vi(()=>a(M))});W.finished.finally(()=>{vi(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})})}),vi(()=>m(W));return}g?(h&&h.resolve(),g.skipTransition(),I({state:M,currentLocation:H.currentLocation,nextLocation:H.nextLocation})):(l(M),u({isTransitioning:!0,flushSync:!1,currentLocation:H.currentLocation,nextLocation:H.nextLocation}))},[n.window,g,h,b,y]);z.useLayoutEffect(()=>n.subscribe(T),[n,T]),z.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new Q3)},[c]),z.useEffect(()=>{if(h&&s&&n.window){let M=s,B=h.promise,w=n.window.document.startViewTransition(async()=>{y(()=>a(M)),await B});w.finished.finally(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})}),m(w)}},[y,s,h,n.window]),z.useEffect(()=>{h&&s&&i.location.key===s.location.key&&h.resolve()},[h,g,i.location,s]),z.useEffect(()=>{!c.isTransitioning&&C&&(l(C.state),u({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),I(void 0))},[c.isTransitioning,C]),z.useEffect(()=>{process.env.NODE_ENV!=="production"&&Gt(t==null||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let k=z.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:M=>n.navigate(M),push:(M,B,w)=>n.navigate(M,{state:B,preventScrollReset:w==null?void 0:w.preventScrollReset}),replace:(M,B,w)=>n.navigate(M,{replace:!0,state:B,preventScrollReset:w==null?void 0:w.preventScrollReset})}),[n]),A=n.basename||"/",P=z.useMemo(()=>({router:n,navigator:k,static:!1,basename:A}),[n,k,A]),E=z.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return z.useEffect(()=>k3(o,n.future),[o,n.future]),z.createElement(z.Fragment,null,z.createElement(ai.Provider,{value:P},z.createElement(qs.Provider,{value:i},z.createElement(zf.Provider,{value:b.current},z.createElement(vu.Provider,{value:c},z.createElement(N3,{basename:A,location:i.location,navigationType:i.historyAction,navigator:k,future:E},i.initialized||n.future.v7_partialHydration?z.createElement(e5,{routes:n.routes,future:n.future,state:i}):t))))),null)}const e5=z.memo(t5);function t5(e){let{routes:t,future:n,state:o}=e;return I3(t,void 0,o,n)}process.env.NODE_ENV;const n5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",r5=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$f=z.forwardRef(function(t,n){let{onClick:o,relative:i,reloadDocument:a,replace:s,state:l,target:c,to:u,preventScrollReset:h,viewTransition:f}=t,g=wu(t,V3),{basename:m}=z.useContext(hr),C,I=!1;if(typeof u=="string"&&r5.test(u)&&(C=u,n5))try{let T=new URL(window.location.href),k=u.startsWith("//")?new URL(T.protocol+u):new URL(u),A=ur(k.pathname,m);k.origin===T.origin&&A!=null?u=A+k.search+k.hash:I=!0}catch{process.env.NODE_ENV!=="production"&&Gt(!1,'<Link to="'+u+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let b=h3(u,{relative:i}),S=a5(u,{replace:s,state:l,target:c,preventScrollReset:h,relative:i,viewTransition:f});function y(T){o&&o(T),T.defaultPrevented||S(T)}return z.createElement("a",io({},g,{href:C||b,onClick:I||a?o:y,ref:n,target:c}))});process.env.NODE_ENV!=="production"&&($f.displayName="Link");const As=z.forwardRef(function(t,n){let{"aria-current":o="page",caseSensitive:i=!1,className:a="",end:s=!1,style:l,to:c,viewTransition:u,children:h}=t,f=wu(t,z3),g=ba(c,{relative:f.relative}),m=Ur(),C=z.useContext(qs),{navigator:I,basename:b}=z.useContext(hr),S=C!=null&&h5(g)&&u===!0,y=I.encodeLocation?I.encodeLocation(g).pathname:g.pathname,T=m.pathname,k=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;i||(T=T.toLowerCase(),k=k?k.toLowerCase():null,y=y.toLowerCase()),k&&b&&(k=ur(k,b)||k);const A=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let P=T===y||!s&&T.startsWith(y)&&T.charAt(A)==="/",E=k!=null&&(k===y||!s&&k.startsWith(y)&&k.charAt(y.length)==="/"),M={isActive:P,isPending:E,isTransitioning:S},B=P?o:void 0,w;typeof a=="function"?w=a(M):w=[a,P?"active":null,E?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let V=typeof l=="function"?l(M):l;return z.createElement($f,io({},f,{"aria-current":B,className:w,ref:n,style:V,to:c,viewTransition:u}),typeof h=="function"?h(M):h)});process.env.NODE_ENV!=="production"&&(As.displayName="NavLink");const o5=z.forwardRef((e,t)=>{let{fetcherKey:n,navigate:o,reloadDocument:i,replace:a,state:s,method:l=ds,action:c,onSubmit:u,relative:h,preventScrollReset:f,viewTransition:g}=e,m=wu(e,$3),C=u5(),I=d5(c,{relative:h}),b=l.toLowerCase()==="get"?"get":"post",S=y=>{if(u&&u(y),y.defaultPrevented)return;y.preventDefault();let T=y.nativeEvent.submitter,k=(T==null?void 0:T.getAttribute("formmethod"))||l;C(T||y.currentTarget,{fetcherKey:n,method:k,navigate:o,replace:a,state:s,relative:h,preventScrollReset:f,viewTransition:g})};return z.createElement("form",io({ref:t,method:b,action:I,onSubmit:i?u:S},m))});process.env.NODE_ENV!=="production"&&(o5.displayName="Form");process.env.NODE_ENV;var ks;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ks||(ks={}));var Gd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gd||(Gd={}));function i5(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function Wf(e){let t=z.useContext(ai);return t||(process.env.NODE_ENV!=="production"?Re(!1,i5(e)):Re(!1)),t}function a5(e,t){let{target:n,replace:o,state:i,preventScrollReset:a,relative:s,viewTransition:l}=t===void 0?{}:t,c=Vr(),u=Ur(),h=ba(e,{relative:s});return z.useCallback(f=>{if(B3(f,n)){f.preventDefault();let g=o!==void 0?o:oo(u)===oo(h);c(e,{replace:g,state:i,preventScrollReset:a,relative:s,viewTransition:l})}},[u,c,h,o,i,n,e,a,s,l])}function qf(e){process.env.NODE_ENV!=="production"&&Gt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=z.useRef(Tc(e)),n=z.useRef(!1),o=Ur(),i=z.useMemo(()=>F3(o.search,n.current?null:t.current),[o.search]),a=Vr(),s=z.useCallback((l,c)=>{const u=Tc(typeof l=="function"?l(i):l);n.current=!0,a("?"+u,c)},[a,i]);return[i,s]}function s5(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let l5=0,c5=()=>"__"+String(++l5)+"__";function u5(){let{router:e}=Wf(ks.UseSubmit),{basename:t}=z.useContext(hr),n=w3();return z.useCallback(function(o,i){i===void 0&&(i={}),s5();let{action:a,method:s,encType:l,formData:c,body:u}=U3(o,t);if(i.navigate===!1){let h=i.fetcherKey||c5();e.fetch(h,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:u,formMethod:i.method||s,formEncType:i.encType||l,flushSync:i.flushSync})}else e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:u,formMethod:i.method||s,formEncType:i.encType||l,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function d5(e,t){let{relative:n}=t===void 0?{}:t,{basename:o}=z.useContext(hr),i=z.useContext(fr);i||(process.env.NODE_ENV!=="production"?Re(!1,"useFormAction must be used inside a RouteContext"):Re(!1));let[a]=i.matches.slice(-1),s=io({},ba(e||".",{relative:n})),l=Ur();if(e==null){s.search=l.search;let c=new URLSearchParams(s.search),u=c.getAll("index");if(u.some(f=>f==="")){c.delete("index"),u.filter(g=>g).forEach(g=>c.append("index",g));let f=c.toString();s.search=f?"?"+f:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(s.pathname=s.pathname==="/"?o:_r([o,s.pathname])),oo(s)}function h5(e,t){t===void 0&&(t={});let n=z.useContext(vu);n==null&&(process.env.NODE_ENV!=="production"?Re(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Re(!1));let{basename:o}=Wf(ks.useViewTransitionState),i=ba(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=ur(n.currentLocation.pathname,o)||n.currentLocation.pathname,s=ur(n.nextLocation.pathname,o)||n.nextLocation.pathname;return _s(i.pathname,s)!=null||_s(i.pathname,a)!=null}const Yd=e=>{let t;const n=new Set,o=(u,h)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const g=t;t=h??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,g))}},i=()=>t,l={setState:o,getState:i,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u))},c=t=e(o,i,l);return l},f5=e=>e?Yd(e):Yd,p5=e=>e;function m5(e,t=p5){const n=_.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return _.useDebugValue(n),n}const Zd=e=>{const t=f5(e),n=o=>m5(t,o);return Object.assign(n,t),n},st=e=>e?Zd(e):Zd,Lo=st(e=>({header:null,footer:null,announcement:null,setHeader:t=>e(()=>({header:t})),setFooter:t=>e(()=>({footer:t})),setAnnouncement:t=>e(()=>({announcement:t})),blocks:null,setBlocks:t=>e(()=>({blocks:t})),activeBlock:null,setActiveBlock:t=>e(()=>({activeBlock:t})),sourceBlocks:{},setSourceBlocks:t=>e(()=>({sourceBlocks:t})),currentInstance:null,setCurrentInstance:t=>e(()=>({currentInstance:t})),settings:null,setSettings:t=>e(()=>({settings:t})),settingsInstance:null,setSettingsInstance:t=>e(()=>({settingsInstance:t}))})),g5=st(e=>({currentDevice:{icon:"Desktop",value:"desktop"},setCurrentDevice:t=>e(()=>({currentDevice:t}))}));st(e=>({pageData:null,setPageData:t=>e(()=>({pageData:t}))}));const Gf=[{icon:"TreeStructure",name:"Layers"},{icon:"Plus",name:"Add"},{icon:"Palette",name:"Theme"},{icon:"Gear",name:"Settings"}],Yf=["/","/reviews","/faqs","/contact","/products","/ticket","/login"],I5={"/":{path:"/",name:"Home",icon:"HouseSimple",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/products":{path:"/products",name:"Products",icon:"SquaresFour",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/faqs":{path:"/faqs",name:"Faqs",icon:"SealQuestion",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/reviews":{path:"/reviews",name:"Reviews",icon:"Star",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/contact":{path:"/contact",name:"Contact",icon:"ChatCentered",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/ticket":{path:"/ticket",name:"Ticket",icon:"Ticket",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/login":{path:"/login",name:"Login",icon:"UserCircleGear",seo:{pageDescription:"",pageTitle:""},visibility:"public"}};console.log(window.location.host);const Vt=window.location.hostname.includes("localhost")||window.location.hostname.includes("192"),Zf={"1:1":"1:1","4:3":"4:3","16:9":"16:9","9:16":"9:16"},Xf=[{value:"4:3",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:18.5,height:14.5,border:"1.5px solid #252525",borderRadius:3}})})},{value:"16:9",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:20.5,height:12.5,border:"1.5px solid #252525",borderRadius:3}})})},{value:"9:16",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:14.5,height:18.5,border:"1.5px solid #252525",borderRadius:3}})})},{value:"1:1",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:16.5,height:16.5,border:"1.5px solid #252525",borderRadius:3}})})}],Va={h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",h7:"Heading 7",lg:"Paragraph Large",md:"Paragraph Medium",sm:"Paragraph Small"},C5=st(e=>({activeBlock:Gf[0],setActiveBlock:t=>e(()=>({activeBlock:t}))}));function b5(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var a;const s=c=>c===null?null:JSON.parse(c,void 0),l=(a=n.getItem(i))!=null?a:null;return l instanceof Promise?l.then(s):s(l)},setItem:(i,a)=>n.setItem(i,JSON.stringify(a,void 0)),removeItem:i=>n.removeItem(i)}}const xc=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(o){return xc(o)(n)},catch(o){return this}}}catch(n){return{then(o){return this},catch(o){return xc(o)(n)}}}},S5=(e,t)=>(n,o,i)=>{let a={storage:b5(()=>localStorage),partialize:I=>I,version:0,merge:(I,b)=>({...b,...I}),...t},s=!1;const l=new Set,c=new Set;let u=a.storage;if(!u)return e((...I)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...I)},o,i);const h=()=>{const I=a.partialize({...o()});return u.setItem(a.name,{state:I,version:a.version})},f=i.setState;i.setState=(I,b)=>{f(I,b),h()};const g=e((...I)=>{n(...I),h()},o,i);i.getInitialState=()=>g;let m;const C=()=>{var I,b;if(!u)return;s=!1,l.forEach(y=>{var T;return y((T=o())!=null?T:g)});const S=((b=a.onRehydrateStorage)==null?void 0:b.call(a,(I=o())!=null?I:g))||void 0;return xc(u.getItem.bind(u))(a.name).then(y=>{if(y)if(typeof y.version=="number"&&y.version!==a.version){if(a.migrate)return[!0,a.migrate(y.state,y.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,y.state];return[!1,void 0]}).then(y=>{var T;const[k,A]=y;if(m=a.merge(A,(T=o())!=null?T:g),n(m,!0),k)return h()}).then(()=>{S==null||S(m,void 0),m=o(),s=!0,c.forEach(y=>y(m))}).catch(y=>{S==null||S(void 0,y)})};return i.persist={setOptions:I=>{a={...a,...I},I.storage&&(u=I.storage)},clearStorage:()=>{u==null||u.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>C(),hasHydrated:()=>s,onHydrate:I=>(l.add(I),()=>{l.delete(I)}),onFinishHydration:I=>(c.add(I),()=>{c.delete(I)})},a.skipHydration||C(),m||g},Zs=S5,Xs=st(Zs(e=>({onPreview:!0,setOnPreview:t=>e(()=>({onPreview:t})),activeBlock:{id:null,neededScroll:!1},setActiveBlock:t=>e(()=>({activeBlock:t})),zoomLevel:1,setZoomLevel:t=>e(()=>({zoomLevel:t}))}),{name:"preview-storage",partialize:e=>{const{onPreview:t}=e;return{onPreview:t}}}));var sn=[];for(var Ll=0;Ll<256;++Ll)sn.push((Ll+256).toString(16).slice(1));function y5(e,t=0){return(sn[e[t+0]]+sn[e[t+1]]+sn[e[t+2]]+sn[e[t+3]]+"-"+sn[e[t+4]]+sn[e[t+5]]+"-"+sn[e[t+6]]+sn[e[t+7]]+"-"+sn[e[t+8]]+sn[e[t+9]]+"-"+sn[e[t+10]]+sn[e[t+11]]+sn[e[t+12]]+sn[e[t+13]]+sn[e[t+14]]+sn[e[t+15]]).toLowerCase()}var za,E5=new Uint8Array(16);function T5(){if(!za&&(za=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!za))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return za(E5)}var x5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Xd={randomUUID:x5};function pt(e,t,n){if(Xd.randomUUID&&!e)return Xd.randomUUID();e=e||{};var o=e.random||(e.rng||T5)();return o[6]=o[6]&15|64,o[8]=o[8]&63|128,y5(o)}const Hr=st(Zs((e,t)=>({header:null,blocks:{},announcement:null,footer:null,currentBlock:null,positionBlock:null,setBlocks:n=>{e({blocks:n})},setHeader:(n,o=!0)=>{const i=structuredClone(t().header),a=structuredClone(n);JSON.stringify(i)!==JSON.stringify(a)&&o&&wn.getState().addHistory({header:i}),e({header:a})},setFooter:(n,o=!0)=>{const i=structuredClone(t().footer),a=structuredClone(n);JSON.stringify(i)!==JSON.stringify(a)&&o&&wn.getState().addHistory({footer:i}),e({footer:a})},setAnnouncement:(n,o=!0)=>{const i=structuredClone(t().announcement),a=structuredClone(n);JSON.stringify(i)!==JSON.stringify(a)&&o&&wn.getState().addHistory({announcement:i}),e({announcement:a})},createPage:n=>{const o=t().blocks;o[n]={data:{},order:[]},e({blocks:o})},deletePage:n=>{const o=t().blocks;delete o[n],e({blocks:o})},updatePage:(n,o)=>{const i=t().blocks;if(i[o])return;const a=i[n];delete i[n],i[o]=a,e({blocks:i})},setCurrentBlock:n=>{e({currentBlock:n})},setPositionBlock:(n,o=!1)=>{const{blocks:i}=t(),{currentPage:a,pages:s}=zr.getState();if(!a||!s||!s[a]||!i[s[a].path]){console.error("Cannot set position: invalid page or block data");return}const l=s[a].path,c=i[l],u=n?c.order.indexOf(n):-1;if(u===-1&&n){console.error(`Block with ID "${n}" not found in page "${l}"`);return}const h=u!==-1?u+(o?1:0):c.order.length;e({positionBlock:h})},addBlock:(n,o)=>{const i=structuredClone(t().blocks)||JSON.parse(JSON.stringify(t().blocks));wn.getState().addHistory({layers:i});const a={...t().blocks},s=a[n]||{data:{},order:[]},l=t().positionBlock,c=pt(),u={name:o.name,value:o.value};return s.data[c]=u,l===null||l>=s.order.length?s.order.push(c):s.order.splice(l,0,c),e({blocks:{...a,[n]:{data:s.data,order:s.order}},currentBlock:c,positionBlock:null}),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully added",status:"success"}]),c},editBlock:(n,o,i)=>{const a=structuredClone(t().blocks)||JSON.parse(JSON.stringify(t().blocks));wn.getState().addHistory({layers:a});const s=t().blocks,l=s[n]||{};l.data[o]={name:i.name,value:{...i.value}},e({blocks:{...s,[n]:l}})},removeBlock:(n,o)=>{const i=structuredClone(t().blocks);wn.getState().addHistory({layers:i});const a=structuredClone(t().blocks),s=a[n];if(!s){console.error(`Page at path "${n}" does not exist.`);return}delete s.data[o],s.order=s.order.filter(l=>l!==o),e({blocks:{...a,[n]:s}}),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully deleted",status:"success"}])},moveBlock:(n,o,i)=>e(a=>{const s=structuredClone(t().blocks)||JSON.parse(JSON.stringify(t().blocks));if(wn.getState().addHistory({layers:s}),!a.blocks[n])return console.error(`Path ${n} does not exist in blocks`),a;const l={...a.blocks[n]},c=[...l.order];if(o<0||i<0||o>=c.length||i>=c.length)return console.error(`Invalid indices: fromIndex=${o}, toIndex=${i}`),a;const[u]=c.splice(o,1);return c.splice(i,0,u),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully moved",status:"success"}]),{blocks:{...a.blocks,[n]:{...l,order:c}}}}),duplicateBlock:(n,o)=>{const i=structuredClone(t().blocks);wn.getState().addHistory({layers:i});const a=structuredClone(t().blocks),s=a[n];if(!s||!s.data[o]){console.error(`Block with ID "${o}" not found in page "${n}"`);return}const l=pt(),c=s.data[o],u={name:c.name,value:structuredClone({...c.value})};s.data[l]={...u};const h=s.order.indexOf(o);if(h===-1){console.error(`Block ID "${o}" not found in order array`);return}s.order.splice(h+1,0,l),e({blocks:{...a,[n]:s},currentBlock:l}),Xs.getState().setActiveBlock({id:l,neededScroll:!0}),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully duplicated",status:"success"}])},isLoadingLayers:!1,setIsLoadingLayers:n=>e(()=>({isLoadingLayers:n}))}),{name:"layers-storage",partialize:e=>{const{blocks:t,header:n,footer:o,announcement:i}=e;return{blocks:t,header:n,footer:o,announcement:i}}})),_5=st((e,t)=>({isModalVisible:!1,hoverBlockId:null,isMouseOverModal:!1,hideTimeout:null,setHoverBlockId:n=>{e({hoverBlockId:n})},showModal:(n,o="hoverBlockId")=>{t().hideTimeout&&clearTimeout(t().hideTimeout),e({isModalVisible:!0,[o]:n})},hideModal:(n="hoverBlockId")=>{e({isModalVisible:!1,[n]:null})},startHideTimeout:()=>{if(!t().isMouseOverModal){const n=setTimeout(()=>{e({isModalVisible:!1,hoverBlockId:null,keyBlock:null})},500);e({hideTimeout:n})}},clearHideTimeout:()=>{t().hideTimeout&&(clearTimeout(t().hideTimeout),e({hideTimeout:null}))},setMouseOverModal:n=>{e({isMouseOverModal:n})},isPreviewVisible:!1,showPreview:(n,o="hoverBlockId")=>{e({isPreviewVisible:!0,[o]:n})},hidePreview:(n="hoverBlockId")=>{e({isPreviewVisible:!1,[n]:null})},keyBlock:null,setKeyBlock:n=>{e({keyBlock:n})},hoverBlockTopPosition:null,setHoverBlockTopPosition:n=>{e({hoverBlockTopPosition:n})}})),No=st((e,t)=>({activeBlock:null,setActiveBlock:n=>e(()=>({activeBlock:n})),activeFont:null,setActiveFont:n=>e(()=>({activeFont:n})),setThemeSettings:n=>e(()=>({themeSettings:n})),activeColorCategory:null,setActiveColorCategory:n=>e(()=>({activeColorCategory:n})),themeSettings:{colors:{text:{primary:"#252525",secondary:"#757575",tertiary:"#C2C2C2",inverted:"#FFFFFF",action:"#FF3F19",actionHover:"#DA2400",disabled:"#C2C2C2",warning:"#C1972A",error:"#C12A2A",success:"#338B13",information:"#3683F7",link:"#3683F7"},icon:{primary:"#252525",secondary:"#555555",tertiary:"#C2C2C2",inverted:"#FFFFFF",action:"#FF3F19",actionHover:"#DA2400",disabled:"#C2C2C2",warning:"#C1972A",error:"#C12A2A",success:"#338B13",information:"#3683F7",link:"#3683F7"},border:{primary:"#C2C2C2",secondary:"#E6E6E6",action:"#FF3F19",actionHover:"#DA2400",disabled:"#E6E6E6",warning:"#C1972A",error:"#C12A2A",success:"#338B13",information:"#3683F7",focus:"#FF3F19"},surface:{primary:"#FFFFFF",secondary:"#F8F8F8",action1:"#FF3F19",action1Hover:"#DA2400",action2:"#FFFFFF",action2Hover:"#F8F8F8",disabled:"#C2C2C2",warning:"#FAF4E6",error:"#FAE6E6",success:"#E5FADD",information:"#E9F1FE",modal:"rgba(1, 1, 4, 0.4)"}},fonts:{mobile:{fontSizePercentage:30},tablet:{fontSizePercentage:50},desktop:{heading:{h1:{font:"Archivo",weight:"700",size:48,boldWeight:"900",case:"normal"},h2:{font:"Archivo",weight:"700",size:32,boldWeight:"800",case:"normal"},h3:{font:"Archivo",weight:"600",size:24,boldWeight:"700",case:"normal"},h4:{font:"Archivo",weight:"500",size:20,boldWeight:"700",case:"normal"},h5:{font:"Archivo",weight:"400",size:16,boldWeight:"700",case:"normal"},h6:{font:"Archivo",weight:"400",size:14,boldWeight:"700",case:"uppercase"},h7:{font:"Archivo",weight:"400",size:14,boldWeight:"700",case:"normal"}},body:{lg:{font:"Archivo",size:16,weight:"400",boldWeight:"700",case:"normal"},md:{font:"Archivo",size:14,weight:"400",boldWeight:"700",case:"normal"},sm:{font:"Archivo",size:12,weight:"400",boldWeight:"700",case:"normal"}}}},borders:{radius:"var(--radius-lg)",thickness:"var(--border-none)"},buttons:{primary:{size:26,alignment:"left",radius:32,height:40,background:"#ff3f19",hover:!0,font:"Archivo",boxShadow:{left:0,top:0,blur:0,spread:0,color:"#000000"},color:"#ffffff",colorHover:"#ffffff",backgroundHover:"#ff3f19"},secondary:{size:26,alignment:"left",radius:10,height:20,background:"#c2c2c2",hover:!1,font:"Archivo",boxShadow:{left:0,top:4,blur:10,spread:0,color:"#000000"},color:"#757575",colorHover:"#757575",backgroundHover:"#c2c2c2"},tertiary:{size:12,alignment:"left",radius:30,height:30,background:"#c2c2c2",hover:!0,font:"Archivo",boxShadow:{left:0,top:4,blur:10,spread:0,color:"#000000"},color:"#757575",colorHover:"#757575",backgroundHover:"#c2c2c2"}},inputs:{field:{color:"#f3f3f3",active:!0,opacity:40},label:{size:14,color:"#555555",height:40,alignment:"left"},border:{color:"#f3f3f3",style:"solid",active:!0,radius:14,thickness:0},general:{size:14,color:"#252525",height:40},placeholder:{color:"#C2C2C2"}}},updateColor:(n,o,i)=>e(a=>{const s=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:s});const l={...a.themeSettings.colors,[n]:{...a.themeSettings.colors[n],[o]:i}};return{themeSettings:{...a.themeSettings,colors:l}}}),updateFont:(n,o,i,a,s)=>e(l=>{const c=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:c});const u={...l.themeSettings.fonts,[n]:{...l.themeSettings.fonts[n],[o]:{...l.themeSettings.fonts[n][o],[i]:{...l.themeSettings.fonts[n][o][i],[a]:s}}}};return{themeSettings:{...l.themeSettings,fonts:u}}}),updateFontSizePercentage:(n,o)=>e(i=>{const a=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:a});const s={...i.themeSettings.fonts,[n]:{...i.themeSettings.fonts[n],fontSizePercentage:o}};return{themeSettings:{...i.themeSettings,fonts:s}}}),updateBorder:(n,o)=>e(i=>{const a=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:a});const s={...i.themeSettings.borders,[n]:o};return{themeSettings:{...i.themeSettings,borders:s}}}),updateButton:(n,o,i)=>e(a=>{const s=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:s});const l={...a.themeSettings.buttons[n],[o]:i},c={...a.themeSettings.buttons,[n]:l};return{themeSettings:{...a.themeSettings,buttons:c}}}),updateInput:(n,o,i)=>e(a=>{const s=structuredClone(t().themeSettings);return wn.getState().addHistory({themeSettings:s}),{themeSettings:{...a.themeSettings,inputs:{...a.themeSettings.inputs,[n]:{...a.themeSettings.inputs[n],[i]:o}}}}}),isLoadingThemeSettings:!1,setIsLoadingThemeSettings:n=>e(()=>({isLoadingThemeSettings:n}))})),w5=st(Zs(e=>({fonts:[],setFonts:t=>e(()=>({fonts:t}))}),{name:"fonts-storage"})),Sa=st(e=>({settings:null,setSettings:t=>{e(()=>({settings:t}))},isLoadingSettings:!0,setIsLoadingSettings:t=>e(()=>({isLoadingSettings:t}))})),v5=st()(e=>({color:"default",initialColor:"",setInitialColor:t=>e(()=>({initialColor:t})),colorChange:()=>{},update:()=>{},activeLabel:null,modalPosition:{left:0,top:0},showModal:!1,dragging:!1,hue:0,saturation:100,brightness:100,alpha:100,isGradientActive:!0,isBlockSettings:!1,isGradient:!1,setIsGradient:t=>e(()=>({isGradient:t})),gradientDirection:"vertical",setGradientDirection:t=>e(()=>({gradientDirection:t})),hue2:0,saturation2:100,brightness2:100,alpha2:100,setHue2:t=>e(()=>({hue2:t})),setSaturation2:t=>e(()=>({saturation2:t})),setBrightness2:t=>e(()=>({brightness2:t})),setAlpha2:t=>e(()=>({alpha2:t})),activeColorIndex:1,setActiveColorIndex:t=>e(()=>({activeColorIndex:t})),setModalPosition:t=>e(()=>({modalPosition:t})),setHue:t=>e(()=>({hue:t})),setSaturation:t=>e(()=>({saturation:t})),setBrightness:t=>e(()=>({brightness:t})),setIsBlockSettings:t=>e(()=>({isBlockSettings:t})),setShowModal:t=>e({isBlockSettings:!1,showModal:t}),setDragging:t=>e(()=>({dragging:t})),setActiveLabel:t=>e(()=>({activeLabel:t})),setColor:t=>e(()=>({color:t})),setUpdate:t=>e(()=>({update:t})),setColorChange:t=>e(()=>({colorChange:t})),setAlpha:t=>e(()=>({alpha:t})),setIsGradientActive:t=>e(()=>({isGradientActive:t})),resetColors:()=>e(()=>({color:"default",initialColor:"",activeLabel:null,modalPosition:{left:0,top:0},showModal:!1,dragging:!1,hue:0,saturation:100,brightness:100,alpha:100,isGradient:!1,gradientDirection:"vertical",hue2:0,saturation2:100,brightness2:100,alpha2:100,activeColorIndex:1,isGradientActive:!0}))})),zr=st(Zs((e,t)=>({pages:null,currentPage:"",setPages:n=>e(()=>({pages:n})),pageContext:{listings:null,products:null,reviews:null,categories:null,faqs:null,general:null,fullPosts:null,posts:null},isOpenModal:!1,isOpenSelectModal:!1,isEdit:!1,editedPage:null,setEditedPage:n=>e(()=>({editedPage:n})),setCurrentPage:n=>e(()=>({currentPage:n})),setPageContext:n=>e(()=>({pageContext:n})),setIsOpenModal:n=>e(()=>({isOpenModal:n})),setIsOpenSelectModal:n=>e(()=>({isOpenSelectModal:n})),setIsEdit:n=>e(()=>({isEdit:n})),createPage:n=>{const o=t().pages,i=pt();if(o)o[i]=n,e({pages:o});else{const a=t().setPages;a({});const s=t().pages;s[i]=n,e({pages:s})}},updatePage:(n,o)=>{const i=t().pages;i&&(i[n]={...o},e({pages:i}))},deletePage:n=>{const o=t().pages;o&&(delete o[n],e({pages:o}))}}),{name:"pages-storage",partialize:e=>{const{pages:t,pageContext:n}=e;return{pages:t,pageContext:n}}})),Au=st(e=>({openModal:!1,setOpenModal:t=>e(()=>({openModal:t})),onChange:null,setOnChange:t=>e(()=>({onChange:t})),tip:"",setTip:t=>e(()=>({tip:t}))})),wn=st((e,t)=>({past:[],future:[],addHistory:n=>{e(o=>{const i=o.past[o.past.length-1];return i&&JSON.stringify(i)===JSON.stringify(n)?o:{past:[...o.past,n],future:[]}})},undo:()=>{const{past:n,future:o}=t();if(n.length===0)return;const i=n[n.length-1],a=n.slice(0,-1),{blocks:s,header:l,footer:c,announcement:u,setBlocks:h,setHeader:f,setFooter:g,setAnnouncement:m}=Hr.getState(),{themeSettings:C,setThemeSettings:I}=No.getState(),b={themeSettings:JSON.parse(JSON.stringify(C)),layers:JSON.parse(JSON.stringify(s)),header:JSON.parse(JSON.stringify(l)),footer:JSON.parse(JSON.stringify(c)),announcement:JSON.parse(JSON.stringify(u))};e({past:a,future:[b,...o]}),i.themeSettings&&I(i.themeSettings),i.layers&&h(i.layers),i.header&&f(i.header,!1),i.footer&&g(i.footer,!1),i.announcement&&m(i.announcement,!1)},redo:()=>{const{past:n,future:o}=t();if(o.length===0)return;const{blocks:i,header:a,footer:s,announcement:l,setBlocks:c,setHeader:u,setFooter:h,setAnnouncement:f}=Hr.getState(),{themeSettings:g,setThemeSettings:m}=No.getState(),C=o[0],I=o.slice(1),b={themeSettings:JSON.parse(JSON.stringify(g)),layers:JSON.parse(JSON.stringify(i)),header:JSON.parse(JSON.stringify(a)),footer:JSON.parse(JSON.stringify(s)),announcement:JSON.parse(JSON.stringify(l))};e({past:[...n,b],future:I}),C.themeSettings&&m(C.themeSettings),C.layers&&c(C.layers),C.header&&u(C.header,!1),C.footer&&h(C.footer,!1),C.announcement&&f(C.announcement,!1)}})),A5=st(e=>({isOpenModal:!1,setIsOpenModal:t=>e(()=>({isOpenModal:t}))})),cn=st(e=>({notifications:[],setNotifications:t=>e(()=>({notifications:t}))})),Kf=st(e=>({error:null,setError:t=>e(()=>({error:t}))})),Qf=st(e=>({title:null,description:null,onConfirm:null,setTitle:t=>e(()=>({title:t})),setDescription:t=>e(()=>({description:t})),setOnConfirm:t=>e(()=>({onConfirm:t}))})),k5=st(e=>({showTooltip:!1,setShowTooltip:t=>e({showTooltip:t})})),$r=st(e=>({isOpen:!0,setIsOpen:t=>e(()=>({isOpen:t}))})),mt=st(e=>({general:null,setGeneral:t=>e(()=>({general:t})),isAntistock:!1,setIsAntistock:t=>e(()=>({isAntistock:t}))}));var Jf={exports:{}};/*!
|
|
60
|
+
*/function io(){return io=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},io.apply(this,arguments)}function wu(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const ds="get",hs="application/x-www-form-urlencoded";function Ys(e){return e!=null&&typeof e.tagName=="string"}function R3(e){return Ys(e)&&e.tagName.toLowerCase()==="button"}function D3(e){return Ys(e)&&e.tagName.toLowerCase()==="form"}function O3(e){return Ys(e)&&e.tagName.toLowerCase()==="input"}function M3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function B3(e,t){return e.button===0&&(!t||t==="_self")&&!M3(e)}function Tc(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let o=e[n];return t.concat(Array.isArray(o)?o.map(i=>[n,i]):[[n,o]])},[]))}function F3(e,t){let n=Tc(e);return t&&t.forEach((o,i)=>{n.has(i)||t.getAll(i).forEach(a=>{n.append(i,a)})}),n}let Ua=null;function H3(){if(Ua===null)try{new FormData(document.createElement("form"),0),Ua=!1}catch{Ua=!0}return Ua}const j3=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function kl(e){return e!=null&&!j3.has(e)?(process.env.NODE_ENV!=="production"&&Gt(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+hs+'"')),null):e}function U3(e,t){let n,o,i,a,s;if(D3(e)){let l=e.getAttribute("action");o=l?ur(l,t):null,n=e.getAttribute("method")||ds,i=kl(e.getAttribute("enctype"))||hs,a=new FormData(e)}else if(R3(e)||O3(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||l.getAttribute("action");if(o=c?ur(c,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||ds,i=kl(e.getAttribute("formenctype"))||kl(l.getAttribute("enctype"))||hs,a=new FormData(l,e),!H3()){let{name:u,type:h,value:f}=e;if(h==="image"){let g=u?u+".":"";a.append(g+"x","0"),a.append(g+"y","0")}else u&&a.append(u,f)}}else{if(Ys(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=ds,o=null,i=hs,s=e}return a&&i==="text/plain"&&(s=a,a=void 0),{action:o,method:n.toLowerCase(),encType:i,formData:a,body:s}}const V3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],z3=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],$3=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],W3="6";try{window.__reactRouterVersion=W3}catch{}function q3(e,t){return W2({basename:void 0,future:io({},void 0,{v7_prependBasename:!0}),history:m2({window:void 0}),hydrationData:G3(),routes:e,mapRouteProperties:P3,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function G3(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=io({},t,{errors:Y3(t.errors)})),t}function Y3(e){if(!e)return null;let t=Object.entries(e),n={};for(let[o,i]of t)if(i&&i.__type==="RouteErrorResponse")n[o]=new ws(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let s=new a(i.message);s.stack="",n[o]=s}catch{}}if(n[o]==null){let a=new Error(i.message);a.stack="",n[o]=a}}else n[o]=i;return n}const vu=z.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(vu.displayName="ViewTransition");const zf=z.createContext(new Map);process.env.NODE_ENV!=="production"&&(zf.displayName="Fetchers");const Z3="startTransition",Wd=z[Z3],X3="flushSync",qd=h2[X3];function K3(e){Wd?Wd(e):e()}function Ai(e){qd?qd(e):e()}class Q3{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=o=>{this.status==="pending"&&(this.status="resolved",t(o))},this.reject=o=>{this.status==="pending"&&(this.status="rejected",n(o))}})}}function J3(e){let{fallbackElement:t,router:n,future:o}=e,[i,a]=z.useState(n.state),[s,l]=z.useState(),[c,u]=z.useState({isTransitioning:!1}),[h,f]=z.useState(),[g,m]=z.useState(),[C,I]=z.useState(),b=z.useRef(new Map),{v7_startTransition:S}=o||{},y=z.useCallback(M=>{S?K3(M):M()},[S]),T=z.useCallback((M,B)=>{let{deletedFetchers:w,flushSync:V,viewTransitionOpts:H}=B;M.fetchers.forEach((W,se)=>{W.data!==void 0&&b.current.set(se,W.data)}),w.forEach(W=>b.current.delete(W));let X=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!H||X){V?Ai(()=>a(M)):y(()=>a(M));return}if(V){Ai(()=>{g&&(h&&h.resolve(),g.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:H.currentLocation,nextLocation:H.nextLocation})});let W=n.window.document.startViewTransition(()=>{Ai(()=>a(M))});W.finished.finally(()=>{Ai(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})})}),Ai(()=>m(W));return}g?(h&&h.resolve(),g.skipTransition(),I({state:M,currentLocation:H.currentLocation,nextLocation:H.nextLocation})):(l(M),u({isTransitioning:!0,flushSync:!1,currentLocation:H.currentLocation,nextLocation:H.nextLocation}))},[n.window,g,h,b,y]);z.useLayoutEffect(()=>n.subscribe(T),[n,T]),z.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new Q3)},[c]),z.useEffect(()=>{if(h&&s&&n.window){let M=s,B=h.promise,w=n.window.document.startViewTransition(async()=>{y(()=>a(M)),await B});w.finished.finally(()=>{f(void 0),m(void 0),l(void 0),u({isTransitioning:!1})}),m(w)}},[y,s,h,n.window]),z.useEffect(()=>{h&&s&&i.location.key===s.location.key&&h.resolve()},[h,g,i.location,s]),z.useEffect(()=>{!c.isTransitioning&&C&&(l(C.state),u({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),I(void 0))},[c.isTransitioning,C]),z.useEffect(()=>{process.env.NODE_ENV!=="production"&&Gt(t==null||!n.future.v7_partialHydration,"`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead")},[]);let k=z.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:M=>n.navigate(M),push:(M,B,w)=>n.navigate(M,{state:B,preventScrollReset:w==null?void 0:w.preventScrollReset}),replace:(M,B,w)=>n.navigate(M,{replace:!0,state:B,preventScrollReset:w==null?void 0:w.preventScrollReset})}),[n]),A=n.basename||"/",P=z.useMemo(()=>({router:n,navigator:k,static:!1,basename:A}),[n,k,A]),E=z.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return z.useEffect(()=>k3(o,n.future),[o,n.future]),z.createElement(z.Fragment,null,z.createElement(ai.Provider,{value:P},z.createElement(qs.Provider,{value:i},z.createElement(zf.Provider,{value:b.current},z.createElement(vu.Provider,{value:c},z.createElement(N3,{basename:A,location:i.location,navigationType:i.historyAction,navigator:k,future:E},i.initialized||n.future.v7_partialHydration?z.createElement(e5,{routes:n.routes,future:n.future,state:i}):t))))),null)}const e5=z.memo(t5);function t5(e){let{routes:t,future:n,state:o}=e;return I3(t,void 0,o,n)}process.env.NODE_ENV;const n5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",r5=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$f=z.forwardRef(function(t,n){let{onClick:o,relative:i,reloadDocument:a,replace:s,state:l,target:c,to:u,preventScrollReset:h,viewTransition:f}=t,g=wu(t,V3),{basename:m}=z.useContext(hr),C,I=!1;if(typeof u=="string"&&r5.test(u)&&(C=u,n5))try{let T=new URL(window.location.href),k=u.startsWith("//")?new URL(T.protocol+u):new URL(u),A=ur(k.pathname,m);k.origin===T.origin&&A!=null?u=A+k.search+k.hash:I=!0}catch{process.env.NODE_ENV!=="production"&&Gt(!1,'<Link to="'+u+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let b=h3(u,{relative:i}),S=a5(u,{replace:s,state:l,target:c,preventScrollReset:h,relative:i,viewTransition:f});function y(T){o&&o(T),T.defaultPrevented||S(T)}return z.createElement("a",io({},g,{href:C||b,onClick:I||a?o:y,ref:n,target:c}))});process.env.NODE_ENV!=="production"&&($f.displayName="Link");const As=z.forwardRef(function(t,n){let{"aria-current":o="page",caseSensitive:i=!1,className:a="",end:s=!1,style:l,to:c,viewTransition:u,children:h}=t,f=wu(t,z3),g=Sa(c,{relative:f.relative}),m=Ur(),C=z.useContext(qs),{navigator:I,basename:b}=z.useContext(hr),S=C!=null&&h5(g)&&u===!0,y=I.encodeLocation?I.encodeLocation(g).pathname:g.pathname,T=m.pathname,k=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;i||(T=T.toLowerCase(),k=k?k.toLowerCase():null,y=y.toLowerCase()),k&&b&&(k=ur(k,b)||k);const A=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let P=T===y||!s&&T.startsWith(y)&&T.charAt(A)==="/",E=k!=null&&(k===y||!s&&k.startsWith(y)&&k.charAt(y.length)==="/"),M={isActive:P,isPending:E,isTransitioning:S},B=P?o:void 0,w;typeof a=="function"?w=a(M):w=[a,P?"active":null,E?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let V=typeof l=="function"?l(M):l;return z.createElement($f,io({},f,{"aria-current":B,className:w,ref:n,style:V,to:c,viewTransition:u}),typeof h=="function"?h(M):h)});process.env.NODE_ENV!=="production"&&(As.displayName="NavLink");const o5=z.forwardRef((e,t)=>{let{fetcherKey:n,navigate:o,reloadDocument:i,replace:a,state:s,method:l=ds,action:c,onSubmit:u,relative:h,preventScrollReset:f,viewTransition:g}=e,m=wu(e,$3),C=u5(),I=d5(c,{relative:h}),b=l.toLowerCase()==="get"?"get":"post",S=y=>{if(u&&u(y),y.defaultPrevented)return;y.preventDefault();let T=y.nativeEvent.submitter,k=(T==null?void 0:T.getAttribute("formmethod"))||l;C(T||y.currentTarget,{fetcherKey:n,method:k,navigate:o,replace:a,state:s,relative:h,preventScrollReset:f,viewTransition:g})};return z.createElement("form",io({ref:t,method:b,action:I,onSubmit:i?u:S},m))});process.env.NODE_ENV!=="production"&&(o5.displayName="Form");process.env.NODE_ENV;var ks;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ks||(ks={}));var Gd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gd||(Gd={}));function i5(e){return e+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function Wf(e){let t=z.useContext(ai);return t||(process.env.NODE_ENV!=="production"?Re(!1,i5(e)):Re(!1)),t}function a5(e,t){let{target:n,replace:o,state:i,preventScrollReset:a,relative:s,viewTransition:l}=t===void 0?{}:t,c=Vr(),u=Ur(),h=Sa(e,{relative:s});return z.useCallback(f=>{if(B3(f,n)){f.preventDefault();let g=o!==void 0?o:oo(u)===oo(h);c(e,{replace:g,state:i,preventScrollReset:a,relative:s,viewTransition:l})}},[u,c,h,o,i,n,e,a,s,l])}function qf(e){process.env.NODE_ENV!=="production"&&Gt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=z.useRef(Tc(e)),n=z.useRef(!1),o=Ur(),i=z.useMemo(()=>F3(o.search,n.current?null:t.current),[o.search]),a=Vr(),s=z.useCallback((l,c)=>{const u=Tc(typeof l=="function"?l(i):l);n.current=!0,a("?"+u,c)},[a,i]);return[i,s]}function s5(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let l5=0,c5=()=>"__"+String(++l5)+"__";function u5(){let{router:e}=Wf(ks.UseSubmit),{basename:t}=z.useContext(hr),n=w3();return z.useCallback(function(o,i){i===void 0&&(i={}),s5();let{action:a,method:s,encType:l,formData:c,body:u}=U3(o,t);if(i.navigate===!1){let h=i.fetcherKey||c5();e.fetch(h,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:u,formMethod:i.method||s,formEncType:i.encType||l,flushSync:i.flushSync})}else e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:c,body:u,formMethod:i.method||s,formEncType:i.encType||l,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function d5(e,t){let{relative:n}=t===void 0?{}:t,{basename:o}=z.useContext(hr),i=z.useContext(fr);i||(process.env.NODE_ENV!=="production"?Re(!1,"useFormAction must be used inside a RouteContext"):Re(!1));let[a]=i.matches.slice(-1),s=io({},Sa(e||".",{relative:n})),l=Ur();if(e==null){s.search=l.search;let c=new URLSearchParams(s.search),u=c.getAll("index");if(u.some(f=>f==="")){c.delete("index"),u.filter(g=>g).forEach(g=>c.append("index",g));let f=c.toString();s.search=f?"?"+f:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(s.pathname=s.pathname==="/"?o:_r([o,s.pathname])),oo(s)}function h5(e,t){t===void 0&&(t={});let n=z.useContext(vu);n==null&&(process.env.NODE_ENV!=="production"?Re(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Re(!1));let{basename:o}=Wf(ks.useViewTransitionState),i=Sa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=ur(n.currentLocation.pathname,o)||n.currentLocation.pathname,s=ur(n.nextLocation.pathname,o)||n.nextLocation.pathname;return _s(i.pathname,s)!=null||_s(i.pathname,a)!=null}const Yd=e=>{let t;const n=new Set,o=(u,h)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const g=t;t=h??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,g))}},i=()=>t,l={setState:o,getState:i,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u))},c=t=e(o,i,l);return l},f5=e=>e?Yd(e):Yd,p5=e=>e;function m5(e,t=p5){const n=_.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return _.useDebugValue(n),n}const Zd=e=>{const t=f5(e),n=o=>m5(t,o);return Object.assign(n,t),n},st=e=>e?Zd(e):Zd,Lo=st(e=>({header:null,footer:null,announcement:null,setHeader:t=>e(()=>({header:t})),setFooter:t=>e(()=>({footer:t})),setAnnouncement:t=>e(()=>({announcement:t})),blocks:null,setBlocks:t=>e(()=>({blocks:t})),activeBlock:null,setActiveBlock:t=>e(()=>({activeBlock:t})),sourceBlocks:{},setSourceBlocks:t=>e(()=>({sourceBlocks:t})),currentInstance:null,setCurrentInstance:t=>e(()=>({currentInstance:t})),settings:null,setSettings:t=>e(()=>({settings:t})),settingsInstance:null,setSettingsInstance:t=>e(()=>({settingsInstance:t}))})),g5=st(e=>({currentDevice:{icon:"Desktop",value:"desktop"},setCurrentDevice:t=>e(()=>({currentDevice:t}))}));st(e=>({pageData:null,setPageData:t=>e(()=>({pageData:t}))}));const Gf=[{icon:"TreeStructure",name:"Layers"},{icon:"Plus",name:"Add"},{icon:"Palette",name:"Theme"},{icon:"Gear",name:"Settings"}],Yf=["/","/reviews","/faqs","/contact","/products","/ticket","/login"],I5={"/":{path:"/",name:"Home",icon:"HouseSimple",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/products":{path:"/products",name:"Products",icon:"SquaresFour",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/faqs":{path:"/faqs",name:"Faqs",icon:"SealQuestion",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/reviews":{path:"/reviews",name:"Reviews",icon:"Star",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/contact":{path:"/contact",name:"Contact",icon:"ChatCentered",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/ticket":{path:"/ticket",name:"Ticket",icon:"Ticket",seo:{pageDescription:"",pageTitle:""},visibility:"public"},"/login":{path:"/login",name:"Login",icon:"UserCircleGear",seo:{pageDescription:"",pageTitle:""},visibility:"public"}};console.log(window.location.host);const Vt=window.location.hostname.includes("localhost")||window.location.hostname.includes("192"),Zf={"1:1":"1:1","4:3":"4:3","16:9":"16:9","9:16":"9:16"},Xf=[{value:"4:3",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:18.5,height:14.5,border:"1.5px solid #252525",borderRadius:3}})})},{value:"16:9",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:20.5,height:12.5,border:"1.5px solid #252525",borderRadius:3}})})},{value:"9:16",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:14.5,height:18.5,border:"1.5px solid #252525",borderRadius:3}})})},{value:"1:1",addon:d.jsx("div",{style:{width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"},children:d.jsx("div",{style:{width:16.5,height:16.5,border:"1.5px solid #252525",borderRadius:3}})})}],Va={h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",h7:"Heading 7",lg:"Paragraph Large",md:"Paragraph Medium",sm:"Paragraph Small"},C5=st(e=>({activeBlock:Gf[0],setActiveBlock:t=>e(()=>({activeBlock:t}))}));function b5(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var a;const s=c=>c===null?null:JSON.parse(c,void 0),l=(a=n.getItem(i))!=null?a:null;return l instanceof Promise?l.then(s):s(l)},setItem:(i,a)=>n.setItem(i,JSON.stringify(a,void 0)),removeItem:i=>n.removeItem(i)}}const xc=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(o){return xc(o)(n)},catch(o){return this}}}catch(n){return{then(o){return this},catch(o){return xc(o)(n)}}}},S5=(e,t)=>(n,o,i)=>{let a={storage:b5(()=>localStorage),partialize:I=>I,version:0,merge:(I,b)=>({...b,...I}),...t},s=!1;const l=new Set,c=new Set;let u=a.storage;if(!u)return e((...I)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...I)},o,i);const h=()=>{const I=a.partialize({...o()});return u.setItem(a.name,{state:I,version:a.version})},f=i.setState;i.setState=(I,b)=>{f(I,b),h()};const g=e((...I)=>{n(...I),h()},o,i);i.getInitialState=()=>g;let m;const C=()=>{var I,b;if(!u)return;s=!1,l.forEach(y=>{var T;return y((T=o())!=null?T:g)});const S=((b=a.onRehydrateStorage)==null?void 0:b.call(a,(I=o())!=null?I:g))||void 0;return xc(u.getItem.bind(u))(a.name).then(y=>{if(y)if(typeof y.version=="number"&&y.version!==a.version){if(a.migrate)return[!0,a.migrate(y.state,y.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,y.state];return[!1,void 0]}).then(y=>{var T;const[k,A]=y;if(m=a.merge(A,(T=o())!=null?T:g),n(m,!0),k)return h()}).then(()=>{S==null||S(m,void 0),m=o(),s=!0,c.forEach(y=>y(m))}).catch(y=>{S==null||S(void 0,y)})};return i.persist={setOptions:I=>{a={...a,...I},I.storage&&(u=I.storage)},clearStorage:()=>{u==null||u.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>C(),hasHydrated:()=>s,onHydrate:I=>(l.add(I),()=>{l.delete(I)}),onFinishHydration:I=>(c.add(I),()=>{c.delete(I)})},a.skipHydration||C(),m||g},Zs=S5,Xs=st(Zs(e=>({onPreview:!0,setOnPreview:t=>e(()=>({onPreview:t})),activeBlock:{id:null,neededScroll:!1},setActiveBlock:t=>e(()=>({activeBlock:t})),zoomLevel:1,setZoomLevel:t=>e(()=>({zoomLevel:t}))}),{name:"preview-storage",partialize:e=>{const{onPreview:t}=e;return{onPreview:t}}}));var sn=[];for(var Ll=0;Ll<256;++Ll)sn.push((Ll+256).toString(16).slice(1));function y5(e,t=0){return(sn[e[t+0]]+sn[e[t+1]]+sn[e[t+2]]+sn[e[t+3]]+"-"+sn[e[t+4]]+sn[e[t+5]]+"-"+sn[e[t+6]]+sn[e[t+7]]+"-"+sn[e[t+8]]+sn[e[t+9]]+"-"+sn[e[t+10]]+sn[e[t+11]]+sn[e[t+12]]+sn[e[t+13]]+sn[e[t+14]]+sn[e[t+15]]).toLowerCase()}var za,E5=new Uint8Array(16);function T5(){if(!za&&(za=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!za))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return za(E5)}var x5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Xd={randomUUID:x5};function pt(e,t,n){if(Xd.randomUUID&&!e)return Xd.randomUUID();e=e||{};var o=e.random||(e.rng||T5)();return o[6]=o[6]&15|64,o[8]=o[8]&63|128,y5(o)}const Hr=st(Zs((e,t)=>({header:null,blocks:{},announcement:null,footer:null,currentBlock:null,positionBlock:null,setBlocks:n=>{e({blocks:n})},setHeader:(n,o=!0)=>{const i=structuredClone(t().header),a=structuredClone(n);JSON.stringify(i)!==JSON.stringify(a)&&o&&wn.getState().addHistory({header:i}),e({header:a})},setFooter:(n,o=!0)=>{const i=structuredClone(t().footer),a=structuredClone(n);JSON.stringify(i)!==JSON.stringify(a)&&o&&wn.getState().addHistory({footer:i}),e({footer:a})},setAnnouncement:(n,o=!0)=>{const i=structuredClone(t().announcement),a=structuredClone(n);JSON.stringify(i)!==JSON.stringify(a)&&o&&wn.getState().addHistory({announcement:i}),e({announcement:a})},createPage:n=>{const o=t().blocks;o[n]={data:{},order:[]},e({blocks:o})},deletePage:n=>{const o=t().blocks;delete o[n],e({blocks:o})},updatePage:(n,o)=>{const i=t().blocks;if(i[o])return;const a=i[n];delete i[n],i[o]=a,e({blocks:i})},setCurrentBlock:n=>{e({currentBlock:n})},setPositionBlock:(n,o=!1)=>{const{blocks:i}=t(),{currentPage:a,pages:s}=zr.getState();if(!a||!s||!s[a]||!i[s[a].path]){console.error("Cannot set position: invalid page or block data");return}const l=s[a].path,c=i[l],u=n?c.order.indexOf(n):-1;if(u===-1&&n){console.error(`Block with ID "${n}" not found in page "${l}"`);return}const h=u!==-1?u+(o?1:0):c.order.length;e({positionBlock:h})},addBlock:(n,o)=>{const i=structuredClone(t().blocks)||JSON.parse(JSON.stringify(t().blocks));wn.getState().addHistory({layers:i});const a={...t().blocks},s=a[n]||{data:{},order:[]},l=t().positionBlock,c=pt(),u={name:o.name,value:o.value};return s.data[c]=u,l===null||l>=s.order.length?s.order.push(c):s.order.splice(l,0,c),e({blocks:{...a,[n]:{data:s.data,order:s.order}},currentBlock:c,positionBlock:null}),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully added",status:"success"}]),c},editBlock:(n,o,i)=>{const a=structuredClone(t().blocks)||JSON.parse(JSON.stringify(t().blocks));wn.getState().addHistory({layers:a});const s=t().blocks,l=s[n]||{};l.data[o]={name:i.name,value:{...i.value}},e({blocks:{...s,[n]:l}})},removeBlock:(n,o)=>{const i=structuredClone(t().blocks);wn.getState().addHistory({layers:i});const a=structuredClone(t().blocks),s=a[n];if(!s){console.error(`Page at path "${n}" does not exist.`);return}delete s.data[o],s.order=s.order.filter(l=>l!==o),e({blocks:{...a,[n]:s}}),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully deleted",status:"success"}])},moveBlock:(n,o,i)=>e(a=>{const s=structuredClone(t().blocks)||JSON.parse(JSON.stringify(t().blocks));if(wn.getState().addHistory({layers:s}),!a.blocks[n])return console.error(`Path ${n} does not exist in blocks`),a;const l={...a.blocks[n]},c=[...l.order];if(o<0||i<0||o>=c.length||i>=c.length)return console.error(`Invalid indices: fromIndex=${o}, toIndex=${i}`),a;const[u]=c.splice(o,1);return c.splice(i,0,u),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully moved",status:"success"}]),{blocks:{...a.blocks,[n]:{...l,order:c}}}}),duplicateBlock:(n,o)=>{const i=structuredClone(t().blocks);wn.getState().addHistory({layers:i});const a=structuredClone(t().blocks),s=a[n];if(!s||!s.data[o]){console.error(`Block with ID "${o}" not found in page "${n}"`);return}const l=pt(),c=s.data[o],u={name:c.name,value:structuredClone({...c.value})};s.data[l]={...u};const h=s.order.indexOf(o);if(h===-1){console.error(`Block ID "${o}" not found in order array`);return}s.order.splice(h+1,0,l),e({blocks:{...a,[n]:s},currentBlock:l}),Xs.getState().setActiveBlock({id:l,neededScroll:!0}),cn.getState().setNotifications([...cn.getState().notifications,{id:pt(),message:"Block successfully duplicated",status:"success"}])},isLoadingLayers:!1,setIsLoadingLayers:n=>e(()=>({isLoadingLayers:n}))}),{name:"layers-storage",partialize:e=>{const{blocks:t,header:n,footer:o,announcement:i}=e;return{blocks:t,header:n,footer:o,announcement:i}}})),_5=st((e,t)=>({isModalVisible:!1,hoverBlockId:null,isMouseOverModal:!1,hideTimeout:null,setHoverBlockId:n=>{e({hoverBlockId:n})},showModal:(n,o="hoverBlockId")=>{t().hideTimeout&&clearTimeout(t().hideTimeout),e({isModalVisible:!0,[o]:n})},hideModal:(n="hoverBlockId")=>{e({isModalVisible:!1,[n]:null})},startHideTimeout:()=>{if(!t().isMouseOverModal){const n=setTimeout(()=>{e({isModalVisible:!1,hoverBlockId:null,keyBlock:null})},500);e({hideTimeout:n})}},clearHideTimeout:()=>{t().hideTimeout&&(clearTimeout(t().hideTimeout),e({hideTimeout:null}))},setMouseOverModal:n=>{e({isMouseOverModal:n})},isPreviewVisible:!1,showPreview:(n,o="hoverBlockId")=>{e({isPreviewVisible:!0,[o]:n})},hidePreview:(n="hoverBlockId")=>{e({isPreviewVisible:!1,[n]:null})},keyBlock:null,setKeyBlock:n=>{e({keyBlock:n})},hoverBlockTopPosition:null,setHoverBlockTopPosition:n=>{e({hoverBlockTopPosition:n})}})),No=st((e,t)=>({activeBlock:null,setActiveBlock:n=>e(()=>({activeBlock:n})),activeFont:null,setActiveFont:n=>e(()=>({activeFont:n})),setThemeSettings:n=>e(()=>({themeSettings:n})),activeColorCategory:null,setActiveColorCategory:n=>e(()=>({activeColorCategory:n})),themeSettings:{colors:{text:{primary:"#252525",secondary:"#757575",tertiary:"#C2C2C2",inverted:"#FFFFFF",action:"#FF3F19",actionHover:"#DA2400",disabled:"#C2C2C2",warning:"#C1972A",error:"#C12A2A",success:"#338B13",information:"#3683F7",link:"#3683F7"},icon:{primary:"#252525",secondary:"#555555",tertiary:"#C2C2C2",inverted:"#FFFFFF",action:"#FF3F19",actionHover:"#DA2400",disabled:"#C2C2C2",warning:"#C1972A",error:"#C12A2A",success:"#338B13",information:"#3683F7",link:"#3683F7"},border:{primary:"#C2C2C2",secondary:"#E6E6E6",action:"#FF3F19",actionHover:"#DA2400",disabled:"#E6E6E6",warning:"#C1972A",error:"#C12A2A",success:"#338B13",information:"#3683F7",focus:"#FF3F19"},surface:{primary:"#FFFFFF",secondary:"#F8F8F8",action1:"#FF3F19",action1Hover:"#DA2400",action2:"#FFFFFF",action2Hover:"#F8F8F8",disabled:"#C2C2C2",warning:"#FAF4E6",error:"#FAE6E6",success:"#E5FADD",information:"#E9F1FE",modal:"rgba(1, 1, 4, 0.4)"}},fonts:{mobile:{fontSizePercentage:30},tablet:{fontSizePercentage:50},desktop:{heading:{h1:{font:"Archivo",weight:"700",size:48,boldWeight:"900",case:"normal"},h2:{font:"Archivo",weight:"700",size:32,boldWeight:"800",case:"normal"},h3:{font:"Archivo",weight:"600",size:24,boldWeight:"700",case:"normal"},h4:{font:"Archivo",weight:"500",size:20,boldWeight:"700",case:"normal"},h5:{font:"Archivo",weight:"400",size:16,boldWeight:"700",case:"normal"},h6:{font:"Archivo",weight:"400",size:14,boldWeight:"700",case:"uppercase"},h7:{font:"Archivo",weight:"400",size:14,boldWeight:"700",case:"normal"}},body:{lg:{font:"Archivo",size:16,weight:"400",boldWeight:"700",case:"normal"},md:{font:"Archivo",size:14,weight:"400",boldWeight:"700",case:"normal"},sm:{font:"Archivo",size:12,weight:"400",boldWeight:"700",case:"normal"}}}},borders:{radius:"var(--radius-lg)",thickness:"var(--border-none)"},buttons:{primary:{size:26,alignment:"left",radius:32,height:40,background:"#ff3f19",hover:!0,font:"Archivo",boxShadow:{left:0,top:0,blur:0,spread:0,color:"#000000"},color:"#ffffff",colorHover:"#ffffff",backgroundHover:"#ff3f19"},secondary:{size:26,alignment:"left",radius:10,height:20,background:"#c2c2c2",hover:!1,font:"Archivo",boxShadow:{left:0,top:4,blur:10,spread:0,color:"#000000"},color:"#757575",colorHover:"#757575",backgroundHover:"#c2c2c2"},tertiary:{size:12,alignment:"left",radius:30,height:30,background:"#c2c2c2",hover:!0,font:"Archivo",boxShadow:{left:0,top:4,blur:10,spread:0,color:"#000000"},color:"#757575",colorHover:"#757575",backgroundHover:"#c2c2c2"}},inputs:{field:{color:"#f3f3f3",active:!0,opacity:40},label:{size:14,color:"#555555",height:40,alignment:"left"},border:{color:"#f3f3f3",style:"solid",active:!0,radius:14,thickness:0},general:{size:14,color:"#252525",height:40},placeholder:{color:"#C2C2C2"}}},updateColor:(n,o,i)=>e(a=>{const s=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:s});const l={...a.themeSettings.colors,[n]:{...a.themeSettings.colors[n],[o]:i}};return{themeSettings:{...a.themeSettings,colors:l}}}),updateFont:(n,o,i,a,s)=>e(l=>{const c=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:c});const u={...l.themeSettings.fonts,[n]:{...l.themeSettings.fonts[n],[o]:{...l.themeSettings.fonts[n][o],[i]:{...l.themeSettings.fonts[n][o][i],[a]:s}}}};return{themeSettings:{...l.themeSettings,fonts:u}}}),updateFontSizePercentage:(n,o)=>e(i=>{const a=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:a});const s={...i.themeSettings.fonts,[n]:{...i.themeSettings.fonts[n],fontSizePercentage:o}};return{themeSettings:{...i.themeSettings,fonts:s}}}),updateBorder:(n,o)=>e(i=>{const a=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:a});const s={...i.themeSettings.borders,[n]:o};return{themeSettings:{...i.themeSettings,borders:s}}}),updateButton:(n,o,i)=>e(a=>{const s=structuredClone(t().themeSettings);wn.getState().addHistory({themeSettings:s});const l={...a.themeSettings.buttons[n],[o]:i},c={...a.themeSettings.buttons,[n]:l};return{themeSettings:{...a.themeSettings,buttons:c}}}),updateInput:(n,o,i)=>e(a=>{const s=structuredClone(t().themeSettings);return wn.getState().addHistory({themeSettings:s}),{themeSettings:{...a.themeSettings,inputs:{...a.themeSettings.inputs,[n]:{...a.themeSettings.inputs[n],[i]:o}}}}}),isLoadingThemeSettings:!1,setIsLoadingThemeSettings:n=>e(()=>({isLoadingThemeSettings:n}))})),w5=st(Zs(e=>({fonts:[],setFonts:t=>e(()=>({fonts:t}))}),{name:"fonts-storage"})),ya=st(e=>({settings:null,setSettings:t=>{e(()=>({settings:t}))},isLoadingSettings:!0,setIsLoadingSettings:t=>e(()=>({isLoadingSettings:t}))})),v5=st()(e=>({color:"default",initialColor:"",setInitialColor:t=>e(()=>({initialColor:t})),colorChange:()=>{},update:()=>{},activeLabel:null,modalPosition:{left:0,top:0},showModal:!1,dragging:!1,hue:0,saturation:100,brightness:100,alpha:100,isGradientActive:!0,isBlockSettings:!1,isGradient:!1,setIsGradient:t=>e(()=>({isGradient:t})),gradientDirection:"vertical",setGradientDirection:t=>e(()=>({gradientDirection:t})),hue2:0,saturation2:100,brightness2:100,alpha2:100,setHue2:t=>e(()=>({hue2:t})),setSaturation2:t=>e(()=>({saturation2:t})),setBrightness2:t=>e(()=>({brightness2:t})),setAlpha2:t=>e(()=>({alpha2:t})),activeColorIndex:1,setActiveColorIndex:t=>e(()=>({activeColorIndex:t})),setModalPosition:t=>e(()=>({modalPosition:t})),setHue:t=>e(()=>({hue:t})),setSaturation:t=>e(()=>({saturation:t})),setBrightness:t=>e(()=>({brightness:t})),setIsBlockSettings:t=>e(()=>({isBlockSettings:t})),setShowModal:t=>e({isBlockSettings:!1,showModal:t}),setDragging:t=>e(()=>({dragging:t})),setActiveLabel:t=>e(()=>({activeLabel:t})),setColor:t=>e(()=>({color:t})),setUpdate:t=>e(()=>({update:t})),setColorChange:t=>e(()=>({colorChange:t})),setAlpha:t=>e(()=>({alpha:t})),setIsGradientActive:t=>e(()=>({isGradientActive:t})),resetColors:()=>e(()=>({color:"default",initialColor:"",activeLabel:null,modalPosition:{left:0,top:0},showModal:!1,dragging:!1,hue:0,saturation:100,brightness:100,alpha:100,isGradient:!1,gradientDirection:"vertical",hue2:0,saturation2:100,brightness2:100,alpha2:100,activeColorIndex:1,isGradientActive:!0}))})),zr=st(Zs((e,t)=>({pages:null,currentPage:"",setPages:n=>e(()=>({pages:n})),pageContext:{listings:null,products:null,reviews:null,categories:null,faqs:null,general:null,fullPosts:null,posts:null},isOpenModal:!1,isOpenSelectModal:!1,isEdit:!1,editedPage:null,setEditedPage:n=>e(()=>({editedPage:n})),setCurrentPage:n=>e(()=>({currentPage:n})),setPageContext:n=>e(()=>({pageContext:n})),setIsOpenModal:n=>e(()=>({isOpenModal:n})),setIsOpenSelectModal:n=>e(()=>({isOpenSelectModal:n})),setIsEdit:n=>e(()=>({isEdit:n})),createPage:n=>{const o=t().pages,i=pt();if(o)o[i]=n,e({pages:o});else{const a=t().setPages;a({});const s=t().pages;s[i]=n,e({pages:s})}},updatePage:(n,o)=>{const i=t().pages;i&&(i[n]={...o},e({pages:i}))},deletePage:n=>{const o=t().pages;o&&(delete o[n],e({pages:o}))}}),{name:"pages-storage",partialize:e=>{const{pages:t,pageContext:n}=e;return{pages:t,pageContext:n}}})),Au=st(e=>({openModal:!1,setOpenModal:t=>e(()=>({openModal:t})),onChange:null,setOnChange:t=>e(()=>({onChange:t})),tip:"",setTip:t=>e(()=>({tip:t}))})),wn=st((e,t)=>({past:[],future:[],addHistory:n=>{e(o=>{const i=o.past[o.past.length-1];return i&&JSON.stringify(i)===JSON.stringify(n)?o:{past:[...o.past,n],future:[]}})},undo:()=>{const{past:n,future:o}=t();if(n.length===0)return;const i=n[n.length-1],a=n.slice(0,-1),{blocks:s,header:l,footer:c,announcement:u,setBlocks:h,setHeader:f,setFooter:g,setAnnouncement:m}=Hr.getState(),{themeSettings:C,setThemeSettings:I}=No.getState(),b={themeSettings:JSON.parse(JSON.stringify(C)),layers:JSON.parse(JSON.stringify(s)),header:JSON.parse(JSON.stringify(l)),footer:JSON.parse(JSON.stringify(c)),announcement:JSON.parse(JSON.stringify(u))};e({past:a,future:[b,...o]}),i.themeSettings&&I(i.themeSettings),i.layers&&h(i.layers),i.header&&f(i.header,!1),i.footer&&g(i.footer,!1),i.announcement&&m(i.announcement,!1)},redo:()=>{const{past:n,future:o}=t();if(o.length===0)return;const{blocks:i,header:a,footer:s,announcement:l,setBlocks:c,setHeader:u,setFooter:h,setAnnouncement:f}=Hr.getState(),{themeSettings:g,setThemeSettings:m}=No.getState(),C=o[0],I=o.slice(1),b={themeSettings:JSON.parse(JSON.stringify(g)),layers:JSON.parse(JSON.stringify(i)),header:JSON.parse(JSON.stringify(a)),footer:JSON.parse(JSON.stringify(s)),announcement:JSON.parse(JSON.stringify(l))};e({past:[...n,b],future:I}),C.themeSettings&&m(C.themeSettings),C.layers&&c(C.layers),C.header&&u(C.header,!1),C.footer&&h(C.footer,!1),C.announcement&&f(C.announcement,!1)}})),A5=st(e=>({isOpenModal:!1,setIsOpenModal:t=>e(()=>({isOpenModal:t}))})),cn=st(e=>({notifications:[],setNotifications:t=>e(()=>({notifications:t}))})),Kf=st(e=>({error:null,setError:t=>e(()=>({error:t}))})),Qf=st(e=>({title:null,description:null,onConfirm:null,setTitle:t=>e(()=>({title:t})),setDescription:t=>e(()=>({description:t})),setOnConfirm:t=>e(()=>({onConfirm:t}))})),k5=st(e=>({showTooltip:!1,setShowTooltip:t=>e({showTooltip:t})})),$r=st(e=>({isOpen:!0,setIsOpen:t=>e(()=>({isOpen:t}))})),mt=st(e=>({general:null,setGeneral:t=>e(()=>({general:t})),isAntistock:!1,setIsAntistock:t=>e(()=>({isAntistock:t}))}));var Jf={exports:{}};/*!
|
|
61
61
|
Copyright (c) 2018 Jed Watson.
|
|
62
62
|
Licensed under the MIT License (MIT), see
|
|
63
63
|
http://jedwatson.github.io/classnames
|
|
64
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(a=i(a,o(l)))}return a}function o(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var s="";for(var l in a)t.call(a,l)&&a[l]&&(s=i(s,l));return s}function i(a,s){return s?a?a+" "+s:a+s:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Jf);var L5=Jf.exports;const ge=Ws(L5),N5="_icon_bsuj2_1",P5="_hoverable_bsuj2_5",Kd={icon:N5,hoverable:P5},R5=Object.freeze(Object.defineProperty({__proto__:null,Acorn:r.Acorn,AcornIcon:r.AcornIcon,ActivityIcon:r.ActivityIcon,AddressBook:r.AddressBook,AddressBookIcon:r.AddressBookIcon,AddressBookTabs:r.AddressBookTabs,AddressBookTabsIcon:r.AddressBookTabsIcon,AirTrafficControl:r.AirTrafficControl,AirTrafficControlIcon:r.AirTrafficControlIcon,Airplane:r.Airplane,AirplaneIcon:r.AirplaneIcon,AirplaneInFlight:r.AirplaneInFlight,AirplaneInFlightIcon:r.AirplaneInFlightIcon,AirplaneLanding:r.AirplaneLanding,AirplaneLandingIcon:r.AirplaneLandingIcon,AirplaneTakeoff:r.AirplaneTakeoff,AirplaneTakeoffIcon:r.AirplaneTakeoffIcon,AirplaneTaxiing:r.AirplaneTaxiing,AirplaneTaxiingIcon:r.AirplaneTaxiingIcon,AirplaneTilt:r.AirplaneTilt,AirplaneTiltIcon:r.AirplaneTiltIcon,Airplay:r.Airplay,AirplayIcon:r.AirplayIcon,Alarm:r.Alarm,AlarmIcon:r.AlarmIcon,Alien:r.Alien,AlienIcon:r.AlienIcon,AlignBottom:r.AlignBottom,AlignBottomIcon:r.AlignBottomIcon,AlignBottomSimple:r.AlignBottomSimple,AlignBottomSimpleIcon:r.AlignBottomSimpleIcon,AlignCenterHorizontal:r.AlignCenterHorizontal,AlignCenterHorizontalIcon:r.AlignCenterHorizontalIcon,AlignCenterHorizontalSimple:r.AlignCenterHorizontalSimple,AlignCenterHorizontalSimpleIcon:r.AlignCenterHorizontalSimpleIcon,AlignCenterVertical:r.AlignCenterVertical,AlignCenterVerticalIcon:r.AlignCenterVerticalIcon,AlignCenterVerticalSimple:r.AlignCenterVerticalSimple,AlignCenterVerticalSimpleIcon:r.AlignCenterVerticalSimpleIcon,AlignLeft:r.AlignLeft,AlignLeftIcon:r.AlignLeftIcon,AlignLeftSimple:r.AlignLeftSimple,AlignLeftSimpleIcon:r.AlignLeftSimpleIcon,AlignRight:r.AlignRight,AlignRightIcon:r.AlignRightIcon,AlignRightSimple:r.AlignRightSimple,AlignRightSimpleIcon:r.AlignRightSimpleIcon,AlignTop:r.AlignTop,AlignTopIcon:r.AlignTopIcon,AlignTopSimple:r.AlignTopSimple,AlignTopSimpleIcon:r.AlignTopSimpleIcon,AmazonLogo:r.AmazonLogo,AmazonLogoIcon:r.AmazonLogoIcon,Ambulance:r.Ambulance,AmbulanceIcon:r.AmbulanceIcon,Anchor:r.Anchor,AnchorIcon:r.AnchorIcon,AnchorSimple:r.AnchorSimple,AnchorSimpleIcon:r.AnchorSimpleIcon,AndroidLogo:r.AndroidLogo,AndroidLogoIcon:r.AndroidLogoIcon,Angle:r.Angle,AngleIcon:r.AngleIcon,AngularLogo:r.AngularLogo,AngularLogoIcon:r.AngularLogoIcon,Aperture:r.Aperture,ApertureIcon:r.ApertureIcon,AppStoreLogo:r.AppStoreLogo,AppStoreLogoIcon:r.AppStoreLogoIcon,AppWindow:r.AppWindow,AppWindowIcon:r.AppWindowIcon,AppleLogo:r.AppleLogo,AppleLogoIcon:r.AppleLogoIcon,ApplePodcastsLogo:r.ApplePodcastsLogo,ApplePodcastsLogoIcon:r.ApplePodcastsLogoIcon,ApproximateEquals:r.ApproximateEquals,ApproximateEqualsIcon:r.ApproximateEqualsIcon,Archive:r.Archive,ArchiveBoxIcon:r.ArchiveBoxIcon,ArchiveIcon:r.ArchiveIcon,ArchiveTrayIcon:r.ArchiveTrayIcon,Armchair:r.Armchair,ArmchairIcon:r.ArmchairIcon,ArrowArcLeft:r.ArrowArcLeft,ArrowArcLeftIcon:r.ArrowArcLeftIcon,ArrowArcRight:r.ArrowArcRight,ArrowArcRightIcon:r.ArrowArcRightIcon,ArrowBendDoubleUpLeft:r.ArrowBendDoubleUpLeft,ArrowBendDoubleUpLeftIcon:r.ArrowBendDoubleUpLeftIcon,ArrowBendDoubleUpRight:r.ArrowBendDoubleUpRight,ArrowBendDoubleUpRightIcon:r.ArrowBendDoubleUpRightIcon,ArrowBendDownLeft:r.ArrowBendDownLeft,ArrowBendDownLeftIcon:r.ArrowBendDownLeftIcon,ArrowBendDownRight:r.ArrowBendDownRight,ArrowBendDownRightIcon:r.ArrowBendDownRightIcon,ArrowBendLeftDown:r.ArrowBendLeftDown,ArrowBendLeftDownIcon:r.ArrowBendLeftDownIcon,ArrowBendLeftUp:r.ArrowBendLeftUp,ArrowBendLeftUpIcon:r.ArrowBendLeftUpIcon,ArrowBendRightDown:r.ArrowBendRightDown,ArrowBendRightDownIcon:r.ArrowBendRightDownIcon,ArrowBendRightUp:r.ArrowBendRightUp,ArrowBendRightUpIcon:r.ArrowBendRightUpIcon,ArrowBendUpLeft:r.ArrowBendUpLeft,ArrowBendUpLeftIcon:r.ArrowBendUpLeftIcon,ArrowBendUpRight:r.ArrowBendUpRight,ArrowBendUpRightIcon:r.ArrowBendUpRightIcon,ArrowCircleDown:r.ArrowCircleDown,ArrowCircleDownIcon:r.ArrowCircleDownIcon,ArrowCircleDownLeft:r.ArrowCircleDownLeft,ArrowCircleDownLeftIcon:r.ArrowCircleDownLeftIcon,ArrowCircleDownRight:r.ArrowCircleDownRight,ArrowCircleDownRightIcon:r.ArrowCircleDownRightIcon,ArrowCircleLeft:r.ArrowCircleLeft,ArrowCircleLeftIcon:r.ArrowCircleLeftIcon,ArrowCircleRight:r.ArrowCircleRight,ArrowCircleRightIcon:r.ArrowCircleRightIcon,ArrowCircleUp:r.ArrowCircleUp,ArrowCircleUpIcon:r.ArrowCircleUpIcon,ArrowCircleUpLeft:r.ArrowCircleUpLeft,ArrowCircleUpLeftIcon:r.ArrowCircleUpLeftIcon,ArrowCircleUpRight:r.ArrowCircleUpRight,ArrowCircleUpRightIcon:r.ArrowCircleUpRightIcon,ArrowClockwise:r.ArrowClockwise,ArrowClockwiseIcon:r.ArrowClockwiseIcon,ArrowCounterClockwise:r.ArrowCounterClockwise,ArrowCounterClockwiseIcon:r.ArrowCounterClockwiseIcon,ArrowDown:r.ArrowDown,ArrowDownIcon:r.ArrowDownIcon,ArrowDownLeft:r.ArrowDownLeft,ArrowDownLeftIcon:r.ArrowDownLeftIcon,ArrowDownRight:r.ArrowDownRight,ArrowDownRightIcon:r.ArrowDownRightIcon,ArrowElbowDownLeft:r.ArrowElbowDownLeft,ArrowElbowDownLeftIcon:r.ArrowElbowDownLeftIcon,ArrowElbowDownRight:r.ArrowElbowDownRight,ArrowElbowDownRightIcon:r.ArrowElbowDownRightIcon,ArrowElbowLeft:r.ArrowElbowLeft,ArrowElbowLeftDown:r.ArrowElbowLeftDown,ArrowElbowLeftDownIcon:r.ArrowElbowLeftDownIcon,ArrowElbowLeftIcon:r.ArrowElbowLeftIcon,ArrowElbowLeftUp:r.ArrowElbowLeftUp,ArrowElbowLeftUpIcon:r.ArrowElbowLeftUpIcon,ArrowElbowRight:r.ArrowElbowRight,ArrowElbowRightDown:r.ArrowElbowRightDown,ArrowElbowRightDownIcon:r.ArrowElbowRightDownIcon,ArrowElbowRightIcon:r.ArrowElbowRightIcon,ArrowElbowRightUp:r.ArrowElbowRightUp,ArrowElbowRightUpIcon:r.ArrowElbowRightUpIcon,ArrowElbowUpLeft:r.ArrowElbowUpLeft,ArrowElbowUpLeftIcon:r.ArrowElbowUpLeftIcon,ArrowElbowUpRight:r.ArrowElbowUpRight,ArrowElbowUpRightIcon:r.ArrowElbowUpRightIcon,ArrowFatDown:r.ArrowFatDown,ArrowFatDownIcon:r.ArrowFatDownIcon,ArrowFatLeft:r.ArrowFatLeft,ArrowFatLeftIcon:r.ArrowFatLeftIcon,ArrowFatLineDown:r.ArrowFatLineDown,ArrowFatLineDownIcon:r.ArrowFatLineDownIcon,ArrowFatLineLeft:r.ArrowFatLineLeft,ArrowFatLineLeftIcon:r.ArrowFatLineLeftIcon,ArrowFatLineRight:r.ArrowFatLineRight,ArrowFatLineRightIcon:r.ArrowFatLineRightIcon,ArrowFatLineUp:r.ArrowFatLineUp,ArrowFatLineUpIcon:r.ArrowFatLineUpIcon,ArrowFatLinesDown:r.ArrowFatLinesDown,ArrowFatLinesDownIcon:r.ArrowFatLinesDownIcon,ArrowFatLinesLeft:r.ArrowFatLinesLeft,ArrowFatLinesLeftIcon:r.ArrowFatLinesLeftIcon,ArrowFatLinesRight:r.ArrowFatLinesRight,ArrowFatLinesRightIcon:r.ArrowFatLinesRightIcon,ArrowFatLinesUp:r.ArrowFatLinesUp,ArrowFatLinesUpIcon:r.ArrowFatLinesUpIcon,ArrowFatRight:r.ArrowFatRight,ArrowFatRightIcon:r.ArrowFatRightIcon,ArrowFatUp:r.ArrowFatUp,ArrowFatUpIcon:r.ArrowFatUpIcon,ArrowLeft:r.ArrowLeft,ArrowLeftIcon:r.ArrowLeftIcon,ArrowLineDown:r.ArrowLineDown,ArrowLineDownIcon:r.ArrowLineDownIcon,ArrowLineDownLeft:r.ArrowLineDownLeft,ArrowLineDownLeftIcon:r.ArrowLineDownLeftIcon,ArrowLineDownRight:r.ArrowLineDownRight,ArrowLineDownRightIcon:r.ArrowLineDownRightIcon,ArrowLineLeft:r.ArrowLineLeft,ArrowLineLeftIcon:r.ArrowLineLeftIcon,ArrowLineRight:r.ArrowLineRight,ArrowLineRightIcon:r.ArrowLineRightIcon,ArrowLineUp:r.ArrowLineUp,ArrowLineUpIcon:r.ArrowLineUpIcon,ArrowLineUpLeft:r.ArrowLineUpLeft,ArrowLineUpLeftIcon:r.ArrowLineUpLeftIcon,ArrowLineUpRight:r.ArrowLineUpRight,ArrowLineUpRightIcon:r.ArrowLineUpRightIcon,ArrowRight:r.ArrowRight,ArrowRightIcon:r.ArrowRightIcon,ArrowSquareDown:r.ArrowSquareDown,ArrowSquareDownIcon:r.ArrowSquareDownIcon,ArrowSquareDownLeft:r.ArrowSquareDownLeft,ArrowSquareDownLeftIcon:r.ArrowSquareDownLeftIcon,ArrowSquareDownRight:r.ArrowSquareDownRight,ArrowSquareDownRightIcon:r.ArrowSquareDownRightIcon,ArrowSquareIn:r.ArrowSquareIn,ArrowSquareInIcon:r.ArrowSquareInIcon,ArrowSquareLeft:r.ArrowSquareLeft,ArrowSquareLeftIcon:r.ArrowSquareLeftIcon,ArrowSquareOut:r.ArrowSquareOut,ArrowSquareOutIcon:r.ArrowSquareOutIcon,ArrowSquareRight:r.ArrowSquareRight,ArrowSquareRightIcon:r.ArrowSquareRightIcon,ArrowSquareUp:r.ArrowSquareUp,ArrowSquareUpIcon:r.ArrowSquareUpIcon,ArrowSquareUpLeft:r.ArrowSquareUpLeft,ArrowSquareUpLeftIcon:r.ArrowSquareUpLeftIcon,ArrowSquareUpRight:r.ArrowSquareUpRight,ArrowSquareUpRightIcon:r.ArrowSquareUpRightIcon,ArrowUDownLeft:r.ArrowUDownLeft,ArrowUDownLeftIcon:r.ArrowUDownLeftIcon,ArrowUDownRight:r.ArrowUDownRight,ArrowUDownRightIcon:r.ArrowUDownRightIcon,ArrowULeftDown:r.ArrowULeftDown,ArrowULeftDownIcon:r.ArrowULeftDownIcon,ArrowULeftUp:r.ArrowULeftUp,ArrowULeftUpIcon:r.ArrowULeftUpIcon,ArrowURightDown:r.ArrowURightDown,ArrowURightDownIcon:r.ArrowURightDownIcon,ArrowURightUp:r.ArrowURightUp,ArrowURightUpIcon:r.ArrowURightUpIcon,ArrowUUpLeft:r.ArrowUUpLeft,ArrowUUpLeftIcon:r.ArrowUUpLeftIcon,ArrowUUpRight:r.ArrowUUpRight,ArrowUUpRightIcon:r.ArrowUUpRightIcon,ArrowUp:r.ArrowUp,ArrowUpIcon:r.ArrowUpIcon,ArrowUpLeft:r.ArrowUpLeft,ArrowUpLeftIcon:r.ArrowUpLeftIcon,ArrowUpRight:r.ArrowUpRight,ArrowUpRightIcon:r.ArrowUpRightIcon,ArrowsClockwise:r.ArrowsClockwise,ArrowsClockwiseIcon:r.ArrowsClockwiseIcon,ArrowsCounterClockwise:r.ArrowsCounterClockwise,ArrowsCounterClockwiseIcon:r.ArrowsCounterClockwiseIcon,ArrowsDownUp:r.ArrowsDownUp,ArrowsDownUpIcon:r.ArrowsDownUpIcon,ArrowsHorizontal:r.ArrowsHorizontal,ArrowsHorizontalIcon:r.ArrowsHorizontalIcon,ArrowsIn:r.ArrowsIn,ArrowsInCardinal:r.ArrowsInCardinal,ArrowsInCardinalIcon:r.ArrowsInCardinalIcon,ArrowsInIcon:r.ArrowsInIcon,ArrowsInLineHorizontal:r.ArrowsInLineHorizontal,ArrowsInLineHorizontalIcon:r.ArrowsInLineHorizontalIcon,ArrowsInLineVertical:r.ArrowsInLineVertical,ArrowsInLineVerticalIcon:r.ArrowsInLineVerticalIcon,ArrowsInSimple:r.ArrowsInSimple,ArrowsInSimpleIcon:r.ArrowsInSimpleIcon,ArrowsLeftRight:r.ArrowsLeftRight,ArrowsLeftRightIcon:r.ArrowsLeftRightIcon,ArrowsMerge:r.ArrowsMerge,ArrowsMergeIcon:r.ArrowsMergeIcon,ArrowsOut:r.ArrowsOut,ArrowsOutCardinal:r.ArrowsOutCardinal,ArrowsOutCardinalIcon:r.ArrowsOutCardinalIcon,ArrowsOutIcon:r.ArrowsOutIcon,ArrowsOutLineHorizontal:r.ArrowsOutLineHorizontal,ArrowsOutLineHorizontalIcon:r.ArrowsOutLineHorizontalIcon,ArrowsOutLineVertical:r.ArrowsOutLineVertical,ArrowsOutLineVerticalIcon:r.ArrowsOutLineVerticalIcon,ArrowsOutSimple:r.ArrowsOutSimple,ArrowsOutSimpleIcon:r.ArrowsOutSimpleIcon,ArrowsSplit:r.ArrowsSplit,ArrowsSplitIcon:r.ArrowsSplitIcon,ArrowsVertical:r.ArrowsVertical,ArrowsVerticalIcon:r.ArrowsVerticalIcon,Article:r.Article,ArticleIcon:r.ArticleIcon,ArticleMedium:r.ArticleMedium,ArticleMediumIcon:r.ArticleMediumIcon,ArticleNyTimes:r.ArticleNyTimes,ArticleNyTimesIcon:r.ArticleNyTimesIcon,Asclepius:r.Asclepius,AsclepiusIcon:r.AsclepiusIcon,Asterisk:r.Asterisk,AsteriskIcon:r.AsteriskIcon,AsteriskSimple:r.AsteriskSimple,AsteriskSimpleIcon:r.AsteriskSimpleIcon,At:r.At,AtIcon:r.AtIcon,Atom:r.Atom,AtomIcon:r.AtomIcon,Avocado:r.Avocado,AvocadoIcon:r.AvocadoIcon,Axe:r.Axe,AxeIcon:r.AxeIcon,Baby:r.Baby,BabyCarriage:r.BabyCarriage,BabyCarriageIcon:r.BabyCarriageIcon,BabyIcon:r.BabyIcon,Backpack:r.Backpack,BackpackIcon:r.BackpackIcon,Backspace:r.Backspace,BackspaceIcon:r.BackspaceIcon,Bag:r.Bag,BagIcon:r.BagIcon,BagSimple:r.BagSimple,BagSimpleIcon:r.BagSimpleIcon,Balloon:r.Balloon,BalloonIcon:r.BalloonIcon,Bandaids:r.Bandaids,BandaidsIcon:r.BandaidsIcon,Bank:r.Bank,BankIcon:r.BankIcon,Barbell:r.Barbell,BarbellIcon:r.BarbellIcon,Barcode:r.Barcode,BarcodeIcon:r.BarcodeIcon,Barn:r.Barn,BarnIcon:r.BarnIcon,Barricade:r.Barricade,BarricadeIcon:r.BarricadeIcon,Baseball:r.Baseball,BaseballCap:r.BaseballCap,BaseballCapIcon:r.BaseballCapIcon,BaseballHelmet:r.BaseballHelmet,BaseballHelmetIcon:r.BaseballHelmetIcon,BaseballIcon:r.BaseballIcon,Basket:r.Basket,BasketIcon:r.BasketIcon,Basketball:r.Basketball,BasketballIcon:r.BasketballIcon,Bathtub:r.Bathtub,BathtubIcon:r.BathtubIcon,BatteryCharging:r.BatteryCharging,BatteryChargingIcon:r.BatteryChargingIcon,BatteryChargingVertical:r.BatteryChargingVertical,BatteryChargingVerticalIcon:r.BatteryChargingVerticalIcon,BatteryEmpty:r.BatteryEmpty,BatteryEmptyIcon:r.BatteryEmptyIcon,BatteryFull:r.BatteryFull,BatteryFullIcon:r.BatteryFullIcon,BatteryHigh:r.BatteryHigh,BatteryHighIcon:r.BatteryHighIcon,BatteryLow:r.BatteryLow,BatteryLowIcon:r.BatteryLowIcon,BatteryMedium:r.BatteryMedium,BatteryMediumIcon:r.BatteryMediumIcon,BatteryPlus:r.BatteryPlus,BatteryPlusIcon:r.BatteryPlusIcon,BatteryPlusVertical:r.BatteryPlusVertical,BatteryPlusVerticalIcon:r.BatteryPlusVerticalIcon,BatteryVerticalEmpty:r.BatteryVerticalEmpty,BatteryVerticalEmptyIcon:r.BatteryVerticalEmptyIcon,BatteryVerticalFull:r.BatteryVerticalFull,BatteryVerticalFullIcon:r.BatteryVerticalFullIcon,BatteryVerticalHigh:r.BatteryVerticalHigh,BatteryVerticalHighIcon:r.BatteryVerticalHighIcon,BatteryVerticalLow:r.BatteryVerticalLow,BatteryVerticalLowIcon:r.BatteryVerticalLowIcon,BatteryVerticalMedium:r.BatteryVerticalMedium,BatteryVerticalMediumIcon:r.BatteryVerticalMediumIcon,BatteryWarning:r.BatteryWarning,BatteryWarningIcon:r.BatteryWarningIcon,BatteryWarningVertical:r.BatteryWarningVertical,BatteryWarningVerticalIcon:r.BatteryWarningVerticalIcon,BeachBall:r.BeachBall,BeachBallIcon:r.BeachBallIcon,Beanie:r.Beanie,BeanieIcon:r.BeanieIcon,Bed:r.Bed,BedIcon:r.BedIcon,BeerBottle:r.BeerBottle,BeerBottleIcon:r.BeerBottleIcon,BeerStein:r.BeerStein,BeerSteinIcon:r.BeerSteinIcon,BehanceLogo:r.BehanceLogo,BehanceLogoIcon:r.BehanceLogoIcon,Bell:r.Bell,BellIcon:r.BellIcon,BellRinging:r.BellRinging,BellRingingIcon:r.BellRingingIcon,BellSimple:r.BellSimple,BellSimpleIcon:r.BellSimpleIcon,BellSimpleRinging:r.BellSimpleRinging,BellSimpleRingingIcon:r.BellSimpleRingingIcon,BellSimpleSlash:r.BellSimpleSlash,BellSimpleSlashIcon:r.BellSimpleSlashIcon,BellSimpleZ:r.BellSimpleZ,BellSimpleZIcon:r.BellSimpleZIcon,BellSlash:r.BellSlash,BellSlashIcon:r.BellSlashIcon,BellZ:r.BellZ,BellZIcon:r.BellZIcon,Belt:r.Belt,BeltIcon:r.BeltIcon,BezierCurve:r.BezierCurve,BezierCurveIcon:r.BezierCurveIcon,Bicycle:r.Bicycle,BicycleIcon:r.BicycleIcon,Binary:r.Binary,BinaryIcon:r.BinaryIcon,Binoculars:r.Binoculars,BinocularsIcon:r.BinocularsIcon,Biohazard:r.Biohazard,BiohazardIcon:r.BiohazardIcon,Bird:r.Bird,BirdIcon:r.BirdIcon,Blueprint:r.Blueprint,BlueprintIcon:r.BlueprintIcon,Bluetooth:r.Bluetooth,BluetoothConnected:r.BluetoothConnected,BluetoothConnectedIcon:r.BluetoothConnectedIcon,BluetoothIcon:r.BluetoothIcon,BluetoothSlash:r.BluetoothSlash,BluetoothSlashIcon:r.BluetoothSlashIcon,BluetoothX:r.BluetoothX,BluetoothXIcon:r.BluetoothXIcon,Boat:r.Boat,BoatIcon:r.BoatIcon,Bomb:r.Bomb,BombIcon:r.BombIcon,Bone:r.Bone,BoneIcon:r.BoneIcon,Book:r.Book,BookBookmark:r.BookBookmark,BookBookmarkIcon:r.BookBookmarkIcon,BookIcon:r.BookIcon,BookOpen:r.BookOpen,BookOpenIcon:r.BookOpenIcon,BookOpenText:r.BookOpenText,BookOpenTextIcon:r.BookOpenTextIcon,BookOpenUser:r.BookOpenUser,BookOpenUserIcon:r.BookOpenUserIcon,Bookmark:r.Bookmark,BookmarkIcon:r.BookmarkIcon,BookmarkSimple:r.BookmarkSimple,BookmarkSimpleIcon:r.BookmarkSimpleIcon,Bookmarks:r.Bookmarks,BookmarksIcon:r.BookmarksIcon,BookmarksSimple:r.BookmarksSimple,BookmarksSimpleIcon:r.BookmarksSimpleIcon,Books:r.Books,BooksIcon:r.BooksIcon,Boot:r.Boot,BootIcon:r.BootIcon,Boules:r.Boules,BoulesIcon:r.BoulesIcon,BoundingBox:r.BoundingBox,BoundingBoxIcon:r.BoundingBoxIcon,BowlFood:r.BowlFood,BowlFoodIcon:r.BowlFoodIcon,BowlSteam:r.BowlSteam,BowlSteamIcon:r.BowlSteamIcon,BowlingBall:r.BowlingBall,BowlingBallIcon:r.BowlingBallIcon,BoxArrowDown:r.BoxArrowDown,BoxArrowDownIcon:r.BoxArrowDownIcon,BoxArrowUp:r.BoxArrowUp,BoxArrowUpIcon:r.BoxArrowUpIcon,BoxingGlove:r.BoxingGlove,BoxingGloveIcon:r.BoxingGloveIcon,BracketsAngle:r.BracketsAngle,BracketsAngleIcon:r.BracketsAngleIcon,BracketsCurly:r.BracketsCurly,BracketsCurlyIcon:r.BracketsCurlyIcon,BracketsRound:r.BracketsRound,BracketsRoundIcon:r.BracketsRoundIcon,BracketsSquare:r.BracketsSquare,BracketsSquareIcon:r.BracketsSquareIcon,Brain:r.Brain,BrainIcon:r.BrainIcon,Brandy:r.Brandy,BrandyIcon:r.BrandyIcon,Bread:r.Bread,BreadIcon:r.BreadIcon,Bridge:r.Bridge,BridgeIcon:r.BridgeIcon,Briefcase:r.Briefcase,BriefcaseIcon:r.BriefcaseIcon,BriefcaseMetal:r.BriefcaseMetal,BriefcaseMetalIcon:r.BriefcaseMetalIcon,Broadcast:r.Broadcast,BroadcastIcon:r.BroadcastIcon,Broom:r.Broom,BroomIcon:r.BroomIcon,Browser:r.Browser,BrowserIcon:r.BrowserIcon,Browsers:r.Browsers,BrowsersIcon:r.BrowsersIcon,Bug:r.Bug,BugBeetle:r.BugBeetle,BugBeetleIcon:r.BugBeetleIcon,BugDroid:r.BugDroid,BugDroidIcon:r.BugDroidIcon,BugIcon:r.BugIcon,Building:r.Building,BuildingApartment:r.BuildingApartment,BuildingApartmentIcon:r.BuildingApartmentIcon,BuildingIcon:r.BuildingIcon,BuildingOffice:r.BuildingOffice,BuildingOfficeIcon:r.BuildingOfficeIcon,Buildings:r.Buildings,BuildingsIcon:r.BuildingsIcon,Bulldozer:r.Bulldozer,BulldozerIcon:r.BulldozerIcon,Bus:r.Bus,BusIcon:r.BusIcon,Butterfly:r.Butterfly,ButterflyIcon:r.ButterflyIcon,CableCar:r.CableCar,CableCarIcon:r.CableCarIcon,Cactus:r.Cactus,CactusIcon:r.CactusIcon,CaduceusIcon:r.CaduceusIcon,Cake:r.Cake,CakeIcon:r.CakeIcon,Calculator:r.Calculator,CalculatorIcon:r.CalculatorIcon,Calendar:r.Calendar,CalendarBlank:r.CalendarBlank,CalendarBlankIcon:r.CalendarBlankIcon,CalendarCheck:r.CalendarCheck,CalendarCheckIcon:r.CalendarCheckIcon,CalendarDot:r.CalendarDot,CalendarDotIcon:r.CalendarDotIcon,CalendarDots:r.CalendarDots,CalendarDotsIcon:r.CalendarDotsIcon,CalendarHeart:r.CalendarHeart,CalendarHeartIcon:r.CalendarHeartIcon,CalendarIcon:r.CalendarIcon,CalendarMinus:r.CalendarMinus,CalendarMinusIcon:r.CalendarMinusIcon,CalendarPlus:r.CalendarPlus,CalendarPlusIcon:r.CalendarPlusIcon,CalendarSlash:r.CalendarSlash,CalendarSlashIcon:r.CalendarSlashIcon,CalendarStar:r.CalendarStar,CalendarStarIcon:r.CalendarStarIcon,CalendarX:r.CalendarX,CalendarXIcon:r.CalendarXIcon,CallBell:r.CallBell,CallBellIcon:r.CallBellIcon,Camera:r.Camera,CameraIcon:r.CameraIcon,CameraPlus:r.CameraPlus,CameraPlusIcon:r.CameraPlusIcon,CameraRotate:r.CameraRotate,CameraRotateIcon:r.CameraRotateIcon,CameraSlash:r.CameraSlash,CameraSlashIcon:r.CameraSlashIcon,Campfire:r.Campfire,CampfireIcon:r.CampfireIcon,Car:r.Car,CarBattery:r.CarBattery,CarBatteryIcon:r.CarBatteryIcon,CarIcon:r.CarIcon,CarProfile:r.CarProfile,CarProfileIcon:r.CarProfileIcon,CarSimple:r.CarSimple,CarSimpleIcon:r.CarSimpleIcon,Cardholder:r.Cardholder,CardholderIcon:r.CardholderIcon,Cards:r.Cards,CardsIcon:r.CardsIcon,CardsThree:r.CardsThree,CardsThreeIcon:r.CardsThreeIcon,CaretCircleDoubleDown:r.CaretCircleDoubleDown,CaretCircleDoubleDownIcon:r.CaretCircleDoubleDownIcon,CaretCircleDoubleLeft:r.CaretCircleDoubleLeft,CaretCircleDoubleLeftIcon:r.CaretCircleDoubleLeftIcon,CaretCircleDoubleRight:r.CaretCircleDoubleRight,CaretCircleDoubleRightIcon:r.CaretCircleDoubleRightIcon,CaretCircleDoubleUp:r.CaretCircleDoubleUp,CaretCircleDoubleUpIcon:r.CaretCircleDoubleUpIcon,CaretCircleDown:r.CaretCircleDown,CaretCircleDownIcon:r.CaretCircleDownIcon,CaretCircleLeft:r.CaretCircleLeft,CaretCircleLeftIcon:r.CaretCircleLeftIcon,CaretCircleRight:r.CaretCircleRight,CaretCircleRightIcon:r.CaretCircleRightIcon,CaretCircleUp:r.CaretCircleUp,CaretCircleUpDown:r.CaretCircleUpDown,CaretCircleUpDownIcon:r.CaretCircleUpDownIcon,CaretCircleUpIcon:r.CaretCircleUpIcon,CaretDoubleDown:r.CaretDoubleDown,CaretDoubleDownIcon:r.CaretDoubleDownIcon,CaretDoubleLeft:r.CaretDoubleLeft,CaretDoubleLeftIcon:r.CaretDoubleLeftIcon,CaretDoubleRight:r.CaretDoubleRight,CaretDoubleRightIcon:r.CaretDoubleRightIcon,CaretDoubleUp:r.CaretDoubleUp,CaretDoubleUpIcon:r.CaretDoubleUpIcon,CaretDown:r.CaretDown,CaretDownIcon:r.CaretDownIcon,CaretLeft:r.CaretLeft,CaretLeftIcon:r.CaretLeftIcon,CaretLineDown:r.CaretLineDown,CaretLineDownIcon:r.CaretLineDownIcon,CaretLineLeft:r.CaretLineLeft,CaretLineLeftIcon:r.CaretLineLeftIcon,CaretLineRight:r.CaretLineRight,CaretLineRightIcon:r.CaretLineRightIcon,CaretLineUp:r.CaretLineUp,CaretLineUpIcon:r.CaretLineUpIcon,CaretRight:r.CaretRight,CaretRightIcon:r.CaretRightIcon,CaretUp:r.CaretUp,CaretUpDown:r.CaretUpDown,CaretUpDownIcon:r.CaretUpDownIcon,CaretUpIcon:r.CaretUpIcon,Carrot:r.Carrot,CarrotIcon:r.CarrotIcon,CashRegister:r.CashRegister,CashRegisterIcon:r.CashRegisterIcon,CassetteTape:r.CassetteTape,CassetteTapeIcon:r.CassetteTapeIcon,CastleTurret:r.CastleTurret,CastleTurretIcon:r.CastleTurretIcon,Cat:r.Cat,CatIcon:r.CatIcon,CellSignalFull:r.CellSignalFull,CellSignalFullIcon:r.CellSignalFullIcon,CellSignalHigh:r.CellSignalHigh,CellSignalHighIcon:r.CellSignalHighIcon,CellSignalLow:r.CellSignalLow,CellSignalLowIcon:r.CellSignalLowIcon,CellSignalMedium:r.CellSignalMedium,CellSignalMediumIcon:r.CellSignalMediumIcon,CellSignalNone:r.CellSignalNone,CellSignalNoneIcon:r.CellSignalNoneIcon,CellSignalSlash:r.CellSignalSlash,CellSignalSlashIcon:r.CellSignalSlashIcon,CellSignalX:r.CellSignalX,CellSignalXIcon:r.CellSignalXIcon,CellTower:r.CellTower,CellTowerIcon:r.CellTowerIcon,Certificate:r.Certificate,CertificateIcon:r.CertificateIcon,Chair:r.Chair,ChairIcon:r.ChairIcon,Chalkboard:r.Chalkboard,ChalkboardIcon:r.ChalkboardIcon,ChalkboardSimple:r.ChalkboardSimple,ChalkboardSimpleIcon:r.ChalkboardSimpleIcon,ChalkboardTeacher:r.ChalkboardTeacher,ChalkboardTeacherIcon:r.ChalkboardTeacherIcon,Champagne:r.Champagne,ChampagneIcon:r.ChampagneIcon,ChargingStation:r.ChargingStation,ChargingStationIcon:r.ChargingStationIcon,ChartBar:r.ChartBar,ChartBarHorizontal:r.ChartBarHorizontal,ChartBarHorizontalIcon:r.ChartBarHorizontalIcon,ChartBarIcon:r.ChartBarIcon,ChartDonut:r.ChartDonut,ChartDonutIcon:r.ChartDonutIcon,ChartLine:r.ChartLine,ChartLineDown:r.ChartLineDown,ChartLineDownIcon:r.ChartLineDownIcon,ChartLineIcon:r.ChartLineIcon,ChartLineUp:r.ChartLineUp,ChartLineUpIcon:r.ChartLineUpIcon,ChartPie:r.ChartPie,ChartPieIcon:r.ChartPieIcon,ChartPieSlice:r.ChartPieSlice,ChartPieSliceIcon:r.ChartPieSliceIcon,ChartPolar:r.ChartPolar,ChartPolarIcon:r.ChartPolarIcon,ChartScatter:r.ChartScatter,ChartScatterIcon:r.ChartScatterIcon,Chat:r.Chat,ChatCentered:r.ChatCentered,ChatCenteredDots:r.ChatCenteredDots,ChatCenteredDotsIcon:r.ChatCenteredDotsIcon,ChatCenteredIcon:r.ChatCenteredIcon,ChatCenteredSlash:r.ChatCenteredSlash,ChatCenteredSlashIcon:r.ChatCenteredSlashIcon,ChatCenteredText:r.ChatCenteredText,ChatCenteredTextIcon:r.ChatCenteredTextIcon,ChatCircle:r.ChatCircle,ChatCircleDots:r.ChatCircleDots,ChatCircleDotsIcon:r.ChatCircleDotsIcon,ChatCircleIcon:r.ChatCircleIcon,ChatCircleSlash:r.ChatCircleSlash,ChatCircleSlashIcon:r.ChatCircleSlashIcon,ChatCircleText:r.ChatCircleText,ChatCircleTextIcon:r.ChatCircleTextIcon,ChatDots:r.ChatDots,ChatDotsIcon:r.ChatDotsIcon,ChatIcon:r.ChatIcon,ChatSlash:r.ChatSlash,ChatSlashIcon:r.ChatSlashIcon,ChatTeardrop:r.ChatTeardrop,ChatTeardropDots:r.ChatTeardropDots,ChatTeardropDotsIcon:r.ChatTeardropDotsIcon,ChatTeardropIcon:r.ChatTeardropIcon,ChatTeardropSlash:r.ChatTeardropSlash,ChatTeardropSlashIcon:r.ChatTeardropSlashIcon,ChatTeardropText:r.ChatTeardropText,ChatTeardropTextIcon:r.ChatTeardropTextIcon,ChatText:r.ChatText,ChatTextIcon:r.ChatTextIcon,Chats:r.Chats,ChatsCircle:r.ChatsCircle,ChatsCircleIcon:r.ChatsCircleIcon,ChatsIcon:r.ChatsIcon,ChatsTeardrop:r.ChatsTeardrop,ChatsTeardropIcon:r.ChatsTeardropIcon,Check:r.Check,CheckCircle:r.CheckCircle,CheckCircleIcon:r.CheckCircleIcon,CheckFat:r.CheckFat,CheckFatIcon:r.CheckFatIcon,CheckIcon:r.CheckIcon,CheckSquare:r.CheckSquare,CheckSquareIcon:r.CheckSquareIcon,CheckSquareOffset:r.CheckSquareOffset,CheckSquareOffsetIcon:r.CheckSquareOffsetIcon,Checkerboard:r.Checkerboard,CheckerboardIcon:r.CheckerboardIcon,Checks:r.Checks,ChecksIcon:r.ChecksIcon,Cheers:r.Cheers,CheersIcon:r.CheersIcon,Cheese:r.Cheese,CheeseIcon:r.CheeseIcon,ChefHat:r.ChefHat,ChefHatIcon:r.ChefHatIcon,Cherries:r.Cherries,CherriesIcon:r.CherriesIcon,Church:r.Church,ChurchIcon:r.ChurchIcon,Cigarette:r.Cigarette,CigaretteIcon:r.CigaretteIcon,CigaretteSlash:r.CigaretteSlash,CigaretteSlashIcon:r.CigaretteSlashIcon,Circle:r.Circle,CircleDashed:r.CircleDashed,CircleDashedIcon:r.CircleDashedIcon,CircleHalf:r.CircleHalf,CircleHalfIcon:r.CircleHalfIcon,CircleHalfTilt:r.CircleHalfTilt,CircleHalfTiltIcon:r.CircleHalfTiltIcon,CircleIcon:r.CircleIcon,CircleNotch:r.CircleNotch,CircleNotchIcon:r.CircleNotchIcon,CircleWavyCheckIcon:r.CircleWavyCheckIcon,CircleWavyIcon:r.CircleWavyIcon,CircleWavyQuestionIcon:r.CircleWavyQuestionIcon,CircleWavyWarningIcon:r.CircleWavyWarningIcon,CirclesFour:r.CirclesFour,CirclesFourIcon:r.CirclesFourIcon,CirclesThree:r.CirclesThree,CirclesThreeIcon:r.CirclesThreeIcon,CirclesThreePlus:r.CirclesThreePlus,CirclesThreePlusIcon:r.CirclesThreePlusIcon,Circuitry:r.Circuitry,CircuitryIcon:r.CircuitryIcon,City:r.City,CityIcon:r.CityIcon,Clipboard:r.Clipboard,ClipboardIcon:r.ClipboardIcon,ClipboardText:r.ClipboardText,ClipboardTextIcon:r.ClipboardTextIcon,Clock:r.Clock,ClockAfternoon:r.ClockAfternoon,ClockAfternoonIcon:r.ClockAfternoonIcon,ClockClockwise:r.ClockClockwise,ClockClockwiseIcon:r.ClockClockwiseIcon,ClockCountdown:r.ClockCountdown,ClockCountdownIcon:r.ClockCountdownIcon,ClockCounterClockwise:r.ClockCounterClockwise,ClockCounterClockwiseIcon:r.ClockCounterClockwiseIcon,ClockIcon:r.ClockIcon,ClockUser:r.ClockUser,ClockUserIcon:r.ClockUserIcon,ClosedCaptioning:r.ClosedCaptioning,ClosedCaptioningIcon:r.ClosedCaptioningIcon,Cloud:r.Cloud,CloudArrowDown:r.CloudArrowDown,CloudArrowDownIcon:r.CloudArrowDownIcon,CloudArrowUp:r.CloudArrowUp,CloudArrowUpIcon:r.CloudArrowUpIcon,CloudCheck:r.CloudCheck,CloudCheckIcon:r.CloudCheckIcon,CloudFog:r.CloudFog,CloudFogIcon:r.CloudFogIcon,CloudIcon:r.CloudIcon,CloudLightning:r.CloudLightning,CloudLightningIcon:r.CloudLightningIcon,CloudMoon:r.CloudMoon,CloudMoonIcon:r.CloudMoonIcon,CloudRain:r.CloudRain,CloudRainIcon:r.CloudRainIcon,CloudSlash:r.CloudSlash,CloudSlashIcon:r.CloudSlashIcon,CloudSnow:r.CloudSnow,CloudSnowIcon:r.CloudSnowIcon,CloudSun:r.CloudSun,CloudSunIcon:r.CloudSunIcon,CloudWarning:r.CloudWarning,CloudWarningIcon:r.CloudWarningIcon,CloudX:r.CloudX,CloudXIcon:r.CloudXIcon,Clover:r.Clover,CloverIcon:r.CloverIcon,Club:r.Club,ClubIcon:r.ClubIcon,CoatHanger:r.CoatHanger,CoatHangerIcon:r.CoatHangerIcon,CodaLogo:r.CodaLogo,CodaLogoIcon:r.CodaLogoIcon,Code:r.Code,CodeBlock:r.CodeBlock,CodeBlockIcon:r.CodeBlockIcon,CodeIcon:r.CodeIcon,CodeSimple:r.CodeSimple,CodeSimpleIcon:r.CodeSimpleIcon,CodepenLogo:r.CodepenLogo,CodepenLogoIcon:r.CodepenLogoIcon,CodesandboxLogo:r.CodesandboxLogo,CodesandboxLogoIcon:r.CodesandboxLogoIcon,Coffee:r.Coffee,CoffeeBean:r.CoffeeBean,CoffeeBeanIcon:r.CoffeeBeanIcon,CoffeeIcon:r.CoffeeIcon,Coin:r.Coin,CoinIcon:r.CoinIcon,CoinVertical:r.CoinVertical,CoinVerticalIcon:r.CoinVerticalIcon,Coins:r.Coins,CoinsIcon:r.CoinsIcon,Columns:r.Columns,ColumnsIcon:r.ColumnsIcon,ColumnsPlusLeft:r.ColumnsPlusLeft,ColumnsPlusLeftIcon:r.ColumnsPlusLeftIcon,ColumnsPlusRight:r.ColumnsPlusRight,ColumnsPlusRightIcon:r.ColumnsPlusRightIcon,Command:r.Command,CommandIcon:r.CommandIcon,Compass:r.Compass,CompassIcon:r.CompassIcon,CompassRose:r.CompassRose,CompassRoseIcon:r.CompassRoseIcon,CompassTool:r.CompassTool,CompassToolIcon:r.CompassToolIcon,ComputerTower:r.ComputerTower,ComputerTowerIcon:r.ComputerTowerIcon,Confetti:r.Confetti,ConfettiIcon:r.ConfettiIcon,ContactlessPayment:r.ContactlessPayment,ContactlessPaymentIcon:r.ContactlessPaymentIcon,Control:r.Control,ControlIcon:r.ControlIcon,Cookie:r.Cookie,CookieIcon:r.CookieIcon,CookingPot:r.CookingPot,CookingPotIcon:r.CookingPotIcon,Copy:r.Copy,CopyIcon:r.CopyIcon,CopySimple:r.CopySimple,CopySimpleIcon:r.CopySimpleIcon,Copyleft:r.Copyleft,CopyleftIcon:r.CopyleftIcon,Copyright:r.Copyright,CopyrightIcon:r.CopyrightIcon,CornersIn:r.CornersIn,CornersInIcon:r.CornersInIcon,CornersOut:r.CornersOut,CornersOutIcon:r.CornersOutIcon,Couch:r.Couch,CouchIcon:r.CouchIcon,CourtBasketball:r.CourtBasketball,CourtBasketballIcon:r.CourtBasketballIcon,Cow:r.Cow,CowIcon:r.CowIcon,CowboyHat:r.CowboyHat,CowboyHatIcon:r.CowboyHatIcon,Cpu:r.Cpu,CpuIcon:r.CpuIcon,Crane:r.Crane,CraneIcon:r.CraneIcon,CraneTower:r.CraneTower,CraneTowerIcon:r.CraneTowerIcon,CreditCard:r.CreditCard,CreditCardIcon:r.CreditCardIcon,Cricket:r.Cricket,CricketIcon:r.CricketIcon,Crop:r.Crop,CropIcon:r.CropIcon,Cross:r.Cross,CrossIcon:r.CrossIcon,Crosshair:r.Crosshair,CrosshairIcon:r.CrosshairIcon,CrosshairSimple:r.CrosshairSimple,CrosshairSimpleIcon:r.CrosshairSimpleIcon,Crown:r.Crown,CrownCross:r.CrownCross,CrownCrossIcon:r.CrownCrossIcon,CrownIcon:r.CrownIcon,CrownSimple:r.CrownSimple,CrownSimpleIcon:r.CrownSimpleIcon,Cube:r.Cube,CubeFocus:r.CubeFocus,CubeFocusIcon:r.CubeFocusIcon,CubeIcon:r.CubeIcon,CubeTransparent:r.CubeTransparent,CubeTransparentIcon:r.CubeTransparentIcon,CurrencyBtc:r.CurrencyBtc,CurrencyBtcIcon:r.CurrencyBtcIcon,CurrencyCircleDollar:r.CurrencyCircleDollar,CurrencyCircleDollarIcon:r.CurrencyCircleDollarIcon,CurrencyCny:r.CurrencyCny,CurrencyCnyIcon:r.CurrencyCnyIcon,CurrencyDollar:r.CurrencyDollar,CurrencyDollarIcon:r.CurrencyDollarIcon,CurrencyDollarSimple:r.CurrencyDollarSimple,CurrencyDollarSimpleIcon:r.CurrencyDollarSimpleIcon,CurrencyEth:r.CurrencyEth,CurrencyEthIcon:r.CurrencyEthIcon,CurrencyEur:r.CurrencyEur,CurrencyEurIcon:r.CurrencyEurIcon,CurrencyGbp:r.CurrencyGbp,CurrencyGbpIcon:r.CurrencyGbpIcon,CurrencyInr:r.CurrencyInr,CurrencyInrIcon:r.CurrencyInrIcon,CurrencyJpy:r.CurrencyJpy,CurrencyJpyIcon:r.CurrencyJpyIcon,CurrencyKrw:r.CurrencyKrw,CurrencyKrwIcon:r.CurrencyKrwIcon,CurrencyKzt:r.CurrencyKzt,CurrencyKztIcon:r.CurrencyKztIcon,CurrencyNgn:r.CurrencyNgn,CurrencyNgnIcon:r.CurrencyNgnIcon,CurrencyRub:r.CurrencyRub,CurrencyRubIcon:r.CurrencyRubIcon,Cursor:r.Cursor,CursorClick:r.CursorClick,CursorClickIcon:r.CursorClickIcon,CursorIcon:r.CursorIcon,CursorText:r.CursorText,CursorTextIcon:r.CursorTextIcon,Cylinder:r.Cylinder,CylinderIcon:r.CylinderIcon,Database:r.Database,DatabaseIcon:r.DatabaseIcon,Desk:r.Desk,DeskIcon:r.DeskIcon,Desktop:r.Desktop,DesktopIcon:r.DesktopIcon,DesktopTower:r.DesktopTower,DesktopTowerIcon:r.DesktopTowerIcon,Detective:r.Detective,DetectiveIcon:r.DetectiveIcon,DevToLogo:r.DevToLogo,DevToLogoIcon:r.DevToLogoIcon,DeviceMobile:r.DeviceMobile,DeviceMobileCamera:r.DeviceMobileCamera,DeviceMobileCameraIcon:r.DeviceMobileCameraIcon,DeviceMobileIcon:r.DeviceMobileIcon,DeviceMobileSlash:r.DeviceMobileSlash,DeviceMobileSlashIcon:r.DeviceMobileSlashIcon,DeviceMobileSpeaker:r.DeviceMobileSpeaker,DeviceMobileSpeakerIcon:r.DeviceMobileSpeakerIcon,DeviceRotate:r.DeviceRotate,DeviceRotateIcon:r.DeviceRotateIcon,DeviceTablet:r.DeviceTablet,DeviceTabletCamera:r.DeviceTabletCamera,DeviceTabletCameraIcon:r.DeviceTabletCameraIcon,DeviceTabletIcon:r.DeviceTabletIcon,DeviceTabletSpeaker:r.DeviceTabletSpeaker,DeviceTabletSpeakerIcon:r.DeviceTabletSpeakerIcon,Devices:r.Devices,DevicesIcon:r.DevicesIcon,Diamond:r.Diamond,DiamondIcon:r.DiamondIcon,DiamondsFour:r.DiamondsFour,DiamondsFourIcon:r.DiamondsFourIcon,DiceFive:r.DiceFive,DiceFiveIcon:r.DiceFiveIcon,DiceFour:r.DiceFour,DiceFourIcon:r.DiceFourIcon,DiceOne:r.DiceOne,DiceOneIcon:r.DiceOneIcon,DiceSix:r.DiceSix,DiceSixIcon:r.DiceSixIcon,DiceThree:r.DiceThree,DiceThreeIcon:r.DiceThreeIcon,DiceTwo:r.DiceTwo,DiceTwoIcon:r.DiceTwoIcon,Disc:r.Disc,DiscIcon:r.DiscIcon,DiscoBall:r.DiscoBall,DiscoBallIcon:r.DiscoBallIcon,DiscordLogo:r.DiscordLogo,DiscordLogoIcon:r.DiscordLogoIcon,Divide:r.Divide,DivideIcon:r.DivideIcon,Dna:r.Dna,DnaIcon:r.DnaIcon,Dog:r.Dog,DogIcon:r.DogIcon,Door:r.Door,DoorIcon:r.DoorIcon,DoorOpen:r.DoorOpen,DoorOpenIcon:r.DoorOpenIcon,Dot:r.Dot,DotIcon:r.DotIcon,DotOutline:r.DotOutline,DotOutlineIcon:r.DotOutlineIcon,DotsNine:r.DotsNine,DotsNineIcon:r.DotsNineIcon,DotsSix:r.DotsSix,DotsSixIcon:r.DotsSixIcon,DotsSixVertical:r.DotsSixVertical,DotsSixVerticalIcon:r.DotsSixVerticalIcon,DotsThree:r.DotsThree,DotsThreeCircle:r.DotsThreeCircle,DotsThreeCircleIcon:r.DotsThreeCircleIcon,DotsThreeCircleVertical:r.DotsThreeCircleVertical,DotsThreeCircleVerticalIcon:r.DotsThreeCircleVerticalIcon,DotsThreeIcon:r.DotsThreeIcon,DotsThreeOutline:r.DotsThreeOutline,DotsThreeOutlineIcon:r.DotsThreeOutlineIcon,DotsThreeOutlineVertical:r.DotsThreeOutlineVertical,DotsThreeOutlineVerticalIcon:r.DotsThreeOutlineVerticalIcon,DotsThreeVertical:r.DotsThreeVertical,DotsThreeVerticalIcon:r.DotsThreeVerticalIcon,Download:r.Download,DownloadIcon:r.DownloadIcon,DownloadSimple:r.DownloadSimple,DownloadSimpleIcon:r.DownloadSimpleIcon,Dress:r.Dress,DressIcon:r.DressIcon,Dresser:r.Dresser,DresserIcon:r.DresserIcon,DribbbleLogo:r.DribbbleLogo,DribbbleLogoIcon:r.DribbbleLogoIcon,Drone:r.Drone,DroneIcon:r.DroneIcon,Drop:r.Drop,DropHalf:r.DropHalf,DropHalfBottom:r.DropHalfBottom,DropHalfBottomIcon:r.DropHalfBottomIcon,DropHalfIcon:r.DropHalfIcon,DropIcon:r.DropIcon,DropSimple:r.DropSimple,DropSimpleIcon:r.DropSimpleIcon,DropSlash:r.DropSlash,DropSlashIcon:r.DropSlashIcon,DropboxLogo:r.DropboxLogo,DropboxLogoIcon:r.DropboxLogoIcon,Ear:r.Ear,EarIcon:r.EarIcon,EarSlash:r.EarSlash,EarSlashIcon:r.EarSlashIcon,Egg:r.Egg,EggCrack:r.EggCrack,EggCrackIcon:r.EggCrackIcon,EggIcon:r.EggIcon,Eject:r.Eject,EjectIcon:r.EjectIcon,EjectSimple:r.EjectSimple,EjectSimpleIcon:r.EjectSimpleIcon,Elevator:r.Elevator,ElevatorIcon:r.ElevatorIcon,Empty:r.Empty,EmptyIcon:r.EmptyIcon,Engine:r.Engine,EngineIcon:r.EngineIcon,Envelope:r.Envelope,EnvelopeIcon:r.EnvelopeIcon,EnvelopeOpen:r.EnvelopeOpen,EnvelopeOpenIcon:r.EnvelopeOpenIcon,EnvelopeSimple:r.EnvelopeSimple,EnvelopeSimpleIcon:r.EnvelopeSimpleIcon,EnvelopeSimpleOpen:r.EnvelopeSimpleOpen,EnvelopeSimpleOpenIcon:r.EnvelopeSimpleOpenIcon,Equalizer:r.Equalizer,EqualizerIcon:r.EqualizerIcon,Equals:r.Equals,EqualsIcon:r.EqualsIcon,Eraser:r.Eraser,EraserIcon:r.EraserIcon,EscalatorDown:r.EscalatorDown,EscalatorDownIcon:r.EscalatorDownIcon,EscalatorUp:r.EscalatorUp,EscalatorUpIcon:r.EscalatorUpIcon,Exam:r.Exam,ExamIcon:r.ExamIcon,ExclamationMark:r.ExclamationMark,ExclamationMarkIcon:r.ExclamationMarkIcon,Exclude:r.Exclude,ExcludeIcon:r.ExcludeIcon,ExcludeSquare:r.ExcludeSquare,ExcludeSquareIcon:r.ExcludeSquareIcon,Export:r.Export,ExportIcon:r.ExportIcon,Eye:r.Eye,EyeClosed:r.EyeClosed,EyeClosedIcon:r.EyeClosedIcon,EyeIcon:r.EyeIcon,EyeSlash:r.EyeSlash,EyeSlashIcon:r.EyeSlashIcon,Eyedropper:r.Eyedropper,EyedropperIcon:r.EyedropperIcon,EyedropperSample:r.EyedropperSample,EyedropperSampleIcon:r.EyedropperSampleIcon,Eyeglasses:r.Eyeglasses,EyeglassesIcon:r.EyeglassesIcon,Eyes:r.Eyes,EyesIcon:r.EyesIcon,FaceMask:r.FaceMask,FaceMaskIcon:r.FaceMaskIcon,FacebookLogo:r.FacebookLogo,FacebookLogoIcon:r.FacebookLogoIcon,Factory:r.Factory,FactoryIcon:r.FactoryIcon,Faders:r.Faders,FadersHorizontal:r.FadersHorizontal,FadersHorizontalIcon:r.FadersHorizontalIcon,FadersIcon:r.FadersIcon,FalloutShelter:r.FalloutShelter,FalloutShelterIcon:r.FalloutShelterIcon,Fan:r.Fan,FanIcon:r.FanIcon,Farm:r.Farm,FarmIcon:r.FarmIcon,FastForward:r.FastForward,FastForwardCircle:r.FastForwardCircle,FastForwardCircleIcon:r.FastForwardCircleIcon,FastForwardIcon:r.FastForwardIcon,Feather:r.Feather,FeatherIcon:r.FeatherIcon,FediverseLogo:r.FediverseLogo,FediverseLogoIcon:r.FediverseLogoIcon,FigmaLogo:r.FigmaLogo,FigmaLogoIcon:r.FigmaLogoIcon,File:r.File,FileArchive:r.FileArchive,FileArchiveIcon:r.FileArchiveIcon,FileArrowDown:r.FileArrowDown,FileArrowDownIcon:r.FileArrowDownIcon,FileArrowUp:r.FileArrowUp,FileArrowUpIcon:r.FileArrowUpIcon,FileAudio:r.FileAudio,FileAudioIcon:r.FileAudioIcon,FileC:r.FileC,FileCIcon:r.FileCIcon,FileCSharp:r.FileCSharp,FileCSharpIcon:r.FileCSharpIcon,FileCloud:r.FileCloud,FileCloudIcon:r.FileCloudIcon,FileCode:r.FileCode,FileCodeIcon:r.FileCodeIcon,FileCpp:r.FileCpp,FileCppIcon:r.FileCppIcon,FileCss:r.FileCss,FileCssIcon:r.FileCssIcon,FileCsv:r.FileCsv,FileCsvIcon:r.FileCsvIcon,FileDashed:r.FileDashed,FileDashedIcon:r.FileDashedIcon,FileDoc:r.FileDoc,FileDocIcon:r.FileDocIcon,FileDottedIcon:r.FileDottedIcon,FileHtml:r.FileHtml,FileHtmlIcon:r.FileHtmlIcon,FileIcon:r.FileIcon,FileImage:r.FileImage,FileImageIcon:r.FileImageIcon,FileIni:r.FileIni,FileIniIcon:r.FileIniIcon,FileJpg:r.FileJpg,FileJpgIcon:r.FileJpgIcon,FileJs:r.FileJs,FileJsIcon:r.FileJsIcon,FileJsx:r.FileJsx,FileJsxIcon:r.FileJsxIcon,FileLock:r.FileLock,FileLockIcon:r.FileLockIcon,FileMagnifyingGlass:r.FileMagnifyingGlass,FileMagnifyingGlassIcon:r.FileMagnifyingGlassIcon,FileMd:r.FileMd,FileMdIcon:r.FileMdIcon,FileMinus:r.FileMinus,FileMinusIcon:r.FileMinusIcon,FilePdf:r.FilePdf,FilePdfIcon:r.FilePdfIcon,FilePlus:r.FilePlus,FilePlusIcon:r.FilePlusIcon,FilePng:r.FilePng,FilePngIcon:r.FilePngIcon,FilePpt:r.FilePpt,FilePptIcon:r.FilePptIcon,FilePy:r.FilePy,FilePyIcon:r.FilePyIcon,FileRs:r.FileRs,FileRsIcon:r.FileRsIcon,FileSearchIcon:r.FileSearchIcon,FileSql:r.FileSql,FileSqlIcon:r.FileSqlIcon,FileSvg:r.FileSvg,FileSvgIcon:r.FileSvgIcon,FileText:r.FileText,FileTextIcon:r.FileTextIcon,FileTs:r.FileTs,FileTsIcon:r.FileTsIcon,FileTsx:r.FileTsx,FileTsxIcon:r.FileTsxIcon,FileTxt:r.FileTxt,FileTxtIcon:r.FileTxtIcon,FileVideo:r.FileVideo,FileVideoIcon:r.FileVideoIcon,FileVue:r.FileVue,FileVueIcon:r.FileVueIcon,FileX:r.FileX,FileXIcon:r.FileXIcon,FileXls:r.FileXls,FileXlsIcon:r.FileXlsIcon,FileZip:r.FileZip,FileZipIcon:r.FileZipIcon,Files:r.Files,FilesIcon:r.FilesIcon,FilmReel:r.FilmReel,FilmReelIcon:r.FilmReelIcon,FilmScript:r.FilmScript,FilmScriptIcon:r.FilmScriptIcon,FilmSlate:r.FilmSlate,FilmSlateIcon:r.FilmSlateIcon,FilmStrip:r.FilmStrip,FilmStripIcon:r.FilmStripIcon,Fingerprint:r.Fingerprint,FingerprintIcon:r.FingerprintIcon,FingerprintSimple:r.FingerprintSimple,FingerprintSimpleIcon:r.FingerprintSimpleIcon,FinnTheHuman:r.FinnTheHuman,FinnTheHumanIcon:r.FinnTheHumanIcon,Fire:r.Fire,FireExtinguisher:r.FireExtinguisher,FireExtinguisherIcon:r.FireExtinguisherIcon,FireIcon:r.FireIcon,FireSimple:r.FireSimple,FireSimpleIcon:r.FireSimpleIcon,FireTruck:r.FireTruck,FireTruckIcon:r.FireTruckIcon,FirstAid:r.FirstAid,FirstAidIcon:r.FirstAidIcon,FirstAidKit:r.FirstAidKit,FirstAidKitIcon:r.FirstAidKitIcon,Fish:r.Fish,FishIcon:r.FishIcon,FishSimple:r.FishSimple,FishSimpleIcon:r.FishSimpleIcon,Flag:r.Flag,FlagBanner:r.FlagBanner,FlagBannerFold:r.FlagBannerFold,FlagBannerFoldIcon:r.FlagBannerFoldIcon,FlagBannerIcon:r.FlagBannerIcon,FlagCheckered:r.FlagCheckered,FlagCheckeredIcon:r.FlagCheckeredIcon,FlagIcon:r.FlagIcon,FlagPennant:r.FlagPennant,FlagPennantIcon:r.FlagPennantIcon,Flame:r.Flame,FlameIcon:r.FlameIcon,Flashlight:r.Flashlight,FlashlightIcon:r.FlashlightIcon,Flask:r.Flask,FlaskIcon:r.FlaskIcon,FlipHorizontal:r.FlipHorizontal,FlipHorizontalIcon:r.FlipHorizontalIcon,FlipVertical:r.FlipVertical,FlipVerticalIcon:r.FlipVerticalIcon,FloppyDisk:r.FloppyDisk,FloppyDiskBack:r.FloppyDiskBack,FloppyDiskBackIcon:r.FloppyDiskBackIcon,FloppyDiskIcon:r.FloppyDiskIcon,FlowArrow:r.FlowArrow,FlowArrowIcon:r.FlowArrowIcon,Flower:r.Flower,FlowerIcon:r.FlowerIcon,FlowerLotus:r.FlowerLotus,FlowerLotusIcon:r.FlowerLotusIcon,FlowerTulip:r.FlowerTulip,FlowerTulipIcon:r.FlowerTulipIcon,FlyingSaucer:r.FlyingSaucer,FlyingSaucerIcon:r.FlyingSaucerIcon,Folder:r.Folder,FolderDashed:r.FolderDashed,FolderDashedIcon:r.FolderDashedIcon,FolderDottedIcon:r.FolderDottedIcon,FolderIcon:r.FolderIcon,FolderLock:r.FolderLock,FolderLockIcon:r.FolderLockIcon,FolderMinus:r.FolderMinus,FolderMinusIcon:r.FolderMinusIcon,FolderNotchIcon:r.FolderNotchIcon,FolderNotchMinusIcon:r.FolderNotchMinusIcon,FolderNotchOpenIcon:r.FolderNotchOpenIcon,FolderNotchPlusIcon:r.FolderNotchPlusIcon,FolderOpen:r.FolderOpen,FolderOpenIcon:r.FolderOpenIcon,FolderPlus:r.FolderPlus,FolderPlusIcon:r.FolderPlusIcon,FolderSimple:r.FolderSimple,FolderSimpleDashed:r.FolderSimpleDashed,FolderSimpleDashedIcon:r.FolderSimpleDashedIcon,FolderSimpleDottedIcon:r.FolderSimpleDottedIcon,FolderSimpleIcon:r.FolderSimpleIcon,FolderSimpleLock:r.FolderSimpleLock,FolderSimpleLockIcon:r.FolderSimpleLockIcon,FolderSimpleMinus:r.FolderSimpleMinus,FolderSimpleMinusIcon:r.FolderSimpleMinusIcon,FolderSimplePlus:r.FolderSimplePlus,FolderSimplePlusIcon:r.FolderSimplePlusIcon,FolderSimpleStar:r.FolderSimpleStar,FolderSimpleStarIcon:r.FolderSimpleStarIcon,FolderSimpleUser:r.FolderSimpleUser,FolderSimpleUserIcon:r.FolderSimpleUserIcon,FolderStar:r.FolderStar,FolderStarIcon:r.FolderStarIcon,FolderUser:r.FolderUser,FolderUserIcon:r.FolderUserIcon,Folders:r.Folders,FoldersIcon:r.FoldersIcon,Football:r.Football,FootballHelmet:r.FootballHelmet,FootballHelmetIcon:r.FootballHelmetIcon,FootballIcon:r.FootballIcon,Footprints:r.Footprints,FootprintsIcon:r.FootprintsIcon,ForkKnife:r.ForkKnife,ForkKnifeIcon:r.ForkKnifeIcon,FourK:r.FourK,FourKIcon:r.FourKIcon,FrameCorners:r.FrameCorners,FrameCornersIcon:r.FrameCornersIcon,FramerLogo:r.FramerLogo,FramerLogoIcon:r.FramerLogoIcon,Function:r.Function,FunctionIcon:r.FunctionIcon,Funnel:r.Funnel,FunnelIcon:r.FunnelIcon,FunnelSimple:r.FunnelSimple,FunnelSimpleIcon:r.FunnelSimpleIcon,FunnelSimpleX:r.FunnelSimpleX,FunnelSimpleXIcon:r.FunnelSimpleXIcon,FunnelX:r.FunnelX,FunnelXIcon:r.FunnelXIcon,GameController:r.GameController,GameControllerIcon:r.GameControllerIcon,Garage:r.Garage,GarageIcon:r.GarageIcon,GasCan:r.GasCan,GasCanIcon:r.GasCanIcon,GasPump:r.GasPump,GasPumpIcon:r.GasPumpIcon,Gauge:r.Gauge,GaugeIcon:r.GaugeIcon,Gavel:r.Gavel,GavelIcon:r.GavelIcon,Gear:r.Gear,GearFine:r.GearFine,GearFineIcon:r.GearFineIcon,GearIcon:r.GearIcon,GearSix:r.GearSix,GearSixIcon:r.GearSixIcon,GenderFemale:r.GenderFemale,GenderFemaleIcon:r.GenderFemaleIcon,GenderIntersex:r.GenderIntersex,GenderIntersexIcon:r.GenderIntersexIcon,GenderMale:r.GenderMale,GenderMaleIcon:r.GenderMaleIcon,GenderNeuter:r.GenderNeuter,GenderNeuterIcon:r.GenderNeuterIcon,GenderNonbinary:r.GenderNonbinary,GenderNonbinaryIcon:r.GenderNonbinaryIcon,GenderTransgender:r.GenderTransgender,GenderTransgenderIcon:r.GenderTransgenderIcon,Ghost:r.Ghost,GhostIcon:r.GhostIcon,Gif:r.Gif,GifIcon:r.GifIcon,Gift:r.Gift,GiftIcon:r.GiftIcon,GitBranch:r.GitBranch,GitBranchIcon:r.GitBranchIcon,GitCommit:r.GitCommit,GitCommitIcon:r.GitCommitIcon,GitDiff:r.GitDiff,GitDiffIcon:r.GitDiffIcon,GitFork:r.GitFork,GitForkIcon:r.GitForkIcon,GitMerge:r.GitMerge,GitMergeIcon:r.GitMergeIcon,GitPullRequest:r.GitPullRequest,GitPullRequestIcon:r.GitPullRequestIcon,GithubLogo:r.GithubLogo,GithubLogoIcon:r.GithubLogoIcon,GitlabLogo:r.GitlabLogo,GitlabLogoIcon:r.GitlabLogoIcon,GitlabLogoSimple:r.GitlabLogoSimple,GitlabLogoSimpleIcon:r.GitlabLogoSimpleIcon,Globe:r.Globe,GlobeHemisphereEast:r.GlobeHemisphereEast,GlobeHemisphereEastIcon:r.GlobeHemisphereEastIcon,GlobeHemisphereWest:r.GlobeHemisphereWest,GlobeHemisphereWestIcon:r.GlobeHemisphereWestIcon,GlobeIcon:r.GlobeIcon,GlobeSimple:r.GlobeSimple,GlobeSimpleIcon:r.GlobeSimpleIcon,GlobeSimpleX:r.GlobeSimpleX,GlobeSimpleXIcon:r.GlobeSimpleXIcon,GlobeStand:r.GlobeStand,GlobeStandIcon:r.GlobeStandIcon,GlobeX:r.GlobeX,GlobeXIcon:r.GlobeXIcon,Goggles:r.Goggles,GogglesIcon:r.GogglesIcon,Golf:r.Golf,GolfIcon:r.GolfIcon,GoodreadsLogo:r.GoodreadsLogo,GoodreadsLogoIcon:r.GoodreadsLogoIcon,GoogleCardboardLogo:r.GoogleCardboardLogo,GoogleCardboardLogoIcon:r.GoogleCardboardLogoIcon,GoogleChromeLogo:r.GoogleChromeLogo,GoogleChromeLogoIcon:r.GoogleChromeLogoIcon,GoogleDriveLogo:r.GoogleDriveLogo,GoogleDriveLogoIcon:r.GoogleDriveLogoIcon,GoogleLogo:r.GoogleLogo,GoogleLogoIcon:r.GoogleLogoIcon,GooglePhotosLogo:r.GooglePhotosLogo,GooglePhotosLogoIcon:r.GooglePhotosLogoIcon,GooglePlayLogo:r.GooglePlayLogo,GooglePlayLogoIcon:r.GooglePlayLogoIcon,GooglePodcastsLogo:r.GooglePodcastsLogo,GooglePodcastsLogoIcon:r.GooglePodcastsLogoIcon,Gps:r.Gps,GpsFix:r.GpsFix,GpsFixIcon:r.GpsFixIcon,GpsIcon:r.GpsIcon,GpsSlash:r.GpsSlash,GpsSlashIcon:r.GpsSlashIcon,Gradient:r.Gradient,GradientIcon:r.GradientIcon,GraduationCap:r.GraduationCap,GraduationCapIcon:r.GraduationCapIcon,Grains:r.Grains,GrainsIcon:r.GrainsIcon,GrainsSlash:r.GrainsSlash,GrainsSlashIcon:r.GrainsSlashIcon,Graph:r.Graph,GraphIcon:r.GraphIcon,GraphicsCard:r.GraphicsCard,GraphicsCardIcon:r.GraphicsCardIcon,GreaterThan:r.GreaterThan,GreaterThanIcon:r.GreaterThanIcon,GreaterThanOrEqual:r.GreaterThanOrEqual,GreaterThanOrEqualIcon:r.GreaterThanOrEqualIcon,GridFour:r.GridFour,GridFourIcon:r.GridFourIcon,GridNine:r.GridNine,GridNineIcon:r.GridNineIcon,Guitar:r.Guitar,GuitarIcon:r.GuitarIcon,HairDryer:r.HairDryer,HairDryerIcon:r.HairDryerIcon,Hamburger:r.Hamburger,HamburgerIcon:r.HamburgerIcon,Hammer:r.Hammer,HammerIcon:r.HammerIcon,Hand:r.Hand,HandArrowDown:r.HandArrowDown,HandArrowDownIcon:r.HandArrowDownIcon,HandArrowUp:r.HandArrowUp,HandArrowUpIcon:r.HandArrowUpIcon,HandCoins:r.HandCoins,HandCoinsIcon:r.HandCoinsIcon,HandDeposit:r.HandDeposit,HandDepositIcon:r.HandDepositIcon,HandEye:r.HandEye,HandEyeIcon:r.HandEyeIcon,HandFist:r.HandFist,HandFistIcon:r.HandFistIcon,HandGrabbing:r.HandGrabbing,HandGrabbingIcon:r.HandGrabbingIcon,HandHeart:r.HandHeart,HandHeartIcon:r.HandHeartIcon,HandIcon:r.HandIcon,HandPalm:r.HandPalm,HandPalmIcon:r.HandPalmIcon,HandPeace:r.HandPeace,HandPeaceIcon:r.HandPeaceIcon,HandPointing:r.HandPointing,HandPointingIcon:r.HandPointingIcon,HandSoap:r.HandSoap,HandSoapIcon:r.HandSoapIcon,HandSwipeLeft:r.HandSwipeLeft,HandSwipeLeftIcon:r.HandSwipeLeftIcon,HandSwipeRight:r.HandSwipeRight,HandSwipeRightIcon:r.HandSwipeRightIcon,HandTap:r.HandTap,HandTapIcon:r.HandTapIcon,HandWaving:r.HandWaving,HandWavingIcon:r.HandWavingIcon,HandWithdraw:r.HandWithdraw,HandWithdrawIcon:r.HandWithdrawIcon,Handbag:r.Handbag,HandbagIcon:r.HandbagIcon,HandbagSimple:r.HandbagSimple,HandbagSimpleIcon:r.HandbagSimpleIcon,HandsClapping:r.HandsClapping,HandsClappingIcon:r.HandsClappingIcon,HandsPraying:r.HandsPraying,HandsPrayingIcon:r.HandsPrayingIcon,Handshake:r.Handshake,HandshakeIcon:r.HandshakeIcon,HardDrive:r.HardDrive,HardDriveIcon:r.HardDriveIcon,HardDrives:r.HardDrives,HardDrivesIcon:r.HardDrivesIcon,HardHat:r.HardHat,HardHatIcon:r.HardHatIcon,Hash:r.Hash,HashIcon:r.HashIcon,HashStraight:r.HashStraight,HashStraightIcon:r.HashStraightIcon,HeadCircuit:r.HeadCircuit,HeadCircuitIcon:r.HeadCircuitIcon,Headlights:r.Headlights,HeadlightsIcon:r.HeadlightsIcon,Headphones:r.Headphones,HeadphonesIcon:r.HeadphonesIcon,Headset:r.Headset,HeadsetIcon:r.HeadsetIcon,Heart:r.Heart,HeartBreak:r.HeartBreak,HeartBreakIcon:r.HeartBreakIcon,HeartHalf:r.HeartHalf,HeartHalfIcon:r.HeartHalfIcon,HeartIcon:r.HeartIcon,HeartStraight:r.HeartStraight,HeartStraightBreak:r.HeartStraightBreak,HeartStraightBreakIcon:r.HeartStraightBreakIcon,HeartStraightIcon:r.HeartStraightIcon,Heartbeat:r.Heartbeat,HeartbeatIcon:r.HeartbeatIcon,Hexagon:r.Hexagon,HexagonIcon:r.HexagonIcon,HighDefinition:r.HighDefinition,HighDefinitionIcon:r.HighDefinitionIcon,HighHeel:r.HighHeel,HighHeelIcon:r.HighHeelIcon,Highlighter:r.Highlighter,HighlighterCircle:r.HighlighterCircle,HighlighterCircleIcon:r.HighlighterCircleIcon,HighlighterIcon:r.HighlighterIcon,Hockey:r.Hockey,HockeyIcon:r.HockeyIcon,Hoodie:r.Hoodie,HoodieIcon:r.HoodieIcon,Horse:r.Horse,HorseIcon:r.HorseIcon,Hospital:r.Hospital,HospitalIcon:r.HospitalIcon,Hourglass:r.Hourglass,HourglassHigh:r.HourglassHigh,HourglassHighIcon:r.HourglassHighIcon,HourglassIcon:r.HourglassIcon,HourglassLow:r.HourglassLow,HourglassLowIcon:r.HourglassLowIcon,HourglassMedium:r.HourglassMedium,HourglassMediumIcon:r.HourglassMediumIcon,HourglassSimple:r.HourglassSimple,HourglassSimpleHigh:r.HourglassSimpleHigh,HourglassSimpleHighIcon:r.HourglassSimpleHighIcon,HourglassSimpleIcon:r.HourglassSimpleIcon,HourglassSimpleLow:r.HourglassSimpleLow,HourglassSimpleLowIcon:r.HourglassSimpleLowIcon,HourglassSimpleMedium:r.HourglassSimpleMedium,HourglassSimpleMediumIcon:r.HourglassSimpleMediumIcon,House:r.House,HouseIcon:r.HouseIcon,HouseLine:r.HouseLine,HouseLineIcon:r.HouseLineIcon,HouseSimple:r.HouseSimple,HouseSimpleIcon:r.HouseSimpleIcon,Hurricane:r.Hurricane,HurricaneIcon:r.HurricaneIcon,IceCream:r.IceCream,IceCreamIcon:r.IceCreamIcon,IconBase:r.IconBase,IconContext:r.IconContext,IdentificationBadge:r.IdentificationBadge,IdentificationBadgeIcon:r.IdentificationBadgeIcon,IdentificationCard:r.IdentificationCard,IdentificationCardIcon:r.IdentificationCardIcon,Image:r.Image,ImageBroken:r.ImageBroken,ImageBrokenIcon:r.ImageBrokenIcon,ImageIcon:r.ImageIcon,ImageSquare:r.ImageSquare,ImageSquareIcon:r.ImageSquareIcon,Images:r.Images,ImagesIcon:r.ImagesIcon,ImagesSquare:r.ImagesSquare,ImagesSquareIcon:r.ImagesSquareIcon,Infinity:r.Infinity,InfinityIcon:r.InfinityIcon,Info:r.Info,InfoIcon:r.InfoIcon,InstagramLogo:r.InstagramLogo,InstagramLogoIcon:r.InstagramLogoIcon,Intersect:r.Intersect,IntersectIcon:r.IntersectIcon,IntersectSquare:r.IntersectSquare,IntersectSquareIcon:r.IntersectSquareIcon,IntersectThree:r.IntersectThree,IntersectThreeIcon:r.IntersectThreeIcon,Intersection:r.Intersection,IntersectionIcon:r.IntersectionIcon,Invoice:r.Invoice,InvoiceIcon:r.InvoiceIcon,Island:r.Island,IslandIcon:r.IslandIcon,Jar:r.Jar,JarIcon:r.JarIcon,JarLabel:r.JarLabel,JarLabelIcon:r.JarLabelIcon,Jeep:r.Jeep,JeepIcon:r.JeepIcon,Joystick:r.Joystick,JoystickIcon:r.JoystickIcon,Kanban:r.Kanban,KanbanIcon:r.KanbanIcon,Key:r.Key,KeyIcon:r.KeyIcon,KeyReturn:r.KeyReturn,KeyReturnIcon:r.KeyReturnIcon,Keyboard:r.Keyboard,KeyboardIcon:r.KeyboardIcon,Keyhole:r.Keyhole,KeyholeIcon:r.KeyholeIcon,Knife:r.Knife,KnifeIcon:r.KnifeIcon,Ladder:r.Ladder,LadderIcon:r.LadderIcon,LadderSimple:r.LadderSimple,LadderSimpleIcon:r.LadderSimpleIcon,Lamp:r.Lamp,LampIcon:r.LampIcon,LampPendant:r.LampPendant,LampPendantIcon:r.LampPendantIcon,Laptop:r.Laptop,LaptopIcon:r.LaptopIcon,Lasso:r.Lasso,LassoIcon:r.LassoIcon,LastfmLogo:r.LastfmLogo,LastfmLogoIcon:r.LastfmLogoIcon,Layout:r.Layout,LayoutIcon:r.LayoutIcon,Leaf:r.Leaf,LeafIcon:r.LeafIcon,Lectern:r.Lectern,LecternIcon:r.LecternIcon,Lego:r.Lego,LegoIcon:r.LegoIcon,LegoSmiley:r.LegoSmiley,LegoSmileyIcon:r.LegoSmileyIcon,LemniscateIcon:r.LemniscateIcon,LessThan:r.LessThan,LessThanIcon:r.LessThanIcon,LessThanOrEqual:r.LessThanOrEqual,LessThanOrEqualIcon:r.LessThanOrEqualIcon,LetterCircleH:r.LetterCircleH,LetterCircleHIcon:r.LetterCircleHIcon,LetterCircleP:r.LetterCircleP,LetterCirclePIcon:r.LetterCirclePIcon,LetterCircleV:r.LetterCircleV,LetterCircleVIcon:r.LetterCircleVIcon,Lifebuoy:r.Lifebuoy,LifebuoyIcon:r.LifebuoyIcon,Lightbulb:r.Lightbulb,LightbulbFilament:r.LightbulbFilament,LightbulbFilamentIcon:r.LightbulbFilamentIcon,LightbulbIcon:r.LightbulbIcon,Lighthouse:r.Lighthouse,LighthouseIcon:r.LighthouseIcon,Lightning:r.Lightning,LightningA:r.LightningA,LightningAIcon:r.LightningAIcon,LightningIcon:r.LightningIcon,LightningSlash:r.LightningSlash,LightningSlashIcon:r.LightningSlashIcon,LineSegment:r.LineSegment,LineSegmentIcon:r.LineSegmentIcon,LineSegments:r.LineSegments,LineSegmentsIcon:r.LineSegmentsIcon,LineVertical:r.LineVertical,LineVerticalIcon:r.LineVerticalIcon,Link:r.Link,LinkBreak:r.LinkBreak,LinkBreakIcon:r.LinkBreakIcon,LinkIcon:r.LinkIcon,LinkSimple:r.LinkSimple,LinkSimpleBreak:r.LinkSimpleBreak,LinkSimpleBreakIcon:r.LinkSimpleBreakIcon,LinkSimpleHorizontal:r.LinkSimpleHorizontal,LinkSimpleHorizontalBreak:r.LinkSimpleHorizontalBreak,LinkSimpleHorizontalBreakIcon:r.LinkSimpleHorizontalBreakIcon,LinkSimpleHorizontalIcon:r.LinkSimpleHorizontalIcon,LinkSimpleIcon:r.LinkSimpleIcon,LinkedinLogo:r.LinkedinLogo,LinkedinLogoIcon:r.LinkedinLogoIcon,LinktreeLogo:r.LinktreeLogo,LinktreeLogoIcon:r.LinktreeLogoIcon,LinuxLogo:r.LinuxLogo,LinuxLogoIcon:r.LinuxLogoIcon,List:r.List,ListBullets:r.ListBullets,ListBulletsIcon:r.ListBulletsIcon,ListChecks:r.ListChecks,ListChecksIcon:r.ListChecksIcon,ListDashes:r.ListDashes,ListDashesIcon:r.ListDashesIcon,ListHeart:r.ListHeart,ListHeartIcon:r.ListHeartIcon,ListIcon:r.ListIcon,ListMagnifyingGlass:r.ListMagnifyingGlass,ListMagnifyingGlassIcon:r.ListMagnifyingGlassIcon,ListNumbers:r.ListNumbers,ListNumbersIcon:r.ListNumbersIcon,ListPlus:r.ListPlus,ListPlusIcon:r.ListPlusIcon,ListStar:r.ListStar,ListStarIcon:r.ListStarIcon,Lock:r.Lock,LockIcon:r.LockIcon,LockKey:r.LockKey,LockKeyIcon:r.LockKeyIcon,LockKeyOpen:r.LockKeyOpen,LockKeyOpenIcon:r.LockKeyOpenIcon,LockLaminated:r.LockLaminated,LockLaminatedIcon:r.LockLaminatedIcon,LockLaminatedOpen:r.LockLaminatedOpen,LockLaminatedOpenIcon:r.LockLaminatedOpenIcon,LockOpen:r.LockOpen,LockOpenIcon:r.LockOpenIcon,LockSimple:r.LockSimple,LockSimpleIcon:r.LockSimpleIcon,LockSimpleOpen:r.LockSimpleOpen,LockSimpleOpenIcon:r.LockSimpleOpenIcon,Lockers:r.Lockers,LockersIcon:r.LockersIcon,Log:r.Log,LogIcon:r.LogIcon,MagicWand:r.MagicWand,MagicWandIcon:r.MagicWandIcon,Magnet:r.Magnet,MagnetIcon:r.MagnetIcon,MagnetStraight:r.MagnetStraight,MagnetStraightIcon:r.MagnetStraightIcon,MagnifyingGlass:r.MagnifyingGlass,MagnifyingGlassIcon:r.MagnifyingGlassIcon,MagnifyingGlassMinus:r.MagnifyingGlassMinus,MagnifyingGlassMinusIcon:r.MagnifyingGlassMinusIcon,MagnifyingGlassPlus:r.MagnifyingGlassPlus,MagnifyingGlassPlusIcon:r.MagnifyingGlassPlusIcon,Mailbox:r.Mailbox,MailboxIcon:r.MailboxIcon,MapPin:r.MapPin,MapPinArea:r.MapPinArea,MapPinAreaIcon:r.MapPinAreaIcon,MapPinIcon:r.MapPinIcon,MapPinLine:r.MapPinLine,MapPinLineIcon:r.MapPinLineIcon,MapPinPlus:r.MapPinPlus,MapPinPlusIcon:r.MapPinPlusIcon,MapPinSimple:r.MapPinSimple,MapPinSimpleArea:r.MapPinSimpleArea,MapPinSimpleAreaIcon:r.MapPinSimpleAreaIcon,MapPinSimpleIcon:r.MapPinSimpleIcon,MapPinSimpleLine:r.MapPinSimpleLine,MapPinSimpleLineIcon:r.MapPinSimpleLineIcon,MapTrifold:r.MapTrifold,MapTrifoldIcon:r.MapTrifoldIcon,MarkdownLogo:r.MarkdownLogo,MarkdownLogoIcon:r.MarkdownLogoIcon,MarkerCircle:r.MarkerCircle,MarkerCircleIcon:r.MarkerCircleIcon,Martini:r.Martini,MartiniIcon:r.MartiniIcon,MaskHappy:r.MaskHappy,MaskHappyIcon:r.MaskHappyIcon,MaskSad:r.MaskSad,MaskSadIcon:r.MaskSadIcon,MastodonLogo:r.MastodonLogo,MastodonLogoIcon:r.MastodonLogoIcon,MathOperations:r.MathOperations,MathOperationsIcon:r.MathOperationsIcon,MatrixLogo:r.MatrixLogo,MatrixLogoIcon:r.MatrixLogoIcon,Medal:r.Medal,MedalIcon:r.MedalIcon,MedalMilitary:r.MedalMilitary,MedalMilitaryIcon:r.MedalMilitaryIcon,MediumLogo:r.MediumLogo,MediumLogoIcon:r.MediumLogoIcon,Megaphone:r.Megaphone,MegaphoneIcon:r.MegaphoneIcon,MegaphoneSimple:r.MegaphoneSimple,MegaphoneSimpleIcon:r.MegaphoneSimpleIcon,MemberOf:r.MemberOf,MemberOfIcon:r.MemberOfIcon,Memory:r.Memory,MemoryIcon:r.MemoryIcon,MessengerLogo:r.MessengerLogo,MessengerLogoIcon:r.MessengerLogoIcon,MetaLogo:r.MetaLogo,MetaLogoIcon:r.MetaLogoIcon,Meteor:r.Meteor,MeteorIcon:r.MeteorIcon,Metronome:r.Metronome,MetronomeIcon:r.MetronomeIcon,Microphone:r.Microphone,MicrophoneIcon:r.MicrophoneIcon,MicrophoneSlash:r.MicrophoneSlash,MicrophoneSlashIcon:r.MicrophoneSlashIcon,MicrophoneStage:r.MicrophoneStage,MicrophoneStageIcon:r.MicrophoneStageIcon,Microscope:r.Microscope,MicroscopeIcon:r.MicroscopeIcon,MicrosoftExcelLogo:r.MicrosoftExcelLogo,MicrosoftExcelLogoIcon:r.MicrosoftExcelLogoIcon,MicrosoftOutlookLogo:r.MicrosoftOutlookLogo,MicrosoftOutlookLogoIcon:r.MicrosoftOutlookLogoIcon,MicrosoftPowerpointLogo:r.MicrosoftPowerpointLogo,MicrosoftPowerpointLogoIcon:r.MicrosoftPowerpointLogoIcon,MicrosoftTeamsLogo:r.MicrosoftTeamsLogo,MicrosoftTeamsLogoIcon:r.MicrosoftTeamsLogoIcon,MicrosoftWordLogo:r.MicrosoftWordLogo,MicrosoftWordLogoIcon:r.MicrosoftWordLogoIcon,Minus:r.Minus,MinusCircle:r.MinusCircle,MinusCircleIcon:r.MinusCircleIcon,MinusIcon:r.MinusIcon,MinusSquare:r.MinusSquare,MinusSquareIcon:r.MinusSquareIcon,Money:r.Money,MoneyIcon:r.MoneyIcon,MoneyWavy:r.MoneyWavy,MoneyWavyIcon:r.MoneyWavyIcon,Monitor:r.Monitor,MonitorArrowUp:r.MonitorArrowUp,MonitorArrowUpIcon:r.MonitorArrowUpIcon,MonitorIcon:r.MonitorIcon,MonitorPlay:r.MonitorPlay,MonitorPlayIcon:r.MonitorPlayIcon,Moon:r.Moon,MoonIcon:r.MoonIcon,MoonStars:r.MoonStars,MoonStarsIcon:r.MoonStarsIcon,Moped:r.Moped,MopedFront:r.MopedFront,MopedFrontIcon:r.MopedFrontIcon,MopedIcon:r.MopedIcon,Mosque:r.Mosque,MosqueIcon:r.MosqueIcon,Motorcycle:r.Motorcycle,MotorcycleIcon:r.MotorcycleIcon,Mountains:r.Mountains,MountainsIcon:r.MountainsIcon,Mouse:r.Mouse,MouseIcon:r.MouseIcon,MouseLeftClick:r.MouseLeftClick,MouseLeftClickIcon:r.MouseLeftClickIcon,MouseMiddleClick:r.MouseMiddleClick,MouseMiddleClickIcon:r.MouseMiddleClickIcon,MouseRightClick:r.MouseRightClick,MouseRightClickIcon:r.MouseRightClickIcon,MouseScroll:r.MouseScroll,MouseScrollIcon:r.MouseScrollIcon,MouseSimple:r.MouseSimple,MouseSimpleIcon:r.MouseSimpleIcon,MusicNote:r.MusicNote,MusicNoteIcon:r.MusicNoteIcon,MusicNoteSimple:r.MusicNoteSimple,MusicNoteSimpleIcon:r.MusicNoteSimpleIcon,MusicNotes:r.MusicNotes,MusicNotesIcon:r.MusicNotesIcon,MusicNotesMinus:r.MusicNotesMinus,MusicNotesMinusIcon:r.MusicNotesMinusIcon,MusicNotesPlus:r.MusicNotesPlus,MusicNotesPlusIcon:r.MusicNotesPlusIcon,MusicNotesSimple:r.MusicNotesSimple,MusicNotesSimpleIcon:r.MusicNotesSimpleIcon,NavigationArrow:r.NavigationArrow,NavigationArrowIcon:r.NavigationArrowIcon,Needle:r.Needle,NeedleIcon:r.NeedleIcon,Network:r.Network,NetworkIcon:r.NetworkIcon,NetworkSlash:r.NetworkSlash,NetworkSlashIcon:r.NetworkSlashIcon,NetworkX:r.NetworkX,NetworkXIcon:r.NetworkXIcon,Newspaper:r.Newspaper,NewspaperClipping:r.NewspaperClipping,NewspaperClippingIcon:r.NewspaperClippingIcon,NewspaperIcon:r.NewspaperIcon,NotEquals:r.NotEquals,NotEqualsIcon:r.NotEqualsIcon,NotMemberOf:r.NotMemberOf,NotMemberOfIcon:r.NotMemberOfIcon,NotSubsetOf:r.NotSubsetOf,NotSubsetOfIcon:r.NotSubsetOfIcon,NotSupersetOf:r.NotSupersetOf,NotSupersetOfIcon:r.NotSupersetOfIcon,Notches:r.Notches,NotchesIcon:r.NotchesIcon,Note:r.Note,NoteBlank:r.NoteBlank,NoteBlankIcon:r.NoteBlankIcon,NoteIcon:r.NoteIcon,NotePencil:r.NotePencil,NotePencilIcon:r.NotePencilIcon,Notebook:r.Notebook,NotebookIcon:r.NotebookIcon,Notepad:r.Notepad,NotepadIcon:r.NotepadIcon,Notification:r.Notification,NotificationIcon:r.NotificationIcon,NotionLogo:r.NotionLogo,NotionLogoIcon:r.NotionLogoIcon,NuclearPlant:r.NuclearPlant,NuclearPlantIcon:r.NuclearPlantIcon,NumberCircleEight:r.NumberCircleEight,NumberCircleEightIcon:r.NumberCircleEightIcon,NumberCircleFive:r.NumberCircleFive,NumberCircleFiveIcon:r.NumberCircleFiveIcon,NumberCircleFour:r.NumberCircleFour,NumberCircleFourIcon:r.NumberCircleFourIcon,NumberCircleNine:r.NumberCircleNine,NumberCircleNineIcon:r.NumberCircleNineIcon,NumberCircleOne:r.NumberCircleOne,NumberCircleOneIcon:r.NumberCircleOneIcon,NumberCircleSeven:r.NumberCircleSeven,NumberCircleSevenIcon:r.NumberCircleSevenIcon,NumberCircleSix:r.NumberCircleSix,NumberCircleSixIcon:r.NumberCircleSixIcon,NumberCircleThree:r.NumberCircleThree,NumberCircleThreeIcon:r.NumberCircleThreeIcon,NumberCircleTwo:r.NumberCircleTwo,NumberCircleTwoIcon:r.NumberCircleTwoIcon,NumberCircleZero:r.NumberCircleZero,NumberCircleZeroIcon:r.NumberCircleZeroIcon,NumberEight:r.NumberEight,NumberEightIcon:r.NumberEightIcon,NumberFive:r.NumberFive,NumberFiveIcon:r.NumberFiveIcon,NumberFour:r.NumberFour,NumberFourIcon:r.NumberFourIcon,NumberNine:r.NumberNine,NumberNineIcon:r.NumberNineIcon,NumberOne:r.NumberOne,NumberOneIcon:r.NumberOneIcon,NumberSeven:r.NumberSeven,NumberSevenIcon:r.NumberSevenIcon,NumberSix:r.NumberSix,NumberSixIcon:r.NumberSixIcon,NumberSquareEight:r.NumberSquareEight,NumberSquareEightIcon:r.NumberSquareEightIcon,NumberSquareFive:r.NumberSquareFive,NumberSquareFiveIcon:r.NumberSquareFiveIcon,NumberSquareFour:r.NumberSquareFour,NumberSquareFourIcon:r.NumberSquareFourIcon,NumberSquareNine:r.NumberSquareNine,NumberSquareNineIcon:r.NumberSquareNineIcon,NumberSquareOne:r.NumberSquareOne,NumberSquareOneIcon:r.NumberSquareOneIcon,NumberSquareSeven:r.NumberSquareSeven,NumberSquareSevenIcon:r.NumberSquareSevenIcon,NumberSquareSix:r.NumberSquareSix,NumberSquareSixIcon:r.NumberSquareSixIcon,NumberSquareThree:r.NumberSquareThree,NumberSquareThreeIcon:r.NumberSquareThreeIcon,NumberSquareTwo:r.NumberSquareTwo,NumberSquareTwoIcon:r.NumberSquareTwoIcon,NumberSquareZero:r.NumberSquareZero,NumberSquareZeroIcon:r.NumberSquareZeroIcon,NumberThree:r.NumberThree,NumberThreeIcon:r.NumberThreeIcon,NumberTwo:r.NumberTwo,NumberTwoIcon:r.NumberTwoIcon,NumberZero:r.NumberZero,NumberZeroIcon:r.NumberZeroIcon,Numpad:r.Numpad,NumpadIcon:r.NumpadIcon,Nut:r.Nut,NutIcon:r.NutIcon,NyTimesLogo:r.NyTimesLogo,NyTimesLogoIcon:r.NyTimesLogoIcon,Octagon:r.Octagon,OctagonIcon:r.OctagonIcon,OfficeChair:r.OfficeChair,OfficeChairIcon:r.OfficeChairIcon,Onigiri:r.Onigiri,OnigiriIcon:r.OnigiriIcon,OpenAiLogo:r.OpenAiLogo,OpenAiLogoIcon:r.OpenAiLogoIcon,Option:r.Option,OptionIcon:r.OptionIcon,Orange:r.Orange,OrangeIcon:r.OrangeIcon,OrangeSlice:r.OrangeSlice,OrangeSliceIcon:r.OrangeSliceIcon,Oven:r.Oven,OvenIcon:r.OvenIcon,Package:r.Package,PackageIcon:r.PackageIcon,PaintBrush:r.PaintBrush,PaintBrushBroad:r.PaintBrushBroad,PaintBrushBroadIcon:r.PaintBrushBroadIcon,PaintBrushHousehold:r.PaintBrushHousehold,PaintBrushHouseholdIcon:r.PaintBrushHouseholdIcon,PaintBrushIcon:r.PaintBrushIcon,PaintBucket:r.PaintBucket,PaintBucketIcon:r.PaintBucketIcon,PaintRoller:r.PaintRoller,PaintRollerIcon:r.PaintRollerIcon,Palette:r.Palette,PaletteIcon:r.PaletteIcon,Panorama:r.Panorama,PanoramaIcon:r.PanoramaIcon,Pants:r.Pants,PantsIcon:r.PantsIcon,PaperPlane:r.PaperPlane,PaperPlaneIcon:r.PaperPlaneIcon,PaperPlaneRight:r.PaperPlaneRight,PaperPlaneRightIcon:r.PaperPlaneRightIcon,PaperPlaneTilt:r.PaperPlaneTilt,PaperPlaneTiltIcon:r.PaperPlaneTiltIcon,Paperclip:r.Paperclip,PaperclipHorizontal:r.PaperclipHorizontal,PaperclipHorizontalIcon:r.PaperclipHorizontalIcon,PaperclipIcon:r.PaperclipIcon,Parachute:r.Parachute,ParachuteIcon:r.ParachuteIcon,Paragraph:r.Paragraph,ParagraphIcon:r.ParagraphIcon,Parallelogram:r.Parallelogram,ParallelogramIcon:r.ParallelogramIcon,Park:r.Park,ParkIcon:r.ParkIcon,Password:r.Password,PasswordIcon:r.PasswordIcon,Path:r.Path,PathIcon:r.PathIcon,PatreonLogo:r.PatreonLogo,PatreonLogoIcon:r.PatreonLogoIcon,Pause:r.Pause,PauseCircle:r.PauseCircle,PauseCircleIcon:r.PauseCircleIcon,PauseIcon:r.PauseIcon,PawPrint:r.PawPrint,PawPrintIcon:r.PawPrintIcon,PaypalLogo:r.PaypalLogo,PaypalLogoIcon:r.PaypalLogoIcon,Peace:r.Peace,PeaceIcon:r.PeaceIcon,Pen:r.Pen,PenIcon:r.PenIcon,PenNib:r.PenNib,PenNibIcon:r.PenNibIcon,PenNibStraight:r.PenNibStraight,PenNibStraightIcon:r.PenNibStraightIcon,Pencil:r.Pencil,PencilCircle:r.PencilCircle,PencilCircleIcon:r.PencilCircleIcon,PencilIcon:r.PencilIcon,PencilLine:r.PencilLine,PencilLineIcon:r.PencilLineIcon,PencilRuler:r.PencilRuler,PencilRulerIcon:r.PencilRulerIcon,PencilSimple:r.PencilSimple,PencilSimpleIcon:r.PencilSimpleIcon,PencilSimpleLine:r.PencilSimpleLine,PencilSimpleLineIcon:r.PencilSimpleLineIcon,PencilSimpleSlash:r.PencilSimpleSlash,PencilSimpleSlashIcon:r.PencilSimpleSlashIcon,PencilSlash:r.PencilSlash,PencilSlashIcon:r.PencilSlashIcon,Pentagon:r.Pentagon,PentagonIcon:r.PentagonIcon,Pentagram:r.Pentagram,PentagramIcon:r.PentagramIcon,Pepper:r.Pepper,PepperIcon:r.PepperIcon,Percent:r.Percent,PercentIcon:r.PercentIcon,Person:r.Person,PersonArmsSpread:r.PersonArmsSpread,PersonArmsSpreadIcon:r.PersonArmsSpreadIcon,PersonIcon:r.PersonIcon,PersonSimple:r.PersonSimple,PersonSimpleBike:r.PersonSimpleBike,PersonSimpleBikeIcon:r.PersonSimpleBikeIcon,PersonSimpleCircle:r.PersonSimpleCircle,PersonSimpleCircleIcon:r.PersonSimpleCircleIcon,PersonSimpleHike:r.PersonSimpleHike,PersonSimpleHikeIcon:r.PersonSimpleHikeIcon,PersonSimpleIcon:r.PersonSimpleIcon,PersonSimpleRun:r.PersonSimpleRun,PersonSimpleRunIcon:r.PersonSimpleRunIcon,PersonSimpleSki:r.PersonSimpleSki,PersonSimpleSkiIcon:r.PersonSimpleSkiIcon,PersonSimpleSnowboard:r.PersonSimpleSnowboard,PersonSimpleSnowboardIcon:r.PersonSimpleSnowboardIcon,PersonSimpleSwim:r.PersonSimpleSwim,PersonSimpleSwimIcon:r.PersonSimpleSwimIcon,PersonSimpleTaiChi:r.PersonSimpleTaiChi,PersonSimpleTaiChiIcon:r.PersonSimpleTaiChiIcon,PersonSimpleThrow:r.PersonSimpleThrow,PersonSimpleThrowIcon:r.PersonSimpleThrowIcon,PersonSimpleWalk:r.PersonSimpleWalk,PersonSimpleWalkIcon:r.PersonSimpleWalkIcon,Perspective:r.Perspective,PerspectiveIcon:r.PerspectiveIcon,Phone:r.Phone,PhoneCall:r.PhoneCall,PhoneCallIcon:r.PhoneCallIcon,PhoneDisconnect:r.PhoneDisconnect,PhoneDisconnectIcon:r.PhoneDisconnectIcon,PhoneIcon:r.PhoneIcon,PhoneIncoming:r.PhoneIncoming,PhoneIncomingIcon:r.PhoneIncomingIcon,PhoneList:r.PhoneList,PhoneListIcon:r.PhoneListIcon,PhoneOutgoing:r.PhoneOutgoing,PhoneOutgoingIcon:r.PhoneOutgoingIcon,PhonePause:r.PhonePause,PhonePauseIcon:r.PhonePauseIcon,PhonePlus:r.PhonePlus,PhonePlusIcon:r.PhonePlusIcon,PhoneSlash:r.PhoneSlash,PhoneSlashIcon:r.PhoneSlashIcon,PhoneTransfer:r.PhoneTransfer,PhoneTransferIcon:r.PhoneTransferIcon,PhoneX:r.PhoneX,PhoneXIcon:r.PhoneXIcon,PhosphorLogo:r.PhosphorLogo,PhosphorLogoIcon:r.PhosphorLogoIcon,Pi:r.Pi,PiIcon:r.PiIcon,PianoKeys:r.PianoKeys,PianoKeysIcon:r.PianoKeysIcon,PicnicTable:r.PicnicTable,PicnicTableIcon:r.PicnicTableIcon,PictureInPicture:r.PictureInPicture,PictureInPictureIcon:r.PictureInPictureIcon,PiggyBank:r.PiggyBank,PiggyBankIcon:r.PiggyBankIcon,Pill:r.Pill,PillIcon:r.PillIcon,PingPong:r.PingPong,PingPongIcon:r.PingPongIcon,PintGlass:r.PintGlass,PintGlassIcon:r.PintGlassIcon,PinterestLogo:r.PinterestLogo,PinterestLogoIcon:r.PinterestLogoIcon,Pinwheel:r.Pinwheel,PinwheelIcon:r.PinwheelIcon,Pipe:r.Pipe,PipeIcon:r.PipeIcon,PipeWrench:r.PipeWrench,PipeWrenchIcon:r.PipeWrenchIcon,PixLogo:r.PixLogo,PixLogoIcon:r.PixLogoIcon,Pizza:r.Pizza,PizzaIcon:r.PizzaIcon,Placeholder:r.Placeholder,PlaceholderIcon:r.PlaceholderIcon,Planet:r.Planet,PlanetIcon:r.PlanetIcon,Plant:r.Plant,PlantIcon:r.PlantIcon,Play:r.Play,PlayCircle:r.PlayCircle,PlayCircleIcon:r.PlayCircleIcon,PlayIcon:r.PlayIcon,PlayPause:r.PlayPause,PlayPauseIcon:r.PlayPauseIcon,Playlist:r.Playlist,PlaylistIcon:r.PlaylistIcon,Plug:r.Plug,PlugCharging:r.PlugCharging,PlugChargingIcon:r.PlugChargingIcon,PlugIcon:r.PlugIcon,Plugs:r.Plugs,PlugsConnected:r.PlugsConnected,PlugsConnectedIcon:r.PlugsConnectedIcon,PlugsIcon:r.PlugsIcon,Plus:r.Plus,PlusCircle:r.PlusCircle,PlusCircleIcon:r.PlusCircleIcon,PlusIcon:r.PlusIcon,PlusMinus:r.PlusMinus,PlusMinusIcon:r.PlusMinusIcon,PlusSquare:r.PlusSquare,PlusSquareIcon:r.PlusSquareIcon,PokerChip:r.PokerChip,PokerChipIcon:r.PokerChipIcon,PoliceCar:r.PoliceCar,PoliceCarIcon:r.PoliceCarIcon,Polygon:r.Polygon,PolygonIcon:r.PolygonIcon,Popcorn:r.Popcorn,PopcornIcon:r.PopcornIcon,Popsicle:r.Popsicle,PopsicleIcon:r.PopsicleIcon,PottedPlant:r.PottedPlant,PottedPlantIcon:r.PottedPlantIcon,Power:r.Power,PowerIcon:r.PowerIcon,Prescription:r.Prescription,PrescriptionIcon:r.PrescriptionIcon,Presentation:r.Presentation,PresentationChart:r.PresentationChart,PresentationChartIcon:r.PresentationChartIcon,PresentationIcon:r.PresentationIcon,Printer:r.Printer,PrinterIcon:r.PrinterIcon,Prohibit:r.Prohibit,ProhibitIcon:r.ProhibitIcon,ProhibitInset:r.ProhibitInset,ProhibitInsetIcon:r.ProhibitInsetIcon,ProjectorScreen:r.ProjectorScreen,ProjectorScreenChart:r.ProjectorScreenChart,ProjectorScreenChartIcon:r.ProjectorScreenChartIcon,ProjectorScreenIcon:r.ProjectorScreenIcon,Pulse:r.Pulse,PulseIcon:r.PulseIcon,PushPin:r.PushPin,PushPinIcon:r.PushPinIcon,PushPinSimple:r.PushPinSimple,PushPinSimpleIcon:r.PushPinSimpleIcon,PushPinSimpleSlash:r.PushPinSimpleSlash,PushPinSimpleSlashIcon:r.PushPinSimpleSlashIcon,PushPinSlash:r.PushPinSlash,PushPinSlashIcon:r.PushPinSlashIcon,PuzzlePiece:r.PuzzlePiece,PuzzlePieceIcon:r.PuzzlePieceIcon,QrCode:r.QrCode,QrCodeIcon:r.QrCodeIcon,Question:r.Question,QuestionIcon:r.QuestionIcon,QuestionMark:r.QuestionMark,QuestionMarkIcon:r.QuestionMarkIcon,Queue:r.Queue,QueueIcon:r.QueueIcon,Quotes:r.Quotes,QuotesIcon:r.QuotesIcon,Rabbit:r.Rabbit,RabbitIcon:r.RabbitIcon,Racquet:r.Racquet,RacquetIcon:r.RacquetIcon,Radical:r.Radical,RadicalIcon:r.RadicalIcon,Radio:r.Radio,RadioButton:r.RadioButton,RadioButtonIcon:r.RadioButtonIcon,RadioIcon:r.RadioIcon,Radioactive:r.Radioactive,RadioactiveIcon:r.RadioactiveIcon,Rainbow:r.Rainbow,RainbowCloud:r.RainbowCloud,RainbowCloudIcon:r.RainbowCloudIcon,RainbowIcon:r.RainbowIcon,Ranking:r.Ranking,RankingIcon:r.RankingIcon,ReadCvLogo:r.ReadCvLogo,ReadCvLogoIcon:r.ReadCvLogoIcon,Receipt:r.Receipt,ReceiptIcon:r.ReceiptIcon,ReceiptX:r.ReceiptX,ReceiptXIcon:r.ReceiptXIcon,Record:r.Record,RecordIcon:r.RecordIcon,Rectangle:r.Rectangle,RectangleDashed:r.RectangleDashed,RectangleDashedIcon:r.RectangleDashedIcon,RectangleIcon:r.RectangleIcon,Recycle:r.Recycle,RecycleIcon:r.RecycleIcon,RedditLogo:r.RedditLogo,RedditLogoIcon:r.RedditLogoIcon,Repeat:r.Repeat,RepeatIcon:r.RepeatIcon,RepeatOnce:r.RepeatOnce,RepeatOnceIcon:r.RepeatOnceIcon,ReplitLogo:r.ReplitLogo,ReplitLogoIcon:r.ReplitLogoIcon,Resize:r.Resize,ResizeIcon:r.ResizeIcon,Rewind:r.Rewind,RewindCircle:r.RewindCircle,RewindCircleIcon:r.RewindCircleIcon,RewindIcon:r.RewindIcon,RoadHorizon:r.RoadHorizon,RoadHorizonIcon:r.RoadHorizonIcon,Robot:r.Robot,RobotIcon:r.RobotIcon,Rocket:r.Rocket,RocketIcon:r.RocketIcon,RocketLaunch:r.RocketLaunch,RocketLaunchIcon:r.RocketLaunchIcon,Rows:r.Rows,RowsIcon:r.RowsIcon,RowsPlusBottom:r.RowsPlusBottom,RowsPlusBottomIcon:r.RowsPlusBottomIcon,RowsPlusTop:r.RowsPlusTop,RowsPlusTopIcon:r.RowsPlusTopIcon,Rss:r.Rss,RssIcon:r.RssIcon,RssSimple:r.RssSimple,RssSimpleIcon:r.RssSimpleIcon,Rug:r.Rug,RugIcon:r.RugIcon,Ruler:r.Ruler,RulerIcon:r.RulerIcon,Sailboat:r.Sailboat,SailboatIcon:r.SailboatIcon,Scales:r.Scales,ScalesIcon:r.ScalesIcon,Scan:r.Scan,ScanIcon:r.ScanIcon,ScanSmiley:r.ScanSmiley,ScanSmileyIcon:r.ScanSmileyIcon,Scissors:r.Scissors,ScissorsIcon:r.ScissorsIcon,Scooter:r.Scooter,ScooterIcon:r.ScooterIcon,Screencast:r.Screencast,ScreencastIcon:r.ScreencastIcon,Screwdriver:r.Screwdriver,ScrewdriverIcon:r.ScrewdriverIcon,Scribble:r.Scribble,ScribbleIcon:r.ScribbleIcon,ScribbleLoop:r.ScribbleLoop,ScribbleLoopIcon:r.ScribbleLoopIcon,Scroll:r.Scroll,ScrollIcon:r.ScrollIcon,Seal:r.Seal,SealCheck:r.SealCheck,SealCheckIcon:r.SealCheckIcon,SealIcon:r.SealIcon,SealPercent:r.SealPercent,SealPercentIcon:r.SealPercentIcon,SealQuestion:r.SealQuestion,SealQuestionIcon:r.SealQuestionIcon,SealWarning:r.SealWarning,SealWarningIcon:r.SealWarningIcon,Seat:r.Seat,SeatIcon:r.SeatIcon,Seatbelt:r.Seatbelt,SeatbeltIcon:r.SeatbeltIcon,SecurityCamera:r.SecurityCamera,SecurityCameraIcon:r.SecurityCameraIcon,Selection:r.Selection,SelectionAll:r.SelectionAll,SelectionAllIcon:r.SelectionAllIcon,SelectionBackground:r.SelectionBackground,SelectionBackgroundIcon:r.SelectionBackgroundIcon,SelectionForeground:r.SelectionForeground,SelectionForegroundIcon:r.SelectionForegroundIcon,SelectionIcon:r.SelectionIcon,SelectionInverse:r.SelectionInverse,SelectionInverseIcon:r.SelectionInverseIcon,SelectionPlus:r.SelectionPlus,SelectionPlusIcon:r.SelectionPlusIcon,SelectionSlash:r.SelectionSlash,SelectionSlashIcon:r.SelectionSlashIcon,Shapes:r.Shapes,ShapesIcon:r.ShapesIcon,Share:r.Share,ShareFat:r.ShareFat,ShareFatIcon:r.ShareFatIcon,ShareIcon:r.ShareIcon,ShareNetwork:r.ShareNetwork,ShareNetworkIcon:r.ShareNetworkIcon,Shield:r.Shield,ShieldCheck:r.ShieldCheck,ShieldCheckIcon:r.ShieldCheckIcon,ShieldCheckered:r.ShieldCheckered,ShieldCheckeredIcon:r.ShieldCheckeredIcon,ShieldChevron:r.ShieldChevron,ShieldChevronIcon:r.ShieldChevronIcon,ShieldIcon:r.ShieldIcon,ShieldPlus:r.ShieldPlus,ShieldPlusIcon:r.ShieldPlusIcon,ShieldSlash:r.ShieldSlash,ShieldSlashIcon:r.ShieldSlashIcon,ShieldStar:r.ShieldStar,ShieldStarIcon:r.ShieldStarIcon,ShieldWarning:r.ShieldWarning,ShieldWarningIcon:r.ShieldWarningIcon,ShippingContainer:r.ShippingContainer,ShippingContainerIcon:r.ShippingContainerIcon,ShirtFolded:r.ShirtFolded,ShirtFoldedIcon:r.ShirtFoldedIcon,ShootingStar:r.ShootingStar,ShootingStarIcon:r.ShootingStarIcon,ShoppingBag:r.ShoppingBag,ShoppingBagIcon:r.ShoppingBagIcon,ShoppingBagOpen:r.ShoppingBagOpen,ShoppingBagOpenIcon:r.ShoppingBagOpenIcon,ShoppingCart:r.ShoppingCart,ShoppingCartIcon:r.ShoppingCartIcon,ShoppingCartSimple:r.ShoppingCartSimple,ShoppingCartSimpleIcon:r.ShoppingCartSimpleIcon,Shovel:r.Shovel,ShovelIcon:r.ShovelIcon,Shower:r.Shower,ShowerIcon:r.ShowerIcon,Shrimp:r.Shrimp,ShrimpIcon:r.ShrimpIcon,Shuffle:r.Shuffle,ShuffleAngular:r.ShuffleAngular,ShuffleAngularIcon:r.ShuffleAngularIcon,ShuffleIcon:r.ShuffleIcon,ShuffleSimple:r.ShuffleSimple,ShuffleSimpleIcon:r.ShuffleSimpleIcon,Sidebar:r.Sidebar,SidebarIcon:r.SidebarIcon,SidebarSimple:r.SidebarSimple,SidebarSimpleIcon:r.SidebarSimpleIcon,Sigma:r.Sigma,SigmaIcon:r.SigmaIcon,SignIn:r.SignIn,SignInIcon:r.SignInIcon,SignOut:r.SignOut,SignOutIcon:r.SignOutIcon,Signature:r.Signature,SignatureIcon:r.SignatureIcon,Signpost:r.Signpost,SignpostIcon:r.SignpostIcon,SimCard:r.SimCard,SimCardIcon:r.SimCardIcon,Siren:r.Siren,SirenIcon:r.SirenIcon,SketchLogo:r.SketchLogo,SketchLogoIcon:r.SketchLogoIcon,SkipBack:r.SkipBack,SkipBackCircle:r.SkipBackCircle,SkipBackCircleIcon:r.SkipBackCircleIcon,SkipBackIcon:r.SkipBackIcon,SkipForward:r.SkipForward,SkipForwardCircle:r.SkipForwardCircle,SkipForwardCircleIcon:r.SkipForwardCircleIcon,SkipForwardIcon:r.SkipForwardIcon,Skull:r.Skull,SkullIcon:r.SkullIcon,SkypeLogo:r.SkypeLogo,SkypeLogoIcon:r.SkypeLogoIcon,SlackLogo:r.SlackLogo,SlackLogoIcon:r.SlackLogoIcon,Sliders:r.Sliders,SlidersHorizontal:r.SlidersHorizontal,SlidersHorizontalIcon:r.SlidersHorizontalIcon,SlidersIcon:r.SlidersIcon,Slideshow:r.Slideshow,SlideshowIcon:r.SlideshowIcon,Smiley:r.Smiley,SmileyAngry:r.SmileyAngry,SmileyAngryIcon:r.SmileyAngryIcon,SmileyBlank:r.SmileyBlank,SmileyBlankIcon:r.SmileyBlankIcon,SmileyIcon:r.SmileyIcon,SmileyMeh:r.SmileyMeh,SmileyMehIcon:r.SmileyMehIcon,SmileyMelting:r.SmileyMelting,SmileyMeltingIcon:r.SmileyMeltingIcon,SmileyNervous:r.SmileyNervous,SmileyNervousIcon:r.SmileyNervousIcon,SmileySad:r.SmileySad,SmileySadIcon:r.SmileySadIcon,SmileySticker:r.SmileySticker,SmileyStickerIcon:r.SmileyStickerIcon,SmileyWink:r.SmileyWink,SmileyWinkIcon:r.SmileyWinkIcon,SmileyXEyes:r.SmileyXEyes,SmileyXEyesIcon:r.SmileyXEyesIcon,SnapchatLogo:r.SnapchatLogo,SnapchatLogoIcon:r.SnapchatLogoIcon,Sneaker:r.Sneaker,SneakerIcon:r.SneakerIcon,SneakerMove:r.SneakerMove,SneakerMoveIcon:r.SneakerMoveIcon,Snowflake:r.Snowflake,SnowflakeIcon:r.SnowflakeIcon,SoccerBall:r.SoccerBall,SoccerBallIcon:r.SoccerBallIcon,Sock:r.Sock,SockIcon:r.SockIcon,SolarPanel:r.SolarPanel,SolarPanelIcon:r.SolarPanelIcon,SolarRoof:r.SolarRoof,SolarRoofIcon:r.SolarRoofIcon,SortAscending:r.SortAscending,SortAscendingIcon:r.SortAscendingIcon,SortDescending:r.SortDescending,SortDescendingIcon:r.SortDescendingIcon,SoundcloudLogo:r.SoundcloudLogo,SoundcloudLogoIcon:r.SoundcloudLogoIcon,Spade:r.Spade,SpadeIcon:r.SpadeIcon,Sparkle:r.Sparkle,SparkleIcon:r.SparkleIcon,SpeakerHifi:r.SpeakerHifi,SpeakerHifiIcon:r.SpeakerHifiIcon,SpeakerHigh:r.SpeakerHigh,SpeakerHighIcon:r.SpeakerHighIcon,SpeakerLow:r.SpeakerLow,SpeakerLowIcon:r.SpeakerLowIcon,SpeakerNone:r.SpeakerNone,SpeakerNoneIcon:r.SpeakerNoneIcon,SpeakerSimpleHigh:r.SpeakerSimpleHigh,SpeakerSimpleHighIcon:r.SpeakerSimpleHighIcon,SpeakerSimpleLow:r.SpeakerSimpleLow,SpeakerSimpleLowIcon:r.SpeakerSimpleLowIcon,SpeakerSimpleNone:r.SpeakerSimpleNone,SpeakerSimpleNoneIcon:r.SpeakerSimpleNoneIcon,SpeakerSimpleSlash:r.SpeakerSimpleSlash,SpeakerSimpleSlashIcon:r.SpeakerSimpleSlashIcon,SpeakerSimpleX:r.SpeakerSimpleX,SpeakerSimpleXIcon:r.SpeakerSimpleXIcon,SpeakerSlash:r.SpeakerSlash,SpeakerSlashIcon:r.SpeakerSlashIcon,SpeakerX:r.SpeakerX,SpeakerXIcon:r.SpeakerXIcon,Speedometer:r.Speedometer,SpeedometerIcon:r.SpeedometerIcon,Sphere:r.Sphere,SphereIcon:r.SphereIcon,Spinner:r.Spinner,SpinnerBall:r.SpinnerBall,SpinnerBallIcon:r.SpinnerBallIcon,SpinnerGap:r.SpinnerGap,SpinnerGapIcon:r.SpinnerGapIcon,SpinnerIcon:r.SpinnerIcon,Spiral:r.Spiral,SpiralIcon:r.SpiralIcon,SplitHorizontal:r.SplitHorizontal,SplitHorizontalIcon:r.SplitHorizontalIcon,SplitVertical:r.SplitVertical,SplitVerticalIcon:r.SplitVerticalIcon,SpotifyLogo:r.SpotifyLogo,SpotifyLogoIcon:r.SpotifyLogoIcon,SprayBottle:r.SprayBottle,SprayBottleIcon:r.SprayBottleIcon,Square:r.Square,SquareHalf:r.SquareHalf,SquareHalfBottom:r.SquareHalfBottom,SquareHalfBottomIcon:r.SquareHalfBottomIcon,SquareHalfIcon:r.SquareHalfIcon,SquareIcon:r.SquareIcon,SquareLogo:r.SquareLogo,SquareLogoIcon:r.SquareLogoIcon,SquareSplitHorizontal:r.SquareSplitHorizontal,SquareSplitHorizontalIcon:r.SquareSplitHorizontalIcon,SquareSplitVertical:r.SquareSplitVertical,SquareSplitVerticalIcon:r.SquareSplitVerticalIcon,SquaresFour:r.SquaresFour,SquaresFourIcon:r.SquaresFourIcon,Stack:r.Stack,StackIcon:r.StackIcon,StackMinus:r.StackMinus,StackMinusIcon:r.StackMinusIcon,StackOverflowLogo:r.StackOverflowLogo,StackOverflowLogoIcon:r.StackOverflowLogoIcon,StackPlus:r.StackPlus,StackPlusIcon:r.StackPlusIcon,StackSimple:r.StackSimple,StackSimpleIcon:r.StackSimpleIcon,Stairs:r.Stairs,StairsIcon:r.StairsIcon,Stamp:r.Stamp,StampIcon:r.StampIcon,StandardDefinition:r.StandardDefinition,StandardDefinitionIcon:r.StandardDefinitionIcon,Star:r.Star,StarAndCrescent:r.StarAndCrescent,StarAndCrescentIcon:r.StarAndCrescentIcon,StarFour:r.StarFour,StarFourIcon:r.StarFourIcon,StarHalf:r.StarHalf,StarHalfIcon:r.StarHalfIcon,StarIcon:r.StarIcon,StarOfDavid:r.StarOfDavid,StarOfDavidIcon:r.StarOfDavidIcon,SteamLogo:r.SteamLogo,SteamLogoIcon:r.SteamLogoIcon,SteeringWheel:r.SteeringWheel,SteeringWheelIcon:r.SteeringWheelIcon,Steps:r.Steps,StepsIcon:r.StepsIcon,Stethoscope:r.Stethoscope,StethoscopeIcon:r.StethoscopeIcon,Sticker:r.Sticker,StickerIcon:r.StickerIcon,Stool:r.Stool,StoolIcon:r.StoolIcon,Stop:r.Stop,StopCircle:r.StopCircle,StopCircleIcon:r.StopCircleIcon,StopIcon:r.StopIcon,Storefront:r.Storefront,StorefrontIcon:r.StorefrontIcon,Strategy:r.Strategy,StrategyIcon:r.StrategyIcon,StripeLogo:r.StripeLogo,StripeLogoIcon:r.StripeLogoIcon,Student:r.Student,StudentIcon:r.StudentIcon,SubsetOf:r.SubsetOf,SubsetOfIcon:r.SubsetOfIcon,SubsetProperOf:r.SubsetProperOf,SubsetProperOfIcon:r.SubsetProperOfIcon,Subtitles:r.Subtitles,SubtitlesIcon:r.SubtitlesIcon,SubtitlesSlash:r.SubtitlesSlash,SubtitlesSlashIcon:r.SubtitlesSlashIcon,Subtract:r.Subtract,SubtractIcon:r.SubtractIcon,SubtractSquare:r.SubtractSquare,SubtractSquareIcon:r.SubtractSquareIcon,Subway:r.Subway,SubwayIcon:r.SubwayIcon,Suitcase:r.Suitcase,SuitcaseIcon:r.SuitcaseIcon,SuitcaseRolling:r.SuitcaseRolling,SuitcaseRollingIcon:r.SuitcaseRollingIcon,SuitcaseSimple:r.SuitcaseSimple,SuitcaseSimpleIcon:r.SuitcaseSimpleIcon,Sun:r.Sun,SunDim:r.SunDim,SunDimIcon:r.SunDimIcon,SunHorizon:r.SunHorizon,SunHorizonIcon:r.SunHorizonIcon,SunIcon:r.SunIcon,Sunglasses:r.Sunglasses,SunglassesIcon:r.SunglassesIcon,SupersetOf:r.SupersetOf,SupersetOfIcon:r.SupersetOfIcon,SupersetProperOf:r.SupersetProperOf,SupersetProperOfIcon:r.SupersetProperOfIcon,Swap:r.Swap,SwapIcon:r.SwapIcon,Swatches:r.Swatches,SwatchesIcon:r.SwatchesIcon,SwimmingPool:r.SwimmingPool,SwimmingPoolIcon:r.SwimmingPoolIcon,Sword:r.Sword,SwordIcon:r.SwordIcon,Synagogue:r.Synagogue,SynagogueIcon:r.SynagogueIcon,Syringe:r.Syringe,SyringeIcon:r.SyringeIcon,TShirt:r.TShirt,TShirtIcon:r.TShirtIcon,Table:r.Table,TableIcon:r.TableIcon,Tabs:r.Tabs,TabsIcon:r.TabsIcon,Tag:r.Tag,TagChevron:r.TagChevron,TagChevronIcon:r.TagChevronIcon,TagIcon:r.TagIcon,TagSimple:r.TagSimple,TagSimpleIcon:r.TagSimpleIcon,Target:r.Target,TargetIcon:r.TargetIcon,Taxi:r.Taxi,TaxiIcon:r.TaxiIcon,TeaBag:r.TeaBag,TeaBagIcon:r.TeaBagIcon,TelegramLogo:r.TelegramLogo,TelegramLogoIcon:r.TelegramLogoIcon,Television:r.Television,TelevisionIcon:r.TelevisionIcon,TelevisionSimple:r.TelevisionSimple,TelevisionSimpleIcon:r.TelevisionSimpleIcon,TennisBall:r.TennisBall,TennisBallIcon:r.TennisBallIcon,Tent:r.Tent,TentIcon:r.TentIcon,Terminal:r.Terminal,TerminalIcon:r.TerminalIcon,TerminalWindow:r.TerminalWindow,TerminalWindowIcon:r.TerminalWindowIcon,TestTube:r.TestTube,TestTubeIcon:r.TestTubeIcon,TextAUnderline:r.TextAUnderline,TextAUnderlineIcon:r.TextAUnderlineIcon,TextAa:r.TextAa,TextAaIcon:r.TextAaIcon,TextAlignCenter:r.TextAlignCenter,TextAlignCenterIcon:r.TextAlignCenterIcon,TextAlignJustify:r.TextAlignJustify,TextAlignJustifyIcon:r.TextAlignJustifyIcon,TextAlignLeft:r.TextAlignLeft,TextAlignLeftIcon:r.TextAlignLeftIcon,TextAlignRight:r.TextAlignRight,TextAlignRightIcon:r.TextAlignRightIcon,TextB:r.TextB,TextBIcon:r.TextBIcon,TextBolderIcon:r.TextBolderIcon,TextColumns:r.TextColumns,TextColumnsIcon:r.TextColumnsIcon,TextH:r.TextH,TextHFive:r.TextHFive,TextHFiveIcon:r.TextHFiveIcon,TextHFour:r.TextHFour,TextHFourIcon:r.TextHFourIcon,TextHIcon:r.TextHIcon,TextHOne:r.TextHOne,TextHOneIcon:r.TextHOneIcon,TextHSix:r.TextHSix,TextHSixIcon:r.TextHSixIcon,TextHThree:r.TextHThree,TextHThreeIcon:r.TextHThreeIcon,TextHTwo:r.TextHTwo,TextHTwoIcon:r.TextHTwoIcon,TextIndent:r.TextIndent,TextIndentIcon:r.TextIndentIcon,TextItalic:r.TextItalic,TextItalicIcon:r.TextItalicIcon,TextOutdent:r.TextOutdent,TextOutdentIcon:r.TextOutdentIcon,TextStrikethrough:r.TextStrikethrough,TextStrikethroughIcon:r.TextStrikethroughIcon,TextSubscript:r.TextSubscript,TextSubscriptIcon:r.TextSubscriptIcon,TextSuperscript:r.TextSuperscript,TextSuperscriptIcon:r.TextSuperscriptIcon,TextT:r.TextT,TextTIcon:r.TextTIcon,TextTSlash:r.TextTSlash,TextTSlashIcon:r.TextTSlashIcon,TextUnderline:r.TextUnderline,TextUnderlineIcon:r.TextUnderlineIcon,Textbox:r.Textbox,TextboxIcon:r.TextboxIcon,Thermometer:r.Thermometer,ThermometerCold:r.ThermometerCold,ThermometerColdIcon:r.ThermometerColdIcon,ThermometerHot:r.ThermometerHot,ThermometerHotIcon:r.ThermometerHotIcon,ThermometerIcon:r.ThermometerIcon,ThermometerSimple:r.ThermometerSimple,ThermometerSimpleIcon:r.ThermometerSimpleIcon,ThreadsLogo:r.ThreadsLogo,ThreadsLogoIcon:r.ThreadsLogoIcon,ThreeD:r.ThreeD,ThreeDIcon:r.ThreeDIcon,ThumbsDown:r.ThumbsDown,ThumbsDownIcon:r.ThumbsDownIcon,ThumbsUp:r.ThumbsUp,ThumbsUpIcon:r.ThumbsUpIcon,Ticket:r.Ticket,TicketIcon:r.TicketIcon,TidalLogo:r.TidalLogo,TidalLogoIcon:r.TidalLogoIcon,TiktokLogo:r.TiktokLogo,TiktokLogoIcon:r.TiktokLogoIcon,Tilde:r.Tilde,TildeIcon:r.TildeIcon,Timer:r.Timer,TimerIcon:r.TimerIcon,TipJar:r.TipJar,TipJarIcon:r.TipJarIcon,Tipi:r.Tipi,TipiIcon:r.TipiIcon,Tire:r.Tire,TireIcon:r.TireIcon,ToggleLeft:r.ToggleLeft,ToggleLeftIcon:r.ToggleLeftIcon,ToggleRight:r.ToggleRight,ToggleRightIcon:r.ToggleRightIcon,Toilet:r.Toilet,ToiletIcon:r.ToiletIcon,ToiletPaper:r.ToiletPaper,ToiletPaperIcon:r.ToiletPaperIcon,Toolbox:r.Toolbox,ToolboxIcon:r.ToolboxIcon,Tooth:r.Tooth,ToothIcon:r.ToothIcon,Tornado:r.Tornado,TornadoIcon:r.TornadoIcon,Tote:r.Tote,ToteIcon:r.ToteIcon,ToteSimple:r.ToteSimple,ToteSimpleIcon:r.ToteSimpleIcon,Towel:r.Towel,TowelIcon:r.TowelIcon,Tractor:r.Tractor,TractorIcon:r.TractorIcon,Trademark:r.Trademark,TrademarkIcon:r.TrademarkIcon,TrademarkRegistered:r.TrademarkRegistered,TrademarkRegisteredIcon:r.TrademarkRegisteredIcon,TrafficCone:r.TrafficCone,TrafficConeIcon:r.TrafficConeIcon,TrafficSign:r.TrafficSign,TrafficSignIcon:r.TrafficSignIcon,TrafficSignal:r.TrafficSignal,TrafficSignalIcon:r.TrafficSignalIcon,Train:r.Train,TrainIcon:r.TrainIcon,TrainRegional:r.TrainRegional,TrainRegionalIcon:r.TrainRegionalIcon,TrainSimple:r.TrainSimple,TrainSimpleIcon:r.TrainSimpleIcon,Tram:r.Tram,TramIcon:r.TramIcon,Translate:r.Translate,TranslateIcon:r.TranslateIcon,Trash:r.Trash,TrashIcon:r.TrashIcon,TrashSimple:r.TrashSimple,TrashSimpleIcon:r.TrashSimpleIcon,Tray:r.Tray,TrayArrowDown:r.TrayArrowDown,TrayArrowDownIcon:r.TrayArrowDownIcon,TrayArrowUp:r.TrayArrowUp,TrayArrowUpIcon:r.TrayArrowUpIcon,TrayIcon:r.TrayIcon,TreasureChest:r.TreasureChest,TreasureChestIcon:r.TreasureChestIcon,Tree:r.Tree,TreeEvergreen:r.TreeEvergreen,TreeEvergreenIcon:r.TreeEvergreenIcon,TreeIcon:r.TreeIcon,TreePalm:r.TreePalm,TreePalmIcon:r.TreePalmIcon,TreeStructure:r.TreeStructure,TreeStructureIcon:r.TreeStructureIcon,TreeView:r.TreeView,TreeViewIcon:r.TreeViewIcon,TrendDown:r.TrendDown,TrendDownIcon:r.TrendDownIcon,TrendUp:r.TrendUp,TrendUpIcon:r.TrendUpIcon,Triangle:r.Triangle,TriangleDashed:r.TriangleDashed,TriangleDashedIcon:r.TriangleDashedIcon,TriangleIcon:r.TriangleIcon,Trolley:r.Trolley,TrolleyIcon:r.TrolleyIcon,TrolleySuitcase:r.TrolleySuitcase,TrolleySuitcaseIcon:r.TrolleySuitcaseIcon,Trophy:r.Trophy,TrophyIcon:r.TrophyIcon,Truck:r.Truck,TruckIcon:r.TruckIcon,TruckTrailer:r.TruckTrailer,TruckTrailerIcon:r.TruckTrailerIcon,TumblrLogo:r.TumblrLogo,TumblrLogoIcon:r.TumblrLogoIcon,TwitchLogo:r.TwitchLogo,TwitchLogoIcon:r.TwitchLogoIcon,TwitterLogo:r.TwitterLogo,TwitterLogoIcon:r.TwitterLogoIcon,Umbrella:r.Umbrella,UmbrellaIcon:r.UmbrellaIcon,UmbrellaSimple:r.UmbrellaSimple,UmbrellaSimpleIcon:r.UmbrellaSimpleIcon,Union:r.Union,UnionIcon:r.UnionIcon,Unite:r.Unite,UniteIcon:r.UniteIcon,UniteSquare:r.UniteSquare,UniteSquareIcon:r.UniteSquareIcon,Upload:r.Upload,UploadIcon:r.UploadIcon,UploadSimple:r.UploadSimple,UploadSimpleIcon:r.UploadSimpleIcon,Usb:r.Usb,UsbIcon:r.UsbIcon,User:r.User,UserCheck:r.UserCheck,UserCheckIcon:r.UserCheckIcon,UserCircle:r.UserCircle,UserCircleCheck:r.UserCircleCheck,UserCircleCheckIcon:r.UserCircleCheckIcon,UserCircleDashed:r.UserCircleDashed,UserCircleDashedIcon:r.UserCircleDashedIcon,UserCircleGear:r.UserCircleGear,UserCircleGearIcon:r.UserCircleGearIcon,UserCircleIcon:r.UserCircleIcon,UserCircleMinus:r.UserCircleMinus,UserCircleMinusIcon:r.UserCircleMinusIcon,UserCirclePlus:r.UserCirclePlus,UserCirclePlusIcon:r.UserCirclePlusIcon,UserFocus:r.UserFocus,UserFocusIcon:r.UserFocusIcon,UserGear:r.UserGear,UserGearIcon:r.UserGearIcon,UserIcon:r.UserIcon,UserList:r.UserList,UserListIcon:r.UserListIcon,UserMinus:r.UserMinus,UserMinusIcon:r.UserMinusIcon,UserPlus:r.UserPlus,UserPlusIcon:r.UserPlusIcon,UserRectangle:r.UserRectangle,UserRectangleIcon:r.UserRectangleIcon,UserSound:r.UserSound,UserSoundIcon:r.UserSoundIcon,UserSquare:r.UserSquare,UserSquareIcon:r.UserSquareIcon,UserSwitch:r.UserSwitch,UserSwitchIcon:r.UserSwitchIcon,Users:r.Users,UsersFour:r.UsersFour,UsersFourIcon:r.UsersFourIcon,UsersIcon:r.UsersIcon,UsersThree:r.UsersThree,UsersThreeIcon:r.UsersThreeIcon,Van:r.Van,VanIcon:r.VanIcon,Vault:r.Vault,VaultIcon:r.VaultIcon,VectorThree:r.VectorThree,VectorThreeIcon:r.VectorThreeIcon,VectorTwo:r.VectorTwo,VectorTwoIcon:r.VectorTwoIcon,Vibrate:r.Vibrate,VibrateIcon:r.VibrateIcon,Video:r.Video,VideoCamera:r.VideoCamera,VideoCameraIcon:r.VideoCameraIcon,VideoCameraSlash:r.VideoCameraSlash,VideoCameraSlashIcon:r.VideoCameraSlashIcon,VideoConference:r.VideoConference,VideoConferenceIcon:r.VideoConferenceIcon,VideoIcon:r.VideoIcon,Vignette:r.Vignette,VignetteIcon:r.VignetteIcon,VinylRecord:r.VinylRecord,VinylRecordIcon:r.VinylRecordIcon,VirtualReality:r.VirtualReality,VirtualRealityIcon:r.VirtualRealityIcon,Virus:r.Virus,VirusIcon:r.VirusIcon,Visor:r.Visor,VisorIcon:r.VisorIcon,Voicemail:r.Voicemail,VoicemailIcon:r.VoicemailIcon,Volleyball:r.Volleyball,VolleyballIcon:r.VolleyballIcon,Wall:r.Wall,WallIcon:r.WallIcon,Wallet:r.Wallet,WalletIcon:r.WalletIcon,Warehouse:r.Warehouse,WarehouseIcon:r.WarehouseIcon,Warning:r.Warning,WarningCircle:r.WarningCircle,WarningCircleIcon:r.WarningCircleIcon,WarningDiamond:r.WarningDiamond,WarningDiamondIcon:r.WarningDiamondIcon,WarningIcon:r.WarningIcon,WarningOctagon:r.WarningOctagon,WarningOctagonIcon:r.WarningOctagonIcon,WashingMachine:r.WashingMachine,WashingMachineIcon:r.WashingMachineIcon,Watch:r.Watch,WatchIcon:r.WatchIcon,WaveSawtooth:r.WaveSawtooth,WaveSawtoothIcon:r.WaveSawtoothIcon,WaveSine:r.WaveSine,WaveSineIcon:r.WaveSineIcon,WaveSquare:r.WaveSquare,WaveSquareIcon:r.WaveSquareIcon,WaveTriangle:r.WaveTriangle,WaveTriangleIcon:r.WaveTriangleIcon,Waveform:r.Waveform,WaveformIcon:r.WaveformIcon,WaveformSlash:r.WaveformSlash,WaveformSlashIcon:r.WaveformSlashIcon,Waves:r.Waves,WavesIcon:r.WavesIcon,Webcam:r.Webcam,WebcamIcon:r.WebcamIcon,WebcamSlash:r.WebcamSlash,WebcamSlashIcon:r.WebcamSlashIcon,WebhooksLogo:r.WebhooksLogo,WebhooksLogoIcon:r.WebhooksLogoIcon,WechatLogo:r.WechatLogo,WechatLogoIcon:r.WechatLogoIcon,WhatsappLogo:r.WhatsappLogo,WhatsappLogoIcon:r.WhatsappLogoIcon,Wheelchair:r.Wheelchair,WheelchairIcon:r.WheelchairIcon,WheelchairMotion:r.WheelchairMotion,WheelchairMotionIcon:r.WheelchairMotionIcon,WifiHigh:r.WifiHigh,WifiHighIcon:r.WifiHighIcon,WifiLow:r.WifiLow,WifiLowIcon:r.WifiLowIcon,WifiMedium:r.WifiMedium,WifiMediumIcon:r.WifiMediumIcon,WifiNone:r.WifiNone,WifiNoneIcon:r.WifiNoneIcon,WifiSlash:r.WifiSlash,WifiSlashIcon:r.WifiSlashIcon,WifiX:r.WifiX,WifiXIcon:r.WifiXIcon,Wind:r.Wind,WindIcon:r.WindIcon,Windmill:r.Windmill,WindmillIcon:r.WindmillIcon,WindowsLogo:r.WindowsLogo,WindowsLogoIcon:r.WindowsLogoIcon,Wine:r.Wine,WineIcon:r.WineIcon,Wrench:r.Wrench,WrenchIcon:r.WrenchIcon,X:r.X,XCircle:r.XCircle,XCircleIcon:r.XCircleIcon,XIcon:r.XIcon,XLogo:r.XLogo,XLogoIcon:r.XLogoIcon,XSquare:r.XSquare,XSquareIcon:r.XSquareIcon,Yarn:r.Yarn,YarnIcon:r.YarnIcon,YinYang:r.YinYang,YinYangIcon:r.YinYangIcon,YoutubeLogo:r.YoutubeLogo,YoutubeLogoIcon:r.YoutubeLogoIcon},Symbol.toStringTag,{value:"Module"})),ie=({name:e,fill:t="currentColor",hoverable:n=!1,onClick:o,className:i,width:a=24,height:s=24,style:l={}})=>{const c=R5[e];return c?d.jsx(D5,{children:d.jsx(c,{fill:t,style:{"--icon-fill":t,...l},className:ge(Kd.icon,i,{[Kd.hoverable]:n}),onClick:o,width:a,height:s})}):null};class D5 extends _.Component{constructor(){super(...arguments);Ei(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}}const O5="_wrapper_mmfra_1",M5="_active_mmfra_27",B5="_toggle_mmfra_30",F5="_background_mmfra_42",H5="_padding_mmfra_46",Ir={wrapper:O5,switch:"_switch_mmfra_14",active:M5,toggle:B5,background:F5,padding:H5},vr=e=>{const{onChange:t,style:n,current:o,label:i,hasBackground:a=!1,paddingless:s=!0}=e,[l,c]=_.useState(o),u=()=>{c(h=>!h),t==null||t(!l)};return _.useEffect(()=>{c(o)},[o]),d.jsx(d.Fragment,{children:i?d.jsxs("div",{className:ge(Ir.wrapper,{[Ir.background]:a,[Ir.padding]:!s}),children:[d.jsx("div",{className:ge(Ir.switch,{[Ir.active]:l}),onClick:u,style:n,children:d.jsx("div",{className:Ir.toggle})}),d.jsx("span",{className:Ir.value,children:i})]}):d.jsx("div",{className:ge(Ir.switch,{[Ir.active]:l}),onClick:u,style:n,children:d.jsx("div",{className:Ir.toggle})})})},j5="_wrapper_1gk74_2",U5="_label_1gk74_9",V5="_top_1gk74_17",z5="_select_1gk74_23",$5="_borderFocused_1gk74_42",W5="_input_1gk74_49",q5="_icon_1gk74_59",G5="_rotate_1gk74_64",Y5="_content_1gk74_68",Z5="_options_1gk74_72",X5="_filteredOptions_1gk74_93",K5="_open_1gk74_97",Q5="_option_1gk74_72",J5="_focused_1gk74_115",e4="_addon_1gk74_119",t4="_value_1gk74_130",n4="_postfix_1gk74_134",r4="_leftAddon_1gk74_138",Kt={wrapper:j5,label:U5,top:V5,select:z5,borderFocused:$5,input:W5,icon:q5,rotate:G5,content:Y5,options:Z5,filteredOptions:X5,open:K5,option:Q5,focused:J5,addon:e4,value:t4,postfix:n4,leftAddon:r4};function jr(e){return Array.isArray?Array.isArray(e):np(e)==="[object Array]"}function o4(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function i4(e){return e==null?"":o4(e)}function xr(e){return typeof e=="string"}function ep(e){return typeof e=="number"}function a4(e){return e===!0||e===!1||s4(e)&&np(e)=="[object Boolean]"}function tp(e){return typeof e=="object"}function s4(e){return tp(e)&&e!==null}function Vn(e){return e!=null}function Nl(e){return!e.trim().length}function np(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const l4="Incorrect 'index' type",c4=e=>`Invalid value for key ${e}`,u4=e=>`Pattern length exceeds max of ${e}.`,d4=e=>`Missing ${e} property in key`,h4=e=>`Property 'weight' in key '${e}' must be a positive integer`,Qd=Object.prototype.hasOwnProperty;class f4{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(o=>{let i=rp(o);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(o=>{o.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function rp(e){let t=null,n=null,o=null,i=1,a=null;if(xr(e)||jr(e))o=e,t=Jd(e),n=_c(e);else{if(!Qd.call(e,"name"))throw new Error(d4("name"));const s=e.name;if(o=s,Qd.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(h4(s));t=Jd(s),n=_c(s),a=e.getFn}return{path:t,id:n,weight:i,src:o,getFn:a}}function Jd(e){return jr(e)?e:e.split(".")}function _c(e){return jr(e)?e.join("."):e}function p4(e,t){let n=[],o=!1;const i=(a,s,l)=>{if(Vn(a))if(!s[l])n.push(a);else{let c=s[l];const u=a[c];if(!Vn(u))return;if(l===s.length-1&&(xr(u)||ep(u)||a4(u)))n.push(i4(u));else if(jr(u)){o=!0;for(let h=0,f=u.length;h<f;h+=1)i(u[h],s,l+1)}else s.length&&i(u,s,l+1)}};return i(e,xr(t)?t.split("."):t,0),o?n:n[0]}const m4={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},g4={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},I4={location:0,threshold:.6,distance:100},C4={useExtendedSearch:!1,getFn:p4,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var De={...g4,...m4,...I4,...C4};const b4=/[^ ]+/g;function S4(e=1,t=3){const n=new Map,o=Math.pow(10,t);return{get(i){const a=i.match(b4).length;if(n.has(a))return n.get(a);const s=1/Math.pow(a,.5*e),l=parseFloat(Math.round(s*o)/o);return n.set(a,l),l},clear(){n.clear()}}}class ku{constructor({getFn:t=De.getFn,fieldNormWeight:n=De.fieldNormWeight}={}){this.norm=S4(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,o)=>{this._keysMap[n.id]=o})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,xr(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();xr(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,o=this.size();n<o;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Vn(t)||Nl(t))return;let o={v:t,i:n,n:this.norm.get(t)};this.records.push(o)}_addObject(t,n){let o={i:n,$:{}};this.keys.forEach((i,a)=>{let s=i.getFn?i.getFn(t):this.getFn(t,i.path);if(Vn(s)){if(jr(s)){let l=[];const c=[{nestedArrIndex:-1,value:s}];for(;c.length;){const{nestedArrIndex:u,value:h}=c.pop();if(Vn(h))if(xr(h)&&!Nl(h)){let f={v:h,i:u,n:this.norm.get(h)};l.push(f)}else jr(h)&&h.forEach((f,g)=>{c.push({nestedArrIndex:g,value:f})})}o.$[a]=l}else if(xr(s)&&!Nl(s)){let l={v:s,n:this.norm.get(s)};o.$[a]=l}}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function op(e,t,{getFn:n=De.getFn,fieldNormWeight:o=De.fieldNormWeight}={}){const i=new ku({getFn:n,fieldNormWeight:o});return i.setKeys(e.map(rp)),i.setSources(t),i.create(),i}function y4(e,{getFn:t=De.getFn,fieldNormWeight:n=De.fieldNormWeight}={}){const{keys:o,records:i}=e,a=new ku({getFn:t,fieldNormWeight:n});return a.setKeys(o),a.setIndexRecords(i),a}function $a(e,{errors:t=0,currentLocation:n=0,expectedLocation:o=0,distance:i=De.distance,ignoreLocation:a=De.ignoreLocation}={}){const s=t/e.length;if(a)return s;const l=Math.abs(o-n);return i?s+l/i:l?1:s}function E4(e=[],t=De.minMatchCharLength){let n=[],o=-1,i=-1,a=0;for(let s=e.length;a<s;a+=1){let l=e[a];l&&o===-1?o=a:!l&&o!==-1&&(i=a-1,i-o+1>=t&&n.push([o,i]),o=-1)}return e[a-1]&&a-o>=t&&n.push([o,a-1]),n}const yo=32;function T4(e,t,n,{location:o=De.location,distance:i=De.distance,threshold:a=De.threshold,findAllMatches:s=De.findAllMatches,minMatchCharLength:l=De.minMatchCharLength,includeMatches:c=De.includeMatches,ignoreLocation:u=De.ignoreLocation}={}){if(t.length>yo)throw new Error(u4(yo));const h=t.length,f=e.length,g=Math.max(0,Math.min(o,f));let m=a,C=g;const I=l>1||c,b=I?Array(f):[];let S;for(;(S=e.indexOf(t,C))>-1;){let E=$a(t,{currentLocation:S,expectedLocation:g,distance:i,ignoreLocation:u});if(m=Math.min(E,m),C=S+h,I){let M=0;for(;M<h;)b[S+M]=1,M+=1}}C=-1;let y=[],T=1,k=h+f;const A=1<<h-1;for(let E=0;E<h;E+=1){let M=0,B=k;for(;M<B;)$a(t,{errors:E,currentLocation:g+B,expectedLocation:g,distance:i,ignoreLocation:u})<=m?M=B:k=B,B=Math.floor((k-M)/2+M);k=B;let w=Math.max(1,g-B+1),V=s?f:Math.min(g+B,f)+h,H=Array(V+2);H[V+1]=(1<<E)-1;for(let W=V;W>=w;W-=1){let se=W-1,Ce=n[e.charAt(se)];if(I&&(b[se]=+!!Ce),H[W]=(H[W+1]<<1|1)&Ce,E&&(H[W]|=(y[W+1]|y[W])<<1|1|y[W+1]),H[W]&A&&(T=$a(t,{errors:E,currentLocation:se,expectedLocation:g,distance:i,ignoreLocation:u}),T<=m)){if(m=T,C=se,C<=g)break;w=Math.max(1,2*g-C)}}if($a(t,{errors:E+1,currentLocation:g,expectedLocation:g,distance:i,ignoreLocation:u})>m)break;y=H}const P={isMatch:C>=0,score:Math.max(.001,T)};if(I){const E=E4(b,l);E.length?c&&(P.indices=E):P.isMatch=!1}return P}function x4(e){let t={};for(let n=0,o=e.length;n<o;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<o-n-1}return t}const Ls=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class ip{constructor(t,{location:n=De.location,threshold:o=De.threshold,distance:i=De.distance,includeMatches:a=De.includeMatches,findAllMatches:s=De.findAllMatches,minMatchCharLength:l=De.minMatchCharLength,isCaseSensitive:c=De.isCaseSensitive,ignoreDiacritics:u=De.ignoreDiacritics,ignoreLocation:h=De.ignoreLocation}={}){if(this.options={location:n,threshold:o,distance:i,includeMatches:a,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:u,ignoreLocation:h},t=c?t:t.toLowerCase(),t=u?Ls(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const f=(m,C)=>{this.chunks.push({pattern:m,alphabet:x4(m),startIndex:C})},g=this.pattern.length;if(g>yo){let m=0;const C=g%yo,I=g-C;for(;m<I;)f(this.pattern.substr(m,yo),m),m+=yo;if(C){const b=g-yo;f(this.pattern.substr(b),b)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:o,includeMatches:i}=this.options;if(t=n?t:t.toLowerCase(),t=o?Ls(t):t,this.pattern===t){let I={isMatch:!0,score:0};return i&&(I.indices=[[0,t.length-1]]),I}const{location:a,distance:s,threshold:l,findAllMatches:c,minMatchCharLength:u,ignoreLocation:h}=this.options;let f=[],g=0,m=!1;this.chunks.forEach(({pattern:I,alphabet:b,startIndex:S})=>{const{isMatch:y,score:T,indices:k}=T4(t,I,b,{location:a+S,distance:s,threshold:l,findAllMatches:c,minMatchCharLength:u,includeMatches:i,ignoreLocation:h});y&&(m=!0),g+=T,y&&k&&(f=[...f,...k])});let C={isMatch:m,score:m?g/this.chunks.length:1};return m&&i&&(C.indices=f),C}}class co{constructor(t){this.pattern=t}static isMultiMatch(t){return e1(t,this.multiRegex)}static isSingleMatch(t){return e1(t,this.singleRegex)}search(){}}function e1(e,t){const n=e.match(t);return n?n[1]:null}class _4 extends co{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class w4 extends co{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const o=t.indexOf(this.pattern)===-1;return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}}class v4 extends co{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class A4 extends co{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class k4 extends co{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class L4 extends co{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class ap extends co{constructor(t,{location:n=De.location,threshold:o=De.threshold,distance:i=De.distance,includeMatches:a=De.includeMatches,findAllMatches:s=De.findAllMatches,minMatchCharLength:l=De.minMatchCharLength,isCaseSensitive:c=De.isCaseSensitive,ignoreDiacritics:u=De.ignoreDiacritics,ignoreLocation:h=De.ignoreLocation}={}){super(t),this._bitapSearch=new ip(t,{location:n,threshold:o,distance:i,includeMatches:a,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:u,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class sp extends co{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,o;const i=[],a=this.pattern.length;for(;(o=t.indexOf(this.pattern,n))>-1;)n=o+a,i.push([o,n-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const wc=[_4,sp,v4,A4,L4,k4,w4,ap],t1=wc.length,N4=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,P4="|";function R4(e,t={}){return e.split(P4).map(n=>{let o=n.trim().split(N4).filter(a=>a&&!!a.trim()),i=[];for(let a=0,s=o.length;a<s;a+=1){const l=o[a];let c=!1,u=-1;for(;!c&&++u<t1;){const h=wc[u];let f=h.isMultiMatch(l);f&&(i.push(new h(f,t)),c=!0)}if(!c)for(u=-1;++u<t1;){const h=wc[u];let f=h.isSingleMatch(l);if(f){i.push(new h(f,t));break}}}return i})}const D4=new Set([ap.type,sp.type]);class O4{constructor(t,{isCaseSensitive:n=De.isCaseSensitive,ignoreDiacritics:o=De.ignoreDiacritics,includeMatches:i=De.includeMatches,minMatchCharLength:a=De.minMatchCharLength,ignoreLocation:s=De.ignoreLocation,findAllMatches:l=De.findAllMatches,location:c=De.location,threshold:u=De.threshold,distance:h=De.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:o,includeMatches:i,minMatchCharLength:a,findAllMatches:l,ignoreLocation:s,location:c,threshold:u,distance:h},t=n?t:t.toLowerCase(),t=o?Ls(t):t,this.pattern=t,this.query=R4(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:o,isCaseSensitive:i,ignoreDiacritics:a}=this.options;t=i?t:t.toLowerCase(),t=a?Ls(t):t;let s=0,l=[],c=0;for(let u=0,h=n.length;u<h;u+=1){const f=n[u];l.length=0,s=0;for(let g=0,m=f.length;g<m;g+=1){const C=f[g],{isMatch:I,indices:b,score:S}=C.search(t);if(I){if(s+=1,c+=S,o){const y=C.constructor.type;D4.has(y)?l=[...l,...b]:l.push(b)}}else{c=0,s=0,l.length=0;break}}if(s){let g={isMatch:!0,score:c/s};return o&&(g.indices=l),g}}return{isMatch:!1,score:1}}}const vc=[];function M4(...e){vc.push(...e)}function Ac(e,t){for(let n=0,o=vc.length;n<o;n+=1){let i=vc[n];if(i.condition(e,t))return new i(e,t)}return new ip(e,t)}const Ns={AND:"$and",OR:"$or"},kc={PATH:"$path",PATTERN:"$val"},Lc=e=>!!(e[Ns.AND]||e[Ns.OR]),B4=e=>!!e[kc.PATH],F4=e=>!jr(e)&&tp(e)&&!Lc(e),n1=e=>({[Ns.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function lp(e,t,{auto:n=!0}={}){const o=i=>{let a=Object.keys(i);const s=B4(i);if(!s&&a.length>1&&!Lc(i))return o(n1(i));if(F4(i)){const c=s?i[kc.PATH]:a[0],u=s?i[kc.PATTERN]:i[c];if(!xr(u))throw new Error(c4(c));const h={keyId:_c(c),pattern:u};return n&&(h.searcher=Ac(u,t)),h}let l={children:[],operator:a[0]};return a.forEach(c=>{const u=i[c];jr(u)&&u.forEach(h=>{l.children.push(o(h))})}),l};return Lc(e)||(e=n1(e)),o(e)}function H4(e,{ignoreFieldNorm:t=De.ignoreFieldNorm}){e.forEach(n=>{let o=1;n.matches.forEach(({key:i,norm:a,score:s})=>{const l=i?i.weight:null;o*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(t?1:a))}),n.score=o})}function j4(e,t){const n=e.matches;t.matches=[],Vn(n)&&n.forEach(o=>{if(!Vn(o.indices)||!o.indices.length)return;const{indices:i,value:a}=o;let s={indices:i,value:a};o.key&&(s.key=o.key.src),o.idx>-1&&(s.refIndex=o.idx),t.matches.push(s)})}function U4(e,t){t.score=e.score}function V4(e,t,{includeMatches:n=De.includeMatches,includeScore:o=De.includeScore}={}){const i=[];return n&&i.push(j4),o&&i.push(U4),e.map(a=>{const{idx:s}=a,l={item:t[s],refIndex:s};return i.length&&i.forEach(c=>{c(a,l)}),l})}class Wr{constructor(t,n={},o){this.options={...De,...n},this.options.useExtendedSearch,this._keyStore=new f4(this.options.keys),this.setCollection(t,o)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof ku))throw new Error(l4);this._myIndex=n||op(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Vn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let o=0,i=this._docs.length;o<i;o+=1){const a=this._docs[o];t(a,o)&&(this.removeAt(o),o-=1,i-=1,n.push(a))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:o,includeScore:i,shouldSort:a,sortFn:s,ignoreFieldNorm:l}=this.options;let c=xr(t)?xr(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return H4(c,{ignoreFieldNorm:l}),a&&c.sort(s),ep(n)&&n>-1&&(c=c.slice(0,n)),V4(c,this._docs,{includeMatches:o,includeScore:i})}_searchStringList(t){const n=Ac(t,this.options),{records:o}=this._myIndex,i=[];return o.forEach(({v:a,i:s,n:l})=>{if(!Vn(a))return;const{isMatch:c,score:u,indices:h}=n.searchIn(a);c&&i.push({item:a,idx:s,matches:[{score:u,value:a,norm:l,indices:h}]})}),i}_searchLogical(t){const n=lp(t,this.options),o=(l,c,u)=>{if(!l.children){const{keyId:f,searcher:g}=l,m=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(c,f),searcher:g});return m&&m.length?[{idx:u,item:c,matches:m}]:[]}const h=[];for(let f=0,g=l.children.length;f<g;f+=1){const m=l.children[f],C=o(m,c,u);if(C.length)h.push(...C);else if(l.operator===Ns.AND)return[]}return h},i=this._myIndex.records,a={},s=[];return i.forEach(({$:l,i:c})=>{if(Vn(l)){let u=o(n,l,c);u.length&&(a[c]||(a[c]={idx:c,item:l,matches:[]},s.push(a[c])),u.forEach(({matches:h})=>{a[c].matches.push(...h)}))}}),s}_searchObjectList(t){const n=Ac(t,this.options),{keys:o,records:i}=this._myIndex,a=[];return i.forEach(({$:s,i:l})=>{if(!Vn(s))return;let c=[];o.forEach((u,h)=>{c.push(...this._findMatches({key:u,value:s[h],searcher:n}))}),c.length&&a.push({idx:l,item:s,matches:c})}),a}_findMatches({key:t,value:n,searcher:o}){if(!Vn(n))return[];let i=[];if(jr(n))n.forEach(({v:a,i:s,n:l})=>{if(!Vn(a))return;const{isMatch:c,score:u,indices:h}=o.searchIn(a);c&&i.push({score:u,key:t,value:a,idx:s,norm:l,indices:h})});else{const{v:a,n:s}=n,{isMatch:l,score:c,indices:u}=o.searchIn(a);l&&i.push({score:c,key:t,value:a,norm:s,indices:u})}return i}}Wr.version="7.1.0";Wr.createIndex=op;Wr.parseIndex=y4;Wr.config=De;Wr.parseQuery=lp;M4(O4);const z4="_wrapper_187gl_1",$4="_label_187gl_9",W4="_input_187gl_17",q4="_required_187gl_47",G4="_paddingless_187gl_54",Y4="_content_187gl_58",Z4="_borderless_187gl_66",X4="_rightIcon_187gl_77",K4="_inputPostfix_187gl_83",Rr={wrapper:z4,label:$4,input:W4,required:q4,paddingless:G4,content:Y4,borderless:Z4,rightIcon:X4,inputPostfix:K4},nr=e=>{const{onChange:t,style:n,label:o,value:i,type:a,min:s,max:l,placeholder:c,disabled:u=!1,required:h=!1,regex:f,paddingless:g=!1,borderless:m=!1,editable:C=!1,isSearch:I=!1,postfix:b,id:S=o}=e,[y,T]=_.useState(!1);function k(P){return Number(P)<0?String(s):P}function A(P){return!h||!f?!0:new RegExp(f).test(P)}return d.jsxs("div",{className:Rr.wrapper,children:[o&&d.jsx("label",{className:Rr.label,htmlFor:o,children:o}),d.jsxs("div",{className:Rr.content,children:[d.jsx("input",{id:S,type:a||"text",onChange:P=>{if(P.stopPropagation(),a==="text")t(P.target.value);else{const E=k(P.target.value);t(E)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(Rr.input,{[Rr.required]:y&&h&&!A(i),[Rr.paddingless]:g,[Rr.borderless]:m}),min:a==="number"?s:void 0,max:a==="number"?l:void 0,disabled:u,onFocus:()=>{m||T(!0)},style:n}),b&&d.jsx("span",{className:Rr.inputPostfix,children:b}),I&&d.jsx("div",{className:Rr.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:20,height:20})}),C&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})};function si(e,t){_.useEffect(()=>{function n(o){!e.current||e.current.contains(o.target)||t(o)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const ao=e=>{var H,X;const{onChange:t,label:n,value:o,options:i,style:a,switcher:s,postfixs:l,leftAddonOptions:c}=e,[u,h]=_.useState(!1),[f,g]=_.useState(""),[m,C]=_.useState(null),[I,b]=_.useState(!1),S=_.useRef(null),y=_.useRef(null),T=_.useRef(null);si(S,()=>h(!1));function k(W){g(""),t(W),h(!1),C(null)}function A(W,se){if(!W)return"";if(!y.current){const Le=document.createElement("div");Le.style.position="absolute",Le.style.visibility="hidden",Le.style.whiteSpace="nowrap",Le.style.fontSize=window.getComputedStyle(document.body).fontSize,document.body.appendChild(Le),y.current=Le}y.current.textContent=W;const Ce=y.current.offsetWidth;if(Ce<=se)return W;let be=W,ve=Ce;for(;ve>se&&be.length>0;)be=be.slice(0,-1),y.current.textContent=be+"...",ve=y.current.offsetWidth;if(be.length<=3&&W.length>3){const Le=W.split(" ")[0];if(y.current.textContent=Le,y.current.offsetWidth<=se)return Le}return be+"..."}function P(W){if(!u){(W.key==="Enter"||W.key==="ArrowDown")&&h(!0);return}const se=B;W.key==="ArrowDown"&&(W.preventDefault(),C(Ce=>Ce===null||Ce===se.length-1?0:Ce+1)),W.key==="ArrowUp"&&(W.preventDefault(),C(Ce=>Ce===null||Ce===0?se.length-1:Ce-1)),W.key==="Enter"&&m!==null&&(W.preventDefault(),k(se[m])),W.key==="Escape"&&h(!1)}const E=_.useRef(null),M=_.useMemo(()=>new Wr(i,{threshold:.4,minMatchCharLength:1}),[i]),B=_.useMemo(()=>I&&f.trim()!==""?M.search(f).map(W=>W.item):i,[f,i,I,M]),w=()=>T.current?T.current.clientWidth:100,V=()=>{if(!E.current)return 100;const W=E.current.clientWidth,se=c&&c.length>0?60:0;return W-se};return d.jsxs("div",{className:Kt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Kt.top,children:[d.jsx("label",{className:Kt.label,htmlFor:n,children:n}),s&&d.jsx(vr,{current:s.value,onChange:s.onChange})]}),d.jsxs("label",{className:Kt.content,ref:S,children:[d.jsxs("div",{className:ge(Kt.select,{[Kt.borderFocused]:u}),onKeyDown:P,onClick:W=>{W.stopPropagation(),h(se=>!se),b(!1)},ref:E,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:Kt.addon,children:(H=c.find(W=>W.value===o))==null?void 0:H.addon}),d.jsx("div",{className:Kt.input,ref:T,children:A(o,w())}),d.jsx("div",{className:ge(Kt.icon,{[Kt.rotate]:u}),onClick:W=>{W.stopPropagation(),h(se=>!se)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Kt.options,{[Kt.open]:u}),style:{top:((X=E.current)==null?void 0:X.clientHeight)+10},children:[i.length>6&&d.jsx(nr,{type:"text",value:f,placeholder:"Search...",onChange:W=>{g(W),b(!0)},isSearch:!0}),d.jsxs("div",{className:Kt.filteredOptions,children:[B.map((W,se)=>{var Ce;return d.jsxs("div",{className:ge(Kt.option,{[Kt.focused]:se===m}),onClick:()=>{k(W),h(!1)},children:[c&&c.length>0&&d.jsx("div",{className:Kt.leftAddon,children:(Ce=c.find(be=>be.value===W))==null?void 0:Ce.addon}),d.jsx("span",{className:Kt.value,children:A(W,V())}),l&&d.jsx("span",{className:Kt.postfix,children:l[se]})]},W)}),B.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})};function Nc(){return Nc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nc.apply(null,arguments)}function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pc(e,t){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Pc(e,t)}function Q4(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pc(e,t)}var o1=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function J4(e,t){return!!(e===t||o1(e)&&o1(t))}function e6(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!J4(e[n],t[n]))return!1;return!0}function Pl(e,t){t===void 0&&(t=e6);var n,o=[],i,a=!1;function s(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return a&&n===this&&t(l,o)||(i=e.apply(this,l),a=!0,n=this,o=l),i}return s}var t6=typeof performance=="object"&&typeof performance.now=="function",i1=t6?function(){return performance.now()}:function(){return Date.now()};function a1(e){cancelAnimationFrame(e.id)}function n6(e,t){var n=i1();function o(){i1()-n>=t?e.call(null):i.id=requestAnimationFrame(o)}var i={id:requestAnimationFrame(o)};return i}var Rl=-1;function s1(e){if(e===void 0&&(e=!1),Rl===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Rl=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Rl}var Vo=null;function l1(e){if(e===void 0&&(e=!1),Vo===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var o=document.createElement("div"),i=o.style;return i.width="100px",i.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?Vo="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Vo="negative":Vo="positive-ascending"),document.body.removeChild(t),Vo}return Vo}process.env.NODE_ENV;var r6=150,o6=function(t,n){return t},fs=null,ps=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(fs=new WeakSet,ps=new WeakSet);function i6(e){var t,n=e.getItemOffset,o=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,s=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(f){Q4(g,f);function g(C){var I;return I=f.call(this,C)||this,I._instanceProps=c(I.props,r1(I)),I._outerRef=void 0,I._resetIsScrollingTimeoutId=null,I.state={instance:r1(I),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof I.props.initialScrollOffset=="number"?I.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},I._callOnItemsRendered=void 0,I._callOnItemsRendered=Pl(function(b,S,y,T){return I.props.onItemsRendered({overscanStartIndex:b,overscanStopIndex:S,visibleStartIndex:y,visibleStopIndex:T})}),I._callOnScroll=void 0,I._callOnScroll=Pl(function(b,S,y){return I.props.onScroll({scrollDirection:b,scrollOffset:S,scrollUpdateWasRequested:y})}),I._getItemStyle=void 0,I._getItemStyle=function(b){var S=I.props,y=S.direction,T=S.itemSize,k=S.layout,A=I._getItemStyleCache(u&&T,u&&k,u&&y),P;if(A.hasOwnProperty(b))P=A[b];else{var E=n(I.props,b,I._instanceProps),M=i(I.props,b,I._instanceProps),B=y==="horizontal"||k==="horizontal",w=y==="rtl",V=B?E:0;A[b]=P={position:"absolute",left:w?void 0:V,right:w?V:void 0,top:B?0:E,height:B?"100%":M,width:B?M:"100%"}}return P},I._getItemStyleCache=void 0,I._getItemStyleCache=Pl(function(b,S,y){return{}}),I._onScrollHorizontal=function(b){var S=b.currentTarget,y=S.clientWidth,T=S.scrollLeft,k=S.scrollWidth;I.setState(function(A){if(A.scrollOffset===T)return null;var P=I.props.direction,E=T;if(P==="rtl")switch(l1()){case"negative":E=-T;break;case"positive-descending":E=k-y-T;break}return E=Math.max(0,Math.min(E,k-y)),{isScrolling:!0,scrollDirection:A.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},I._resetIsScrollingDebounced)},I._onScrollVertical=function(b){var S=b.currentTarget,y=S.clientHeight,T=S.scrollHeight,k=S.scrollTop;I.setState(function(A){if(A.scrollOffset===k)return null;var P=Math.max(0,Math.min(k,T-y));return{isScrolling:!0,scrollDirection:A.scrollOffset<P?"forward":"backward",scrollOffset:P,scrollUpdateWasRequested:!1}},I._resetIsScrollingDebounced)},I._outerRefSetter=function(b){var S=I.props.outerRef;I._outerRef=b,typeof S=="function"?S(b):S!=null&&typeof S=="object"&&S.hasOwnProperty("current")&&(S.current=b)},I._resetIsScrollingDebounced=function(){I._resetIsScrollingTimeoutId!==null&&a1(I._resetIsScrollingTimeoutId),I._resetIsScrollingTimeoutId=n6(I._resetIsScrolling,r6)},I._resetIsScrolling=function(){I._resetIsScrollingTimeoutId=null,I.setState({isScrolling:!1},function(){I._getItemStyleCache(-1,null)})},I}g.getDerivedStateFromProps=function(I,b){return a6(I,b),h(I),null};var m=g.prototype;return m.scrollTo=function(I){I=Math.max(0,I),this.setState(function(b){return b.scrollOffset===I?null:{scrollDirection:b.scrollOffset<I?"forward":"backward",scrollOffset:I,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},m.scrollToItem=function(I,b){b===void 0&&(b="auto");var S=this.props,y=S.itemCount,T=S.layout,k=this.state.scrollOffset;I=Math.max(0,Math.min(I,y-1));var A=0;if(this._outerRef){var P=this._outerRef;T==="vertical"?A=P.scrollWidth>P.clientWidth?s1():0:A=P.scrollHeight>P.clientHeight?s1():0}this.scrollTo(a(this.props,I,b,k,this._instanceProps,A))},m.componentDidMount=function(){var I=this.props,b=I.direction,S=I.initialScrollOffset,y=I.layout;if(typeof S=="number"&&this._outerRef!=null){var T=this._outerRef;b==="horizontal"||y==="horizontal"?T.scrollLeft=S:T.scrollTop=S}this._callPropsCallbacks()},m.componentDidUpdate=function(){var I=this.props,b=I.direction,S=I.layout,y=this.state,T=y.scrollOffset,k=y.scrollUpdateWasRequested;if(k&&this._outerRef!=null){var A=this._outerRef;if(b==="horizontal"||S==="horizontal")if(b==="rtl")switch(l1()){case"negative":A.scrollLeft=-T;break;case"positive-ascending":A.scrollLeft=T;break;default:var P=A.clientWidth,E=A.scrollWidth;A.scrollLeft=E-P-T;break}else A.scrollLeft=T;else A.scrollTop=T}this._callPropsCallbacks()},m.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&a1(this._resetIsScrollingTimeoutId)},m.render=function(){var I=this.props,b=I.children,S=I.className,y=I.direction,T=I.height,k=I.innerRef,A=I.innerElementType,P=I.innerTagName,E=I.itemCount,M=I.itemData,B=I.itemKey,w=B===void 0?o6:B,V=I.layout,H=I.outerElementType,X=I.outerTagName,W=I.style,se=I.useIsScrolling,Ce=I.width,be=this.state.isScrolling,ve=y==="horizontal"||V==="horizontal",Le=ve?this._onScrollHorizontal:this._onScrollVertical,x=this._getRangeToRender(),ne=x[0],pe=x[1],L=[];if(E>0)for(var Z=ne;Z<=pe;Z++)L.push(_.createElement(b,{data:M,key:w(Z,M),index:Z,isScrolling:se?be:void 0,style:this._getItemStyle(Z)}));var le=o(this.props,this._instanceProps);return _.createElement(H||X||"div",{className:S,onScroll:Le,ref:this._outerRefSetter,style:Nc({position:"relative",height:T,width:Ce,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},W)},_.createElement(A||P||"div",{children:L,ref:k,style:{height:ve?"100%":le,pointerEvents:be?"none":void 0,width:ve?le:"100%"}}))},m._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var I=this.props.itemCount;if(I>0){var b=this._getRangeToRender(),S=b[0],y=b[1],T=b[2],k=b[3];this._callOnItemsRendered(S,y,T,k)}}if(typeof this.props.onScroll=="function"){var A=this.state,P=A.scrollDirection,E=A.scrollOffset,M=A.scrollUpdateWasRequested;this._callOnScroll(P,E,M)}},m._getRangeToRender=function(){var I=this.props,b=I.itemCount,S=I.overscanCount,y=this.state,T=y.isScrolling,k=y.scrollDirection,A=y.scrollOffset;if(b===0)return[0,0,0,0];var P=s(this.props,A,this._instanceProps),E=l(this.props,P,A,this._instanceProps),M=!T||k==="backward"?Math.max(1,S):1,B=!T||k==="forward"?Math.max(1,S):1;return[Math.max(0,P-M),Math.max(0,Math.min(b-1,E+B)),P,E]},g}(_.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var a6=function(t,n){var o=t.children,i=t.direction,a=t.height,s=t.layout,l=t.innerTagName,c=t.outerTagName,u=t.width,h=n.instance;if(process.env.NODE_ENV!=="production"){(l!=null||c!=null)&&ps&&!ps.has(h)&&(ps.add(h),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var f=i==="horizontal"||s==="horizontal";switch(i){case"horizontal":case"vertical":fs&&!fs.has(h)&&(fs.add(h),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}switch(s){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+s+'" was specified.'))}if(o==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(o===null?"null":typeof o)+'" was specified.'));if(f&&typeof u!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(u===null?"null":typeof u)+'" was specified.'));if(!f&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},s6=i6({getItemOffset:function(t,n){var o=t.itemSize;return n*o},getItemSize:function(t,n){var o=t.itemSize;return o},getEstimatedTotalSize:function(t){var n=t.itemCount,o=t.itemSize;return o*n},getOffsetForIndexAndAlignment:function(t,n,o,i,a,s){var l=t.direction,c=t.height,u=t.itemCount,h=t.itemSize,f=t.layout,g=t.width,m=l==="horizontal"||f==="horizontal",C=m?g:c,I=Math.max(0,u*h-C),b=Math.min(I,n*h),S=Math.max(0,n*h-C+h+s);switch(o==="smart"&&(i>=S-C&&i<=b+C?o="auto":o="center"),o){case"start":return b;case"end":return S;case"center":{var y=Math.round(S+(b-S)/2);return y<Math.ceil(C/2)?0:y>I+Math.floor(C/2)?I:y}case"auto":default:return i>=S&&i<=b?i:i<S?S:b}},getStartIndexForOffset:function(t,n){var o=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(o-1,Math.floor(n/i)))},getStopIndexForStartIndex:function(t,n,o){var i=t.direction,a=t.height,s=t.itemCount,l=t.itemSize,c=t.layout,u=t.width,h=i==="horizontal"||c==="horizontal",f=n*l,g=h?u:a,m=Math.ceil((g+o-f)/l);return Math.max(0,Math.min(s-1,n+m-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});const l6="_wrapper_1gk74_2",c6="_label_1gk74_9",u6="_top_1gk74_17",d6="_select_1gk74_23",h6="_borderFocused_1gk74_42",f6="_input_1gk74_49",p6="_icon_1gk74_59",m6="_rotate_1gk74_64",g6="_content_1gk74_68",I6="_options_1gk74_72",C6="_filteredOptions_1gk74_93",b6="_open_1gk74_97",S6="_option_1gk74_72",y6="_focused_1gk74_115",E6="_addon_1gk74_119",T6="_value_1gk74_130",x6="_postfix_1gk74_134",_6="_leftAddon_1gk74_138",Qt={wrapper:l6,label:c6,top:u6,select:d6,borderFocused:h6,input:f6,icon:p6,rotate:m6,content:g6,options:I6,filteredOptions:C6,open:b6,option:S6,focused:y6,addon:E6,value:T6,postfix:x6,leftAddon:_6};function w6(e,t){_.useEffect(()=>{function n(o){!e.current||e.current.contains(o.target)||t(o)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const Lu=e=>{var V;const{onChange:t,label:n,value:o,options:i,style:a,switcher:s,postfixs:l,leftAddonOptions:c}=e,[u,h]=_.useState(!1),[f,g]=_.useState(""),[m,C]=_.useState(null),[I,b]=_.useState(!1),S=_.useRef(null);w6(S,()=>h(!1));function y(H){g(""),t(H),h(!1),C(null)}function T(H,X){return H?H.length>X+3?`${H.slice(0,X)}...`:H:""}function k(H){if(!u){(H.key==="Enter"||H.key==="ArrowDown")&&h(!0);return}const X=E;H.key==="ArrowDown"&&(H.preventDefault(),C(W=>W===null||W===X.length-1?0:W+1)),H.key==="ArrowUp"&&(H.preventDefault(),C(W=>W===null||W===0?X.length-1:W-1)),H.key==="Enter"&&m!==null&&(H.preventDefault(),y(X[m])),H.key==="Escape"&&h(!1)}const A=_.useRef(null),P=_.useMemo(()=>new Wr(i,{threshold:.4,minMatchCharLength:2}),[i]),E=_.useMemo(()=>I&&f.trim()!==""?P.search(f).map(H=>H.item):i,[f,i,I,P]),M=_.useMemo(()=>{const H=new Map;return c==null||c.forEach(X=>{H.set(X.value,X.addon)}),H},[c]),B=_.useMemo(()=>{if(!l)return new Map;const H=new Map;if(l.length===i.length)for(let X=0;X<i.length;X++)H.set(i[X],l[X]);return H},[i,l]),w=_.useCallback(({index:H,style:X})=>{const W=E[H];if(!W)return null;const se=m===H,Ce=M.get(W),be=B.get(W);return d.jsxs("div",{className:ge(Qt.option,{[Qt.focused]:se}),style:X,onClick:()=>y(W),children:[Ce&&d.jsx("div",{className:Qt.leftAddon,children:Ce}),d.jsx("span",{className:Qt.value,children:T(W,20)}),be&&d.jsx("span",{className:Qt.postfix,children:be})]},W)},[E,m,M,B]);return d.jsxs("div",{className:Qt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Qt.top,children:[d.jsx("label",{className:Qt.label,htmlFor:n,children:n}),s&&d.jsx(vr,{current:s.value,onChange:s.onChange})]}),d.jsxs("label",{className:Qt.content,ref:S,children:[d.jsxs("div",{className:ge(Qt.select,{[Qt.borderFocused]:u}),onKeyDown:k,onClick:H=>{H.stopPropagation(),h(X=>!X),b(!1)},ref:A,tabIndex:0,children:[c&&d.jsx("div",{className:Qt.addon,children:M.get(o)}),d.jsx("div",{className:Qt.input,children:T(o,15)}),d.jsx("div",{className:ge(Qt.icon,{[Qt.rotate]:u}),onClick:H=>{H.stopPropagation(),h(X=>!X)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Qt.options,{[Qt.open]:u}),style:{top:((V=A.current)==null?void 0:V.clientHeight)+10},children:[i.length>6&&d.jsx(nr,{type:"text",value:f,placeholder:"Search...",onChange:H=>{g(H),b(!0)},isSearch:!0}),d.jsxs("div",{className:Qt.filteredOptions,children:[E.length===0&&d.jsx("div",{children:"No results found."}),E.length>0&&d.jsx(s6,{height:200,itemCount:E.length,itemSize:36,width:"100%",itemKey:H=>E[H]||H,children:w})]})]})]})]})},v6="_wrapper_1yh21_2",A6="_label_1yh21_9",k6="_icon_1yh21_16",L6="_text_1yh21_28",N6="_content_1yh21_37",P6="_modal_1yh21_48",R6="_top_1yh21_56",D6="_title_1yh21_65",O6="_modalContent_1yh21_72",M6="_images_1yh21_81",B6="_add_1yh21_91",F6="_dragging_1yh21_111",H6="_description_1yh21_115",j6="_bottom_1yh21_125",U6="_cancel_1yh21_139",V6="_highlight_1yh21_144",z6="_accent_1yh21_149",$6="_image_1yh21_81",W6="_selected_1yh21_169",q6="_checkbox_1yh21_177",G6="_loading_1yh21_183",Y6="_spinner_1yh21_197",St={wrapper:v6,label:A6,icon:k6,text:L6,content:N6,modal:P6,top:R6,title:D6,modalContent:O6,images:M6,add:B6,dragging:F6,description:H6,bottom:j6,cancel:U6,highlight:V6,accent:z6,image:$6,selected:W6,checkbox:q6,loading:G6,spinner:Y6};function cp(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z6}=Object.prototype,{getPrototypeOf:Nu}=Object,Ks=(e=>t=>{const n=Z6.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>Ks(t)===e),Qs=e=>t=>typeof t===e,{isArray:li}=Array,la=Qs("undefined");function X6(e){return e!==null&&!la(e)&&e.constructor!==null&&!la(e.constructor)&&$n(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const up=pr("ArrayBuffer");function K6(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&up(e.buffer),t}const Q6=Qs("string"),$n=Qs("function"),dp=Qs("number"),Js=e=>e!==null&&typeof e=="object",J6=e=>e===!0||e===!1,ms=e=>{if(Ks(e)!=="object")return!1;const t=Nu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},eI=pr("Date"),tI=pr("File"),nI=pr("Blob"),rI=pr("FileList"),oI=e=>Js(e)&&$n(e.pipe),iI=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$n(e.append)&&((t=Ks(e))==="formdata"||t==="object"&&$n(e.toString)&&e.toString()==="[object FormData]"))},aI=pr("URLSearchParams"),[sI,lI,cI,uI]=["ReadableStream","Request","Response","Headers"].map(pr),dI=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ya(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),li(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(o=0;o<s;o++)l=a[o],t.call(null,e[l],l,e)}}function hp(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fp=e=>!la(e)&&e!==_o;function Rc(){const{caseless:e}=fp(this)&&this||{},t={},n=(o,i)=>{const a=e&&hp(t,i)||i;ms(t[a])&&ms(o)?t[a]=Rc(t[a],o):ms(o)?t[a]=Rc({},o):li(o)?t[a]=o.slice():t[a]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&ya(arguments[o],n);return t}const hI=(e,t,n,{allOwnKeys:o}={})=>(ya(t,(i,a)=>{n&&$n(i)?e[a]=cp(i,n):e[a]=i},{allOwnKeys:o}),e),fI=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pI=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},mI=(e,t,n,o)=>{let i,a,s;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],(!o||o(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Nu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},gI=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},II=e=>{if(!e)return null;if(li(e))return e;let t=e.length;if(!dp(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},CI=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Nu(Uint8Array)),bI=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},SI=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},yI=pr("HTMLFormElement"),EI=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),c1=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),TI=pr("RegExp"),pp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};ya(n,(i,a)=>{let s;(s=t(i,a,e))!==!1&&(o[a]=s||i)}),Object.defineProperties(e,o)},xI=e=>{pp(e,(t,n)=>{if($n(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if($n(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},_I=(e,t)=>{const n={},o=i=>{i.forEach(a=>{n[a]=!0})};return li(e)?o(e):o(String(e).split(t)),n},wI=()=>{},vI=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function AI(e){return!!(e&&$n(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kI=e=>{const t=new Array(10),n=(o,i)=>{if(Js(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const a=li(o)?[]:{};return ya(o,(s,l)=>{const c=n(s,i+1);!la(c)&&(a[l]=c)}),t[i]=void 0,a}}return o};return n(e,0)},LI=pr("AsyncFunction"),NI=e=>e&&(Js(e)||$n(e))&&$n(e.then)&&$n(e.catch),mp=((e,t)=>e?setImmediate:t?((n,o)=>(_o.addEventListener("message",({source:i,data:a})=>{i===_o&&a===n&&o.length&&o.shift()()},!1),i=>{o.push(i),_o.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$n(_o.postMessage)),PI=typeof queueMicrotask<"u"?queueMicrotask.bind(_o):typeof process<"u"&&process.nextTick||mp,Y={isArray:li,isArrayBuffer:up,isBuffer:X6,isFormData:iI,isArrayBufferView:K6,isString:Q6,isNumber:dp,isBoolean:J6,isObject:Js,isPlainObject:ms,isReadableStream:sI,isRequest:lI,isResponse:cI,isHeaders:uI,isUndefined:la,isDate:eI,isFile:tI,isBlob:nI,isRegExp:TI,isFunction:$n,isStream:oI,isURLSearchParams:aI,isTypedArray:CI,isFileList:rI,forEach:ya,merge:Rc,extend:hI,trim:dI,stripBOM:fI,inherits:pI,toFlatObject:mI,kindOf:Ks,kindOfTest:pr,endsWith:gI,toArray:II,forEachEntry:bI,matchAll:SI,isHTMLForm:yI,hasOwnProperty:c1,hasOwnProp:c1,reduceDescriptors:pp,freezeMethods:xI,toObjectSet:_I,toCamelCase:EI,noop:wI,toFiniteNumber:vI,findKey:hp,global:_o,isContextDefined:fp,isSpecCompliantForm:AI,toJSONObject:kI,isAsyncFn:LI,isThenable:NI,setImmediate:mp,asap:PI};function je(e,t,n,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}Y.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const gp=je.prototype,Ip={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ip[e]={value:e}});Object.defineProperties(je,Ip);Object.defineProperty(gp,"isAxiosError",{value:!0});je.from=(e,t,n,o,i,a)=>{const s=Object.create(gp);return Y.toFlatObject(e,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),je.call(s,e.message,t,n,o,i),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};const RI=null;function Dc(e){return Y.isPlainObject(e)||Y.isArray(e)}function Cp(e){return Y.endsWith(e,"[]")?e.slice(0,-2):e}function u1(e,t,n){return e?e.concat(t).map(function(i,a){return i=Cp(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function DI(e){return Y.isArray(e)&&!e.some(Dc)}const OI=Y.toFlatObject(Y,{},null,function(t){return/^is[A-Z]/.test(t)});function el(e,t,n){if(!Y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,b){return!Y.isUndefined(b[I])});const o=n.metaTokens,i=n.visitor||h,a=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(t);if(!Y.isFunction(i))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if(Y.isDate(C))return C.toISOString();if(!c&&Y.isBlob(C))throw new je("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(C)||Y.isTypedArray(C)?c&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function h(C,I,b){let S=C;if(C&&!b&&typeof C=="object"){if(Y.endsWith(I,"{}"))I=o?I:I.slice(0,-2),C=JSON.stringify(C);else if(Y.isArray(C)&&DI(C)||(Y.isFileList(C)||Y.endsWith(I,"[]"))&&(S=Y.toArray(C)))return I=Cp(I),S.forEach(function(T,k){!(Y.isUndefined(T)||T===null)&&t.append(s===!0?u1([I],k,a):s===null?I:I+"[]",u(T))}),!1}return Dc(C)?!0:(t.append(u1(b,I,a),u(C)),!1)}const f=[],g=Object.assign(OI,{defaultVisitor:h,convertValue:u,isVisitable:Dc});function m(C,I){if(!Y.isUndefined(C)){if(f.indexOf(C)!==-1)throw Error("Circular reference detected in "+I.join("."));f.push(C),Y.forEach(C,function(S,y){(!(Y.isUndefined(S)||S===null)&&i.call(t,S,Y.isString(y)?y.trim():y,I,g))===!0&&m(S,I?I.concat(y):[y])}),f.pop()}}if(!Y.isObject(e))throw new TypeError("data must be an object");return m(e),t}function d1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Pu(e,t){this._pairs=[],e&&el(e,this,t)}const bp=Pu.prototype;bp.append=function(t,n){this._pairs.push([t,n])};bp.toString=function(t){const n=t?function(o){return t.call(this,o,d1)}:d1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function MI(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sp(e,t,n){if(!t)return e;const o=n&&n.encode||MI;Y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=Y.isURLSearchParams(t)?t.toString():new Pu(t,n).toString(o),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class h1{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,function(o){o!==null&&t(o)})}}const yp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},BI=typeof URLSearchParams<"u"?URLSearchParams:Pu,FI=typeof FormData<"u"?FormData:null,HI=typeof Blob<"u"?Blob:null,jI={isBrowser:!0,classes:{URLSearchParams:BI,FormData:FI,Blob:HI},protocols:["http","https","file","blob","url","data"]},Ru=typeof window<"u"&&typeof document<"u",Oc=typeof navigator=="object"&&navigator||void 0,UI=Ru&&(!Oc||["ReactNative","NativeScript","NS"].indexOf(Oc.product)<0),VI=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zI=Ru&&window.location.href||"http://localhost",$I=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ru,hasStandardBrowserEnv:UI,hasStandardBrowserWebWorkerEnv:VI,navigator:Oc,origin:zI},Symbol.toStringTag,{value:"Module"})),bn={...$I,...jI};function WI(e,t){return el(e,new bn.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,a){return bn.isNode&&Y.isBuffer(n)?(this.append(o,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function qI(e){return Y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GI(e){const t={},n=Object.keys(e);let o;const i=n.length;let a;for(o=0;o<i;o++)a=n[o],t[a]=e[a];return t}function Ep(e){function t(n,o,i,a){let s=n[a++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=a>=n.length;return s=!s&&Y.isArray(i)?i.length:s,c?(Y.hasOwnProp(i,s)?i[s]=[i[s],o]:i[s]=o,!l):((!i[s]||!Y.isObject(i[s]))&&(i[s]=[]),t(n,o,i[s],a)&&Y.isArray(i[s])&&(i[s]=GI(i[s])),!l)}if(Y.isFormData(e)&&Y.isFunction(e.entries)){const n={};return Y.forEachEntry(e,(o,i)=>{t(qI(o),i,n,0)}),n}return null}function YI(e,t,n){if(Y.isString(e))try{return(t||JSON.parse)(e),Y.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Ea={transitional:yp,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,a=Y.isObject(t);if(a&&Y.isHTMLForm(t)&&(t=new FormData(t)),Y.isFormData(t))return i?JSON.stringify(Ep(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(o.indexOf("application/x-www-form-urlencoded")>-1)return WI(t,this.formSerializer).toString();if((l=Y.isFileList(t))||o.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return el(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),YI(t)):t}],transformResponse:[function(t){const n=this.transitional||Ea.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(o&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?je.from(l,je.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bn.classes.FormData,Blob:bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],e=>{Ea.headers[e]={}});const ZI=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),XI=e=>{const t={};let n,o,i;return e&&e.split(`
|
|
65
|
-
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),o=s.substring(i+1).trim(),!(!n||t[n]&&ZI[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},f1=Symbol("internals");function
|
|
66
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[f1]=this[f1]={accessors:{}}).accessors,i=this.prototype;function a(s){const l=Ai(s);o[l]||(eC(i,s),o[l]=!0)}return Y.isArray(t)?t.forEach(a):a(t),this}};Rn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Y.reduceDescriptors(Rn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Y.freezeMethods(Rn);function Ol(e,t){const n=this||Ea,o=t||n,i=Rn.from(o.headers);let a=o.data;return Y.forEach(e,function(l){a=l.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Tp(e){return!!(e&&e.__CANCEL__)}function ci(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}Y.inherits(ci,je,{__CANCEL__:!0});function xp(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function tC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nC(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,a=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),h=o[a];s||(s=u),n[i]=c,o[i]=u;let f=a,g=0;for(;f!==i;)g+=n[f++],f=f%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-s<t)return;const m=h&&u-h;return m?Math.round(g*1e3/m):void 0}}function rC(e,t){let n=0,o=1e3/t,i,a;const s=(u,h=Date.now())=>{n=h,i=null,a&&(clearTimeout(a),a=null),e.apply(null,u)};return[(...u)=>{const h=Date.now(),f=h-n;f>=o?s(u,h):(i=u,a||(a=setTimeout(()=>{a=null,s(i)},o-f)))},()=>i&&s(i)]}const Ps=(e,t,n=3)=>{let o=0;const i=nC(50,250);return rC(a=>{const s=a.loaded,l=a.lengthComputable?a.total:void 0,c=s-o,u=i(c),h=s<=l;o=s;const f={loaded:s,total:l,progress:l?s/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&h?(l-s)/u:void 0,event:a,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},p1=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},m1=e=>(...t)=>Y.asap(()=>e(...t)),oC=bn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,bn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(bn.origin),bn.navigator&&/(msie|trident)/i.test(bn.navigator.userAgent)):()=>!0,iC=bn.hasStandardBrowserEnv?{write(e,t,n,o,i,a){const s=[e+"="+encodeURIComponent(t)];Y.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Y.isString(o)&&s.push("path="+o),Y.isString(i)&&s.push("domain="+i),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function aC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _p(e,t,n){let o=!aC(t);return e&&o||n==!1?sC(e,t):t}const g1=e=>e instanceof Rn?{...e}:e;function Po(e,t){t=t||{};const n={};function o(u,h,f,g){return Y.isPlainObject(u)&&Y.isPlainObject(h)?Y.merge.call({caseless:g},u,h):Y.isPlainObject(h)?Y.merge({},h):Y.isArray(h)?h.slice():h}function i(u,h,f,g){if(Y.isUndefined(h)){if(!Y.isUndefined(u))return o(void 0,u,f,g)}else return o(u,h,f,g)}function a(u,h){if(!Y.isUndefined(h))return o(void 0,h)}function s(u,h){if(Y.isUndefined(h)){if(!Y.isUndefined(u))return o(void 0,u)}else return o(void 0,h)}function l(u,h,f){if(f in t)return o(u,h);if(f in e)return o(void 0,u)}const c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,h,f)=>i(g1(u),g1(h),f,!0)};return Y.forEach(Object.keys(Object.assign({},e,t)),function(h){const f=c[h]||i,g=f(e[h],t[h],h);Y.isUndefined(g)&&f!==l||(n[h]=g)}),n}const wp=e=>{const t=Po({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;t.headers=s=Rn.from(s),t.url=Sp(_p(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(Y.isFormData(n)){if(bn.hasStandardBrowserEnv||bn.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...h]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...h].join("; "))}}if(bn.hasStandardBrowserEnv&&(o&&Y.isFunction(o)&&(o=o(t)),o||o!==!1&&oC(t.url))){const u=i&&a&&iC.read(a);u&&s.set(i,u)}return t},lC=typeof XMLHttpRequest<"u",cC=lC&&function(e){return new Promise(function(n,o){const i=wp(e);let a=i.data;const s=Rn.from(i.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=i,h,f,g,m,C;function I(){m&&m(),C&&C(),i.cancelToken&&i.cancelToken.unsubscribe(h),i.signal&&i.signal.removeEventListener("abort",h)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function S(){if(!b)return;const T=Rn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:T,config:e,request:b};xp(function(E){n(E),I()},function(E){o(E),I()},A),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(o(new je("Request aborted",je.ECONNABORTED,e,b)),b=null)},b.onerror=function(){o(new je("Network Error",je.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let k=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const A=i.transitional||yp;i.timeoutErrorMessage&&(k=i.timeoutErrorMessage),o(new je(k,A.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,b)),b=null},a===void 0&&s.setContentType(null),"setRequestHeader"in b&&Y.forEach(s.toJSON(),function(k,A){b.setRequestHeader(A,k)}),Y.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),l&&l!=="json"&&(b.responseType=i.responseType),u&&([g,C]=Ps(u,!0),b.addEventListener("progress",g)),c&&b.upload&&([f,m]=Ps(c),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(h=T=>{b&&(o(!T||T.type?new ci(null,e,b):T),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(h),i.signal&&(i.signal.aborted?h():i.signal.addEventListener("abort",h)));const y=tC(i.url);if(y&&bn.protocols.indexOf(y)===-1){o(new je("Unsupported protocol "+y+":",je.ERR_BAD_REQUEST,e));return}b.send(a||null)})},uC=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const a=function(u){if(!i){i=!0,l();const h=u instanceof Error?u:this.reason;o.abort(h instanceof je?h:new ci(h instanceof Error?h.message:h))}};let s=t&&setTimeout(()=>{s=null,a(new je(`timeout ${t} of ms exceeded`,je.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(a):u.removeEventListener("abort",a)}),e=null)};e.forEach(u=>u.addEventListener("abort",a));const{signal:c}=o;return c.unsubscribe=()=>Y.asap(l),c}},dC=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},hC=async function*(e,t){for await(const n of fC(e))yield*dC(n,t)},fC=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},I1=(e,t,n,o)=>{const i=hC(e,t);let a=0,s,l=c=>{s||(s=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:u,value:h}=await i.next();if(u){l(),c.close();return}let f=h.byteLength;if(n){let g=a+=f;n(g)}c.enqueue(new Uint8Array(h))}catch(u){throw l(u),u}},cancel(c){return l(c),i.return()}},{highWaterMark:2})},tl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",vp=tl&&typeof ReadableStream=="function",pC=tl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ap=(e,...t)=>{try{return!!e(...t)}catch{return!1}},mC=vp&&Ap(()=>{let e=!1;const t=new Request(bn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),C1=64*1024,Mc=vp&&Ap(()=>Y.isReadableStream(new Response("").body)),Rs={stream:Mc&&(e=>e.body)};tl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Rs[t]&&(Rs[t]=Y.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new je(`Response type '${t}' is not supported`,je.ERR_NOT_SUPPORT,o)})})})(new Response);const gC=async e=>{if(e==null)return 0;if(Y.isBlob(e))return e.size;if(Y.isSpecCompliantForm(e))return(await new Request(bn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(e)||Y.isArrayBuffer(e))return e.byteLength;if(Y.isURLSearchParams(e)&&(e=e+""),Y.isString(e))return(await pC(e)).byteLength},IC=async(e,t)=>{const n=Y.toFiniteNumber(e.getContentLength());return n??gC(t)},CC=tl&&(async e=>{let{url:t,method:n,data:o,signal:i,cancelToken:a,timeout:s,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:h,withCredentials:f="same-origin",fetchOptions:g}=wp(e);u=u?(u+"").toLowerCase():"text";let m=uC([i,a&&a.toAbortSignal()],s),C;const I=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let b;try{if(c&&mC&&n!=="get"&&n!=="head"&&(b=await IC(h,o))!==0){let A=new Request(t,{method:"POST",body:o,duplex:"half"}),P;if(Y.isFormData(o)&&(P=A.headers.get("content-type"))&&h.setContentType(P),A.body){const[E,M]=p1(b,Ps(m1(c)));o=I1(A.body,C1,E,M)}}Y.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;C=new Request(t,{...g,signal:m,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:o,duplex:"half",credentials:S?f:void 0});let y=await fetch(C);const T=Mc&&(u==="stream"||u==="response");if(Mc&&(l||T&&I)){const A={};["status","statusText","headers"].forEach(B=>{A[B]=y[B]});const P=Y.toFiniteNumber(y.headers.get("content-length")),[E,M]=l&&p1(P,Ps(m1(l),!0))||[];y=new Response(I1(y.body,C1,E,()=>{M&&M(),I&&I()}),A)}u=u||"text";let k=await Rs[Y.findKey(Rs,u)||"text"](y,e);return!T&&I&&I(),await new Promise((A,P)=>{xp(A,P,{data:k,headers:Rn.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:C})})}catch(S){throw I&&I(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new je("Network Error",je.ERR_NETWORK,e,C),{cause:S.cause||S}):je.from(S,S&&S.code,e,C)}}),Bc={http:RI,xhr:cC,fetch:CC};Y.forEach(Bc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const b1=e=>`- ${e}`,bC=e=>Y.isFunction(e)||e===null||e===!1,kp={getAdapter:e=>{e=Y.isArray(e)?e:[e];const{length:t}=e;let n,o;const i={};for(let a=0;a<t;a++){n=e[a];let s;if(o=n,!bC(n)&&(o=Bc[(s=String(n)).toLowerCase()],o===void 0))throw new je(`Unknown adapter '${s}'`);if(o)break;i[s||"#"+a]=o}if(!o){const a=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?a.length>1?`since :
|
|
64
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(a=i(a,o(l)))}return a}function o(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var s="";for(var l in a)t.call(a,l)&&a[l]&&(s=i(s,l));return s}function i(a,s){return s?a?a+" "+s:a+s:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Jf);var L5=Jf.exports;const ge=Ws(L5),N5="_icon_bsuj2_1",P5="_hoverable_bsuj2_5",Kd={icon:N5,hoverable:P5},R5=Object.freeze(Object.defineProperty({__proto__:null,Acorn:r.Acorn,AcornIcon:r.AcornIcon,ActivityIcon:r.ActivityIcon,AddressBook:r.AddressBook,AddressBookIcon:r.AddressBookIcon,AddressBookTabs:r.AddressBookTabs,AddressBookTabsIcon:r.AddressBookTabsIcon,AirTrafficControl:r.AirTrafficControl,AirTrafficControlIcon:r.AirTrafficControlIcon,Airplane:r.Airplane,AirplaneIcon:r.AirplaneIcon,AirplaneInFlight:r.AirplaneInFlight,AirplaneInFlightIcon:r.AirplaneInFlightIcon,AirplaneLanding:r.AirplaneLanding,AirplaneLandingIcon:r.AirplaneLandingIcon,AirplaneTakeoff:r.AirplaneTakeoff,AirplaneTakeoffIcon:r.AirplaneTakeoffIcon,AirplaneTaxiing:r.AirplaneTaxiing,AirplaneTaxiingIcon:r.AirplaneTaxiingIcon,AirplaneTilt:r.AirplaneTilt,AirplaneTiltIcon:r.AirplaneTiltIcon,Airplay:r.Airplay,AirplayIcon:r.AirplayIcon,Alarm:r.Alarm,AlarmIcon:r.AlarmIcon,Alien:r.Alien,AlienIcon:r.AlienIcon,AlignBottom:r.AlignBottom,AlignBottomIcon:r.AlignBottomIcon,AlignBottomSimple:r.AlignBottomSimple,AlignBottomSimpleIcon:r.AlignBottomSimpleIcon,AlignCenterHorizontal:r.AlignCenterHorizontal,AlignCenterHorizontalIcon:r.AlignCenterHorizontalIcon,AlignCenterHorizontalSimple:r.AlignCenterHorizontalSimple,AlignCenterHorizontalSimpleIcon:r.AlignCenterHorizontalSimpleIcon,AlignCenterVertical:r.AlignCenterVertical,AlignCenterVerticalIcon:r.AlignCenterVerticalIcon,AlignCenterVerticalSimple:r.AlignCenterVerticalSimple,AlignCenterVerticalSimpleIcon:r.AlignCenterVerticalSimpleIcon,AlignLeft:r.AlignLeft,AlignLeftIcon:r.AlignLeftIcon,AlignLeftSimple:r.AlignLeftSimple,AlignLeftSimpleIcon:r.AlignLeftSimpleIcon,AlignRight:r.AlignRight,AlignRightIcon:r.AlignRightIcon,AlignRightSimple:r.AlignRightSimple,AlignRightSimpleIcon:r.AlignRightSimpleIcon,AlignTop:r.AlignTop,AlignTopIcon:r.AlignTopIcon,AlignTopSimple:r.AlignTopSimple,AlignTopSimpleIcon:r.AlignTopSimpleIcon,AmazonLogo:r.AmazonLogo,AmazonLogoIcon:r.AmazonLogoIcon,Ambulance:r.Ambulance,AmbulanceIcon:r.AmbulanceIcon,Anchor:r.Anchor,AnchorIcon:r.AnchorIcon,AnchorSimple:r.AnchorSimple,AnchorSimpleIcon:r.AnchorSimpleIcon,AndroidLogo:r.AndroidLogo,AndroidLogoIcon:r.AndroidLogoIcon,Angle:r.Angle,AngleIcon:r.AngleIcon,AngularLogo:r.AngularLogo,AngularLogoIcon:r.AngularLogoIcon,Aperture:r.Aperture,ApertureIcon:r.ApertureIcon,AppStoreLogo:r.AppStoreLogo,AppStoreLogoIcon:r.AppStoreLogoIcon,AppWindow:r.AppWindow,AppWindowIcon:r.AppWindowIcon,AppleLogo:r.AppleLogo,AppleLogoIcon:r.AppleLogoIcon,ApplePodcastsLogo:r.ApplePodcastsLogo,ApplePodcastsLogoIcon:r.ApplePodcastsLogoIcon,ApproximateEquals:r.ApproximateEquals,ApproximateEqualsIcon:r.ApproximateEqualsIcon,Archive:r.Archive,ArchiveBoxIcon:r.ArchiveBoxIcon,ArchiveIcon:r.ArchiveIcon,ArchiveTrayIcon:r.ArchiveTrayIcon,Armchair:r.Armchair,ArmchairIcon:r.ArmchairIcon,ArrowArcLeft:r.ArrowArcLeft,ArrowArcLeftIcon:r.ArrowArcLeftIcon,ArrowArcRight:r.ArrowArcRight,ArrowArcRightIcon:r.ArrowArcRightIcon,ArrowBendDoubleUpLeft:r.ArrowBendDoubleUpLeft,ArrowBendDoubleUpLeftIcon:r.ArrowBendDoubleUpLeftIcon,ArrowBendDoubleUpRight:r.ArrowBendDoubleUpRight,ArrowBendDoubleUpRightIcon:r.ArrowBendDoubleUpRightIcon,ArrowBendDownLeft:r.ArrowBendDownLeft,ArrowBendDownLeftIcon:r.ArrowBendDownLeftIcon,ArrowBendDownRight:r.ArrowBendDownRight,ArrowBendDownRightIcon:r.ArrowBendDownRightIcon,ArrowBendLeftDown:r.ArrowBendLeftDown,ArrowBendLeftDownIcon:r.ArrowBendLeftDownIcon,ArrowBendLeftUp:r.ArrowBendLeftUp,ArrowBendLeftUpIcon:r.ArrowBendLeftUpIcon,ArrowBendRightDown:r.ArrowBendRightDown,ArrowBendRightDownIcon:r.ArrowBendRightDownIcon,ArrowBendRightUp:r.ArrowBendRightUp,ArrowBendRightUpIcon:r.ArrowBendRightUpIcon,ArrowBendUpLeft:r.ArrowBendUpLeft,ArrowBendUpLeftIcon:r.ArrowBendUpLeftIcon,ArrowBendUpRight:r.ArrowBendUpRight,ArrowBendUpRightIcon:r.ArrowBendUpRightIcon,ArrowCircleDown:r.ArrowCircleDown,ArrowCircleDownIcon:r.ArrowCircleDownIcon,ArrowCircleDownLeft:r.ArrowCircleDownLeft,ArrowCircleDownLeftIcon:r.ArrowCircleDownLeftIcon,ArrowCircleDownRight:r.ArrowCircleDownRight,ArrowCircleDownRightIcon:r.ArrowCircleDownRightIcon,ArrowCircleLeft:r.ArrowCircleLeft,ArrowCircleLeftIcon:r.ArrowCircleLeftIcon,ArrowCircleRight:r.ArrowCircleRight,ArrowCircleRightIcon:r.ArrowCircleRightIcon,ArrowCircleUp:r.ArrowCircleUp,ArrowCircleUpIcon:r.ArrowCircleUpIcon,ArrowCircleUpLeft:r.ArrowCircleUpLeft,ArrowCircleUpLeftIcon:r.ArrowCircleUpLeftIcon,ArrowCircleUpRight:r.ArrowCircleUpRight,ArrowCircleUpRightIcon:r.ArrowCircleUpRightIcon,ArrowClockwise:r.ArrowClockwise,ArrowClockwiseIcon:r.ArrowClockwiseIcon,ArrowCounterClockwise:r.ArrowCounterClockwise,ArrowCounterClockwiseIcon:r.ArrowCounterClockwiseIcon,ArrowDown:r.ArrowDown,ArrowDownIcon:r.ArrowDownIcon,ArrowDownLeft:r.ArrowDownLeft,ArrowDownLeftIcon:r.ArrowDownLeftIcon,ArrowDownRight:r.ArrowDownRight,ArrowDownRightIcon:r.ArrowDownRightIcon,ArrowElbowDownLeft:r.ArrowElbowDownLeft,ArrowElbowDownLeftIcon:r.ArrowElbowDownLeftIcon,ArrowElbowDownRight:r.ArrowElbowDownRight,ArrowElbowDownRightIcon:r.ArrowElbowDownRightIcon,ArrowElbowLeft:r.ArrowElbowLeft,ArrowElbowLeftDown:r.ArrowElbowLeftDown,ArrowElbowLeftDownIcon:r.ArrowElbowLeftDownIcon,ArrowElbowLeftIcon:r.ArrowElbowLeftIcon,ArrowElbowLeftUp:r.ArrowElbowLeftUp,ArrowElbowLeftUpIcon:r.ArrowElbowLeftUpIcon,ArrowElbowRight:r.ArrowElbowRight,ArrowElbowRightDown:r.ArrowElbowRightDown,ArrowElbowRightDownIcon:r.ArrowElbowRightDownIcon,ArrowElbowRightIcon:r.ArrowElbowRightIcon,ArrowElbowRightUp:r.ArrowElbowRightUp,ArrowElbowRightUpIcon:r.ArrowElbowRightUpIcon,ArrowElbowUpLeft:r.ArrowElbowUpLeft,ArrowElbowUpLeftIcon:r.ArrowElbowUpLeftIcon,ArrowElbowUpRight:r.ArrowElbowUpRight,ArrowElbowUpRightIcon:r.ArrowElbowUpRightIcon,ArrowFatDown:r.ArrowFatDown,ArrowFatDownIcon:r.ArrowFatDownIcon,ArrowFatLeft:r.ArrowFatLeft,ArrowFatLeftIcon:r.ArrowFatLeftIcon,ArrowFatLineDown:r.ArrowFatLineDown,ArrowFatLineDownIcon:r.ArrowFatLineDownIcon,ArrowFatLineLeft:r.ArrowFatLineLeft,ArrowFatLineLeftIcon:r.ArrowFatLineLeftIcon,ArrowFatLineRight:r.ArrowFatLineRight,ArrowFatLineRightIcon:r.ArrowFatLineRightIcon,ArrowFatLineUp:r.ArrowFatLineUp,ArrowFatLineUpIcon:r.ArrowFatLineUpIcon,ArrowFatLinesDown:r.ArrowFatLinesDown,ArrowFatLinesDownIcon:r.ArrowFatLinesDownIcon,ArrowFatLinesLeft:r.ArrowFatLinesLeft,ArrowFatLinesLeftIcon:r.ArrowFatLinesLeftIcon,ArrowFatLinesRight:r.ArrowFatLinesRight,ArrowFatLinesRightIcon:r.ArrowFatLinesRightIcon,ArrowFatLinesUp:r.ArrowFatLinesUp,ArrowFatLinesUpIcon:r.ArrowFatLinesUpIcon,ArrowFatRight:r.ArrowFatRight,ArrowFatRightIcon:r.ArrowFatRightIcon,ArrowFatUp:r.ArrowFatUp,ArrowFatUpIcon:r.ArrowFatUpIcon,ArrowLeft:r.ArrowLeft,ArrowLeftIcon:r.ArrowLeftIcon,ArrowLineDown:r.ArrowLineDown,ArrowLineDownIcon:r.ArrowLineDownIcon,ArrowLineDownLeft:r.ArrowLineDownLeft,ArrowLineDownLeftIcon:r.ArrowLineDownLeftIcon,ArrowLineDownRight:r.ArrowLineDownRight,ArrowLineDownRightIcon:r.ArrowLineDownRightIcon,ArrowLineLeft:r.ArrowLineLeft,ArrowLineLeftIcon:r.ArrowLineLeftIcon,ArrowLineRight:r.ArrowLineRight,ArrowLineRightIcon:r.ArrowLineRightIcon,ArrowLineUp:r.ArrowLineUp,ArrowLineUpIcon:r.ArrowLineUpIcon,ArrowLineUpLeft:r.ArrowLineUpLeft,ArrowLineUpLeftIcon:r.ArrowLineUpLeftIcon,ArrowLineUpRight:r.ArrowLineUpRight,ArrowLineUpRightIcon:r.ArrowLineUpRightIcon,ArrowRight:r.ArrowRight,ArrowRightIcon:r.ArrowRightIcon,ArrowSquareDown:r.ArrowSquareDown,ArrowSquareDownIcon:r.ArrowSquareDownIcon,ArrowSquareDownLeft:r.ArrowSquareDownLeft,ArrowSquareDownLeftIcon:r.ArrowSquareDownLeftIcon,ArrowSquareDownRight:r.ArrowSquareDownRight,ArrowSquareDownRightIcon:r.ArrowSquareDownRightIcon,ArrowSquareIn:r.ArrowSquareIn,ArrowSquareInIcon:r.ArrowSquareInIcon,ArrowSquareLeft:r.ArrowSquareLeft,ArrowSquareLeftIcon:r.ArrowSquareLeftIcon,ArrowSquareOut:r.ArrowSquareOut,ArrowSquareOutIcon:r.ArrowSquareOutIcon,ArrowSquareRight:r.ArrowSquareRight,ArrowSquareRightIcon:r.ArrowSquareRightIcon,ArrowSquareUp:r.ArrowSquareUp,ArrowSquareUpIcon:r.ArrowSquareUpIcon,ArrowSquareUpLeft:r.ArrowSquareUpLeft,ArrowSquareUpLeftIcon:r.ArrowSquareUpLeftIcon,ArrowSquareUpRight:r.ArrowSquareUpRight,ArrowSquareUpRightIcon:r.ArrowSquareUpRightIcon,ArrowUDownLeft:r.ArrowUDownLeft,ArrowUDownLeftIcon:r.ArrowUDownLeftIcon,ArrowUDownRight:r.ArrowUDownRight,ArrowUDownRightIcon:r.ArrowUDownRightIcon,ArrowULeftDown:r.ArrowULeftDown,ArrowULeftDownIcon:r.ArrowULeftDownIcon,ArrowULeftUp:r.ArrowULeftUp,ArrowULeftUpIcon:r.ArrowULeftUpIcon,ArrowURightDown:r.ArrowURightDown,ArrowURightDownIcon:r.ArrowURightDownIcon,ArrowURightUp:r.ArrowURightUp,ArrowURightUpIcon:r.ArrowURightUpIcon,ArrowUUpLeft:r.ArrowUUpLeft,ArrowUUpLeftIcon:r.ArrowUUpLeftIcon,ArrowUUpRight:r.ArrowUUpRight,ArrowUUpRightIcon:r.ArrowUUpRightIcon,ArrowUp:r.ArrowUp,ArrowUpIcon:r.ArrowUpIcon,ArrowUpLeft:r.ArrowUpLeft,ArrowUpLeftIcon:r.ArrowUpLeftIcon,ArrowUpRight:r.ArrowUpRight,ArrowUpRightIcon:r.ArrowUpRightIcon,ArrowsClockwise:r.ArrowsClockwise,ArrowsClockwiseIcon:r.ArrowsClockwiseIcon,ArrowsCounterClockwise:r.ArrowsCounterClockwise,ArrowsCounterClockwiseIcon:r.ArrowsCounterClockwiseIcon,ArrowsDownUp:r.ArrowsDownUp,ArrowsDownUpIcon:r.ArrowsDownUpIcon,ArrowsHorizontal:r.ArrowsHorizontal,ArrowsHorizontalIcon:r.ArrowsHorizontalIcon,ArrowsIn:r.ArrowsIn,ArrowsInCardinal:r.ArrowsInCardinal,ArrowsInCardinalIcon:r.ArrowsInCardinalIcon,ArrowsInIcon:r.ArrowsInIcon,ArrowsInLineHorizontal:r.ArrowsInLineHorizontal,ArrowsInLineHorizontalIcon:r.ArrowsInLineHorizontalIcon,ArrowsInLineVertical:r.ArrowsInLineVertical,ArrowsInLineVerticalIcon:r.ArrowsInLineVerticalIcon,ArrowsInSimple:r.ArrowsInSimple,ArrowsInSimpleIcon:r.ArrowsInSimpleIcon,ArrowsLeftRight:r.ArrowsLeftRight,ArrowsLeftRightIcon:r.ArrowsLeftRightIcon,ArrowsMerge:r.ArrowsMerge,ArrowsMergeIcon:r.ArrowsMergeIcon,ArrowsOut:r.ArrowsOut,ArrowsOutCardinal:r.ArrowsOutCardinal,ArrowsOutCardinalIcon:r.ArrowsOutCardinalIcon,ArrowsOutIcon:r.ArrowsOutIcon,ArrowsOutLineHorizontal:r.ArrowsOutLineHorizontal,ArrowsOutLineHorizontalIcon:r.ArrowsOutLineHorizontalIcon,ArrowsOutLineVertical:r.ArrowsOutLineVertical,ArrowsOutLineVerticalIcon:r.ArrowsOutLineVerticalIcon,ArrowsOutSimple:r.ArrowsOutSimple,ArrowsOutSimpleIcon:r.ArrowsOutSimpleIcon,ArrowsSplit:r.ArrowsSplit,ArrowsSplitIcon:r.ArrowsSplitIcon,ArrowsVertical:r.ArrowsVertical,ArrowsVerticalIcon:r.ArrowsVerticalIcon,Article:r.Article,ArticleIcon:r.ArticleIcon,ArticleMedium:r.ArticleMedium,ArticleMediumIcon:r.ArticleMediumIcon,ArticleNyTimes:r.ArticleNyTimes,ArticleNyTimesIcon:r.ArticleNyTimesIcon,Asclepius:r.Asclepius,AsclepiusIcon:r.AsclepiusIcon,Asterisk:r.Asterisk,AsteriskIcon:r.AsteriskIcon,AsteriskSimple:r.AsteriskSimple,AsteriskSimpleIcon:r.AsteriskSimpleIcon,At:r.At,AtIcon:r.AtIcon,Atom:r.Atom,AtomIcon:r.AtomIcon,Avocado:r.Avocado,AvocadoIcon:r.AvocadoIcon,Axe:r.Axe,AxeIcon:r.AxeIcon,Baby:r.Baby,BabyCarriage:r.BabyCarriage,BabyCarriageIcon:r.BabyCarriageIcon,BabyIcon:r.BabyIcon,Backpack:r.Backpack,BackpackIcon:r.BackpackIcon,Backspace:r.Backspace,BackspaceIcon:r.BackspaceIcon,Bag:r.Bag,BagIcon:r.BagIcon,BagSimple:r.BagSimple,BagSimpleIcon:r.BagSimpleIcon,Balloon:r.Balloon,BalloonIcon:r.BalloonIcon,Bandaids:r.Bandaids,BandaidsIcon:r.BandaidsIcon,Bank:r.Bank,BankIcon:r.BankIcon,Barbell:r.Barbell,BarbellIcon:r.BarbellIcon,Barcode:r.Barcode,BarcodeIcon:r.BarcodeIcon,Barn:r.Barn,BarnIcon:r.BarnIcon,Barricade:r.Barricade,BarricadeIcon:r.BarricadeIcon,Baseball:r.Baseball,BaseballCap:r.BaseballCap,BaseballCapIcon:r.BaseballCapIcon,BaseballHelmet:r.BaseballHelmet,BaseballHelmetIcon:r.BaseballHelmetIcon,BaseballIcon:r.BaseballIcon,Basket:r.Basket,BasketIcon:r.BasketIcon,Basketball:r.Basketball,BasketballIcon:r.BasketballIcon,Bathtub:r.Bathtub,BathtubIcon:r.BathtubIcon,BatteryCharging:r.BatteryCharging,BatteryChargingIcon:r.BatteryChargingIcon,BatteryChargingVertical:r.BatteryChargingVertical,BatteryChargingVerticalIcon:r.BatteryChargingVerticalIcon,BatteryEmpty:r.BatteryEmpty,BatteryEmptyIcon:r.BatteryEmptyIcon,BatteryFull:r.BatteryFull,BatteryFullIcon:r.BatteryFullIcon,BatteryHigh:r.BatteryHigh,BatteryHighIcon:r.BatteryHighIcon,BatteryLow:r.BatteryLow,BatteryLowIcon:r.BatteryLowIcon,BatteryMedium:r.BatteryMedium,BatteryMediumIcon:r.BatteryMediumIcon,BatteryPlus:r.BatteryPlus,BatteryPlusIcon:r.BatteryPlusIcon,BatteryPlusVertical:r.BatteryPlusVertical,BatteryPlusVerticalIcon:r.BatteryPlusVerticalIcon,BatteryVerticalEmpty:r.BatteryVerticalEmpty,BatteryVerticalEmptyIcon:r.BatteryVerticalEmptyIcon,BatteryVerticalFull:r.BatteryVerticalFull,BatteryVerticalFullIcon:r.BatteryVerticalFullIcon,BatteryVerticalHigh:r.BatteryVerticalHigh,BatteryVerticalHighIcon:r.BatteryVerticalHighIcon,BatteryVerticalLow:r.BatteryVerticalLow,BatteryVerticalLowIcon:r.BatteryVerticalLowIcon,BatteryVerticalMedium:r.BatteryVerticalMedium,BatteryVerticalMediumIcon:r.BatteryVerticalMediumIcon,BatteryWarning:r.BatteryWarning,BatteryWarningIcon:r.BatteryWarningIcon,BatteryWarningVertical:r.BatteryWarningVertical,BatteryWarningVerticalIcon:r.BatteryWarningVerticalIcon,BeachBall:r.BeachBall,BeachBallIcon:r.BeachBallIcon,Beanie:r.Beanie,BeanieIcon:r.BeanieIcon,Bed:r.Bed,BedIcon:r.BedIcon,BeerBottle:r.BeerBottle,BeerBottleIcon:r.BeerBottleIcon,BeerStein:r.BeerStein,BeerSteinIcon:r.BeerSteinIcon,BehanceLogo:r.BehanceLogo,BehanceLogoIcon:r.BehanceLogoIcon,Bell:r.Bell,BellIcon:r.BellIcon,BellRinging:r.BellRinging,BellRingingIcon:r.BellRingingIcon,BellSimple:r.BellSimple,BellSimpleIcon:r.BellSimpleIcon,BellSimpleRinging:r.BellSimpleRinging,BellSimpleRingingIcon:r.BellSimpleRingingIcon,BellSimpleSlash:r.BellSimpleSlash,BellSimpleSlashIcon:r.BellSimpleSlashIcon,BellSimpleZ:r.BellSimpleZ,BellSimpleZIcon:r.BellSimpleZIcon,BellSlash:r.BellSlash,BellSlashIcon:r.BellSlashIcon,BellZ:r.BellZ,BellZIcon:r.BellZIcon,Belt:r.Belt,BeltIcon:r.BeltIcon,BezierCurve:r.BezierCurve,BezierCurveIcon:r.BezierCurveIcon,Bicycle:r.Bicycle,BicycleIcon:r.BicycleIcon,Binary:r.Binary,BinaryIcon:r.BinaryIcon,Binoculars:r.Binoculars,BinocularsIcon:r.BinocularsIcon,Biohazard:r.Biohazard,BiohazardIcon:r.BiohazardIcon,Bird:r.Bird,BirdIcon:r.BirdIcon,Blueprint:r.Blueprint,BlueprintIcon:r.BlueprintIcon,Bluetooth:r.Bluetooth,BluetoothConnected:r.BluetoothConnected,BluetoothConnectedIcon:r.BluetoothConnectedIcon,BluetoothIcon:r.BluetoothIcon,BluetoothSlash:r.BluetoothSlash,BluetoothSlashIcon:r.BluetoothSlashIcon,BluetoothX:r.BluetoothX,BluetoothXIcon:r.BluetoothXIcon,Boat:r.Boat,BoatIcon:r.BoatIcon,Bomb:r.Bomb,BombIcon:r.BombIcon,Bone:r.Bone,BoneIcon:r.BoneIcon,Book:r.Book,BookBookmark:r.BookBookmark,BookBookmarkIcon:r.BookBookmarkIcon,BookIcon:r.BookIcon,BookOpen:r.BookOpen,BookOpenIcon:r.BookOpenIcon,BookOpenText:r.BookOpenText,BookOpenTextIcon:r.BookOpenTextIcon,BookOpenUser:r.BookOpenUser,BookOpenUserIcon:r.BookOpenUserIcon,Bookmark:r.Bookmark,BookmarkIcon:r.BookmarkIcon,BookmarkSimple:r.BookmarkSimple,BookmarkSimpleIcon:r.BookmarkSimpleIcon,Bookmarks:r.Bookmarks,BookmarksIcon:r.BookmarksIcon,BookmarksSimple:r.BookmarksSimple,BookmarksSimpleIcon:r.BookmarksSimpleIcon,Books:r.Books,BooksIcon:r.BooksIcon,Boot:r.Boot,BootIcon:r.BootIcon,Boules:r.Boules,BoulesIcon:r.BoulesIcon,BoundingBox:r.BoundingBox,BoundingBoxIcon:r.BoundingBoxIcon,BowlFood:r.BowlFood,BowlFoodIcon:r.BowlFoodIcon,BowlSteam:r.BowlSteam,BowlSteamIcon:r.BowlSteamIcon,BowlingBall:r.BowlingBall,BowlingBallIcon:r.BowlingBallIcon,BoxArrowDown:r.BoxArrowDown,BoxArrowDownIcon:r.BoxArrowDownIcon,BoxArrowUp:r.BoxArrowUp,BoxArrowUpIcon:r.BoxArrowUpIcon,BoxingGlove:r.BoxingGlove,BoxingGloveIcon:r.BoxingGloveIcon,BracketsAngle:r.BracketsAngle,BracketsAngleIcon:r.BracketsAngleIcon,BracketsCurly:r.BracketsCurly,BracketsCurlyIcon:r.BracketsCurlyIcon,BracketsRound:r.BracketsRound,BracketsRoundIcon:r.BracketsRoundIcon,BracketsSquare:r.BracketsSquare,BracketsSquareIcon:r.BracketsSquareIcon,Brain:r.Brain,BrainIcon:r.BrainIcon,Brandy:r.Brandy,BrandyIcon:r.BrandyIcon,Bread:r.Bread,BreadIcon:r.BreadIcon,Bridge:r.Bridge,BridgeIcon:r.BridgeIcon,Briefcase:r.Briefcase,BriefcaseIcon:r.BriefcaseIcon,BriefcaseMetal:r.BriefcaseMetal,BriefcaseMetalIcon:r.BriefcaseMetalIcon,Broadcast:r.Broadcast,BroadcastIcon:r.BroadcastIcon,Broom:r.Broom,BroomIcon:r.BroomIcon,Browser:r.Browser,BrowserIcon:r.BrowserIcon,Browsers:r.Browsers,BrowsersIcon:r.BrowsersIcon,Bug:r.Bug,BugBeetle:r.BugBeetle,BugBeetleIcon:r.BugBeetleIcon,BugDroid:r.BugDroid,BugDroidIcon:r.BugDroidIcon,BugIcon:r.BugIcon,Building:r.Building,BuildingApartment:r.BuildingApartment,BuildingApartmentIcon:r.BuildingApartmentIcon,BuildingIcon:r.BuildingIcon,BuildingOffice:r.BuildingOffice,BuildingOfficeIcon:r.BuildingOfficeIcon,Buildings:r.Buildings,BuildingsIcon:r.BuildingsIcon,Bulldozer:r.Bulldozer,BulldozerIcon:r.BulldozerIcon,Bus:r.Bus,BusIcon:r.BusIcon,Butterfly:r.Butterfly,ButterflyIcon:r.ButterflyIcon,CableCar:r.CableCar,CableCarIcon:r.CableCarIcon,Cactus:r.Cactus,CactusIcon:r.CactusIcon,CaduceusIcon:r.CaduceusIcon,Cake:r.Cake,CakeIcon:r.CakeIcon,Calculator:r.Calculator,CalculatorIcon:r.CalculatorIcon,Calendar:r.Calendar,CalendarBlank:r.CalendarBlank,CalendarBlankIcon:r.CalendarBlankIcon,CalendarCheck:r.CalendarCheck,CalendarCheckIcon:r.CalendarCheckIcon,CalendarDot:r.CalendarDot,CalendarDotIcon:r.CalendarDotIcon,CalendarDots:r.CalendarDots,CalendarDotsIcon:r.CalendarDotsIcon,CalendarHeart:r.CalendarHeart,CalendarHeartIcon:r.CalendarHeartIcon,CalendarIcon:r.CalendarIcon,CalendarMinus:r.CalendarMinus,CalendarMinusIcon:r.CalendarMinusIcon,CalendarPlus:r.CalendarPlus,CalendarPlusIcon:r.CalendarPlusIcon,CalendarSlash:r.CalendarSlash,CalendarSlashIcon:r.CalendarSlashIcon,CalendarStar:r.CalendarStar,CalendarStarIcon:r.CalendarStarIcon,CalendarX:r.CalendarX,CalendarXIcon:r.CalendarXIcon,CallBell:r.CallBell,CallBellIcon:r.CallBellIcon,Camera:r.Camera,CameraIcon:r.CameraIcon,CameraPlus:r.CameraPlus,CameraPlusIcon:r.CameraPlusIcon,CameraRotate:r.CameraRotate,CameraRotateIcon:r.CameraRotateIcon,CameraSlash:r.CameraSlash,CameraSlashIcon:r.CameraSlashIcon,Campfire:r.Campfire,CampfireIcon:r.CampfireIcon,Car:r.Car,CarBattery:r.CarBattery,CarBatteryIcon:r.CarBatteryIcon,CarIcon:r.CarIcon,CarProfile:r.CarProfile,CarProfileIcon:r.CarProfileIcon,CarSimple:r.CarSimple,CarSimpleIcon:r.CarSimpleIcon,Cardholder:r.Cardholder,CardholderIcon:r.CardholderIcon,Cards:r.Cards,CardsIcon:r.CardsIcon,CardsThree:r.CardsThree,CardsThreeIcon:r.CardsThreeIcon,CaretCircleDoubleDown:r.CaretCircleDoubleDown,CaretCircleDoubleDownIcon:r.CaretCircleDoubleDownIcon,CaretCircleDoubleLeft:r.CaretCircleDoubleLeft,CaretCircleDoubleLeftIcon:r.CaretCircleDoubleLeftIcon,CaretCircleDoubleRight:r.CaretCircleDoubleRight,CaretCircleDoubleRightIcon:r.CaretCircleDoubleRightIcon,CaretCircleDoubleUp:r.CaretCircleDoubleUp,CaretCircleDoubleUpIcon:r.CaretCircleDoubleUpIcon,CaretCircleDown:r.CaretCircleDown,CaretCircleDownIcon:r.CaretCircleDownIcon,CaretCircleLeft:r.CaretCircleLeft,CaretCircleLeftIcon:r.CaretCircleLeftIcon,CaretCircleRight:r.CaretCircleRight,CaretCircleRightIcon:r.CaretCircleRightIcon,CaretCircleUp:r.CaretCircleUp,CaretCircleUpDown:r.CaretCircleUpDown,CaretCircleUpDownIcon:r.CaretCircleUpDownIcon,CaretCircleUpIcon:r.CaretCircleUpIcon,CaretDoubleDown:r.CaretDoubleDown,CaretDoubleDownIcon:r.CaretDoubleDownIcon,CaretDoubleLeft:r.CaretDoubleLeft,CaretDoubleLeftIcon:r.CaretDoubleLeftIcon,CaretDoubleRight:r.CaretDoubleRight,CaretDoubleRightIcon:r.CaretDoubleRightIcon,CaretDoubleUp:r.CaretDoubleUp,CaretDoubleUpIcon:r.CaretDoubleUpIcon,CaretDown:r.CaretDown,CaretDownIcon:r.CaretDownIcon,CaretLeft:r.CaretLeft,CaretLeftIcon:r.CaretLeftIcon,CaretLineDown:r.CaretLineDown,CaretLineDownIcon:r.CaretLineDownIcon,CaretLineLeft:r.CaretLineLeft,CaretLineLeftIcon:r.CaretLineLeftIcon,CaretLineRight:r.CaretLineRight,CaretLineRightIcon:r.CaretLineRightIcon,CaretLineUp:r.CaretLineUp,CaretLineUpIcon:r.CaretLineUpIcon,CaretRight:r.CaretRight,CaretRightIcon:r.CaretRightIcon,CaretUp:r.CaretUp,CaretUpDown:r.CaretUpDown,CaretUpDownIcon:r.CaretUpDownIcon,CaretUpIcon:r.CaretUpIcon,Carrot:r.Carrot,CarrotIcon:r.CarrotIcon,CashRegister:r.CashRegister,CashRegisterIcon:r.CashRegisterIcon,CassetteTape:r.CassetteTape,CassetteTapeIcon:r.CassetteTapeIcon,CastleTurret:r.CastleTurret,CastleTurretIcon:r.CastleTurretIcon,Cat:r.Cat,CatIcon:r.CatIcon,CellSignalFull:r.CellSignalFull,CellSignalFullIcon:r.CellSignalFullIcon,CellSignalHigh:r.CellSignalHigh,CellSignalHighIcon:r.CellSignalHighIcon,CellSignalLow:r.CellSignalLow,CellSignalLowIcon:r.CellSignalLowIcon,CellSignalMedium:r.CellSignalMedium,CellSignalMediumIcon:r.CellSignalMediumIcon,CellSignalNone:r.CellSignalNone,CellSignalNoneIcon:r.CellSignalNoneIcon,CellSignalSlash:r.CellSignalSlash,CellSignalSlashIcon:r.CellSignalSlashIcon,CellSignalX:r.CellSignalX,CellSignalXIcon:r.CellSignalXIcon,CellTower:r.CellTower,CellTowerIcon:r.CellTowerIcon,Certificate:r.Certificate,CertificateIcon:r.CertificateIcon,Chair:r.Chair,ChairIcon:r.ChairIcon,Chalkboard:r.Chalkboard,ChalkboardIcon:r.ChalkboardIcon,ChalkboardSimple:r.ChalkboardSimple,ChalkboardSimpleIcon:r.ChalkboardSimpleIcon,ChalkboardTeacher:r.ChalkboardTeacher,ChalkboardTeacherIcon:r.ChalkboardTeacherIcon,Champagne:r.Champagne,ChampagneIcon:r.ChampagneIcon,ChargingStation:r.ChargingStation,ChargingStationIcon:r.ChargingStationIcon,ChartBar:r.ChartBar,ChartBarHorizontal:r.ChartBarHorizontal,ChartBarHorizontalIcon:r.ChartBarHorizontalIcon,ChartBarIcon:r.ChartBarIcon,ChartDonut:r.ChartDonut,ChartDonutIcon:r.ChartDonutIcon,ChartLine:r.ChartLine,ChartLineDown:r.ChartLineDown,ChartLineDownIcon:r.ChartLineDownIcon,ChartLineIcon:r.ChartLineIcon,ChartLineUp:r.ChartLineUp,ChartLineUpIcon:r.ChartLineUpIcon,ChartPie:r.ChartPie,ChartPieIcon:r.ChartPieIcon,ChartPieSlice:r.ChartPieSlice,ChartPieSliceIcon:r.ChartPieSliceIcon,ChartPolar:r.ChartPolar,ChartPolarIcon:r.ChartPolarIcon,ChartScatter:r.ChartScatter,ChartScatterIcon:r.ChartScatterIcon,Chat:r.Chat,ChatCentered:r.ChatCentered,ChatCenteredDots:r.ChatCenteredDots,ChatCenteredDotsIcon:r.ChatCenteredDotsIcon,ChatCenteredIcon:r.ChatCenteredIcon,ChatCenteredSlash:r.ChatCenteredSlash,ChatCenteredSlashIcon:r.ChatCenteredSlashIcon,ChatCenteredText:r.ChatCenteredText,ChatCenteredTextIcon:r.ChatCenteredTextIcon,ChatCircle:r.ChatCircle,ChatCircleDots:r.ChatCircleDots,ChatCircleDotsIcon:r.ChatCircleDotsIcon,ChatCircleIcon:r.ChatCircleIcon,ChatCircleSlash:r.ChatCircleSlash,ChatCircleSlashIcon:r.ChatCircleSlashIcon,ChatCircleText:r.ChatCircleText,ChatCircleTextIcon:r.ChatCircleTextIcon,ChatDots:r.ChatDots,ChatDotsIcon:r.ChatDotsIcon,ChatIcon:r.ChatIcon,ChatSlash:r.ChatSlash,ChatSlashIcon:r.ChatSlashIcon,ChatTeardrop:r.ChatTeardrop,ChatTeardropDots:r.ChatTeardropDots,ChatTeardropDotsIcon:r.ChatTeardropDotsIcon,ChatTeardropIcon:r.ChatTeardropIcon,ChatTeardropSlash:r.ChatTeardropSlash,ChatTeardropSlashIcon:r.ChatTeardropSlashIcon,ChatTeardropText:r.ChatTeardropText,ChatTeardropTextIcon:r.ChatTeardropTextIcon,ChatText:r.ChatText,ChatTextIcon:r.ChatTextIcon,Chats:r.Chats,ChatsCircle:r.ChatsCircle,ChatsCircleIcon:r.ChatsCircleIcon,ChatsIcon:r.ChatsIcon,ChatsTeardrop:r.ChatsTeardrop,ChatsTeardropIcon:r.ChatsTeardropIcon,Check:r.Check,CheckCircle:r.CheckCircle,CheckCircleIcon:r.CheckCircleIcon,CheckFat:r.CheckFat,CheckFatIcon:r.CheckFatIcon,CheckIcon:r.CheckIcon,CheckSquare:r.CheckSquare,CheckSquareIcon:r.CheckSquareIcon,CheckSquareOffset:r.CheckSquareOffset,CheckSquareOffsetIcon:r.CheckSquareOffsetIcon,Checkerboard:r.Checkerboard,CheckerboardIcon:r.CheckerboardIcon,Checks:r.Checks,ChecksIcon:r.ChecksIcon,Cheers:r.Cheers,CheersIcon:r.CheersIcon,Cheese:r.Cheese,CheeseIcon:r.CheeseIcon,ChefHat:r.ChefHat,ChefHatIcon:r.ChefHatIcon,Cherries:r.Cherries,CherriesIcon:r.CherriesIcon,Church:r.Church,ChurchIcon:r.ChurchIcon,Cigarette:r.Cigarette,CigaretteIcon:r.CigaretteIcon,CigaretteSlash:r.CigaretteSlash,CigaretteSlashIcon:r.CigaretteSlashIcon,Circle:r.Circle,CircleDashed:r.CircleDashed,CircleDashedIcon:r.CircleDashedIcon,CircleHalf:r.CircleHalf,CircleHalfIcon:r.CircleHalfIcon,CircleHalfTilt:r.CircleHalfTilt,CircleHalfTiltIcon:r.CircleHalfTiltIcon,CircleIcon:r.CircleIcon,CircleNotch:r.CircleNotch,CircleNotchIcon:r.CircleNotchIcon,CircleWavyCheckIcon:r.CircleWavyCheckIcon,CircleWavyIcon:r.CircleWavyIcon,CircleWavyQuestionIcon:r.CircleWavyQuestionIcon,CircleWavyWarningIcon:r.CircleWavyWarningIcon,CirclesFour:r.CirclesFour,CirclesFourIcon:r.CirclesFourIcon,CirclesThree:r.CirclesThree,CirclesThreeIcon:r.CirclesThreeIcon,CirclesThreePlus:r.CirclesThreePlus,CirclesThreePlusIcon:r.CirclesThreePlusIcon,Circuitry:r.Circuitry,CircuitryIcon:r.CircuitryIcon,City:r.City,CityIcon:r.CityIcon,Clipboard:r.Clipboard,ClipboardIcon:r.ClipboardIcon,ClipboardText:r.ClipboardText,ClipboardTextIcon:r.ClipboardTextIcon,Clock:r.Clock,ClockAfternoon:r.ClockAfternoon,ClockAfternoonIcon:r.ClockAfternoonIcon,ClockClockwise:r.ClockClockwise,ClockClockwiseIcon:r.ClockClockwiseIcon,ClockCountdown:r.ClockCountdown,ClockCountdownIcon:r.ClockCountdownIcon,ClockCounterClockwise:r.ClockCounterClockwise,ClockCounterClockwiseIcon:r.ClockCounterClockwiseIcon,ClockIcon:r.ClockIcon,ClockUser:r.ClockUser,ClockUserIcon:r.ClockUserIcon,ClosedCaptioning:r.ClosedCaptioning,ClosedCaptioningIcon:r.ClosedCaptioningIcon,Cloud:r.Cloud,CloudArrowDown:r.CloudArrowDown,CloudArrowDownIcon:r.CloudArrowDownIcon,CloudArrowUp:r.CloudArrowUp,CloudArrowUpIcon:r.CloudArrowUpIcon,CloudCheck:r.CloudCheck,CloudCheckIcon:r.CloudCheckIcon,CloudFog:r.CloudFog,CloudFogIcon:r.CloudFogIcon,CloudIcon:r.CloudIcon,CloudLightning:r.CloudLightning,CloudLightningIcon:r.CloudLightningIcon,CloudMoon:r.CloudMoon,CloudMoonIcon:r.CloudMoonIcon,CloudRain:r.CloudRain,CloudRainIcon:r.CloudRainIcon,CloudSlash:r.CloudSlash,CloudSlashIcon:r.CloudSlashIcon,CloudSnow:r.CloudSnow,CloudSnowIcon:r.CloudSnowIcon,CloudSun:r.CloudSun,CloudSunIcon:r.CloudSunIcon,CloudWarning:r.CloudWarning,CloudWarningIcon:r.CloudWarningIcon,CloudX:r.CloudX,CloudXIcon:r.CloudXIcon,Clover:r.Clover,CloverIcon:r.CloverIcon,Club:r.Club,ClubIcon:r.ClubIcon,CoatHanger:r.CoatHanger,CoatHangerIcon:r.CoatHangerIcon,CodaLogo:r.CodaLogo,CodaLogoIcon:r.CodaLogoIcon,Code:r.Code,CodeBlock:r.CodeBlock,CodeBlockIcon:r.CodeBlockIcon,CodeIcon:r.CodeIcon,CodeSimple:r.CodeSimple,CodeSimpleIcon:r.CodeSimpleIcon,CodepenLogo:r.CodepenLogo,CodepenLogoIcon:r.CodepenLogoIcon,CodesandboxLogo:r.CodesandboxLogo,CodesandboxLogoIcon:r.CodesandboxLogoIcon,Coffee:r.Coffee,CoffeeBean:r.CoffeeBean,CoffeeBeanIcon:r.CoffeeBeanIcon,CoffeeIcon:r.CoffeeIcon,Coin:r.Coin,CoinIcon:r.CoinIcon,CoinVertical:r.CoinVertical,CoinVerticalIcon:r.CoinVerticalIcon,Coins:r.Coins,CoinsIcon:r.CoinsIcon,Columns:r.Columns,ColumnsIcon:r.ColumnsIcon,ColumnsPlusLeft:r.ColumnsPlusLeft,ColumnsPlusLeftIcon:r.ColumnsPlusLeftIcon,ColumnsPlusRight:r.ColumnsPlusRight,ColumnsPlusRightIcon:r.ColumnsPlusRightIcon,Command:r.Command,CommandIcon:r.CommandIcon,Compass:r.Compass,CompassIcon:r.CompassIcon,CompassRose:r.CompassRose,CompassRoseIcon:r.CompassRoseIcon,CompassTool:r.CompassTool,CompassToolIcon:r.CompassToolIcon,ComputerTower:r.ComputerTower,ComputerTowerIcon:r.ComputerTowerIcon,Confetti:r.Confetti,ConfettiIcon:r.ConfettiIcon,ContactlessPayment:r.ContactlessPayment,ContactlessPaymentIcon:r.ContactlessPaymentIcon,Control:r.Control,ControlIcon:r.ControlIcon,Cookie:r.Cookie,CookieIcon:r.CookieIcon,CookingPot:r.CookingPot,CookingPotIcon:r.CookingPotIcon,Copy:r.Copy,CopyIcon:r.CopyIcon,CopySimple:r.CopySimple,CopySimpleIcon:r.CopySimpleIcon,Copyleft:r.Copyleft,CopyleftIcon:r.CopyleftIcon,Copyright:r.Copyright,CopyrightIcon:r.CopyrightIcon,CornersIn:r.CornersIn,CornersInIcon:r.CornersInIcon,CornersOut:r.CornersOut,CornersOutIcon:r.CornersOutIcon,Couch:r.Couch,CouchIcon:r.CouchIcon,CourtBasketball:r.CourtBasketball,CourtBasketballIcon:r.CourtBasketballIcon,Cow:r.Cow,CowIcon:r.CowIcon,CowboyHat:r.CowboyHat,CowboyHatIcon:r.CowboyHatIcon,Cpu:r.Cpu,CpuIcon:r.CpuIcon,Crane:r.Crane,CraneIcon:r.CraneIcon,CraneTower:r.CraneTower,CraneTowerIcon:r.CraneTowerIcon,CreditCard:r.CreditCard,CreditCardIcon:r.CreditCardIcon,Cricket:r.Cricket,CricketIcon:r.CricketIcon,Crop:r.Crop,CropIcon:r.CropIcon,Cross:r.Cross,CrossIcon:r.CrossIcon,Crosshair:r.Crosshair,CrosshairIcon:r.CrosshairIcon,CrosshairSimple:r.CrosshairSimple,CrosshairSimpleIcon:r.CrosshairSimpleIcon,Crown:r.Crown,CrownCross:r.CrownCross,CrownCrossIcon:r.CrownCrossIcon,CrownIcon:r.CrownIcon,CrownSimple:r.CrownSimple,CrownSimpleIcon:r.CrownSimpleIcon,Cube:r.Cube,CubeFocus:r.CubeFocus,CubeFocusIcon:r.CubeFocusIcon,CubeIcon:r.CubeIcon,CubeTransparent:r.CubeTransparent,CubeTransparentIcon:r.CubeTransparentIcon,CurrencyBtc:r.CurrencyBtc,CurrencyBtcIcon:r.CurrencyBtcIcon,CurrencyCircleDollar:r.CurrencyCircleDollar,CurrencyCircleDollarIcon:r.CurrencyCircleDollarIcon,CurrencyCny:r.CurrencyCny,CurrencyCnyIcon:r.CurrencyCnyIcon,CurrencyDollar:r.CurrencyDollar,CurrencyDollarIcon:r.CurrencyDollarIcon,CurrencyDollarSimple:r.CurrencyDollarSimple,CurrencyDollarSimpleIcon:r.CurrencyDollarSimpleIcon,CurrencyEth:r.CurrencyEth,CurrencyEthIcon:r.CurrencyEthIcon,CurrencyEur:r.CurrencyEur,CurrencyEurIcon:r.CurrencyEurIcon,CurrencyGbp:r.CurrencyGbp,CurrencyGbpIcon:r.CurrencyGbpIcon,CurrencyInr:r.CurrencyInr,CurrencyInrIcon:r.CurrencyInrIcon,CurrencyJpy:r.CurrencyJpy,CurrencyJpyIcon:r.CurrencyJpyIcon,CurrencyKrw:r.CurrencyKrw,CurrencyKrwIcon:r.CurrencyKrwIcon,CurrencyKzt:r.CurrencyKzt,CurrencyKztIcon:r.CurrencyKztIcon,CurrencyNgn:r.CurrencyNgn,CurrencyNgnIcon:r.CurrencyNgnIcon,CurrencyRub:r.CurrencyRub,CurrencyRubIcon:r.CurrencyRubIcon,Cursor:r.Cursor,CursorClick:r.CursorClick,CursorClickIcon:r.CursorClickIcon,CursorIcon:r.CursorIcon,CursorText:r.CursorText,CursorTextIcon:r.CursorTextIcon,Cylinder:r.Cylinder,CylinderIcon:r.CylinderIcon,Database:r.Database,DatabaseIcon:r.DatabaseIcon,Desk:r.Desk,DeskIcon:r.DeskIcon,Desktop:r.Desktop,DesktopIcon:r.DesktopIcon,DesktopTower:r.DesktopTower,DesktopTowerIcon:r.DesktopTowerIcon,Detective:r.Detective,DetectiveIcon:r.DetectiveIcon,DevToLogo:r.DevToLogo,DevToLogoIcon:r.DevToLogoIcon,DeviceMobile:r.DeviceMobile,DeviceMobileCamera:r.DeviceMobileCamera,DeviceMobileCameraIcon:r.DeviceMobileCameraIcon,DeviceMobileIcon:r.DeviceMobileIcon,DeviceMobileSlash:r.DeviceMobileSlash,DeviceMobileSlashIcon:r.DeviceMobileSlashIcon,DeviceMobileSpeaker:r.DeviceMobileSpeaker,DeviceMobileSpeakerIcon:r.DeviceMobileSpeakerIcon,DeviceRotate:r.DeviceRotate,DeviceRotateIcon:r.DeviceRotateIcon,DeviceTablet:r.DeviceTablet,DeviceTabletCamera:r.DeviceTabletCamera,DeviceTabletCameraIcon:r.DeviceTabletCameraIcon,DeviceTabletIcon:r.DeviceTabletIcon,DeviceTabletSpeaker:r.DeviceTabletSpeaker,DeviceTabletSpeakerIcon:r.DeviceTabletSpeakerIcon,Devices:r.Devices,DevicesIcon:r.DevicesIcon,Diamond:r.Diamond,DiamondIcon:r.DiamondIcon,DiamondsFour:r.DiamondsFour,DiamondsFourIcon:r.DiamondsFourIcon,DiceFive:r.DiceFive,DiceFiveIcon:r.DiceFiveIcon,DiceFour:r.DiceFour,DiceFourIcon:r.DiceFourIcon,DiceOne:r.DiceOne,DiceOneIcon:r.DiceOneIcon,DiceSix:r.DiceSix,DiceSixIcon:r.DiceSixIcon,DiceThree:r.DiceThree,DiceThreeIcon:r.DiceThreeIcon,DiceTwo:r.DiceTwo,DiceTwoIcon:r.DiceTwoIcon,Disc:r.Disc,DiscIcon:r.DiscIcon,DiscoBall:r.DiscoBall,DiscoBallIcon:r.DiscoBallIcon,DiscordLogo:r.DiscordLogo,DiscordLogoIcon:r.DiscordLogoIcon,Divide:r.Divide,DivideIcon:r.DivideIcon,Dna:r.Dna,DnaIcon:r.DnaIcon,Dog:r.Dog,DogIcon:r.DogIcon,Door:r.Door,DoorIcon:r.DoorIcon,DoorOpen:r.DoorOpen,DoorOpenIcon:r.DoorOpenIcon,Dot:r.Dot,DotIcon:r.DotIcon,DotOutline:r.DotOutline,DotOutlineIcon:r.DotOutlineIcon,DotsNine:r.DotsNine,DotsNineIcon:r.DotsNineIcon,DotsSix:r.DotsSix,DotsSixIcon:r.DotsSixIcon,DotsSixVertical:r.DotsSixVertical,DotsSixVerticalIcon:r.DotsSixVerticalIcon,DotsThree:r.DotsThree,DotsThreeCircle:r.DotsThreeCircle,DotsThreeCircleIcon:r.DotsThreeCircleIcon,DotsThreeCircleVertical:r.DotsThreeCircleVertical,DotsThreeCircleVerticalIcon:r.DotsThreeCircleVerticalIcon,DotsThreeIcon:r.DotsThreeIcon,DotsThreeOutline:r.DotsThreeOutline,DotsThreeOutlineIcon:r.DotsThreeOutlineIcon,DotsThreeOutlineVertical:r.DotsThreeOutlineVertical,DotsThreeOutlineVerticalIcon:r.DotsThreeOutlineVerticalIcon,DotsThreeVertical:r.DotsThreeVertical,DotsThreeVerticalIcon:r.DotsThreeVerticalIcon,Download:r.Download,DownloadIcon:r.DownloadIcon,DownloadSimple:r.DownloadSimple,DownloadSimpleIcon:r.DownloadSimpleIcon,Dress:r.Dress,DressIcon:r.DressIcon,Dresser:r.Dresser,DresserIcon:r.DresserIcon,DribbbleLogo:r.DribbbleLogo,DribbbleLogoIcon:r.DribbbleLogoIcon,Drone:r.Drone,DroneIcon:r.DroneIcon,Drop:r.Drop,DropHalf:r.DropHalf,DropHalfBottom:r.DropHalfBottom,DropHalfBottomIcon:r.DropHalfBottomIcon,DropHalfIcon:r.DropHalfIcon,DropIcon:r.DropIcon,DropSimple:r.DropSimple,DropSimpleIcon:r.DropSimpleIcon,DropSlash:r.DropSlash,DropSlashIcon:r.DropSlashIcon,DropboxLogo:r.DropboxLogo,DropboxLogoIcon:r.DropboxLogoIcon,Ear:r.Ear,EarIcon:r.EarIcon,EarSlash:r.EarSlash,EarSlashIcon:r.EarSlashIcon,Egg:r.Egg,EggCrack:r.EggCrack,EggCrackIcon:r.EggCrackIcon,EggIcon:r.EggIcon,Eject:r.Eject,EjectIcon:r.EjectIcon,EjectSimple:r.EjectSimple,EjectSimpleIcon:r.EjectSimpleIcon,Elevator:r.Elevator,ElevatorIcon:r.ElevatorIcon,Empty:r.Empty,EmptyIcon:r.EmptyIcon,Engine:r.Engine,EngineIcon:r.EngineIcon,Envelope:r.Envelope,EnvelopeIcon:r.EnvelopeIcon,EnvelopeOpen:r.EnvelopeOpen,EnvelopeOpenIcon:r.EnvelopeOpenIcon,EnvelopeSimple:r.EnvelopeSimple,EnvelopeSimpleIcon:r.EnvelopeSimpleIcon,EnvelopeSimpleOpen:r.EnvelopeSimpleOpen,EnvelopeSimpleOpenIcon:r.EnvelopeSimpleOpenIcon,Equalizer:r.Equalizer,EqualizerIcon:r.EqualizerIcon,Equals:r.Equals,EqualsIcon:r.EqualsIcon,Eraser:r.Eraser,EraserIcon:r.EraserIcon,EscalatorDown:r.EscalatorDown,EscalatorDownIcon:r.EscalatorDownIcon,EscalatorUp:r.EscalatorUp,EscalatorUpIcon:r.EscalatorUpIcon,Exam:r.Exam,ExamIcon:r.ExamIcon,ExclamationMark:r.ExclamationMark,ExclamationMarkIcon:r.ExclamationMarkIcon,Exclude:r.Exclude,ExcludeIcon:r.ExcludeIcon,ExcludeSquare:r.ExcludeSquare,ExcludeSquareIcon:r.ExcludeSquareIcon,Export:r.Export,ExportIcon:r.ExportIcon,Eye:r.Eye,EyeClosed:r.EyeClosed,EyeClosedIcon:r.EyeClosedIcon,EyeIcon:r.EyeIcon,EyeSlash:r.EyeSlash,EyeSlashIcon:r.EyeSlashIcon,Eyedropper:r.Eyedropper,EyedropperIcon:r.EyedropperIcon,EyedropperSample:r.EyedropperSample,EyedropperSampleIcon:r.EyedropperSampleIcon,Eyeglasses:r.Eyeglasses,EyeglassesIcon:r.EyeglassesIcon,Eyes:r.Eyes,EyesIcon:r.EyesIcon,FaceMask:r.FaceMask,FaceMaskIcon:r.FaceMaskIcon,FacebookLogo:r.FacebookLogo,FacebookLogoIcon:r.FacebookLogoIcon,Factory:r.Factory,FactoryIcon:r.FactoryIcon,Faders:r.Faders,FadersHorizontal:r.FadersHorizontal,FadersHorizontalIcon:r.FadersHorizontalIcon,FadersIcon:r.FadersIcon,FalloutShelter:r.FalloutShelter,FalloutShelterIcon:r.FalloutShelterIcon,Fan:r.Fan,FanIcon:r.FanIcon,Farm:r.Farm,FarmIcon:r.FarmIcon,FastForward:r.FastForward,FastForwardCircle:r.FastForwardCircle,FastForwardCircleIcon:r.FastForwardCircleIcon,FastForwardIcon:r.FastForwardIcon,Feather:r.Feather,FeatherIcon:r.FeatherIcon,FediverseLogo:r.FediverseLogo,FediverseLogoIcon:r.FediverseLogoIcon,FigmaLogo:r.FigmaLogo,FigmaLogoIcon:r.FigmaLogoIcon,File:r.File,FileArchive:r.FileArchive,FileArchiveIcon:r.FileArchiveIcon,FileArrowDown:r.FileArrowDown,FileArrowDownIcon:r.FileArrowDownIcon,FileArrowUp:r.FileArrowUp,FileArrowUpIcon:r.FileArrowUpIcon,FileAudio:r.FileAudio,FileAudioIcon:r.FileAudioIcon,FileC:r.FileC,FileCIcon:r.FileCIcon,FileCSharp:r.FileCSharp,FileCSharpIcon:r.FileCSharpIcon,FileCloud:r.FileCloud,FileCloudIcon:r.FileCloudIcon,FileCode:r.FileCode,FileCodeIcon:r.FileCodeIcon,FileCpp:r.FileCpp,FileCppIcon:r.FileCppIcon,FileCss:r.FileCss,FileCssIcon:r.FileCssIcon,FileCsv:r.FileCsv,FileCsvIcon:r.FileCsvIcon,FileDashed:r.FileDashed,FileDashedIcon:r.FileDashedIcon,FileDoc:r.FileDoc,FileDocIcon:r.FileDocIcon,FileDottedIcon:r.FileDottedIcon,FileHtml:r.FileHtml,FileHtmlIcon:r.FileHtmlIcon,FileIcon:r.FileIcon,FileImage:r.FileImage,FileImageIcon:r.FileImageIcon,FileIni:r.FileIni,FileIniIcon:r.FileIniIcon,FileJpg:r.FileJpg,FileJpgIcon:r.FileJpgIcon,FileJs:r.FileJs,FileJsIcon:r.FileJsIcon,FileJsx:r.FileJsx,FileJsxIcon:r.FileJsxIcon,FileLock:r.FileLock,FileLockIcon:r.FileLockIcon,FileMagnifyingGlass:r.FileMagnifyingGlass,FileMagnifyingGlassIcon:r.FileMagnifyingGlassIcon,FileMd:r.FileMd,FileMdIcon:r.FileMdIcon,FileMinus:r.FileMinus,FileMinusIcon:r.FileMinusIcon,FilePdf:r.FilePdf,FilePdfIcon:r.FilePdfIcon,FilePlus:r.FilePlus,FilePlusIcon:r.FilePlusIcon,FilePng:r.FilePng,FilePngIcon:r.FilePngIcon,FilePpt:r.FilePpt,FilePptIcon:r.FilePptIcon,FilePy:r.FilePy,FilePyIcon:r.FilePyIcon,FileRs:r.FileRs,FileRsIcon:r.FileRsIcon,FileSearchIcon:r.FileSearchIcon,FileSql:r.FileSql,FileSqlIcon:r.FileSqlIcon,FileSvg:r.FileSvg,FileSvgIcon:r.FileSvgIcon,FileText:r.FileText,FileTextIcon:r.FileTextIcon,FileTs:r.FileTs,FileTsIcon:r.FileTsIcon,FileTsx:r.FileTsx,FileTsxIcon:r.FileTsxIcon,FileTxt:r.FileTxt,FileTxtIcon:r.FileTxtIcon,FileVideo:r.FileVideo,FileVideoIcon:r.FileVideoIcon,FileVue:r.FileVue,FileVueIcon:r.FileVueIcon,FileX:r.FileX,FileXIcon:r.FileXIcon,FileXls:r.FileXls,FileXlsIcon:r.FileXlsIcon,FileZip:r.FileZip,FileZipIcon:r.FileZipIcon,Files:r.Files,FilesIcon:r.FilesIcon,FilmReel:r.FilmReel,FilmReelIcon:r.FilmReelIcon,FilmScript:r.FilmScript,FilmScriptIcon:r.FilmScriptIcon,FilmSlate:r.FilmSlate,FilmSlateIcon:r.FilmSlateIcon,FilmStrip:r.FilmStrip,FilmStripIcon:r.FilmStripIcon,Fingerprint:r.Fingerprint,FingerprintIcon:r.FingerprintIcon,FingerprintSimple:r.FingerprintSimple,FingerprintSimpleIcon:r.FingerprintSimpleIcon,FinnTheHuman:r.FinnTheHuman,FinnTheHumanIcon:r.FinnTheHumanIcon,Fire:r.Fire,FireExtinguisher:r.FireExtinguisher,FireExtinguisherIcon:r.FireExtinguisherIcon,FireIcon:r.FireIcon,FireSimple:r.FireSimple,FireSimpleIcon:r.FireSimpleIcon,FireTruck:r.FireTruck,FireTruckIcon:r.FireTruckIcon,FirstAid:r.FirstAid,FirstAidIcon:r.FirstAidIcon,FirstAidKit:r.FirstAidKit,FirstAidKitIcon:r.FirstAidKitIcon,Fish:r.Fish,FishIcon:r.FishIcon,FishSimple:r.FishSimple,FishSimpleIcon:r.FishSimpleIcon,Flag:r.Flag,FlagBanner:r.FlagBanner,FlagBannerFold:r.FlagBannerFold,FlagBannerFoldIcon:r.FlagBannerFoldIcon,FlagBannerIcon:r.FlagBannerIcon,FlagCheckered:r.FlagCheckered,FlagCheckeredIcon:r.FlagCheckeredIcon,FlagIcon:r.FlagIcon,FlagPennant:r.FlagPennant,FlagPennantIcon:r.FlagPennantIcon,Flame:r.Flame,FlameIcon:r.FlameIcon,Flashlight:r.Flashlight,FlashlightIcon:r.FlashlightIcon,Flask:r.Flask,FlaskIcon:r.FlaskIcon,FlipHorizontal:r.FlipHorizontal,FlipHorizontalIcon:r.FlipHorizontalIcon,FlipVertical:r.FlipVertical,FlipVerticalIcon:r.FlipVerticalIcon,FloppyDisk:r.FloppyDisk,FloppyDiskBack:r.FloppyDiskBack,FloppyDiskBackIcon:r.FloppyDiskBackIcon,FloppyDiskIcon:r.FloppyDiskIcon,FlowArrow:r.FlowArrow,FlowArrowIcon:r.FlowArrowIcon,Flower:r.Flower,FlowerIcon:r.FlowerIcon,FlowerLotus:r.FlowerLotus,FlowerLotusIcon:r.FlowerLotusIcon,FlowerTulip:r.FlowerTulip,FlowerTulipIcon:r.FlowerTulipIcon,FlyingSaucer:r.FlyingSaucer,FlyingSaucerIcon:r.FlyingSaucerIcon,Folder:r.Folder,FolderDashed:r.FolderDashed,FolderDashedIcon:r.FolderDashedIcon,FolderDottedIcon:r.FolderDottedIcon,FolderIcon:r.FolderIcon,FolderLock:r.FolderLock,FolderLockIcon:r.FolderLockIcon,FolderMinus:r.FolderMinus,FolderMinusIcon:r.FolderMinusIcon,FolderNotchIcon:r.FolderNotchIcon,FolderNotchMinusIcon:r.FolderNotchMinusIcon,FolderNotchOpenIcon:r.FolderNotchOpenIcon,FolderNotchPlusIcon:r.FolderNotchPlusIcon,FolderOpen:r.FolderOpen,FolderOpenIcon:r.FolderOpenIcon,FolderPlus:r.FolderPlus,FolderPlusIcon:r.FolderPlusIcon,FolderSimple:r.FolderSimple,FolderSimpleDashed:r.FolderSimpleDashed,FolderSimpleDashedIcon:r.FolderSimpleDashedIcon,FolderSimpleDottedIcon:r.FolderSimpleDottedIcon,FolderSimpleIcon:r.FolderSimpleIcon,FolderSimpleLock:r.FolderSimpleLock,FolderSimpleLockIcon:r.FolderSimpleLockIcon,FolderSimpleMinus:r.FolderSimpleMinus,FolderSimpleMinusIcon:r.FolderSimpleMinusIcon,FolderSimplePlus:r.FolderSimplePlus,FolderSimplePlusIcon:r.FolderSimplePlusIcon,FolderSimpleStar:r.FolderSimpleStar,FolderSimpleStarIcon:r.FolderSimpleStarIcon,FolderSimpleUser:r.FolderSimpleUser,FolderSimpleUserIcon:r.FolderSimpleUserIcon,FolderStar:r.FolderStar,FolderStarIcon:r.FolderStarIcon,FolderUser:r.FolderUser,FolderUserIcon:r.FolderUserIcon,Folders:r.Folders,FoldersIcon:r.FoldersIcon,Football:r.Football,FootballHelmet:r.FootballHelmet,FootballHelmetIcon:r.FootballHelmetIcon,FootballIcon:r.FootballIcon,Footprints:r.Footprints,FootprintsIcon:r.FootprintsIcon,ForkKnife:r.ForkKnife,ForkKnifeIcon:r.ForkKnifeIcon,FourK:r.FourK,FourKIcon:r.FourKIcon,FrameCorners:r.FrameCorners,FrameCornersIcon:r.FrameCornersIcon,FramerLogo:r.FramerLogo,FramerLogoIcon:r.FramerLogoIcon,Function:r.Function,FunctionIcon:r.FunctionIcon,Funnel:r.Funnel,FunnelIcon:r.FunnelIcon,FunnelSimple:r.FunnelSimple,FunnelSimpleIcon:r.FunnelSimpleIcon,FunnelSimpleX:r.FunnelSimpleX,FunnelSimpleXIcon:r.FunnelSimpleXIcon,FunnelX:r.FunnelX,FunnelXIcon:r.FunnelXIcon,GameController:r.GameController,GameControllerIcon:r.GameControllerIcon,Garage:r.Garage,GarageIcon:r.GarageIcon,GasCan:r.GasCan,GasCanIcon:r.GasCanIcon,GasPump:r.GasPump,GasPumpIcon:r.GasPumpIcon,Gauge:r.Gauge,GaugeIcon:r.GaugeIcon,Gavel:r.Gavel,GavelIcon:r.GavelIcon,Gear:r.Gear,GearFine:r.GearFine,GearFineIcon:r.GearFineIcon,GearIcon:r.GearIcon,GearSix:r.GearSix,GearSixIcon:r.GearSixIcon,GenderFemale:r.GenderFemale,GenderFemaleIcon:r.GenderFemaleIcon,GenderIntersex:r.GenderIntersex,GenderIntersexIcon:r.GenderIntersexIcon,GenderMale:r.GenderMale,GenderMaleIcon:r.GenderMaleIcon,GenderNeuter:r.GenderNeuter,GenderNeuterIcon:r.GenderNeuterIcon,GenderNonbinary:r.GenderNonbinary,GenderNonbinaryIcon:r.GenderNonbinaryIcon,GenderTransgender:r.GenderTransgender,GenderTransgenderIcon:r.GenderTransgenderIcon,Ghost:r.Ghost,GhostIcon:r.GhostIcon,Gif:r.Gif,GifIcon:r.GifIcon,Gift:r.Gift,GiftIcon:r.GiftIcon,GitBranch:r.GitBranch,GitBranchIcon:r.GitBranchIcon,GitCommit:r.GitCommit,GitCommitIcon:r.GitCommitIcon,GitDiff:r.GitDiff,GitDiffIcon:r.GitDiffIcon,GitFork:r.GitFork,GitForkIcon:r.GitForkIcon,GitMerge:r.GitMerge,GitMergeIcon:r.GitMergeIcon,GitPullRequest:r.GitPullRequest,GitPullRequestIcon:r.GitPullRequestIcon,GithubLogo:r.GithubLogo,GithubLogoIcon:r.GithubLogoIcon,GitlabLogo:r.GitlabLogo,GitlabLogoIcon:r.GitlabLogoIcon,GitlabLogoSimple:r.GitlabLogoSimple,GitlabLogoSimpleIcon:r.GitlabLogoSimpleIcon,Globe:r.Globe,GlobeHemisphereEast:r.GlobeHemisphereEast,GlobeHemisphereEastIcon:r.GlobeHemisphereEastIcon,GlobeHemisphereWest:r.GlobeHemisphereWest,GlobeHemisphereWestIcon:r.GlobeHemisphereWestIcon,GlobeIcon:r.GlobeIcon,GlobeSimple:r.GlobeSimple,GlobeSimpleIcon:r.GlobeSimpleIcon,GlobeSimpleX:r.GlobeSimpleX,GlobeSimpleXIcon:r.GlobeSimpleXIcon,GlobeStand:r.GlobeStand,GlobeStandIcon:r.GlobeStandIcon,GlobeX:r.GlobeX,GlobeXIcon:r.GlobeXIcon,Goggles:r.Goggles,GogglesIcon:r.GogglesIcon,Golf:r.Golf,GolfIcon:r.GolfIcon,GoodreadsLogo:r.GoodreadsLogo,GoodreadsLogoIcon:r.GoodreadsLogoIcon,GoogleCardboardLogo:r.GoogleCardboardLogo,GoogleCardboardLogoIcon:r.GoogleCardboardLogoIcon,GoogleChromeLogo:r.GoogleChromeLogo,GoogleChromeLogoIcon:r.GoogleChromeLogoIcon,GoogleDriveLogo:r.GoogleDriveLogo,GoogleDriveLogoIcon:r.GoogleDriveLogoIcon,GoogleLogo:r.GoogleLogo,GoogleLogoIcon:r.GoogleLogoIcon,GooglePhotosLogo:r.GooglePhotosLogo,GooglePhotosLogoIcon:r.GooglePhotosLogoIcon,GooglePlayLogo:r.GooglePlayLogo,GooglePlayLogoIcon:r.GooglePlayLogoIcon,GooglePodcastsLogo:r.GooglePodcastsLogo,GooglePodcastsLogoIcon:r.GooglePodcastsLogoIcon,Gps:r.Gps,GpsFix:r.GpsFix,GpsFixIcon:r.GpsFixIcon,GpsIcon:r.GpsIcon,GpsSlash:r.GpsSlash,GpsSlashIcon:r.GpsSlashIcon,Gradient:r.Gradient,GradientIcon:r.GradientIcon,GraduationCap:r.GraduationCap,GraduationCapIcon:r.GraduationCapIcon,Grains:r.Grains,GrainsIcon:r.GrainsIcon,GrainsSlash:r.GrainsSlash,GrainsSlashIcon:r.GrainsSlashIcon,Graph:r.Graph,GraphIcon:r.GraphIcon,GraphicsCard:r.GraphicsCard,GraphicsCardIcon:r.GraphicsCardIcon,GreaterThan:r.GreaterThan,GreaterThanIcon:r.GreaterThanIcon,GreaterThanOrEqual:r.GreaterThanOrEqual,GreaterThanOrEqualIcon:r.GreaterThanOrEqualIcon,GridFour:r.GridFour,GridFourIcon:r.GridFourIcon,GridNine:r.GridNine,GridNineIcon:r.GridNineIcon,Guitar:r.Guitar,GuitarIcon:r.GuitarIcon,HairDryer:r.HairDryer,HairDryerIcon:r.HairDryerIcon,Hamburger:r.Hamburger,HamburgerIcon:r.HamburgerIcon,Hammer:r.Hammer,HammerIcon:r.HammerIcon,Hand:r.Hand,HandArrowDown:r.HandArrowDown,HandArrowDownIcon:r.HandArrowDownIcon,HandArrowUp:r.HandArrowUp,HandArrowUpIcon:r.HandArrowUpIcon,HandCoins:r.HandCoins,HandCoinsIcon:r.HandCoinsIcon,HandDeposit:r.HandDeposit,HandDepositIcon:r.HandDepositIcon,HandEye:r.HandEye,HandEyeIcon:r.HandEyeIcon,HandFist:r.HandFist,HandFistIcon:r.HandFistIcon,HandGrabbing:r.HandGrabbing,HandGrabbingIcon:r.HandGrabbingIcon,HandHeart:r.HandHeart,HandHeartIcon:r.HandHeartIcon,HandIcon:r.HandIcon,HandPalm:r.HandPalm,HandPalmIcon:r.HandPalmIcon,HandPeace:r.HandPeace,HandPeaceIcon:r.HandPeaceIcon,HandPointing:r.HandPointing,HandPointingIcon:r.HandPointingIcon,HandSoap:r.HandSoap,HandSoapIcon:r.HandSoapIcon,HandSwipeLeft:r.HandSwipeLeft,HandSwipeLeftIcon:r.HandSwipeLeftIcon,HandSwipeRight:r.HandSwipeRight,HandSwipeRightIcon:r.HandSwipeRightIcon,HandTap:r.HandTap,HandTapIcon:r.HandTapIcon,HandWaving:r.HandWaving,HandWavingIcon:r.HandWavingIcon,HandWithdraw:r.HandWithdraw,HandWithdrawIcon:r.HandWithdrawIcon,Handbag:r.Handbag,HandbagIcon:r.HandbagIcon,HandbagSimple:r.HandbagSimple,HandbagSimpleIcon:r.HandbagSimpleIcon,HandsClapping:r.HandsClapping,HandsClappingIcon:r.HandsClappingIcon,HandsPraying:r.HandsPraying,HandsPrayingIcon:r.HandsPrayingIcon,Handshake:r.Handshake,HandshakeIcon:r.HandshakeIcon,HardDrive:r.HardDrive,HardDriveIcon:r.HardDriveIcon,HardDrives:r.HardDrives,HardDrivesIcon:r.HardDrivesIcon,HardHat:r.HardHat,HardHatIcon:r.HardHatIcon,Hash:r.Hash,HashIcon:r.HashIcon,HashStraight:r.HashStraight,HashStraightIcon:r.HashStraightIcon,HeadCircuit:r.HeadCircuit,HeadCircuitIcon:r.HeadCircuitIcon,Headlights:r.Headlights,HeadlightsIcon:r.HeadlightsIcon,Headphones:r.Headphones,HeadphonesIcon:r.HeadphonesIcon,Headset:r.Headset,HeadsetIcon:r.HeadsetIcon,Heart:r.Heart,HeartBreak:r.HeartBreak,HeartBreakIcon:r.HeartBreakIcon,HeartHalf:r.HeartHalf,HeartHalfIcon:r.HeartHalfIcon,HeartIcon:r.HeartIcon,HeartStraight:r.HeartStraight,HeartStraightBreak:r.HeartStraightBreak,HeartStraightBreakIcon:r.HeartStraightBreakIcon,HeartStraightIcon:r.HeartStraightIcon,Heartbeat:r.Heartbeat,HeartbeatIcon:r.HeartbeatIcon,Hexagon:r.Hexagon,HexagonIcon:r.HexagonIcon,HighDefinition:r.HighDefinition,HighDefinitionIcon:r.HighDefinitionIcon,HighHeel:r.HighHeel,HighHeelIcon:r.HighHeelIcon,Highlighter:r.Highlighter,HighlighterCircle:r.HighlighterCircle,HighlighterCircleIcon:r.HighlighterCircleIcon,HighlighterIcon:r.HighlighterIcon,Hockey:r.Hockey,HockeyIcon:r.HockeyIcon,Hoodie:r.Hoodie,HoodieIcon:r.HoodieIcon,Horse:r.Horse,HorseIcon:r.HorseIcon,Hospital:r.Hospital,HospitalIcon:r.HospitalIcon,Hourglass:r.Hourglass,HourglassHigh:r.HourglassHigh,HourglassHighIcon:r.HourglassHighIcon,HourglassIcon:r.HourglassIcon,HourglassLow:r.HourglassLow,HourglassLowIcon:r.HourglassLowIcon,HourglassMedium:r.HourglassMedium,HourglassMediumIcon:r.HourglassMediumIcon,HourglassSimple:r.HourglassSimple,HourglassSimpleHigh:r.HourglassSimpleHigh,HourglassSimpleHighIcon:r.HourglassSimpleHighIcon,HourglassSimpleIcon:r.HourglassSimpleIcon,HourglassSimpleLow:r.HourglassSimpleLow,HourglassSimpleLowIcon:r.HourglassSimpleLowIcon,HourglassSimpleMedium:r.HourglassSimpleMedium,HourglassSimpleMediumIcon:r.HourglassSimpleMediumIcon,House:r.House,HouseIcon:r.HouseIcon,HouseLine:r.HouseLine,HouseLineIcon:r.HouseLineIcon,HouseSimple:r.HouseSimple,HouseSimpleIcon:r.HouseSimpleIcon,Hurricane:r.Hurricane,HurricaneIcon:r.HurricaneIcon,IceCream:r.IceCream,IceCreamIcon:r.IceCreamIcon,IconBase:r.IconBase,IconContext:r.IconContext,IdentificationBadge:r.IdentificationBadge,IdentificationBadgeIcon:r.IdentificationBadgeIcon,IdentificationCard:r.IdentificationCard,IdentificationCardIcon:r.IdentificationCardIcon,Image:r.Image,ImageBroken:r.ImageBroken,ImageBrokenIcon:r.ImageBrokenIcon,ImageIcon:r.ImageIcon,ImageSquare:r.ImageSquare,ImageSquareIcon:r.ImageSquareIcon,Images:r.Images,ImagesIcon:r.ImagesIcon,ImagesSquare:r.ImagesSquare,ImagesSquareIcon:r.ImagesSquareIcon,Infinity:r.Infinity,InfinityIcon:r.InfinityIcon,Info:r.Info,InfoIcon:r.InfoIcon,InstagramLogo:r.InstagramLogo,InstagramLogoIcon:r.InstagramLogoIcon,Intersect:r.Intersect,IntersectIcon:r.IntersectIcon,IntersectSquare:r.IntersectSquare,IntersectSquareIcon:r.IntersectSquareIcon,IntersectThree:r.IntersectThree,IntersectThreeIcon:r.IntersectThreeIcon,Intersection:r.Intersection,IntersectionIcon:r.IntersectionIcon,Invoice:r.Invoice,InvoiceIcon:r.InvoiceIcon,Island:r.Island,IslandIcon:r.IslandIcon,Jar:r.Jar,JarIcon:r.JarIcon,JarLabel:r.JarLabel,JarLabelIcon:r.JarLabelIcon,Jeep:r.Jeep,JeepIcon:r.JeepIcon,Joystick:r.Joystick,JoystickIcon:r.JoystickIcon,Kanban:r.Kanban,KanbanIcon:r.KanbanIcon,Key:r.Key,KeyIcon:r.KeyIcon,KeyReturn:r.KeyReturn,KeyReturnIcon:r.KeyReturnIcon,Keyboard:r.Keyboard,KeyboardIcon:r.KeyboardIcon,Keyhole:r.Keyhole,KeyholeIcon:r.KeyholeIcon,Knife:r.Knife,KnifeIcon:r.KnifeIcon,Ladder:r.Ladder,LadderIcon:r.LadderIcon,LadderSimple:r.LadderSimple,LadderSimpleIcon:r.LadderSimpleIcon,Lamp:r.Lamp,LampIcon:r.LampIcon,LampPendant:r.LampPendant,LampPendantIcon:r.LampPendantIcon,Laptop:r.Laptop,LaptopIcon:r.LaptopIcon,Lasso:r.Lasso,LassoIcon:r.LassoIcon,LastfmLogo:r.LastfmLogo,LastfmLogoIcon:r.LastfmLogoIcon,Layout:r.Layout,LayoutIcon:r.LayoutIcon,Leaf:r.Leaf,LeafIcon:r.LeafIcon,Lectern:r.Lectern,LecternIcon:r.LecternIcon,Lego:r.Lego,LegoIcon:r.LegoIcon,LegoSmiley:r.LegoSmiley,LegoSmileyIcon:r.LegoSmileyIcon,LemniscateIcon:r.LemniscateIcon,LessThan:r.LessThan,LessThanIcon:r.LessThanIcon,LessThanOrEqual:r.LessThanOrEqual,LessThanOrEqualIcon:r.LessThanOrEqualIcon,LetterCircleH:r.LetterCircleH,LetterCircleHIcon:r.LetterCircleHIcon,LetterCircleP:r.LetterCircleP,LetterCirclePIcon:r.LetterCirclePIcon,LetterCircleV:r.LetterCircleV,LetterCircleVIcon:r.LetterCircleVIcon,Lifebuoy:r.Lifebuoy,LifebuoyIcon:r.LifebuoyIcon,Lightbulb:r.Lightbulb,LightbulbFilament:r.LightbulbFilament,LightbulbFilamentIcon:r.LightbulbFilamentIcon,LightbulbIcon:r.LightbulbIcon,Lighthouse:r.Lighthouse,LighthouseIcon:r.LighthouseIcon,Lightning:r.Lightning,LightningA:r.LightningA,LightningAIcon:r.LightningAIcon,LightningIcon:r.LightningIcon,LightningSlash:r.LightningSlash,LightningSlashIcon:r.LightningSlashIcon,LineSegment:r.LineSegment,LineSegmentIcon:r.LineSegmentIcon,LineSegments:r.LineSegments,LineSegmentsIcon:r.LineSegmentsIcon,LineVertical:r.LineVertical,LineVerticalIcon:r.LineVerticalIcon,Link:r.Link,LinkBreak:r.LinkBreak,LinkBreakIcon:r.LinkBreakIcon,LinkIcon:r.LinkIcon,LinkSimple:r.LinkSimple,LinkSimpleBreak:r.LinkSimpleBreak,LinkSimpleBreakIcon:r.LinkSimpleBreakIcon,LinkSimpleHorizontal:r.LinkSimpleHorizontal,LinkSimpleHorizontalBreak:r.LinkSimpleHorizontalBreak,LinkSimpleHorizontalBreakIcon:r.LinkSimpleHorizontalBreakIcon,LinkSimpleHorizontalIcon:r.LinkSimpleHorizontalIcon,LinkSimpleIcon:r.LinkSimpleIcon,LinkedinLogo:r.LinkedinLogo,LinkedinLogoIcon:r.LinkedinLogoIcon,LinktreeLogo:r.LinktreeLogo,LinktreeLogoIcon:r.LinktreeLogoIcon,LinuxLogo:r.LinuxLogo,LinuxLogoIcon:r.LinuxLogoIcon,List:r.List,ListBullets:r.ListBullets,ListBulletsIcon:r.ListBulletsIcon,ListChecks:r.ListChecks,ListChecksIcon:r.ListChecksIcon,ListDashes:r.ListDashes,ListDashesIcon:r.ListDashesIcon,ListHeart:r.ListHeart,ListHeartIcon:r.ListHeartIcon,ListIcon:r.ListIcon,ListMagnifyingGlass:r.ListMagnifyingGlass,ListMagnifyingGlassIcon:r.ListMagnifyingGlassIcon,ListNumbers:r.ListNumbers,ListNumbersIcon:r.ListNumbersIcon,ListPlus:r.ListPlus,ListPlusIcon:r.ListPlusIcon,ListStar:r.ListStar,ListStarIcon:r.ListStarIcon,Lock:r.Lock,LockIcon:r.LockIcon,LockKey:r.LockKey,LockKeyIcon:r.LockKeyIcon,LockKeyOpen:r.LockKeyOpen,LockKeyOpenIcon:r.LockKeyOpenIcon,LockLaminated:r.LockLaminated,LockLaminatedIcon:r.LockLaminatedIcon,LockLaminatedOpen:r.LockLaminatedOpen,LockLaminatedOpenIcon:r.LockLaminatedOpenIcon,LockOpen:r.LockOpen,LockOpenIcon:r.LockOpenIcon,LockSimple:r.LockSimple,LockSimpleIcon:r.LockSimpleIcon,LockSimpleOpen:r.LockSimpleOpen,LockSimpleOpenIcon:r.LockSimpleOpenIcon,Lockers:r.Lockers,LockersIcon:r.LockersIcon,Log:r.Log,LogIcon:r.LogIcon,MagicWand:r.MagicWand,MagicWandIcon:r.MagicWandIcon,Magnet:r.Magnet,MagnetIcon:r.MagnetIcon,MagnetStraight:r.MagnetStraight,MagnetStraightIcon:r.MagnetStraightIcon,MagnifyingGlass:r.MagnifyingGlass,MagnifyingGlassIcon:r.MagnifyingGlassIcon,MagnifyingGlassMinus:r.MagnifyingGlassMinus,MagnifyingGlassMinusIcon:r.MagnifyingGlassMinusIcon,MagnifyingGlassPlus:r.MagnifyingGlassPlus,MagnifyingGlassPlusIcon:r.MagnifyingGlassPlusIcon,Mailbox:r.Mailbox,MailboxIcon:r.MailboxIcon,MapPin:r.MapPin,MapPinArea:r.MapPinArea,MapPinAreaIcon:r.MapPinAreaIcon,MapPinIcon:r.MapPinIcon,MapPinLine:r.MapPinLine,MapPinLineIcon:r.MapPinLineIcon,MapPinPlus:r.MapPinPlus,MapPinPlusIcon:r.MapPinPlusIcon,MapPinSimple:r.MapPinSimple,MapPinSimpleArea:r.MapPinSimpleArea,MapPinSimpleAreaIcon:r.MapPinSimpleAreaIcon,MapPinSimpleIcon:r.MapPinSimpleIcon,MapPinSimpleLine:r.MapPinSimpleLine,MapPinSimpleLineIcon:r.MapPinSimpleLineIcon,MapTrifold:r.MapTrifold,MapTrifoldIcon:r.MapTrifoldIcon,MarkdownLogo:r.MarkdownLogo,MarkdownLogoIcon:r.MarkdownLogoIcon,MarkerCircle:r.MarkerCircle,MarkerCircleIcon:r.MarkerCircleIcon,Martini:r.Martini,MartiniIcon:r.MartiniIcon,MaskHappy:r.MaskHappy,MaskHappyIcon:r.MaskHappyIcon,MaskSad:r.MaskSad,MaskSadIcon:r.MaskSadIcon,MastodonLogo:r.MastodonLogo,MastodonLogoIcon:r.MastodonLogoIcon,MathOperations:r.MathOperations,MathOperationsIcon:r.MathOperationsIcon,MatrixLogo:r.MatrixLogo,MatrixLogoIcon:r.MatrixLogoIcon,Medal:r.Medal,MedalIcon:r.MedalIcon,MedalMilitary:r.MedalMilitary,MedalMilitaryIcon:r.MedalMilitaryIcon,MediumLogo:r.MediumLogo,MediumLogoIcon:r.MediumLogoIcon,Megaphone:r.Megaphone,MegaphoneIcon:r.MegaphoneIcon,MegaphoneSimple:r.MegaphoneSimple,MegaphoneSimpleIcon:r.MegaphoneSimpleIcon,MemberOf:r.MemberOf,MemberOfIcon:r.MemberOfIcon,Memory:r.Memory,MemoryIcon:r.MemoryIcon,MessengerLogo:r.MessengerLogo,MessengerLogoIcon:r.MessengerLogoIcon,MetaLogo:r.MetaLogo,MetaLogoIcon:r.MetaLogoIcon,Meteor:r.Meteor,MeteorIcon:r.MeteorIcon,Metronome:r.Metronome,MetronomeIcon:r.MetronomeIcon,Microphone:r.Microphone,MicrophoneIcon:r.MicrophoneIcon,MicrophoneSlash:r.MicrophoneSlash,MicrophoneSlashIcon:r.MicrophoneSlashIcon,MicrophoneStage:r.MicrophoneStage,MicrophoneStageIcon:r.MicrophoneStageIcon,Microscope:r.Microscope,MicroscopeIcon:r.MicroscopeIcon,MicrosoftExcelLogo:r.MicrosoftExcelLogo,MicrosoftExcelLogoIcon:r.MicrosoftExcelLogoIcon,MicrosoftOutlookLogo:r.MicrosoftOutlookLogo,MicrosoftOutlookLogoIcon:r.MicrosoftOutlookLogoIcon,MicrosoftPowerpointLogo:r.MicrosoftPowerpointLogo,MicrosoftPowerpointLogoIcon:r.MicrosoftPowerpointLogoIcon,MicrosoftTeamsLogo:r.MicrosoftTeamsLogo,MicrosoftTeamsLogoIcon:r.MicrosoftTeamsLogoIcon,MicrosoftWordLogo:r.MicrosoftWordLogo,MicrosoftWordLogoIcon:r.MicrosoftWordLogoIcon,Minus:r.Minus,MinusCircle:r.MinusCircle,MinusCircleIcon:r.MinusCircleIcon,MinusIcon:r.MinusIcon,MinusSquare:r.MinusSquare,MinusSquareIcon:r.MinusSquareIcon,Money:r.Money,MoneyIcon:r.MoneyIcon,MoneyWavy:r.MoneyWavy,MoneyWavyIcon:r.MoneyWavyIcon,Monitor:r.Monitor,MonitorArrowUp:r.MonitorArrowUp,MonitorArrowUpIcon:r.MonitorArrowUpIcon,MonitorIcon:r.MonitorIcon,MonitorPlay:r.MonitorPlay,MonitorPlayIcon:r.MonitorPlayIcon,Moon:r.Moon,MoonIcon:r.MoonIcon,MoonStars:r.MoonStars,MoonStarsIcon:r.MoonStarsIcon,Moped:r.Moped,MopedFront:r.MopedFront,MopedFrontIcon:r.MopedFrontIcon,MopedIcon:r.MopedIcon,Mosque:r.Mosque,MosqueIcon:r.MosqueIcon,Motorcycle:r.Motorcycle,MotorcycleIcon:r.MotorcycleIcon,Mountains:r.Mountains,MountainsIcon:r.MountainsIcon,Mouse:r.Mouse,MouseIcon:r.MouseIcon,MouseLeftClick:r.MouseLeftClick,MouseLeftClickIcon:r.MouseLeftClickIcon,MouseMiddleClick:r.MouseMiddleClick,MouseMiddleClickIcon:r.MouseMiddleClickIcon,MouseRightClick:r.MouseRightClick,MouseRightClickIcon:r.MouseRightClickIcon,MouseScroll:r.MouseScroll,MouseScrollIcon:r.MouseScrollIcon,MouseSimple:r.MouseSimple,MouseSimpleIcon:r.MouseSimpleIcon,MusicNote:r.MusicNote,MusicNoteIcon:r.MusicNoteIcon,MusicNoteSimple:r.MusicNoteSimple,MusicNoteSimpleIcon:r.MusicNoteSimpleIcon,MusicNotes:r.MusicNotes,MusicNotesIcon:r.MusicNotesIcon,MusicNotesMinus:r.MusicNotesMinus,MusicNotesMinusIcon:r.MusicNotesMinusIcon,MusicNotesPlus:r.MusicNotesPlus,MusicNotesPlusIcon:r.MusicNotesPlusIcon,MusicNotesSimple:r.MusicNotesSimple,MusicNotesSimpleIcon:r.MusicNotesSimpleIcon,NavigationArrow:r.NavigationArrow,NavigationArrowIcon:r.NavigationArrowIcon,Needle:r.Needle,NeedleIcon:r.NeedleIcon,Network:r.Network,NetworkIcon:r.NetworkIcon,NetworkSlash:r.NetworkSlash,NetworkSlashIcon:r.NetworkSlashIcon,NetworkX:r.NetworkX,NetworkXIcon:r.NetworkXIcon,Newspaper:r.Newspaper,NewspaperClipping:r.NewspaperClipping,NewspaperClippingIcon:r.NewspaperClippingIcon,NewspaperIcon:r.NewspaperIcon,NotEquals:r.NotEquals,NotEqualsIcon:r.NotEqualsIcon,NotMemberOf:r.NotMemberOf,NotMemberOfIcon:r.NotMemberOfIcon,NotSubsetOf:r.NotSubsetOf,NotSubsetOfIcon:r.NotSubsetOfIcon,NotSupersetOf:r.NotSupersetOf,NotSupersetOfIcon:r.NotSupersetOfIcon,Notches:r.Notches,NotchesIcon:r.NotchesIcon,Note:r.Note,NoteBlank:r.NoteBlank,NoteBlankIcon:r.NoteBlankIcon,NoteIcon:r.NoteIcon,NotePencil:r.NotePencil,NotePencilIcon:r.NotePencilIcon,Notebook:r.Notebook,NotebookIcon:r.NotebookIcon,Notepad:r.Notepad,NotepadIcon:r.NotepadIcon,Notification:r.Notification,NotificationIcon:r.NotificationIcon,NotionLogo:r.NotionLogo,NotionLogoIcon:r.NotionLogoIcon,NuclearPlant:r.NuclearPlant,NuclearPlantIcon:r.NuclearPlantIcon,NumberCircleEight:r.NumberCircleEight,NumberCircleEightIcon:r.NumberCircleEightIcon,NumberCircleFive:r.NumberCircleFive,NumberCircleFiveIcon:r.NumberCircleFiveIcon,NumberCircleFour:r.NumberCircleFour,NumberCircleFourIcon:r.NumberCircleFourIcon,NumberCircleNine:r.NumberCircleNine,NumberCircleNineIcon:r.NumberCircleNineIcon,NumberCircleOne:r.NumberCircleOne,NumberCircleOneIcon:r.NumberCircleOneIcon,NumberCircleSeven:r.NumberCircleSeven,NumberCircleSevenIcon:r.NumberCircleSevenIcon,NumberCircleSix:r.NumberCircleSix,NumberCircleSixIcon:r.NumberCircleSixIcon,NumberCircleThree:r.NumberCircleThree,NumberCircleThreeIcon:r.NumberCircleThreeIcon,NumberCircleTwo:r.NumberCircleTwo,NumberCircleTwoIcon:r.NumberCircleTwoIcon,NumberCircleZero:r.NumberCircleZero,NumberCircleZeroIcon:r.NumberCircleZeroIcon,NumberEight:r.NumberEight,NumberEightIcon:r.NumberEightIcon,NumberFive:r.NumberFive,NumberFiveIcon:r.NumberFiveIcon,NumberFour:r.NumberFour,NumberFourIcon:r.NumberFourIcon,NumberNine:r.NumberNine,NumberNineIcon:r.NumberNineIcon,NumberOne:r.NumberOne,NumberOneIcon:r.NumberOneIcon,NumberSeven:r.NumberSeven,NumberSevenIcon:r.NumberSevenIcon,NumberSix:r.NumberSix,NumberSixIcon:r.NumberSixIcon,NumberSquareEight:r.NumberSquareEight,NumberSquareEightIcon:r.NumberSquareEightIcon,NumberSquareFive:r.NumberSquareFive,NumberSquareFiveIcon:r.NumberSquareFiveIcon,NumberSquareFour:r.NumberSquareFour,NumberSquareFourIcon:r.NumberSquareFourIcon,NumberSquareNine:r.NumberSquareNine,NumberSquareNineIcon:r.NumberSquareNineIcon,NumberSquareOne:r.NumberSquareOne,NumberSquareOneIcon:r.NumberSquareOneIcon,NumberSquareSeven:r.NumberSquareSeven,NumberSquareSevenIcon:r.NumberSquareSevenIcon,NumberSquareSix:r.NumberSquareSix,NumberSquareSixIcon:r.NumberSquareSixIcon,NumberSquareThree:r.NumberSquareThree,NumberSquareThreeIcon:r.NumberSquareThreeIcon,NumberSquareTwo:r.NumberSquareTwo,NumberSquareTwoIcon:r.NumberSquareTwoIcon,NumberSquareZero:r.NumberSquareZero,NumberSquareZeroIcon:r.NumberSquareZeroIcon,NumberThree:r.NumberThree,NumberThreeIcon:r.NumberThreeIcon,NumberTwo:r.NumberTwo,NumberTwoIcon:r.NumberTwoIcon,NumberZero:r.NumberZero,NumberZeroIcon:r.NumberZeroIcon,Numpad:r.Numpad,NumpadIcon:r.NumpadIcon,Nut:r.Nut,NutIcon:r.NutIcon,NyTimesLogo:r.NyTimesLogo,NyTimesLogoIcon:r.NyTimesLogoIcon,Octagon:r.Octagon,OctagonIcon:r.OctagonIcon,OfficeChair:r.OfficeChair,OfficeChairIcon:r.OfficeChairIcon,Onigiri:r.Onigiri,OnigiriIcon:r.OnigiriIcon,OpenAiLogo:r.OpenAiLogo,OpenAiLogoIcon:r.OpenAiLogoIcon,Option:r.Option,OptionIcon:r.OptionIcon,Orange:r.Orange,OrangeIcon:r.OrangeIcon,OrangeSlice:r.OrangeSlice,OrangeSliceIcon:r.OrangeSliceIcon,Oven:r.Oven,OvenIcon:r.OvenIcon,Package:r.Package,PackageIcon:r.PackageIcon,PaintBrush:r.PaintBrush,PaintBrushBroad:r.PaintBrushBroad,PaintBrushBroadIcon:r.PaintBrushBroadIcon,PaintBrushHousehold:r.PaintBrushHousehold,PaintBrushHouseholdIcon:r.PaintBrushHouseholdIcon,PaintBrushIcon:r.PaintBrushIcon,PaintBucket:r.PaintBucket,PaintBucketIcon:r.PaintBucketIcon,PaintRoller:r.PaintRoller,PaintRollerIcon:r.PaintRollerIcon,Palette:r.Palette,PaletteIcon:r.PaletteIcon,Panorama:r.Panorama,PanoramaIcon:r.PanoramaIcon,Pants:r.Pants,PantsIcon:r.PantsIcon,PaperPlane:r.PaperPlane,PaperPlaneIcon:r.PaperPlaneIcon,PaperPlaneRight:r.PaperPlaneRight,PaperPlaneRightIcon:r.PaperPlaneRightIcon,PaperPlaneTilt:r.PaperPlaneTilt,PaperPlaneTiltIcon:r.PaperPlaneTiltIcon,Paperclip:r.Paperclip,PaperclipHorizontal:r.PaperclipHorizontal,PaperclipHorizontalIcon:r.PaperclipHorizontalIcon,PaperclipIcon:r.PaperclipIcon,Parachute:r.Parachute,ParachuteIcon:r.ParachuteIcon,Paragraph:r.Paragraph,ParagraphIcon:r.ParagraphIcon,Parallelogram:r.Parallelogram,ParallelogramIcon:r.ParallelogramIcon,Park:r.Park,ParkIcon:r.ParkIcon,Password:r.Password,PasswordIcon:r.PasswordIcon,Path:r.Path,PathIcon:r.PathIcon,PatreonLogo:r.PatreonLogo,PatreonLogoIcon:r.PatreonLogoIcon,Pause:r.Pause,PauseCircle:r.PauseCircle,PauseCircleIcon:r.PauseCircleIcon,PauseIcon:r.PauseIcon,PawPrint:r.PawPrint,PawPrintIcon:r.PawPrintIcon,PaypalLogo:r.PaypalLogo,PaypalLogoIcon:r.PaypalLogoIcon,Peace:r.Peace,PeaceIcon:r.PeaceIcon,Pen:r.Pen,PenIcon:r.PenIcon,PenNib:r.PenNib,PenNibIcon:r.PenNibIcon,PenNibStraight:r.PenNibStraight,PenNibStraightIcon:r.PenNibStraightIcon,Pencil:r.Pencil,PencilCircle:r.PencilCircle,PencilCircleIcon:r.PencilCircleIcon,PencilIcon:r.PencilIcon,PencilLine:r.PencilLine,PencilLineIcon:r.PencilLineIcon,PencilRuler:r.PencilRuler,PencilRulerIcon:r.PencilRulerIcon,PencilSimple:r.PencilSimple,PencilSimpleIcon:r.PencilSimpleIcon,PencilSimpleLine:r.PencilSimpleLine,PencilSimpleLineIcon:r.PencilSimpleLineIcon,PencilSimpleSlash:r.PencilSimpleSlash,PencilSimpleSlashIcon:r.PencilSimpleSlashIcon,PencilSlash:r.PencilSlash,PencilSlashIcon:r.PencilSlashIcon,Pentagon:r.Pentagon,PentagonIcon:r.PentagonIcon,Pentagram:r.Pentagram,PentagramIcon:r.PentagramIcon,Pepper:r.Pepper,PepperIcon:r.PepperIcon,Percent:r.Percent,PercentIcon:r.PercentIcon,Person:r.Person,PersonArmsSpread:r.PersonArmsSpread,PersonArmsSpreadIcon:r.PersonArmsSpreadIcon,PersonIcon:r.PersonIcon,PersonSimple:r.PersonSimple,PersonSimpleBike:r.PersonSimpleBike,PersonSimpleBikeIcon:r.PersonSimpleBikeIcon,PersonSimpleCircle:r.PersonSimpleCircle,PersonSimpleCircleIcon:r.PersonSimpleCircleIcon,PersonSimpleHike:r.PersonSimpleHike,PersonSimpleHikeIcon:r.PersonSimpleHikeIcon,PersonSimpleIcon:r.PersonSimpleIcon,PersonSimpleRun:r.PersonSimpleRun,PersonSimpleRunIcon:r.PersonSimpleRunIcon,PersonSimpleSki:r.PersonSimpleSki,PersonSimpleSkiIcon:r.PersonSimpleSkiIcon,PersonSimpleSnowboard:r.PersonSimpleSnowboard,PersonSimpleSnowboardIcon:r.PersonSimpleSnowboardIcon,PersonSimpleSwim:r.PersonSimpleSwim,PersonSimpleSwimIcon:r.PersonSimpleSwimIcon,PersonSimpleTaiChi:r.PersonSimpleTaiChi,PersonSimpleTaiChiIcon:r.PersonSimpleTaiChiIcon,PersonSimpleThrow:r.PersonSimpleThrow,PersonSimpleThrowIcon:r.PersonSimpleThrowIcon,PersonSimpleWalk:r.PersonSimpleWalk,PersonSimpleWalkIcon:r.PersonSimpleWalkIcon,Perspective:r.Perspective,PerspectiveIcon:r.PerspectiveIcon,Phone:r.Phone,PhoneCall:r.PhoneCall,PhoneCallIcon:r.PhoneCallIcon,PhoneDisconnect:r.PhoneDisconnect,PhoneDisconnectIcon:r.PhoneDisconnectIcon,PhoneIcon:r.PhoneIcon,PhoneIncoming:r.PhoneIncoming,PhoneIncomingIcon:r.PhoneIncomingIcon,PhoneList:r.PhoneList,PhoneListIcon:r.PhoneListIcon,PhoneOutgoing:r.PhoneOutgoing,PhoneOutgoingIcon:r.PhoneOutgoingIcon,PhonePause:r.PhonePause,PhonePauseIcon:r.PhonePauseIcon,PhonePlus:r.PhonePlus,PhonePlusIcon:r.PhonePlusIcon,PhoneSlash:r.PhoneSlash,PhoneSlashIcon:r.PhoneSlashIcon,PhoneTransfer:r.PhoneTransfer,PhoneTransferIcon:r.PhoneTransferIcon,PhoneX:r.PhoneX,PhoneXIcon:r.PhoneXIcon,PhosphorLogo:r.PhosphorLogo,PhosphorLogoIcon:r.PhosphorLogoIcon,Pi:r.Pi,PiIcon:r.PiIcon,PianoKeys:r.PianoKeys,PianoKeysIcon:r.PianoKeysIcon,PicnicTable:r.PicnicTable,PicnicTableIcon:r.PicnicTableIcon,PictureInPicture:r.PictureInPicture,PictureInPictureIcon:r.PictureInPictureIcon,PiggyBank:r.PiggyBank,PiggyBankIcon:r.PiggyBankIcon,Pill:r.Pill,PillIcon:r.PillIcon,PingPong:r.PingPong,PingPongIcon:r.PingPongIcon,PintGlass:r.PintGlass,PintGlassIcon:r.PintGlassIcon,PinterestLogo:r.PinterestLogo,PinterestLogoIcon:r.PinterestLogoIcon,Pinwheel:r.Pinwheel,PinwheelIcon:r.PinwheelIcon,Pipe:r.Pipe,PipeIcon:r.PipeIcon,PipeWrench:r.PipeWrench,PipeWrenchIcon:r.PipeWrenchIcon,PixLogo:r.PixLogo,PixLogoIcon:r.PixLogoIcon,Pizza:r.Pizza,PizzaIcon:r.PizzaIcon,Placeholder:r.Placeholder,PlaceholderIcon:r.PlaceholderIcon,Planet:r.Planet,PlanetIcon:r.PlanetIcon,Plant:r.Plant,PlantIcon:r.PlantIcon,Play:r.Play,PlayCircle:r.PlayCircle,PlayCircleIcon:r.PlayCircleIcon,PlayIcon:r.PlayIcon,PlayPause:r.PlayPause,PlayPauseIcon:r.PlayPauseIcon,Playlist:r.Playlist,PlaylistIcon:r.PlaylistIcon,Plug:r.Plug,PlugCharging:r.PlugCharging,PlugChargingIcon:r.PlugChargingIcon,PlugIcon:r.PlugIcon,Plugs:r.Plugs,PlugsConnected:r.PlugsConnected,PlugsConnectedIcon:r.PlugsConnectedIcon,PlugsIcon:r.PlugsIcon,Plus:r.Plus,PlusCircle:r.PlusCircle,PlusCircleIcon:r.PlusCircleIcon,PlusIcon:r.PlusIcon,PlusMinus:r.PlusMinus,PlusMinusIcon:r.PlusMinusIcon,PlusSquare:r.PlusSquare,PlusSquareIcon:r.PlusSquareIcon,PokerChip:r.PokerChip,PokerChipIcon:r.PokerChipIcon,PoliceCar:r.PoliceCar,PoliceCarIcon:r.PoliceCarIcon,Polygon:r.Polygon,PolygonIcon:r.PolygonIcon,Popcorn:r.Popcorn,PopcornIcon:r.PopcornIcon,Popsicle:r.Popsicle,PopsicleIcon:r.PopsicleIcon,PottedPlant:r.PottedPlant,PottedPlantIcon:r.PottedPlantIcon,Power:r.Power,PowerIcon:r.PowerIcon,Prescription:r.Prescription,PrescriptionIcon:r.PrescriptionIcon,Presentation:r.Presentation,PresentationChart:r.PresentationChart,PresentationChartIcon:r.PresentationChartIcon,PresentationIcon:r.PresentationIcon,Printer:r.Printer,PrinterIcon:r.PrinterIcon,Prohibit:r.Prohibit,ProhibitIcon:r.ProhibitIcon,ProhibitInset:r.ProhibitInset,ProhibitInsetIcon:r.ProhibitInsetIcon,ProjectorScreen:r.ProjectorScreen,ProjectorScreenChart:r.ProjectorScreenChart,ProjectorScreenChartIcon:r.ProjectorScreenChartIcon,ProjectorScreenIcon:r.ProjectorScreenIcon,Pulse:r.Pulse,PulseIcon:r.PulseIcon,PushPin:r.PushPin,PushPinIcon:r.PushPinIcon,PushPinSimple:r.PushPinSimple,PushPinSimpleIcon:r.PushPinSimpleIcon,PushPinSimpleSlash:r.PushPinSimpleSlash,PushPinSimpleSlashIcon:r.PushPinSimpleSlashIcon,PushPinSlash:r.PushPinSlash,PushPinSlashIcon:r.PushPinSlashIcon,PuzzlePiece:r.PuzzlePiece,PuzzlePieceIcon:r.PuzzlePieceIcon,QrCode:r.QrCode,QrCodeIcon:r.QrCodeIcon,Question:r.Question,QuestionIcon:r.QuestionIcon,QuestionMark:r.QuestionMark,QuestionMarkIcon:r.QuestionMarkIcon,Queue:r.Queue,QueueIcon:r.QueueIcon,Quotes:r.Quotes,QuotesIcon:r.QuotesIcon,Rabbit:r.Rabbit,RabbitIcon:r.RabbitIcon,Racquet:r.Racquet,RacquetIcon:r.RacquetIcon,Radical:r.Radical,RadicalIcon:r.RadicalIcon,Radio:r.Radio,RadioButton:r.RadioButton,RadioButtonIcon:r.RadioButtonIcon,RadioIcon:r.RadioIcon,Radioactive:r.Radioactive,RadioactiveIcon:r.RadioactiveIcon,Rainbow:r.Rainbow,RainbowCloud:r.RainbowCloud,RainbowCloudIcon:r.RainbowCloudIcon,RainbowIcon:r.RainbowIcon,Ranking:r.Ranking,RankingIcon:r.RankingIcon,ReadCvLogo:r.ReadCvLogo,ReadCvLogoIcon:r.ReadCvLogoIcon,Receipt:r.Receipt,ReceiptIcon:r.ReceiptIcon,ReceiptX:r.ReceiptX,ReceiptXIcon:r.ReceiptXIcon,Record:r.Record,RecordIcon:r.RecordIcon,Rectangle:r.Rectangle,RectangleDashed:r.RectangleDashed,RectangleDashedIcon:r.RectangleDashedIcon,RectangleIcon:r.RectangleIcon,Recycle:r.Recycle,RecycleIcon:r.RecycleIcon,RedditLogo:r.RedditLogo,RedditLogoIcon:r.RedditLogoIcon,Repeat:r.Repeat,RepeatIcon:r.RepeatIcon,RepeatOnce:r.RepeatOnce,RepeatOnceIcon:r.RepeatOnceIcon,ReplitLogo:r.ReplitLogo,ReplitLogoIcon:r.ReplitLogoIcon,Resize:r.Resize,ResizeIcon:r.ResizeIcon,Rewind:r.Rewind,RewindCircle:r.RewindCircle,RewindCircleIcon:r.RewindCircleIcon,RewindIcon:r.RewindIcon,RoadHorizon:r.RoadHorizon,RoadHorizonIcon:r.RoadHorizonIcon,Robot:r.Robot,RobotIcon:r.RobotIcon,Rocket:r.Rocket,RocketIcon:r.RocketIcon,RocketLaunch:r.RocketLaunch,RocketLaunchIcon:r.RocketLaunchIcon,Rows:r.Rows,RowsIcon:r.RowsIcon,RowsPlusBottom:r.RowsPlusBottom,RowsPlusBottomIcon:r.RowsPlusBottomIcon,RowsPlusTop:r.RowsPlusTop,RowsPlusTopIcon:r.RowsPlusTopIcon,Rss:r.Rss,RssIcon:r.RssIcon,RssSimple:r.RssSimple,RssSimpleIcon:r.RssSimpleIcon,Rug:r.Rug,RugIcon:r.RugIcon,Ruler:r.Ruler,RulerIcon:r.RulerIcon,Sailboat:r.Sailboat,SailboatIcon:r.SailboatIcon,Scales:r.Scales,ScalesIcon:r.ScalesIcon,Scan:r.Scan,ScanIcon:r.ScanIcon,ScanSmiley:r.ScanSmiley,ScanSmileyIcon:r.ScanSmileyIcon,Scissors:r.Scissors,ScissorsIcon:r.ScissorsIcon,Scooter:r.Scooter,ScooterIcon:r.ScooterIcon,Screencast:r.Screencast,ScreencastIcon:r.ScreencastIcon,Screwdriver:r.Screwdriver,ScrewdriverIcon:r.ScrewdriverIcon,Scribble:r.Scribble,ScribbleIcon:r.ScribbleIcon,ScribbleLoop:r.ScribbleLoop,ScribbleLoopIcon:r.ScribbleLoopIcon,Scroll:r.Scroll,ScrollIcon:r.ScrollIcon,Seal:r.Seal,SealCheck:r.SealCheck,SealCheckIcon:r.SealCheckIcon,SealIcon:r.SealIcon,SealPercent:r.SealPercent,SealPercentIcon:r.SealPercentIcon,SealQuestion:r.SealQuestion,SealQuestionIcon:r.SealQuestionIcon,SealWarning:r.SealWarning,SealWarningIcon:r.SealWarningIcon,Seat:r.Seat,SeatIcon:r.SeatIcon,Seatbelt:r.Seatbelt,SeatbeltIcon:r.SeatbeltIcon,SecurityCamera:r.SecurityCamera,SecurityCameraIcon:r.SecurityCameraIcon,Selection:r.Selection,SelectionAll:r.SelectionAll,SelectionAllIcon:r.SelectionAllIcon,SelectionBackground:r.SelectionBackground,SelectionBackgroundIcon:r.SelectionBackgroundIcon,SelectionForeground:r.SelectionForeground,SelectionForegroundIcon:r.SelectionForegroundIcon,SelectionIcon:r.SelectionIcon,SelectionInverse:r.SelectionInverse,SelectionInverseIcon:r.SelectionInverseIcon,SelectionPlus:r.SelectionPlus,SelectionPlusIcon:r.SelectionPlusIcon,SelectionSlash:r.SelectionSlash,SelectionSlashIcon:r.SelectionSlashIcon,Shapes:r.Shapes,ShapesIcon:r.ShapesIcon,Share:r.Share,ShareFat:r.ShareFat,ShareFatIcon:r.ShareFatIcon,ShareIcon:r.ShareIcon,ShareNetwork:r.ShareNetwork,ShareNetworkIcon:r.ShareNetworkIcon,Shield:r.Shield,ShieldCheck:r.ShieldCheck,ShieldCheckIcon:r.ShieldCheckIcon,ShieldCheckered:r.ShieldCheckered,ShieldCheckeredIcon:r.ShieldCheckeredIcon,ShieldChevron:r.ShieldChevron,ShieldChevronIcon:r.ShieldChevronIcon,ShieldIcon:r.ShieldIcon,ShieldPlus:r.ShieldPlus,ShieldPlusIcon:r.ShieldPlusIcon,ShieldSlash:r.ShieldSlash,ShieldSlashIcon:r.ShieldSlashIcon,ShieldStar:r.ShieldStar,ShieldStarIcon:r.ShieldStarIcon,ShieldWarning:r.ShieldWarning,ShieldWarningIcon:r.ShieldWarningIcon,ShippingContainer:r.ShippingContainer,ShippingContainerIcon:r.ShippingContainerIcon,ShirtFolded:r.ShirtFolded,ShirtFoldedIcon:r.ShirtFoldedIcon,ShootingStar:r.ShootingStar,ShootingStarIcon:r.ShootingStarIcon,ShoppingBag:r.ShoppingBag,ShoppingBagIcon:r.ShoppingBagIcon,ShoppingBagOpen:r.ShoppingBagOpen,ShoppingBagOpenIcon:r.ShoppingBagOpenIcon,ShoppingCart:r.ShoppingCart,ShoppingCartIcon:r.ShoppingCartIcon,ShoppingCartSimple:r.ShoppingCartSimple,ShoppingCartSimpleIcon:r.ShoppingCartSimpleIcon,Shovel:r.Shovel,ShovelIcon:r.ShovelIcon,Shower:r.Shower,ShowerIcon:r.ShowerIcon,Shrimp:r.Shrimp,ShrimpIcon:r.ShrimpIcon,Shuffle:r.Shuffle,ShuffleAngular:r.ShuffleAngular,ShuffleAngularIcon:r.ShuffleAngularIcon,ShuffleIcon:r.ShuffleIcon,ShuffleSimple:r.ShuffleSimple,ShuffleSimpleIcon:r.ShuffleSimpleIcon,Sidebar:r.Sidebar,SidebarIcon:r.SidebarIcon,SidebarSimple:r.SidebarSimple,SidebarSimpleIcon:r.SidebarSimpleIcon,Sigma:r.Sigma,SigmaIcon:r.SigmaIcon,SignIn:r.SignIn,SignInIcon:r.SignInIcon,SignOut:r.SignOut,SignOutIcon:r.SignOutIcon,Signature:r.Signature,SignatureIcon:r.SignatureIcon,Signpost:r.Signpost,SignpostIcon:r.SignpostIcon,SimCard:r.SimCard,SimCardIcon:r.SimCardIcon,Siren:r.Siren,SirenIcon:r.SirenIcon,SketchLogo:r.SketchLogo,SketchLogoIcon:r.SketchLogoIcon,SkipBack:r.SkipBack,SkipBackCircle:r.SkipBackCircle,SkipBackCircleIcon:r.SkipBackCircleIcon,SkipBackIcon:r.SkipBackIcon,SkipForward:r.SkipForward,SkipForwardCircle:r.SkipForwardCircle,SkipForwardCircleIcon:r.SkipForwardCircleIcon,SkipForwardIcon:r.SkipForwardIcon,Skull:r.Skull,SkullIcon:r.SkullIcon,SkypeLogo:r.SkypeLogo,SkypeLogoIcon:r.SkypeLogoIcon,SlackLogo:r.SlackLogo,SlackLogoIcon:r.SlackLogoIcon,Sliders:r.Sliders,SlidersHorizontal:r.SlidersHorizontal,SlidersHorizontalIcon:r.SlidersHorizontalIcon,SlidersIcon:r.SlidersIcon,Slideshow:r.Slideshow,SlideshowIcon:r.SlideshowIcon,Smiley:r.Smiley,SmileyAngry:r.SmileyAngry,SmileyAngryIcon:r.SmileyAngryIcon,SmileyBlank:r.SmileyBlank,SmileyBlankIcon:r.SmileyBlankIcon,SmileyIcon:r.SmileyIcon,SmileyMeh:r.SmileyMeh,SmileyMehIcon:r.SmileyMehIcon,SmileyMelting:r.SmileyMelting,SmileyMeltingIcon:r.SmileyMeltingIcon,SmileyNervous:r.SmileyNervous,SmileyNervousIcon:r.SmileyNervousIcon,SmileySad:r.SmileySad,SmileySadIcon:r.SmileySadIcon,SmileySticker:r.SmileySticker,SmileyStickerIcon:r.SmileyStickerIcon,SmileyWink:r.SmileyWink,SmileyWinkIcon:r.SmileyWinkIcon,SmileyXEyes:r.SmileyXEyes,SmileyXEyesIcon:r.SmileyXEyesIcon,SnapchatLogo:r.SnapchatLogo,SnapchatLogoIcon:r.SnapchatLogoIcon,Sneaker:r.Sneaker,SneakerIcon:r.SneakerIcon,SneakerMove:r.SneakerMove,SneakerMoveIcon:r.SneakerMoveIcon,Snowflake:r.Snowflake,SnowflakeIcon:r.SnowflakeIcon,SoccerBall:r.SoccerBall,SoccerBallIcon:r.SoccerBallIcon,Sock:r.Sock,SockIcon:r.SockIcon,SolarPanel:r.SolarPanel,SolarPanelIcon:r.SolarPanelIcon,SolarRoof:r.SolarRoof,SolarRoofIcon:r.SolarRoofIcon,SortAscending:r.SortAscending,SortAscendingIcon:r.SortAscendingIcon,SortDescending:r.SortDescending,SortDescendingIcon:r.SortDescendingIcon,SoundcloudLogo:r.SoundcloudLogo,SoundcloudLogoIcon:r.SoundcloudLogoIcon,Spade:r.Spade,SpadeIcon:r.SpadeIcon,Sparkle:r.Sparkle,SparkleIcon:r.SparkleIcon,SpeakerHifi:r.SpeakerHifi,SpeakerHifiIcon:r.SpeakerHifiIcon,SpeakerHigh:r.SpeakerHigh,SpeakerHighIcon:r.SpeakerHighIcon,SpeakerLow:r.SpeakerLow,SpeakerLowIcon:r.SpeakerLowIcon,SpeakerNone:r.SpeakerNone,SpeakerNoneIcon:r.SpeakerNoneIcon,SpeakerSimpleHigh:r.SpeakerSimpleHigh,SpeakerSimpleHighIcon:r.SpeakerSimpleHighIcon,SpeakerSimpleLow:r.SpeakerSimpleLow,SpeakerSimpleLowIcon:r.SpeakerSimpleLowIcon,SpeakerSimpleNone:r.SpeakerSimpleNone,SpeakerSimpleNoneIcon:r.SpeakerSimpleNoneIcon,SpeakerSimpleSlash:r.SpeakerSimpleSlash,SpeakerSimpleSlashIcon:r.SpeakerSimpleSlashIcon,SpeakerSimpleX:r.SpeakerSimpleX,SpeakerSimpleXIcon:r.SpeakerSimpleXIcon,SpeakerSlash:r.SpeakerSlash,SpeakerSlashIcon:r.SpeakerSlashIcon,SpeakerX:r.SpeakerX,SpeakerXIcon:r.SpeakerXIcon,Speedometer:r.Speedometer,SpeedometerIcon:r.SpeedometerIcon,Sphere:r.Sphere,SphereIcon:r.SphereIcon,Spinner:r.Spinner,SpinnerBall:r.SpinnerBall,SpinnerBallIcon:r.SpinnerBallIcon,SpinnerGap:r.SpinnerGap,SpinnerGapIcon:r.SpinnerGapIcon,SpinnerIcon:r.SpinnerIcon,Spiral:r.Spiral,SpiralIcon:r.SpiralIcon,SplitHorizontal:r.SplitHorizontal,SplitHorizontalIcon:r.SplitHorizontalIcon,SplitVertical:r.SplitVertical,SplitVerticalIcon:r.SplitVerticalIcon,SpotifyLogo:r.SpotifyLogo,SpotifyLogoIcon:r.SpotifyLogoIcon,SprayBottle:r.SprayBottle,SprayBottleIcon:r.SprayBottleIcon,Square:r.Square,SquareHalf:r.SquareHalf,SquareHalfBottom:r.SquareHalfBottom,SquareHalfBottomIcon:r.SquareHalfBottomIcon,SquareHalfIcon:r.SquareHalfIcon,SquareIcon:r.SquareIcon,SquareLogo:r.SquareLogo,SquareLogoIcon:r.SquareLogoIcon,SquareSplitHorizontal:r.SquareSplitHorizontal,SquareSplitHorizontalIcon:r.SquareSplitHorizontalIcon,SquareSplitVertical:r.SquareSplitVertical,SquareSplitVerticalIcon:r.SquareSplitVerticalIcon,SquaresFour:r.SquaresFour,SquaresFourIcon:r.SquaresFourIcon,Stack:r.Stack,StackIcon:r.StackIcon,StackMinus:r.StackMinus,StackMinusIcon:r.StackMinusIcon,StackOverflowLogo:r.StackOverflowLogo,StackOverflowLogoIcon:r.StackOverflowLogoIcon,StackPlus:r.StackPlus,StackPlusIcon:r.StackPlusIcon,StackSimple:r.StackSimple,StackSimpleIcon:r.StackSimpleIcon,Stairs:r.Stairs,StairsIcon:r.StairsIcon,Stamp:r.Stamp,StampIcon:r.StampIcon,StandardDefinition:r.StandardDefinition,StandardDefinitionIcon:r.StandardDefinitionIcon,Star:r.Star,StarAndCrescent:r.StarAndCrescent,StarAndCrescentIcon:r.StarAndCrescentIcon,StarFour:r.StarFour,StarFourIcon:r.StarFourIcon,StarHalf:r.StarHalf,StarHalfIcon:r.StarHalfIcon,StarIcon:r.StarIcon,StarOfDavid:r.StarOfDavid,StarOfDavidIcon:r.StarOfDavidIcon,SteamLogo:r.SteamLogo,SteamLogoIcon:r.SteamLogoIcon,SteeringWheel:r.SteeringWheel,SteeringWheelIcon:r.SteeringWheelIcon,Steps:r.Steps,StepsIcon:r.StepsIcon,Stethoscope:r.Stethoscope,StethoscopeIcon:r.StethoscopeIcon,Sticker:r.Sticker,StickerIcon:r.StickerIcon,Stool:r.Stool,StoolIcon:r.StoolIcon,Stop:r.Stop,StopCircle:r.StopCircle,StopCircleIcon:r.StopCircleIcon,StopIcon:r.StopIcon,Storefront:r.Storefront,StorefrontIcon:r.StorefrontIcon,Strategy:r.Strategy,StrategyIcon:r.StrategyIcon,StripeLogo:r.StripeLogo,StripeLogoIcon:r.StripeLogoIcon,Student:r.Student,StudentIcon:r.StudentIcon,SubsetOf:r.SubsetOf,SubsetOfIcon:r.SubsetOfIcon,SubsetProperOf:r.SubsetProperOf,SubsetProperOfIcon:r.SubsetProperOfIcon,Subtitles:r.Subtitles,SubtitlesIcon:r.SubtitlesIcon,SubtitlesSlash:r.SubtitlesSlash,SubtitlesSlashIcon:r.SubtitlesSlashIcon,Subtract:r.Subtract,SubtractIcon:r.SubtractIcon,SubtractSquare:r.SubtractSquare,SubtractSquareIcon:r.SubtractSquareIcon,Subway:r.Subway,SubwayIcon:r.SubwayIcon,Suitcase:r.Suitcase,SuitcaseIcon:r.SuitcaseIcon,SuitcaseRolling:r.SuitcaseRolling,SuitcaseRollingIcon:r.SuitcaseRollingIcon,SuitcaseSimple:r.SuitcaseSimple,SuitcaseSimpleIcon:r.SuitcaseSimpleIcon,Sun:r.Sun,SunDim:r.SunDim,SunDimIcon:r.SunDimIcon,SunHorizon:r.SunHorizon,SunHorizonIcon:r.SunHorizonIcon,SunIcon:r.SunIcon,Sunglasses:r.Sunglasses,SunglassesIcon:r.SunglassesIcon,SupersetOf:r.SupersetOf,SupersetOfIcon:r.SupersetOfIcon,SupersetProperOf:r.SupersetProperOf,SupersetProperOfIcon:r.SupersetProperOfIcon,Swap:r.Swap,SwapIcon:r.SwapIcon,Swatches:r.Swatches,SwatchesIcon:r.SwatchesIcon,SwimmingPool:r.SwimmingPool,SwimmingPoolIcon:r.SwimmingPoolIcon,Sword:r.Sword,SwordIcon:r.SwordIcon,Synagogue:r.Synagogue,SynagogueIcon:r.SynagogueIcon,Syringe:r.Syringe,SyringeIcon:r.SyringeIcon,TShirt:r.TShirt,TShirtIcon:r.TShirtIcon,Table:r.Table,TableIcon:r.TableIcon,Tabs:r.Tabs,TabsIcon:r.TabsIcon,Tag:r.Tag,TagChevron:r.TagChevron,TagChevronIcon:r.TagChevronIcon,TagIcon:r.TagIcon,TagSimple:r.TagSimple,TagSimpleIcon:r.TagSimpleIcon,Target:r.Target,TargetIcon:r.TargetIcon,Taxi:r.Taxi,TaxiIcon:r.TaxiIcon,TeaBag:r.TeaBag,TeaBagIcon:r.TeaBagIcon,TelegramLogo:r.TelegramLogo,TelegramLogoIcon:r.TelegramLogoIcon,Television:r.Television,TelevisionIcon:r.TelevisionIcon,TelevisionSimple:r.TelevisionSimple,TelevisionSimpleIcon:r.TelevisionSimpleIcon,TennisBall:r.TennisBall,TennisBallIcon:r.TennisBallIcon,Tent:r.Tent,TentIcon:r.TentIcon,Terminal:r.Terminal,TerminalIcon:r.TerminalIcon,TerminalWindow:r.TerminalWindow,TerminalWindowIcon:r.TerminalWindowIcon,TestTube:r.TestTube,TestTubeIcon:r.TestTubeIcon,TextAUnderline:r.TextAUnderline,TextAUnderlineIcon:r.TextAUnderlineIcon,TextAa:r.TextAa,TextAaIcon:r.TextAaIcon,TextAlignCenter:r.TextAlignCenter,TextAlignCenterIcon:r.TextAlignCenterIcon,TextAlignJustify:r.TextAlignJustify,TextAlignJustifyIcon:r.TextAlignJustifyIcon,TextAlignLeft:r.TextAlignLeft,TextAlignLeftIcon:r.TextAlignLeftIcon,TextAlignRight:r.TextAlignRight,TextAlignRightIcon:r.TextAlignRightIcon,TextB:r.TextB,TextBIcon:r.TextBIcon,TextBolderIcon:r.TextBolderIcon,TextColumns:r.TextColumns,TextColumnsIcon:r.TextColumnsIcon,TextH:r.TextH,TextHFive:r.TextHFive,TextHFiveIcon:r.TextHFiveIcon,TextHFour:r.TextHFour,TextHFourIcon:r.TextHFourIcon,TextHIcon:r.TextHIcon,TextHOne:r.TextHOne,TextHOneIcon:r.TextHOneIcon,TextHSix:r.TextHSix,TextHSixIcon:r.TextHSixIcon,TextHThree:r.TextHThree,TextHThreeIcon:r.TextHThreeIcon,TextHTwo:r.TextHTwo,TextHTwoIcon:r.TextHTwoIcon,TextIndent:r.TextIndent,TextIndentIcon:r.TextIndentIcon,TextItalic:r.TextItalic,TextItalicIcon:r.TextItalicIcon,TextOutdent:r.TextOutdent,TextOutdentIcon:r.TextOutdentIcon,TextStrikethrough:r.TextStrikethrough,TextStrikethroughIcon:r.TextStrikethroughIcon,TextSubscript:r.TextSubscript,TextSubscriptIcon:r.TextSubscriptIcon,TextSuperscript:r.TextSuperscript,TextSuperscriptIcon:r.TextSuperscriptIcon,TextT:r.TextT,TextTIcon:r.TextTIcon,TextTSlash:r.TextTSlash,TextTSlashIcon:r.TextTSlashIcon,TextUnderline:r.TextUnderline,TextUnderlineIcon:r.TextUnderlineIcon,Textbox:r.Textbox,TextboxIcon:r.TextboxIcon,Thermometer:r.Thermometer,ThermometerCold:r.ThermometerCold,ThermometerColdIcon:r.ThermometerColdIcon,ThermometerHot:r.ThermometerHot,ThermometerHotIcon:r.ThermometerHotIcon,ThermometerIcon:r.ThermometerIcon,ThermometerSimple:r.ThermometerSimple,ThermometerSimpleIcon:r.ThermometerSimpleIcon,ThreadsLogo:r.ThreadsLogo,ThreadsLogoIcon:r.ThreadsLogoIcon,ThreeD:r.ThreeD,ThreeDIcon:r.ThreeDIcon,ThumbsDown:r.ThumbsDown,ThumbsDownIcon:r.ThumbsDownIcon,ThumbsUp:r.ThumbsUp,ThumbsUpIcon:r.ThumbsUpIcon,Ticket:r.Ticket,TicketIcon:r.TicketIcon,TidalLogo:r.TidalLogo,TidalLogoIcon:r.TidalLogoIcon,TiktokLogo:r.TiktokLogo,TiktokLogoIcon:r.TiktokLogoIcon,Tilde:r.Tilde,TildeIcon:r.TildeIcon,Timer:r.Timer,TimerIcon:r.TimerIcon,TipJar:r.TipJar,TipJarIcon:r.TipJarIcon,Tipi:r.Tipi,TipiIcon:r.TipiIcon,Tire:r.Tire,TireIcon:r.TireIcon,ToggleLeft:r.ToggleLeft,ToggleLeftIcon:r.ToggleLeftIcon,ToggleRight:r.ToggleRight,ToggleRightIcon:r.ToggleRightIcon,Toilet:r.Toilet,ToiletIcon:r.ToiletIcon,ToiletPaper:r.ToiletPaper,ToiletPaperIcon:r.ToiletPaperIcon,Toolbox:r.Toolbox,ToolboxIcon:r.ToolboxIcon,Tooth:r.Tooth,ToothIcon:r.ToothIcon,Tornado:r.Tornado,TornadoIcon:r.TornadoIcon,Tote:r.Tote,ToteIcon:r.ToteIcon,ToteSimple:r.ToteSimple,ToteSimpleIcon:r.ToteSimpleIcon,Towel:r.Towel,TowelIcon:r.TowelIcon,Tractor:r.Tractor,TractorIcon:r.TractorIcon,Trademark:r.Trademark,TrademarkIcon:r.TrademarkIcon,TrademarkRegistered:r.TrademarkRegistered,TrademarkRegisteredIcon:r.TrademarkRegisteredIcon,TrafficCone:r.TrafficCone,TrafficConeIcon:r.TrafficConeIcon,TrafficSign:r.TrafficSign,TrafficSignIcon:r.TrafficSignIcon,TrafficSignal:r.TrafficSignal,TrafficSignalIcon:r.TrafficSignalIcon,Train:r.Train,TrainIcon:r.TrainIcon,TrainRegional:r.TrainRegional,TrainRegionalIcon:r.TrainRegionalIcon,TrainSimple:r.TrainSimple,TrainSimpleIcon:r.TrainSimpleIcon,Tram:r.Tram,TramIcon:r.TramIcon,Translate:r.Translate,TranslateIcon:r.TranslateIcon,Trash:r.Trash,TrashIcon:r.TrashIcon,TrashSimple:r.TrashSimple,TrashSimpleIcon:r.TrashSimpleIcon,Tray:r.Tray,TrayArrowDown:r.TrayArrowDown,TrayArrowDownIcon:r.TrayArrowDownIcon,TrayArrowUp:r.TrayArrowUp,TrayArrowUpIcon:r.TrayArrowUpIcon,TrayIcon:r.TrayIcon,TreasureChest:r.TreasureChest,TreasureChestIcon:r.TreasureChestIcon,Tree:r.Tree,TreeEvergreen:r.TreeEvergreen,TreeEvergreenIcon:r.TreeEvergreenIcon,TreeIcon:r.TreeIcon,TreePalm:r.TreePalm,TreePalmIcon:r.TreePalmIcon,TreeStructure:r.TreeStructure,TreeStructureIcon:r.TreeStructureIcon,TreeView:r.TreeView,TreeViewIcon:r.TreeViewIcon,TrendDown:r.TrendDown,TrendDownIcon:r.TrendDownIcon,TrendUp:r.TrendUp,TrendUpIcon:r.TrendUpIcon,Triangle:r.Triangle,TriangleDashed:r.TriangleDashed,TriangleDashedIcon:r.TriangleDashedIcon,TriangleIcon:r.TriangleIcon,Trolley:r.Trolley,TrolleyIcon:r.TrolleyIcon,TrolleySuitcase:r.TrolleySuitcase,TrolleySuitcaseIcon:r.TrolleySuitcaseIcon,Trophy:r.Trophy,TrophyIcon:r.TrophyIcon,Truck:r.Truck,TruckIcon:r.TruckIcon,TruckTrailer:r.TruckTrailer,TruckTrailerIcon:r.TruckTrailerIcon,TumblrLogo:r.TumblrLogo,TumblrLogoIcon:r.TumblrLogoIcon,TwitchLogo:r.TwitchLogo,TwitchLogoIcon:r.TwitchLogoIcon,TwitterLogo:r.TwitterLogo,TwitterLogoIcon:r.TwitterLogoIcon,Umbrella:r.Umbrella,UmbrellaIcon:r.UmbrellaIcon,UmbrellaSimple:r.UmbrellaSimple,UmbrellaSimpleIcon:r.UmbrellaSimpleIcon,Union:r.Union,UnionIcon:r.UnionIcon,Unite:r.Unite,UniteIcon:r.UniteIcon,UniteSquare:r.UniteSquare,UniteSquareIcon:r.UniteSquareIcon,Upload:r.Upload,UploadIcon:r.UploadIcon,UploadSimple:r.UploadSimple,UploadSimpleIcon:r.UploadSimpleIcon,Usb:r.Usb,UsbIcon:r.UsbIcon,User:r.User,UserCheck:r.UserCheck,UserCheckIcon:r.UserCheckIcon,UserCircle:r.UserCircle,UserCircleCheck:r.UserCircleCheck,UserCircleCheckIcon:r.UserCircleCheckIcon,UserCircleDashed:r.UserCircleDashed,UserCircleDashedIcon:r.UserCircleDashedIcon,UserCircleGear:r.UserCircleGear,UserCircleGearIcon:r.UserCircleGearIcon,UserCircleIcon:r.UserCircleIcon,UserCircleMinus:r.UserCircleMinus,UserCircleMinusIcon:r.UserCircleMinusIcon,UserCirclePlus:r.UserCirclePlus,UserCirclePlusIcon:r.UserCirclePlusIcon,UserFocus:r.UserFocus,UserFocusIcon:r.UserFocusIcon,UserGear:r.UserGear,UserGearIcon:r.UserGearIcon,UserIcon:r.UserIcon,UserList:r.UserList,UserListIcon:r.UserListIcon,UserMinus:r.UserMinus,UserMinusIcon:r.UserMinusIcon,UserPlus:r.UserPlus,UserPlusIcon:r.UserPlusIcon,UserRectangle:r.UserRectangle,UserRectangleIcon:r.UserRectangleIcon,UserSound:r.UserSound,UserSoundIcon:r.UserSoundIcon,UserSquare:r.UserSquare,UserSquareIcon:r.UserSquareIcon,UserSwitch:r.UserSwitch,UserSwitchIcon:r.UserSwitchIcon,Users:r.Users,UsersFour:r.UsersFour,UsersFourIcon:r.UsersFourIcon,UsersIcon:r.UsersIcon,UsersThree:r.UsersThree,UsersThreeIcon:r.UsersThreeIcon,Van:r.Van,VanIcon:r.VanIcon,Vault:r.Vault,VaultIcon:r.VaultIcon,VectorThree:r.VectorThree,VectorThreeIcon:r.VectorThreeIcon,VectorTwo:r.VectorTwo,VectorTwoIcon:r.VectorTwoIcon,Vibrate:r.Vibrate,VibrateIcon:r.VibrateIcon,Video:r.Video,VideoCamera:r.VideoCamera,VideoCameraIcon:r.VideoCameraIcon,VideoCameraSlash:r.VideoCameraSlash,VideoCameraSlashIcon:r.VideoCameraSlashIcon,VideoConference:r.VideoConference,VideoConferenceIcon:r.VideoConferenceIcon,VideoIcon:r.VideoIcon,Vignette:r.Vignette,VignetteIcon:r.VignetteIcon,VinylRecord:r.VinylRecord,VinylRecordIcon:r.VinylRecordIcon,VirtualReality:r.VirtualReality,VirtualRealityIcon:r.VirtualRealityIcon,Virus:r.Virus,VirusIcon:r.VirusIcon,Visor:r.Visor,VisorIcon:r.VisorIcon,Voicemail:r.Voicemail,VoicemailIcon:r.VoicemailIcon,Volleyball:r.Volleyball,VolleyballIcon:r.VolleyballIcon,Wall:r.Wall,WallIcon:r.WallIcon,Wallet:r.Wallet,WalletIcon:r.WalletIcon,Warehouse:r.Warehouse,WarehouseIcon:r.WarehouseIcon,Warning:r.Warning,WarningCircle:r.WarningCircle,WarningCircleIcon:r.WarningCircleIcon,WarningDiamond:r.WarningDiamond,WarningDiamondIcon:r.WarningDiamondIcon,WarningIcon:r.WarningIcon,WarningOctagon:r.WarningOctagon,WarningOctagonIcon:r.WarningOctagonIcon,WashingMachine:r.WashingMachine,WashingMachineIcon:r.WashingMachineIcon,Watch:r.Watch,WatchIcon:r.WatchIcon,WaveSawtooth:r.WaveSawtooth,WaveSawtoothIcon:r.WaveSawtoothIcon,WaveSine:r.WaveSine,WaveSineIcon:r.WaveSineIcon,WaveSquare:r.WaveSquare,WaveSquareIcon:r.WaveSquareIcon,WaveTriangle:r.WaveTriangle,WaveTriangleIcon:r.WaveTriangleIcon,Waveform:r.Waveform,WaveformIcon:r.WaveformIcon,WaveformSlash:r.WaveformSlash,WaveformSlashIcon:r.WaveformSlashIcon,Waves:r.Waves,WavesIcon:r.WavesIcon,Webcam:r.Webcam,WebcamIcon:r.WebcamIcon,WebcamSlash:r.WebcamSlash,WebcamSlashIcon:r.WebcamSlashIcon,WebhooksLogo:r.WebhooksLogo,WebhooksLogoIcon:r.WebhooksLogoIcon,WechatLogo:r.WechatLogo,WechatLogoIcon:r.WechatLogoIcon,WhatsappLogo:r.WhatsappLogo,WhatsappLogoIcon:r.WhatsappLogoIcon,Wheelchair:r.Wheelchair,WheelchairIcon:r.WheelchairIcon,WheelchairMotion:r.WheelchairMotion,WheelchairMotionIcon:r.WheelchairMotionIcon,WifiHigh:r.WifiHigh,WifiHighIcon:r.WifiHighIcon,WifiLow:r.WifiLow,WifiLowIcon:r.WifiLowIcon,WifiMedium:r.WifiMedium,WifiMediumIcon:r.WifiMediumIcon,WifiNone:r.WifiNone,WifiNoneIcon:r.WifiNoneIcon,WifiSlash:r.WifiSlash,WifiSlashIcon:r.WifiSlashIcon,WifiX:r.WifiX,WifiXIcon:r.WifiXIcon,Wind:r.Wind,WindIcon:r.WindIcon,Windmill:r.Windmill,WindmillIcon:r.WindmillIcon,WindowsLogo:r.WindowsLogo,WindowsLogoIcon:r.WindowsLogoIcon,Wine:r.Wine,WineIcon:r.WineIcon,Wrench:r.Wrench,WrenchIcon:r.WrenchIcon,X:r.X,XCircle:r.XCircle,XCircleIcon:r.XCircleIcon,XIcon:r.XIcon,XLogo:r.XLogo,XLogoIcon:r.XLogoIcon,XSquare:r.XSquare,XSquareIcon:r.XSquareIcon,Yarn:r.Yarn,YarnIcon:r.YarnIcon,YinYang:r.YinYang,YinYangIcon:r.YinYangIcon,YoutubeLogo:r.YoutubeLogo,YoutubeLogoIcon:r.YoutubeLogoIcon},Symbol.toStringTag,{value:"Module"})),ie=({name:e,fill:t="currentColor",hoverable:n=!1,onClick:o,className:i,width:a=24,height:s=24,style:l={}})=>{const c=R5[e];return c?d.jsx(D5,{children:d.jsx(c,{fill:t,style:{"--icon-fill":t,...l},className:ge(Kd.icon,i,{[Kd.hoverable]:n}),onClick:o,width:a,height:s})}):null};class D5 extends _.Component{constructor(){super(...arguments);Ti(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}}const O5="_wrapper_mmfra_1",M5="_active_mmfra_27",B5="_toggle_mmfra_30",F5="_background_mmfra_42",H5="_padding_mmfra_46",Ir={wrapper:O5,switch:"_switch_mmfra_14",active:M5,toggle:B5,background:F5,padding:H5},vr=e=>{const{onChange:t,style:n,current:o,label:i,hasBackground:a=!1,paddingless:s=!0}=e,[l,c]=_.useState(o),u=()=>{c(h=>!h),t==null||t(!l)};return _.useEffect(()=>{c(o)},[o]),d.jsx(d.Fragment,{children:i?d.jsxs("div",{className:ge(Ir.wrapper,{[Ir.background]:a,[Ir.padding]:!s}),children:[d.jsx("div",{className:ge(Ir.switch,{[Ir.active]:l}),onClick:u,style:n,children:d.jsx("div",{className:Ir.toggle})}),d.jsx("span",{className:Ir.value,children:i})]}):d.jsx("div",{className:ge(Ir.switch,{[Ir.active]:l}),onClick:u,style:n,children:d.jsx("div",{className:Ir.toggle})})})},j5="_wrapper_1gk74_2",U5="_label_1gk74_9",V5="_top_1gk74_17",z5="_select_1gk74_23",$5="_borderFocused_1gk74_42",W5="_input_1gk74_49",q5="_icon_1gk74_59",G5="_rotate_1gk74_64",Y5="_content_1gk74_68",Z5="_options_1gk74_72",X5="_filteredOptions_1gk74_93",K5="_open_1gk74_97",Q5="_option_1gk74_72",J5="_focused_1gk74_115",e4="_addon_1gk74_119",t4="_value_1gk74_130",n4="_postfix_1gk74_134",r4="_leftAddon_1gk74_138",Kt={wrapper:j5,label:U5,top:V5,select:z5,borderFocused:$5,input:W5,icon:q5,rotate:G5,content:Y5,options:Z5,filteredOptions:X5,open:K5,option:Q5,focused:J5,addon:e4,value:t4,postfix:n4,leftAddon:r4};function jr(e){return Array.isArray?Array.isArray(e):np(e)==="[object Array]"}function o4(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function i4(e){return e==null?"":o4(e)}function xr(e){return typeof e=="string"}function ep(e){return typeof e=="number"}function a4(e){return e===!0||e===!1||s4(e)&&np(e)=="[object Boolean]"}function tp(e){return typeof e=="object"}function s4(e){return tp(e)&&e!==null}function zn(e){return e!=null}function Nl(e){return!e.trim().length}function np(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const l4="Incorrect 'index' type",c4=e=>`Invalid value for key ${e}`,u4=e=>`Pattern length exceeds max of ${e}.`,d4=e=>`Missing ${e} property in key`,h4=e=>`Property 'weight' in key '${e}' must be a positive integer`,Qd=Object.prototype.hasOwnProperty;class f4{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(o=>{let i=rp(o);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(o=>{o.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function rp(e){let t=null,n=null,o=null,i=1,a=null;if(xr(e)||jr(e))o=e,t=Jd(e),n=_c(e);else{if(!Qd.call(e,"name"))throw new Error(d4("name"));const s=e.name;if(o=s,Qd.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(h4(s));t=Jd(s),n=_c(s),a=e.getFn}return{path:t,id:n,weight:i,src:o,getFn:a}}function Jd(e){return jr(e)?e:e.split(".")}function _c(e){return jr(e)?e.join("."):e}function p4(e,t){let n=[],o=!1;const i=(a,s,l)=>{if(zn(a))if(!s[l])n.push(a);else{let c=s[l];const u=a[c];if(!zn(u))return;if(l===s.length-1&&(xr(u)||ep(u)||a4(u)))n.push(i4(u));else if(jr(u)){o=!0;for(let h=0,f=u.length;h<f;h+=1)i(u[h],s,l+1)}else s.length&&i(u,s,l+1)}};return i(e,xr(t)?t.split("."):t,0),o?n:n[0]}const m4={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},g4={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},I4={location:0,threshold:.6,distance:100},C4={useExtendedSearch:!1,getFn:p4,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var De={...g4,...m4,...I4,...C4};const b4=/[^ ]+/g;function S4(e=1,t=3){const n=new Map,o=Math.pow(10,t);return{get(i){const a=i.match(b4).length;if(n.has(a))return n.get(a);const s=1/Math.pow(a,.5*e),l=parseFloat(Math.round(s*o)/o);return n.set(a,l),l},clear(){n.clear()}}}class ku{constructor({getFn:t=De.getFn,fieldNormWeight:n=De.fieldNormWeight}={}){this.norm=S4(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,o)=>{this._keysMap[n.id]=o})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,xr(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();xr(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,o=this.size();n<o;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!zn(t)||Nl(t))return;let o={v:t,i:n,n:this.norm.get(t)};this.records.push(o)}_addObject(t,n){let o={i:n,$:{}};this.keys.forEach((i,a)=>{let s=i.getFn?i.getFn(t):this.getFn(t,i.path);if(zn(s)){if(jr(s)){let l=[];const c=[{nestedArrIndex:-1,value:s}];for(;c.length;){const{nestedArrIndex:u,value:h}=c.pop();if(zn(h))if(xr(h)&&!Nl(h)){let f={v:h,i:u,n:this.norm.get(h)};l.push(f)}else jr(h)&&h.forEach((f,g)=>{c.push({nestedArrIndex:g,value:f})})}o.$[a]=l}else if(xr(s)&&!Nl(s)){let l={v:s,n:this.norm.get(s)};o.$[a]=l}}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function op(e,t,{getFn:n=De.getFn,fieldNormWeight:o=De.fieldNormWeight}={}){const i=new ku({getFn:n,fieldNormWeight:o});return i.setKeys(e.map(rp)),i.setSources(t),i.create(),i}function y4(e,{getFn:t=De.getFn,fieldNormWeight:n=De.fieldNormWeight}={}){const{keys:o,records:i}=e,a=new ku({getFn:t,fieldNormWeight:n});return a.setKeys(o),a.setIndexRecords(i),a}function $a(e,{errors:t=0,currentLocation:n=0,expectedLocation:o=0,distance:i=De.distance,ignoreLocation:a=De.ignoreLocation}={}){const s=t/e.length;if(a)return s;const l=Math.abs(o-n);return i?s+l/i:l?1:s}function E4(e=[],t=De.minMatchCharLength){let n=[],o=-1,i=-1,a=0;for(let s=e.length;a<s;a+=1){let l=e[a];l&&o===-1?o=a:!l&&o!==-1&&(i=a-1,i-o+1>=t&&n.push([o,i]),o=-1)}return e[a-1]&&a-o>=t&&n.push([o,a-1]),n}const yo=32;function T4(e,t,n,{location:o=De.location,distance:i=De.distance,threshold:a=De.threshold,findAllMatches:s=De.findAllMatches,minMatchCharLength:l=De.minMatchCharLength,includeMatches:c=De.includeMatches,ignoreLocation:u=De.ignoreLocation}={}){if(t.length>yo)throw new Error(u4(yo));const h=t.length,f=e.length,g=Math.max(0,Math.min(o,f));let m=a,C=g;const I=l>1||c,b=I?Array(f):[];let S;for(;(S=e.indexOf(t,C))>-1;){let E=$a(t,{currentLocation:S,expectedLocation:g,distance:i,ignoreLocation:u});if(m=Math.min(E,m),C=S+h,I){let M=0;for(;M<h;)b[S+M]=1,M+=1}}C=-1;let y=[],T=1,k=h+f;const A=1<<h-1;for(let E=0;E<h;E+=1){let M=0,B=k;for(;M<B;)$a(t,{errors:E,currentLocation:g+B,expectedLocation:g,distance:i,ignoreLocation:u})<=m?M=B:k=B,B=Math.floor((k-M)/2+M);k=B;let w=Math.max(1,g-B+1),V=s?f:Math.min(g+B,f)+h,H=Array(V+2);H[V+1]=(1<<E)-1;for(let W=V;W>=w;W-=1){let se=W-1,Ce=n[e.charAt(se)];if(I&&(b[se]=+!!Ce),H[W]=(H[W+1]<<1|1)&Ce,E&&(H[W]|=(y[W+1]|y[W])<<1|1|y[W+1]),H[W]&A&&(T=$a(t,{errors:E,currentLocation:se,expectedLocation:g,distance:i,ignoreLocation:u}),T<=m)){if(m=T,C=se,C<=g)break;w=Math.max(1,2*g-C)}}if($a(t,{errors:E+1,currentLocation:g,expectedLocation:g,distance:i,ignoreLocation:u})>m)break;y=H}const P={isMatch:C>=0,score:Math.max(.001,T)};if(I){const E=E4(b,l);E.length?c&&(P.indices=E):P.isMatch=!1}return P}function x4(e){let t={};for(let n=0,o=e.length;n<o;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<o-n-1}return t}const Ls=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class ip{constructor(t,{location:n=De.location,threshold:o=De.threshold,distance:i=De.distance,includeMatches:a=De.includeMatches,findAllMatches:s=De.findAllMatches,minMatchCharLength:l=De.minMatchCharLength,isCaseSensitive:c=De.isCaseSensitive,ignoreDiacritics:u=De.ignoreDiacritics,ignoreLocation:h=De.ignoreLocation}={}){if(this.options={location:n,threshold:o,distance:i,includeMatches:a,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:u,ignoreLocation:h},t=c?t:t.toLowerCase(),t=u?Ls(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const f=(m,C)=>{this.chunks.push({pattern:m,alphabet:x4(m),startIndex:C})},g=this.pattern.length;if(g>yo){let m=0;const C=g%yo,I=g-C;for(;m<I;)f(this.pattern.substr(m,yo),m),m+=yo;if(C){const b=g-yo;f(this.pattern.substr(b),b)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,ignoreDiacritics:o,includeMatches:i}=this.options;if(t=n?t:t.toLowerCase(),t=o?Ls(t):t,this.pattern===t){let I={isMatch:!0,score:0};return i&&(I.indices=[[0,t.length-1]]),I}const{location:a,distance:s,threshold:l,findAllMatches:c,minMatchCharLength:u,ignoreLocation:h}=this.options;let f=[],g=0,m=!1;this.chunks.forEach(({pattern:I,alphabet:b,startIndex:S})=>{const{isMatch:y,score:T,indices:k}=T4(t,I,b,{location:a+S,distance:s,threshold:l,findAllMatches:c,minMatchCharLength:u,includeMatches:i,ignoreLocation:h});y&&(m=!0),g+=T,y&&k&&(f=[...f,...k])});let C={isMatch:m,score:m?g/this.chunks.length:1};return m&&i&&(C.indices=f),C}}class co{constructor(t){this.pattern=t}static isMultiMatch(t){return e1(t,this.multiRegex)}static isSingleMatch(t){return e1(t,this.singleRegex)}search(){}}function e1(e,t){const n=e.match(t);return n?n[1]:null}class _4 extends co{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class w4 extends co{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const o=t.indexOf(this.pattern)===-1;return{isMatch:o,score:o?0:1,indices:[0,t.length-1]}}}class v4 extends co{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class A4 extends co{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class k4 extends co{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class L4 extends co{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class ap extends co{constructor(t,{location:n=De.location,threshold:o=De.threshold,distance:i=De.distance,includeMatches:a=De.includeMatches,findAllMatches:s=De.findAllMatches,minMatchCharLength:l=De.minMatchCharLength,isCaseSensitive:c=De.isCaseSensitive,ignoreDiacritics:u=De.ignoreDiacritics,ignoreLocation:h=De.ignoreLocation}={}){super(t),this._bitapSearch=new ip(t,{location:n,threshold:o,distance:i,includeMatches:a,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:u,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class sp extends co{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,o;const i=[],a=this.pattern.length;for(;(o=t.indexOf(this.pattern,n))>-1;)n=o+a,i.push([o,n-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const wc=[_4,sp,v4,A4,L4,k4,w4,ap],t1=wc.length,N4=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,P4="|";function R4(e,t={}){return e.split(P4).map(n=>{let o=n.trim().split(N4).filter(a=>a&&!!a.trim()),i=[];for(let a=0,s=o.length;a<s;a+=1){const l=o[a];let c=!1,u=-1;for(;!c&&++u<t1;){const h=wc[u];let f=h.isMultiMatch(l);f&&(i.push(new h(f,t)),c=!0)}if(!c)for(u=-1;++u<t1;){const h=wc[u];let f=h.isSingleMatch(l);if(f){i.push(new h(f,t));break}}}return i})}const D4=new Set([ap.type,sp.type]);class O4{constructor(t,{isCaseSensitive:n=De.isCaseSensitive,ignoreDiacritics:o=De.ignoreDiacritics,includeMatches:i=De.includeMatches,minMatchCharLength:a=De.minMatchCharLength,ignoreLocation:s=De.ignoreLocation,findAllMatches:l=De.findAllMatches,location:c=De.location,threshold:u=De.threshold,distance:h=De.distance}={}){this.query=null,this.options={isCaseSensitive:n,ignoreDiacritics:o,includeMatches:i,minMatchCharLength:a,findAllMatches:l,ignoreLocation:s,location:c,threshold:u,distance:h},t=n?t:t.toLowerCase(),t=o?Ls(t):t,this.pattern=t,this.query=R4(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:o,isCaseSensitive:i,ignoreDiacritics:a}=this.options;t=i?t:t.toLowerCase(),t=a?Ls(t):t;let s=0,l=[],c=0;for(let u=0,h=n.length;u<h;u+=1){const f=n[u];l.length=0,s=0;for(let g=0,m=f.length;g<m;g+=1){const C=f[g],{isMatch:I,indices:b,score:S}=C.search(t);if(I){if(s+=1,c+=S,o){const y=C.constructor.type;D4.has(y)?l=[...l,...b]:l.push(b)}}else{c=0,s=0,l.length=0;break}}if(s){let g={isMatch:!0,score:c/s};return o&&(g.indices=l),g}}return{isMatch:!1,score:1}}}const vc=[];function M4(...e){vc.push(...e)}function Ac(e,t){for(let n=0,o=vc.length;n<o;n+=1){let i=vc[n];if(i.condition(e,t))return new i(e,t)}return new ip(e,t)}const Ns={AND:"$and",OR:"$or"},kc={PATH:"$path",PATTERN:"$val"},Lc=e=>!!(e[Ns.AND]||e[Ns.OR]),B4=e=>!!e[kc.PATH],F4=e=>!jr(e)&&tp(e)&&!Lc(e),n1=e=>({[Ns.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function lp(e,t,{auto:n=!0}={}){const o=i=>{let a=Object.keys(i);const s=B4(i);if(!s&&a.length>1&&!Lc(i))return o(n1(i));if(F4(i)){const c=s?i[kc.PATH]:a[0],u=s?i[kc.PATTERN]:i[c];if(!xr(u))throw new Error(c4(c));const h={keyId:_c(c),pattern:u};return n&&(h.searcher=Ac(u,t)),h}let l={children:[],operator:a[0]};return a.forEach(c=>{const u=i[c];jr(u)&&u.forEach(h=>{l.children.push(o(h))})}),l};return Lc(e)||(e=n1(e)),o(e)}function H4(e,{ignoreFieldNorm:t=De.ignoreFieldNorm}){e.forEach(n=>{let o=1;n.matches.forEach(({key:i,norm:a,score:s})=>{const l=i?i.weight:null;o*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(t?1:a))}),n.score=o})}function j4(e,t){const n=e.matches;t.matches=[],zn(n)&&n.forEach(o=>{if(!zn(o.indices)||!o.indices.length)return;const{indices:i,value:a}=o;let s={indices:i,value:a};o.key&&(s.key=o.key.src),o.idx>-1&&(s.refIndex=o.idx),t.matches.push(s)})}function U4(e,t){t.score=e.score}function V4(e,t,{includeMatches:n=De.includeMatches,includeScore:o=De.includeScore}={}){const i=[];return n&&i.push(j4),o&&i.push(U4),e.map(a=>{const{idx:s}=a,l={item:t[s],refIndex:s};return i.length&&i.forEach(c=>{c(a,l)}),l})}class Wr{constructor(t,n={},o){this.options={...De,...n},this.options.useExtendedSearch,this._keyStore=new f4(this.options.keys),this.setCollection(t,o)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof ku))throw new Error(l4);this._myIndex=n||op(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){zn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let o=0,i=this._docs.length;o<i;o+=1){const a=this._docs[o];t(a,o)&&(this.removeAt(o),o-=1,i-=1,n.push(a))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:o,includeScore:i,shouldSort:a,sortFn:s,ignoreFieldNorm:l}=this.options;let c=xr(t)?xr(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return H4(c,{ignoreFieldNorm:l}),a&&c.sort(s),ep(n)&&n>-1&&(c=c.slice(0,n)),V4(c,this._docs,{includeMatches:o,includeScore:i})}_searchStringList(t){const n=Ac(t,this.options),{records:o}=this._myIndex,i=[];return o.forEach(({v:a,i:s,n:l})=>{if(!zn(a))return;const{isMatch:c,score:u,indices:h}=n.searchIn(a);c&&i.push({item:a,idx:s,matches:[{score:u,value:a,norm:l,indices:h}]})}),i}_searchLogical(t){const n=lp(t,this.options),o=(l,c,u)=>{if(!l.children){const{keyId:f,searcher:g}=l,m=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(c,f),searcher:g});return m&&m.length?[{idx:u,item:c,matches:m}]:[]}const h=[];for(let f=0,g=l.children.length;f<g;f+=1){const m=l.children[f],C=o(m,c,u);if(C.length)h.push(...C);else if(l.operator===Ns.AND)return[]}return h},i=this._myIndex.records,a={},s=[];return i.forEach(({$:l,i:c})=>{if(zn(l)){let u=o(n,l,c);u.length&&(a[c]||(a[c]={idx:c,item:l,matches:[]},s.push(a[c])),u.forEach(({matches:h})=>{a[c].matches.push(...h)}))}}),s}_searchObjectList(t){const n=Ac(t,this.options),{keys:o,records:i}=this._myIndex,a=[];return i.forEach(({$:s,i:l})=>{if(!zn(s))return;let c=[];o.forEach((u,h)=>{c.push(...this._findMatches({key:u,value:s[h],searcher:n}))}),c.length&&a.push({idx:l,item:s,matches:c})}),a}_findMatches({key:t,value:n,searcher:o}){if(!zn(n))return[];let i=[];if(jr(n))n.forEach(({v:a,i:s,n:l})=>{if(!zn(a))return;const{isMatch:c,score:u,indices:h}=o.searchIn(a);c&&i.push({score:u,key:t,value:a,idx:s,norm:l,indices:h})});else{const{v:a,n:s}=n,{isMatch:l,score:c,indices:u}=o.searchIn(a);l&&i.push({score:c,key:t,value:a,norm:s,indices:u})}return i}}Wr.version="7.1.0";Wr.createIndex=op;Wr.parseIndex=y4;Wr.config=De;Wr.parseQuery=lp;M4(O4);const z4="_wrapper_187gl_1",$4="_label_187gl_9",W4="_input_187gl_17",q4="_required_187gl_47",G4="_paddingless_187gl_54",Y4="_content_187gl_58",Z4="_borderless_187gl_66",X4="_rightIcon_187gl_77",K4="_inputPostfix_187gl_83",Rr={wrapper:z4,label:$4,input:W4,required:q4,paddingless:G4,content:Y4,borderless:Z4,rightIcon:X4,inputPostfix:K4},nr=e=>{const{onChange:t,style:n,label:o,value:i,type:a,min:s,max:l,placeholder:c,disabled:u=!1,required:h=!1,regex:f,paddingless:g=!1,borderless:m=!1,editable:C=!1,isSearch:I=!1,postfix:b,id:S=o}=e,[y,T]=_.useState(!1);function k(P){return Number(P)<0?String(s):P}function A(P){return!h||!f?!0:new RegExp(f).test(P)}return d.jsxs("div",{className:Rr.wrapper,children:[o&&d.jsx("label",{className:Rr.label,htmlFor:o,children:o}),d.jsxs("div",{className:Rr.content,children:[d.jsx("input",{id:S,type:a||"text",onChange:P=>{if(P.stopPropagation(),a==="text")t(P.target.value);else{const E=k(P.target.value);t(E)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(Rr.input,{[Rr.required]:y&&h&&!A(i),[Rr.paddingless]:g,[Rr.borderless]:m}),min:a==="number"?s:void 0,max:a==="number"?l:void 0,disabled:u,onFocus:()=>{m||T(!0)},style:n}),b&&d.jsx("span",{className:Rr.inputPostfix,children:b}),I&&d.jsx("div",{className:Rr.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:20,height:20})}),C&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})};function si(e,t){_.useEffect(()=>{function n(o){!e.current||e.current.contains(o.target)||t(o)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const ao=e=>{var H,X;const{onChange:t,label:n,value:o,options:i,style:a,switcher:s,postfixs:l,leftAddonOptions:c}=e,[u,h]=_.useState(!1),[f,g]=_.useState(""),[m,C]=_.useState(null),[I,b]=_.useState(!1),S=_.useRef(null),y=_.useRef(null),T=_.useRef(null);si(S,()=>h(!1));function k(W){g(""),t(W),h(!1),C(null)}function A(W,se){if(!W)return"";if(!y.current){const Le=document.createElement("div");Le.style.position="absolute",Le.style.visibility="hidden",Le.style.whiteSpace="nowrap",Le.style.fontSize=window.getComputedStyle(document.body).fontSize,document.body.appendChild(Le),y.current=Le}y.current.textContent=W;const Ce=y.current.offsetWidth;if(Ce<=se)return W;let be=W,ve=Ce;for(;ve>se&&be.length>0;)be=be.slice(0,-1),y.current.textContent=be+"...",ve=y.current.offsetWidth;if(be.length<=3&&W.length>3){const Le=W.split(" ")[0];if(y.current.textContent=Le,y.current.offsetWidth<=se)return Le}return be+"..."}function P(W){if(!u){(W.key==="Enter"||W.key==="ArrowDown")&&h(!0);return}const se=B;W.key==="ArrowDown"&&(W.preventDefault(),C(Ce=>Ce===null||Ce===se.length-1?0:Ce+1)),W.key==="ArrowUp"&&(W.preventDefault(),C(Ce=>Ce===null||Ce===0?se.length-1:Ce-1)),W.key==="Enter"&&m!==null&&(W.preventDefault(),k(se[m])),W.key==="Escape"&&h(!1)}const E=_.useRef(null),M=_.useMemo(()=>new Wr(i,{threshold:.4,minMatchCharLength:1}),[i]),B=_.useMemo(()=>I&&f.trim()!==""?M.search(f).map(W=>W.item):i,[f,i,I,M]),w=()=>T.current?T.current.clientWidth:100,V=()=>{if(!E.current)return 100;const W=E.current.clientWidth,se=c&&c.length>0?60:0;return W-se};return d.jsxs("div",{className:Kt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Kt.top,children:[d.jsx("label",{className:Kt.label,htmlFor:n,children:n}),s&&d.jsx(vr,{current:s.value,onChange:s.onChange})]}),d.jsxs("label",{className:Kt.content,ref:S,children:[d.jsxs("div",{className:ge(Kt.select,{[Kt.borderFocused]:u}),onKeyDown:P,onClick:W=>{W.stopPropagation(),h(se=>!se),b(!1)},ref:E,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:Kt.addon,children:(H=c.find(W=>W.value===o))==null?void 0:H.addon}),d.jsx("div",{className:Kt.input,ref:T,children:A(o,w())}),d.jsx("div",{className:ge(Kt.icon,{[Kt.rotate]:u}),onClick:W=>{W.stopPropagation(),h(se=>!se)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Kt.options,{[Kt.open]:u}),style:{top:((X=E.current)==null?void 0:X.clientHeight)+10},children:[i.length>6&&d.jsx(nr,{type:"text",value:f,placeholder:"Search...",onChange:W=>{g(W),b(!0)},isSearch:!0}),d.jsxs("div",{className:Kt.filteredOptions,children:[B.map((W,se)=>{var Ce;return d.jsxs("div",{className:ge(Kt.option,{[Kt.focused]:se===m}),onClick:()=>{k(W),h(!1)},children:[c&&c.length>0&&d.jsx("div",{className:Kt.leftAddon,children:(Ce=c.find(be=>be.value===W))==null?void 0:Ce.addon}),d.jsx("span",{className:Kt.value,children:A(W,V())}),l&&d.jsx("span",{className:Kt.postfix,children:l[se]})]},W)}),B.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})};function Nc(){return Nc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nc.apply(null,arguments)}function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pc(e,t){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Pc(e,t)}function Q4(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pc(e,t)}var o1=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function J4(e,t){return!!(e===t||o1(e)&&o1(t))}function e6(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!J4(e[n],t[n]))return!1;return!0}function Pl(e,t){t===void 0&&(t=e6);var n,o=[],i,a=!1;function s(){for(var l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return a&&n===this&&t(l,o)||(i=e.apply(this,l),a=!0,n=this,o=l),i}return s}var t6=typeof performance=="object"&&typeof performance.now=="function",i1=t6?function(){return performance.now()}:function(){return Date.now()};function a1(e){cancelAnimationFrame(e.id)}function n6(e,t){var n=i1();function o(){i1()-n>=t?e.call(null):i.id=requestAnimationFrame(o)}var i={id:requestAnimationFrame(o)};return i}var Rl=-1;function s1(e){if(e===void 0&&(e=!1),Rl===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Rl=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Rl}var Vo=null;function l1(e){if(e===void 0&&(e=!1),Vo===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var o=document.createElement("div"),i=o.style;return i.width="100px",i.height="100px",t.appendChild(o),document.body.appendChild(t),t.scrollLeft>0?Vo="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Vo="negative":Vo="positive-ascending"),document.body.removeChild(t),Vo}return Vo}process.env.NODE_ENV;var r6=150,o6=function(t,n){return t},fs=null,ps=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(fs=new WeakSet,ps=new WeakSet);function i6(e){var t,n=e.getItemOffset,o=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,s=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(f){Q4(g,f);function g(C){var I;return I=f.call(this,C)||this,I._instanceProps=c(I.props,r1(I)),I._outerRef=void 0,I._resetIsScrollingTimeoutId=null,I.state={instance:r1(I),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof I.props.initialScrollOffset=="number"?I.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},I._callOnItemsRendered=void 0,I._callOnItemsRendered=Pl(function(b,S,y,T){return I.props.onItemsRendered({overscanStartIndex:b,overscanStopIndex:S,visibleStartIndex:y,visibleStopIndex:T})}),I._callOnScroll=void 0,I._callOnScroll=Pl(function(b,S,y){return I.props.onScroll({scrollDirection:b,scrollOffset:S,scrollUpdateWasRequested:y})}),I._getItemStyle=void 0,I._getItemStyle=function(b){var S=I.props,y=S.direction,T=S.itemSize,k=S.layout,A=I._getItemStyleCache(u&&T,u&&k,u&&y),P;if(A.hasOwnProperty(b))P=A[b];else{var E=n(I.props,b,I._instanceProps),M=i(I.props,b,I._instanceProps),B=y==="horizontal"||k==="horizontal",w=y==="rtl",V=B?E:0;A[b]=P={position:"absolute",left:w?void 0:V,right:w?V:void 0,top:B?0:E,height:B?"100%":M,width:B?M:"100%"}}return P},I._getItemStyleCache=void 0,I._getItemStyleCache=Pl(function(b,S,y){return{}}),I._onScrollHorizontal=function(b){var S=b.currentTarget,y=S.clientWidth,T=S.scrollLeft,k=S.scrollWidth;I.setState(function(A){if(A.scrollOffset===T)return null;var P=I.props.direction,E=T;if(P==="rtl")switch(l1()){case"negative":E=-T;break;case"positive-descending":E=k-y-T;break}return E=Math.max(0,Math.min(E,k-y)),{isScrolling:!0,scrollDirection:A.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},I._resetIsScrollingDebounced)},I._onScrollVertical=function(b){var S=b.currentTarget,y=S.clientHeight,T=S.scrollHeight,k=S.scrollTop;I.setState(function(A){if(A.scrollOffset===k)return null;var P=Math.max(0,Math.min(k,T-y));return{isScrolling:!0,scrollDirection:A.scrollOffset<P?"forward":"backward",scrollOffset:P,scrollUpdateWasRequested:!1}},I._resetIsScrollingDebounced)},I._outerRefSetter=function(b){var S=I.props.outerRef;I._outerRef=b,typeof S=="function"?S(b):S!=null&&typeof S=="object"&&S.hasOwnProperty("current")&&(S.current=b)},I._resetIsScrollingDebounced=function(){I._resetIsScrollingTimeoutId!==null&&a1(I._resetIsScrollingTimeoutId),I._resetIsScrollingTimeoutId=n6(I._resetIsScrolling,r6)},I._resetIsScrolling=function(){I._resetIsScrollingTimeoutId=null,I.setState({isScrolling:!1},function(){I._getItemStyleCache(-1,null)})},I}g.getDerivedStateFromProps=function(I,b){return a6(I,b),h(I),null};var m=g.prototype;return m.scrollTo=function(I){I=Math.max(0,I),this.setState(function(b){return b.scrollOffset===I?null:{scrollDirection:b.scrollOffset<I?"forward":"backward",scrollOffset:I,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},m.scrollToItem=function(I,b){b===void 0&&(b="auto");var S=this.props,y=S.itemCount,T=S.layout,k=this.state.scrollOffset;I=Math.max(0,Math.min(I,y-1));var A=0;if(this._outerRef){var P=this._outerRef;T==="vertical"?A=P.scrollWidth>P.clientWidth?s1():0:A=P.scrollHeight>P.clientHeight?s1():0}this.scrollTo(a(this.props,I,b,k,this._instanceProps,A))},m.componentDidMount=function(){var I=this.props,b=I.direction,S=I.initialScrollOffset,y=I.layout;if(typeof S=="number"&&this._outerRef!=null){var T=this._outerRef;b==="horizontal"||y==="horizontal"?T.scrollLeft=S:T.scrollTop=S}this._callPropsCallbacks()},m.componentDidUpdate=function(){var I=this.props,b=I.direction,S=I.layout,y=this.state,T=y.scrollOffset,k=y.scrollUpdateWasRequested;if(k&&this._outerRef!=null){var A=this._outerRef;if(b==="horizontal"||S==="horizontal")if(b==="rtl")switch(l1()){case"negative":A.scrollLeft=-T;break;case"positive-ascending":A.scrollLeft=T;break;default:var P=A.clientWidth,E=A.scrollWidth;A.scrollLeft=E-P-T;break}else A.scrollLeft=T;else A.scrollTop=T}this._callPropsCallbacks()},m.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&a1(this._resetIsScrollingTimeoutId)},m.render=function(){var I=this.props,b=I.children,S=I.className,y=I.direction,T=I.height,k=I.innerRef,A=I.innerElementType,P=I.innerTagName,E=I.itemCount,M=I.itemData,B=I.itemKey,w=B===void 0?o6:B,V=I.layout,H=I.outerElementType,X=I.outerTagName,W=I.style,se=I.useIsScrolling,Ce=I.width,be=this.state.isScrolling,ve=y==="horizontal"||V==="horizontal",Le=ve?this._onScrollHorizontal:this._onScrollVertical,x=this._getRangeToRender(),ne=x[0],pe=x[1],L=[];if(E>0)for(var Z=ne;Z<=pe;Z++)L.push(_.createElement(b,{data:M,key:w(Z,M),index:Z,isScrolling:se?be:void 0,style:this._getItemStyle(Z)}));var le=o(this.props,this._instanceProps);return _.createElement(H||X||"div",{className:S,onScroll:Le,ref:this._outerRefSetter,style:Nc({position:"relative",height:T,width:Ce,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},W)},_.createElement(A||P||"div",{children:L,ref:k,style:{height:ve?"100%":le,pointerEvents:be?"none":void 0,width:ve?le:"100%"}}))},m._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var I=this.props.itemCount;if(I>0){var b=this._getRangeToRender(),S=b[0],y=b[1],T=b[2],k=b[3];this._callOnItemsRendered(S,y,T,k)}}if(typeof this.props.onScroll=="function"){var A=this.state,P=A.scrollDirection,E=A.scrollOffset,M=A.scrollUpdateWasRequested;this._callOnScroll(P,E,M)}},m._getRangeToRender=function(){var I=this.props,b=I.itemCount,S=I.overscanCount,y=this.state,T=y.isScrolling,k=y.scrollDirection,A=y.scrollOffset;if(b===0)return[0,0,0,0];var P=s(this.props,A,this._instanceProps),E=l(this.props,P,A,this._instanceProps),M=!T||k==="backward"?Math.max(1,S):1,B=!T||k==="forward"?Math.max(1,S):1;return[Math.max(0,P-M),Math.max(0,Math.min(b-1,E+B)),P,E]},g}(_.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var a6=function(t,n){var o=t.children,i=t.direction,a=t.height,s=t.layout,l=t.innerTagName,c=t.outerTagName,u=t.width,h=n.instance;if(process.env.NODE_ENV!=="production"){(l!=null||c!=null)&&ps&&!ps.has(h)&&(ps.add(h),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var f=i==="horizontal"||s==="horizontal";switch(i){case"horizontal":case"vertical":fs&&!fs.has(h)&&(fs.add(h),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}switch(s){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+s+'" was specified.'))}if(o==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(o===null?"null":typeof o)+'" was specified.'));if(f&&typeof u!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(u===null?"null":typeof u)+'" was specified.'));if(!f&&typeof a!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(a===null?"null":typeof a)+'" was specified.'))}},s6=i6({getItemOffset:function(t,n){var o=t.itemSize;return n*o},getItemSize:function(t,n){var o=t.itemSize;return o},getEstimatedTotalSize:function(t){var n=t.itemCount,o=t.itemSize;return o*n},getOffsetForIndexAndAlignment:function(t,n,o,i,a,s){var l=t.direction,c=t.height,u=t.itemCount,h=t.itemSize,f=t.layout,g=t.width,m=l==="horizontal"||f==="horizontal",C=m?g:c,I=Math.max(0,u*h-C),b=Math.min(I,n*h),S=Math.max(0,n*h-C+h+s);switch(o==="smart"&&(i>=S-C&&i<=b+C?o="auto":o="center"),o){case"start":return b;case"end":return S;case"center":{var y=Math.round(S+(b-S)/2);return y<Math.ceil(C/2)?0:y>I+Math.floor(C/2)?I:y}case"auto":default:return i>=S&&i<=b?i:i<S?S:b}},getStartIndexForOffset:function(t,n){var o=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(o-1,Math.floor(n/i)))},getStopIndexForStartIndex:function(t,n,o){var i=t.direction,a=t.height,s=t.itemCount,l=t.itemSize,c=t.layout,u=t.width,h=i==="horizontal"||c==="horizontal",f=n*l,g=h?u:a,m=Math.ceil((g+o-f)/l);return Math.max(0,Math.min(s-1,n+m-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});const l6="_wrapper_1gk74_2",c6="_label_1gk74_9",u6="_top_1gk74_17",d6="_select_1gk74_23",h6="_borderFocused_1gk74_42",f6="_input_1gk74_49",p6="_icon_1gk74_59",m6="_rotate_1gk74_64",g6="_content_1gk74_68",I6="_options_1gk74_72",C6="_filteredOptions_1gk74_93",b6="_open_1gk74_97",S6="_option_1gk74_72",y6="_focused_1gk74_115",E6="_addon_1gk74_119",T6="_value_1gk74_130",x6="_postfix_1gk74_134",_6="_leftAddon_1gk74_138",Qt={wrapper:l6,label:c6,top:u6,select:d6,borderFocused:h6,input:f6,icon:p6,rotate:m6,content:g6,options:I6,filteredOptions:C6,open:b6,option:S6,focused:y6,addon:E6,value:T6,postfix:x6,leftAddon:_6};function w6(e,t){_.useEffect(()=>{function n(o){!e.current||e.current.contains(o.target)||t(o)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const Lu=e=>{var V;const{onChange:t,label:n,value:o,options:i,style:a,switcher:s,postfixs:l,leftAddonOptions:c}=e,[u,h]=_.useState(!1),[f,g]=_.useState(""),[m,C]=_.useState(null),[I,b]=_.useState(!1),S=_.useRef(null);w6(S,()=>h(!1));function y(H){g(""),t(H),h(!1),C(null)}function T(H,X){return H?H.length>X+3?`${H.slice(0,X)}...`:H:""}function k(H){if(!u){(H.key==="Enter"||H.key==="ArrowDown")&&h(!0);return}const X=E;H.key==="ArrowDown"&&(H.preventDefault(),C(W=>W===null||W===X.length-1?0:W+1)),H.key==="ArrowUp"&&(H.preventDefault(),C(W=>W===null||W===0?X.length-1:W-1)),H.key==="Enter"&&m!==null&&(H.preventDefault(),y(X[m])),H.key==="Escape"&&h(!1)}const A=_.useRef(null),P=_.useMemo(()=>new Wr(i,{threshold:.4,minMatchCharLength:2}),[i]),E=_.useMemo(()=>I&&f.trim()!==""?P.search(f).map(H=>H.item):i,[f,i,I,P]),M=_.useMemo(()=>{const H=new Map;return c==null||c.forEach(X=>{H.set(X.value,X.addon)}),H},[c]),B=_.useMemo(()=>{if(!l)return new Map;const H=new Map;if(l.length===i.length)for(let X=0;X<i.length;X++)H.set(i[X],l[X]);return H},[i,l]),w=_.useCallback(({index:H,style:X})=>{const W=E[H];if(!W)return null;const se=m===H,Ce=M.get(W),be=B.get(W);return d.jsxs("div",{className:ge(Qt.option,{[Qt.focused]:se}),style:X,onClick:()=>y(W),children:[Ce&&d.jsx("div",{className:Qt.leftAddon,children:Ce}),d.jsx("span",{className:Qt.value,children:T(W,20)}),be&&d.jsx("span",{className:Qt.postfix,children:be})]},W)},[E,m,M,B]);return d.jsxs("div",{className:Qt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Qt.top,children:[d.jsx("label",{className:Qt.label,htmlFor:n,children:n}),s&&d.jsx(vr,{current:s.value,onChange:s.onChange})]}),d.jsxs("label",{className:Qt.content,ref:S,children:[d.jsxs("div",{className:ge(Qt.select,{[Qt.borderFocused]:u}),onKeyDown:k,onClick:H=>{H.stopPropagation(),h(X=>!X),b(!1)},ref:A,tabIndex:0,children:[c&&d.jsx("div",{className:Qt.addon,children:M.get(o)}),d.jsx("div",{className:Qt.input,children:T(o,15)}),d.jsx("div",{className:ge(Qt.icon,{[Qt.rotate]:u}),onClick:H=>{H.stopPropagation(),h(X=>!X)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16})})]}),d.jsxs("div",{className:ge(Qt.options,{[Qt.open]:u}),style:{top:((V=A.current)==null?void 0:V.clientHeight)+10},children:[i.length>6&&d.jsx(nr,{type:"text",value:f,placeholder:"Search...",onChange:H=>{g(H),b(!0)},isSearch:!0}),d.jsxs("div",{className:Qt.filteredOptions,children:[E.length===0&&d.jsx("div",{children:"No results found."}),E.length>0&&d.jsx(s6,{height:200,itemCount:E.length,itemSize:36,width:"100%",itemKey:H=>E[H]||H,children:w})]})]})]})]})},v6="_wrapper_1yh21_2",A6="_label_1yh21_9",k6="_icon_1yh21_16",L6="_text_1yh21_28",N6="_content_1yh21_37",P6="_modal_1yh21_48",R6="_top_1yh21_56",D6="_title_1yh21_65",O6="_modalContent_1yh21_72",M6="_images_1yh21_81",B6="_add_1yh21_91",F6="_dragging_1yh21_111",H6="_description_1yh21_115",j6="_bottom_1yh21_125",U6="_cancel_1yh21_139",V6="_highlight_1yh21_144",z6="_accent_1yh21_149",$6="_image_1yh21_81",W6="_selected_1yh21_169",q6="_checkbox_1yh21_177",G6="_loading_1yh21_183",Y6="_spinner_1yh21_197",St={wrapper:v6,label:A6,icon:k6,text:L6,content:N6,modal:P6,top:R6,title:D6,modalContent:O6,images:M6,add:B6,dragging:F6,description:H6,bottom:j6,cancel:U6,highlight:V6,accent:z6,image:$6,selected:W6,checkbox:q6,loading:G6,spinner:Y6};function cp(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z6}=Object.prototype,{getPrototypeOf:Nu}=Object,Ks=(e=>t=>{const n=Z6.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>Ks(t)===e),Qs=e=>t=>typeof t===e,{isArray:li}=Array,ca=Qs("undefined");function X6(e){return e!==null&&!ca(e)&&e.constructor!==null&&!ca(e.constructor)&&Wn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const up=pr("ArrayBuffer");function K6(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&up(e.buffer),t}const Q6=Qs("string"),Wn=Qs("function"),dp=Qs("number"),Js=e=>e!==null&&typeof e=="object",J6=e=>e===!0||e===!1,ms=e=>{if(Ks(e)!=="object")return!1;const t=Nu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},eI=pr("Date"),tI=pr("File"),nI=pr("Blob"),rI=pr("FileList"),oI=e=>Js(e)&&Wn(e.pipe),iI=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Wn(e.append)&&((t=Ks(e))==="formdata"||t==="object"&&Wn(e.toString)&&e.toString()==="[object FormData]"))},aI=pr("URLSearchParams"),[sI,lI,cI,uI]=["ReadableStream","Request","Response","Headers"].map(pr),dI=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ea(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),li(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(o=0;o<s;o++)l=a[o],t.call(null,e[l],l,e)}}function hp(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,fp=e=>!ca(e)&&e!==_o;function Rc(){const{caseless:e}=fp(this)&&this||{},t={},n=(o,i)=>{const a=e&&hp(t,i)||i;ms(t[a])&&ms(o)?t[a]=Rc(t[a],o):ms(o)?t[a]=Rc({},o):li(o)?t[a]=o.slice():t[a]=o};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Ea(arguments[o],n);return t}const hI=(e,t,n,{allOwnKeys:o}={})=>(Ea(t,(i,a)=>{n&&Wn(i)?e[a]=cp(i,n):e[a]=i},{allOwnKeys:o}),e),fI=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pI=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},mI=(e,t,n,o)=>{let i,a,s;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],(!o||o(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Nu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},gI=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},II=e=>{if(!e)return null;if(li(e))return e;let t=e.length;if(!dp(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},CI=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Nu(Uint8Array)),bI=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},SI=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},yI=pr("HTMLFormElement"),EI=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),c1=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),TI=pr("RegExp"),pp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Ea(n,(i,a)=>{let s;(s=t(i,a,e))!==!1&&(o[a]=s||i)}),Object.defineProperties(e,o)},xI=e=>{pp(e,(t,n)=>{if(Wn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Wn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},_I=(e,t)=>{const n={},o=i=>{i.forEach(a=>{n[a]=!0})};return li(e)?o(e):o(String(e).split(t)),n},wI=()=>{},vI=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function AI(e){return!!(e&&Wn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kI=e=>{const t=new Array(10),n=(o,i)=>{if(Js(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const a=li(o)?[]:{};return Ea(o,(s,l)=>{const c=n(s,i+1);!ca(c)&&(a[l]=c)}),t[i]=void 0,a}}return o};return n(e,0)},LI=pr("AsyncFunction"),NI=e=>e&&(Js(e)||Wn(e))&&Wn(e.then)&&Wn(e.catch),mp=((e,t)=>e?setImmediate:t?((n,o)=>(_o.addEventListener("message",({source:i,data:a})=>{i===_o&&a===n&&o.length&&o.shift()()},!1),i=>{o.push(i),_o.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Wn(_o.postMessage)),PI=typeof queueMicrotask<"u"?queueMicrotask.bind(_o):typeof process<"u"&&process.nextTick||mp,Y={isArray:li,isArrayBuffer:up,isBuffer:X6,isFormData:iI,isArrayBufferView:K6,isString:Q6,isNumber:dp,isBoolean:J6,isObject:Js,isPlainObject:ms,isReadableStream:sI,isRequest:lI,isResponse:cI,isHeaders:uI,isUndefined:ca,isDate:eI,isFile:tI,isBlob:nI,isRegExp:TI,isFunction:Wn,isStream:oI,isURLSearchParams:aI,isTypedArray:CI,isFileList:rI,forEach:Ea,merge:Rc,extend:hI,trim:dI,stripBOM:fI,inherits:pI,toFlatObject:mI,kindOf:Ks,kindOfTest:pr,endsWith:gI,toArray:II,forEachEntry:bI,matchAll:SI,isHTMLForm:yI,hasOwnProperty:c1,hasOwnProp:c1,reduceDescriptors:pp,freezeMethods:xI,toObjectSet:_I,toCamelCase:EI,noop:wI,toFiniteNumber:vI,findKey:hp,global:_o,isContextDefined:fp,isSpecCompliantForm:AI,toJSONObject:kI,isAsyncFn:LI,isThenable:NI,setImmediate:mp,asap:PI};function je(e,t,n,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}Y.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const gp=je.prototype,Ip={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ip[e]={value:e}});Object.defineProperties(je,Ip);Object.defineProperty(gp,"isAxiosError",{value:!0});je.from=(e,t,n,o,i,a)=>{const s=Object.create(gp);return Y.toFlatObject(e,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),je.call(s,e.message,t,n,o,i),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};const RI=null;function Dc(e){return Y.isPlainObject(e)||Y.isArray(e)}function Cp(e){return Y.endsWith(e,"[]")?e.slice(0,-2):e}function u1(e,t,n){return e?e.concat(t).map(function(i,a){return i=Cp(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function DI(e){return Y.isArray(e)&&!e.some(Dc)}const OI=Y.toFlatObject(Y,{},null,function(t){return/^is[A-Z]/.test(t)});function el(e,t,n){if(!Y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,b){return!Y.isUndefined(b[I])});const o=n.metaTokens,i=n.visitor||h,a=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(t);if(!Y.isFunction(i))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if(Y.isDate(C))return C.toISOString();if(!c&&Y.isBlob(C))throw new je("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(C)||Y.isTypedArray(C)?c&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function h(C,I,b){let S=C;if(C&&!b&&typeof C=="object"){if(Y.endsWith(I,"{}"))I=o?I:I.slice(0,-2),C=JSON.stringify(C);else if(Y.isArray(C)&&DI(C)||(Y.isFileList(C)||Y.endsWith(I,"[]"))&&(S=Y.toArray(C)))return I=Cp(I),S.forEach(function(T,k){!(Y.isUndefined(T)||T===null)&&t.append(s===!0?u1([I],k,a):s===null?I:I+"[]",u(T))}),!1}return Dc(C)?!0:(t.append(u1(b,I,a),u(C)),!1)}const f=[],g=Object.assign(OI,{defaultVisitor:h,convertValue:u,isVisitable:Dc});function m(C,I){if(!Y.isUndefined(C)){if(f.indexOf(C)!==-1)throw Error("Circular reference detected in "+I.join("."));f.push(C),Y.forEach(C,function(S,y){(!(Y.isUndefined(S)||S===null)&&i.call(t,S,Y.isString(y)?y.trim():y,I,g))===!0&&m(S,I?I.concat(y):[y])}),f.pop()}}if(!Y.isObject(e))throw new TypeError("data must be an object");return m(e),t}function d1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Pu(e,t){this._pairs=[],e&&el(e,this,t)}const bp=Pu.prototype;bp.append=function(t,n){this._pairs.push([t,n])};bp.toString=function(t){const n=t?function(o){return t.call(this,o,d1)}:d1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function MI(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sp(e,t,n){if(!t)return e;const o=n&&n.encode||MI;Y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=Y.isURLSearchParams(t)?t.toString():new Pu(t,n).toString(o),a){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class h1{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Y.forEach(this.handlers,function(o){o!==null&&t(o)})}}const yp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},BI=typeof URLSearchParams<"u"?URLSearchParams:Pu,FI=typeof FormData<"u"?FormData:null,HI=typeof Blob<"u"?Blob:null,jI={isBrowser:!0,classes:{URLSearchParams:BI,FormData:FI,Blob:HI},protocols:["http","https","file","blob","url","data"]},Ru=typeof window<"u"&&typeof document<"u",Oc=typeof navigator=="object"&&navigator||void 0,UI=Ru&&(!Oc||["ReactNative","NativeScript","NS"].indexOf(Oc.product)<0),VI=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zI=Ru&&window.location.href||"http://localhost",$I=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ru,hasStandardBrowserEnv:UI,hasStandardBrowserWebWorkerEnv:VI,navigator:Oc,origin:zI},Symbol.toStringTag,{value:"Module"})),bn={...$I,...jI};function WI(e,t){return el(e,new bn.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,a){return bn.isNode&&Y.isBuffer(n)?(this.append(o,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function qI(e){return Y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GI(e){const t={},n=Object.keys(e);let o;const i=n.length;let a;for(o=0;o<i;o++)a=n[o],t[a]=e[a];return t}function Ep(e){function t(n,o,i,a){let s=n[a++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=a>=n.length;return s=!s&&Y.isArray(i)?i.length:s,c?(Y.hasOwnProp(i,s)?i[s]=[i[s],o]:i[s]=o,!l):((!i[s]||!Y.isObject(i[s]))&&(i[s]=[]),t(n,o,i[s],a)&&Y.isArray(i[s])&&(i[s]=GI(i[s])),!l)}if(Y.isFormData(e)&&Y.isFunction(e.entries)){const n={};return Y.forEachEntry(e,(o,i)=>{t(qI(o),i,n,0)}),n}return null}function YI(e,t,n){if(Y.isString(e))try{return(t||JSON.parse)(e),Y.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Ta={transitional:yp,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,a=Y.isObject(t);if(a&&Y.isHTMLForm(t)&&(t=new FormData(t)),Y.isFormData(t))return i?JSON.stringify(Ep(t)):t;if(Y.isArrayBuffer(t)||Y.isBuffer(t)||Y.isStream(t)||Y.isFile(t)||Y.isBlob(t)||Y.isReadableStream(t))return t;if(Y.isArrayBufferView(t))return t.buffer;if(Y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(o.indexOf("application/x-www-form-urlencoded")>-1)return WI(t,this.formSerializer).toString();if((l=Y.isFileList(t))||o.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return el(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),YI(t)):t}],transformResponse:[function(t){const n=this.transitional||Ta.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Y.isResponse(t)||Y.isReadableStream(t))return t;if(t&&Y.isString(t)&&(o&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?je.from(l,je.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:bn.classes.FormData,Blob:bn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],e=>{Ta.headers[e]={}});const ZI=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),XI=e=>{const t={};let n,o,i;return e&&e.split(`
|
|
65
|
+
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),o=s.substring(i+1).trim(),!(!n||t[n]&&ZI[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},f1=Symbol("internals");function ki(e){return e&&String(e).trim().toLowerCase()}function gs(e){return e===!1||e==null?e:Y.isArray(e)?e.map(gs):String(e)}function KI(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const QI=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Dl(e,t,n,o,i){if(Y.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!Y.isString(t)){if(Y.isString(o))return t.indexOf(o)!==-1;if(Y.isRegExp(o))return o.test(t)}}function JI(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function eC(e,t){const n=Y.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,a,s){return this[o].call(this,t,i,a,s)},configurable:!0})})}let Dn=class{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function a(l,c,u){const h=ki(c);if(!h)throw new Error("header name must be a non-empty string");const f=Y.findKey(i,h);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||c]=gs(l))}const s=(l,c)=>Y.forEach(l,(u,h)=>a(u,h,c));if(Y.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(Y.isString(t)&&(t=t.trim())&&!QI(t))s(XI(t),n);else if(Y.isHeaders(t))for(const[l,c]of t.entries())a(c,l,o);else t!=null&&a(n,t,o);return this}get(t,n){if(t=ki(t),t){const o=Y.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return KI(i);if(Y.isFunction(n))return n.call(this,i,o);if(Y.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ki(t),t){const o=Y.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Dl(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function a(s){if(s=ki(s),s){const l=Y.findKey(o,s);l&&(!n||Dl(o,o[l],l,n))&&(delete o[l],i=!0)}}return Y.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const a=n[o];(!t||Dl(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,o={};return Y.forEach(this,(i,a)=>{const s=Y.findKey(o,a);if(s){n[s]=gs(i),delete n[a];return}const l=t?JI(a):String(a).trim();l!==a&&delete n[a],n[l]=gs(i),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Y.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&Y.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
66
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[f1]=this[f1]={accessors:{}}).accessors,i=this.prototype;function a(s){const l=ki(s);o[l]||(eC(i,s),o[l]=!0)}return Y.isArray(t)?t.forEach(a):a(t),this}};Dn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Y.reduceDescriptors(Dn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Y.freezeMethods(Dn);function Ol(e,t){const n=this||Ta,o=t||n,i=Dn.from(o.headers);let a=o.data;return Y.forEach(e,function(l){a=l.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Tp(e){return!!(e&&e.__CANCEL__)}function ci(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}Y.inherits(ci,je,{__CANCEL__:!0});function xp(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function tC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nC(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,a=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),h=o[a];s||(s=u),n[i]=c,o[i]=u;let f=a,g=0;for(;f!==i;)g+=n[f++],f=f%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-s<t)return;const m=h&&u-h;return m?Math.round(g*1e3/m):void 0}}function rC(e,t){let n=0,o=1e3/t,i,a;const s=(u,h=Date.now())=>{n=h,i=null,a&&(clearTimeout(a),a=null),e.apply(null,u)};return[(...u)=>{const h=Date.now(),f=h-n;f>=o?s(u,h):(i=u,a||(a=setTimeout(()=>{a=null,s(i)},o-f)))},()=>i&&s(i)]}const Ps=(e,t,n=3)=>{let o=0;const i=nC(50,250);return rC(a=>{const s=a.loaded,l=a.lengthComputable?a.total:void 0,c=s-o,u=i(c),h=s<=l;o=s;const f={loaded:s,total:l,progress:l?s/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&h?(l-s)/u:void 0,event:a,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},p1=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},m1=e=>(...t)=>Y.asap(()=>e(...t)),oC=bn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,bn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(bn.origin),bn.navigator&&/(msie|trident)/i.test(bn.navigator.userAgent)):()=>!0,iC=bn.hasStandardBrowserEnv?{write(e,t,n,o,i,a){const s=[e+"="+encodeURIComponent(t)];Y.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Y.isString(o)&&s.push("path="+o),Y.isString(i)&&s.push("domain="+i),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function aC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _p(e,t,n){let o=!aC(t);return e&&o||n==!1?sC(e,t):t}const g1=e=>e instanceof Dn?{...e}:e;function Po(e,t){t=t||{};const n={};function o(u,h,f,g){return Y.isPlainObject(u)&&Y.isPlainObject(h)?Y.merge.call({caseless:g},u,h):Y.isPlainObject(h)?Y.merge({},h):Y.isArray(h)?h.slice():h}function i(u,h,f,g){if(Y.isUndefined(h)){if(!Y.isUndefined(u))return o(void 0,u,f,g)}else return o(u,h,f,g)}function a(u,h){if(!Y.isUndefined(h))return o(void 0,h)}function s(u,h){if(Y.isUndefined(h)){if(!Y.isUndefined(u))return o(void 0,u)}else return o(void 0,h)}function l(u,h,f){if(f in t)return o(u,h);if(f in e)return o(void 0,u)}const c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,h,f)=>i(g1(u),g1(h),f,!0)};return Y.forEach(Object.keys(Object.assign({},e,t)),function(h){const f=c[h]||i,g=f(e[h],t[h],h);Y.isUndefined(g)&&f!==l||(n[h]=g)}),n}const wp=e=>{const t=Po({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;t.headers=s=Dn.from(s),t.url=Sp(_p(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(Y.isFormData(n)){if(bn.hasStandardBrowserEnv||bn.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...h]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...h].join("; "))}}if(bn.hasStandardBrowserEnv&&(o&&Y.isFunction(o)&&(o=o(t)),o||o!==!1&&oC(t.url))){const u=i&&a&&iC.read(a);u&&s.set(i,u)}return t},lC=typeof XMLHttpRequest<"u",cC=lC&&function(e){return new Promise(function(n,o){const i=wp(e);let a=i.data;const s=Dn.from(i.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=i,h,f,g,m,C;function I(){m&&m(),C&&C(),i.cancelToken&&i.cancelToken.unsubscribe(h),i.signal&&i.signal.removeEventListener("abort",h)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function S(){if(!b)return;const T=Dn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:T,config:e,request:b};xp(function(E){n(E),I()},function(E){o(E),I()},A),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(o(new je("Request aborted",je.ECONNABORTED,e,b)),b=null)},b.onerror=function(){o(new je("Network Error",je.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let k=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const A=i.transitional||yp;i.timeoutErrorMessage&&(k=i.timeoutErrorMessage),o(new je(k,A.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,b)),b=null},a===void 0&&s.setContentType(null),"setRequestHeader"in b&&Y.forEach(s.toJSON(),function(k,A){b.setRequestHeader(A,k)}),Y.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),l&&l!=="json"&&(b.responseType=i.responseType),u&&([g,C]=Ps(u,!0),b.addEventListener("progress",g)),c&&b.upload&&([f,m]=Ps(c),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(h=T=>{b&&(o(!T||T.type?new ci(null,e,b):T),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(h),i.signal&&(i.signal.aborted?h():i.signal.addEventListener("abort",h)));const y=tC(i.url);if(y&&bn.protocols.indexOf(y)===-1){o(new je("Unsupported protocol "+y+":",je.ERR_BAD_REQUEST,e));return}b.send(a||null)})},uC=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const a=function(u){if(!i){i=!0,l();const h=u instanceof Error?u:this.reason;o.abort(h instanceof je?h:new ci(h instanceof Error?h.message:h))}};let s=t&&setTimeout(()=>{s=null,a(new je(`timeout ${t} of ms exceeded`,je.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(a):u.removeEventListener("abort",a)}),e=null)};e.forEach(u=>u.addEventListener("abort",a));const{signal:c}=o;return c.unsubscribe=()=>Y.asap(l),c}},dC=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},hC=async function*(e,t){for await(const n of fC(e))yield*dC(n,t)},fC=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},I1=(e,t,n,o)=>{const i=hC(e,t);let a=0,s,l=c=>{s||(s=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:u,value:h}=await i.next();if(u){l(),c.close();return}let f=h.byteLength;if(n){let g=a+=f;n(g)}c.enqueue(new Uint8Array(h))}catch(u){throw l(u),u}},cancel(c){return l(c),i.return()}},{highWaterMark:2})},tl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",vp=tl&&typeof ReadableStream=="function",pC=tl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ap=(e,...t)=>{try{return!!e(...t)}catch{return!1}},mC=vp&&Ap(()=>{let e=!1;const t=new Request(bn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),C1=64*1024,Mc=vp&&Ap(()=>Y.isReadableStream(new Response("").body)),Rs={stream:Mc&&(e=>e.body)};tl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Rs[t]&&(Rs[t]=Y.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new je(`Response type '${t}' is not supported`,je.ERR_NOT_SUPPORT,o)})})})(new Response);const gC=async e=>{if(e==null)return 0;if(Y.isBlob(e))return e.size;if(Y.isSpecCompliantForm(e))return(await new Request(bn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(e)||Y.isArrayBuffer(e))return e.byteLength;if(Y.isURLSearchParams(e)&&(e=e+""),Y.isString(e))return(await pC(e)).byteLength},IC=async(e,t)=>{const n=Y.toFiniteNumber(e.getContentLength());return n??gC(t)},CC=tl&&(async e=>{let{url:t,method:n,data:o,signal:i,cancelToken:a,timeout:s,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:h,withCredentials:f="same-origin",fetchOptions:g}=wp(e);u=u?(u+"").toLowerCase():"text";let m=uC([i,a&&a.toAbortSignal()],s),C;const I=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let b;try{if(c&&mC&&n!=="get"&&n!=="head"&&(b=await IC(h,o))!==0){let A=new Request(t,{method:"POST",body:o,duplex:"half"}),P;if(Y.isFormData(o)&&(P=A.headers.get("content-type"))&&h.setContentType(P),A.body){const[E,M]=p1(b,Ps(m1(c)));o=I1(A.body,C1,E,M)}}Y.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;C=new Request(t,{...g,signal:m,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:o,duplex:"half",credentials:S?f:void 0});let y=await fetch(C);const T=Mc&&(u==="stream"||u==="response");if(Mc&&(l||T&&I)){const A={};["status","statusText","headers"].forEach(B=>{A[B]=y[B]});const P=Y.toFiniteNumber(y.headers.get("content-length")),[E,M]=l&&p1(P,Ps(m1(l),!0))||[];y=new Response(I1(y.body,C1,E,()=>{M&&M(),I&&I()}),A)}u=u||"text";let k=await Rs[Y.findKey(Rs,u)||"text"](y,e);return!T&&I&&I(),await new Promise((A,P)=>{xp(A,P,{data:k,headers:Dn.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:C})})}catch(S){throw I&&I(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new je("Network Error",je.ERR_NETWORK,e,C),{cause:S.cause||S}):je.from(S,S&&S.code,e,C)}}),Bc={http:RI,xhr:cC,fetch:CC};Y.forEach(Bc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const b1=e=>`- ${e}`,bC=e=>Y.isFunction(e)||e===null||e===!1,kp={getAdapter:e=>{e=Y.isArray(e)?e:[e];const{length:t}=e;let n,o;const i={};for(let a=0;a<t;a++){n=e[a];let s;if(o=n,!bC(n)&&(o=Bc[(s=String(n)).toLowerCase()],o===void 0))throw new je(`Unknown adapter '${s}'`);if(o)break;i[s||"#"+a]=o}if(!o){const a=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?a.length>1?`since :
|
|
67
67
|
`+a.map(b1).join(`
|
|
68
|
-
`):" "+b1(a[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return o},adapters:Bc};function Ml(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ci(null,e)}function S1(e){return Ml(e),e.headers=
|
|
69
|
-
`+a):o.stack=a}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Po(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:a}=n;o!==void 0&&Is.assertOptions(o,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),i!=null&&(Y.isFunction(i)?n.paramsSerializer={serialize:i}:Is.assertOptions(i,{encode:Cr.function,serialize:Cr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Is.assertOptions(n,{baseUrl:Cr.spelling("baseURL"),withXsrfToken:Cr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&Y.merge(a.common,a[n.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),n.headers=Rn.concat(s,a);const l=[];let c=!0;this.interceptors.request.forEach(function(I){typeof I.runWhen=="function"&&I.runWhen(n)===!1||(c=c&&I.synchronous,l.unshift(I.fulfilled,I.rejected))});const u=[];this.interceptors.response.forEach(function(I){u.push(I.fulfilled,I.rejected)});let h,f=0,g;if(!c){const C=[S1.bind(this),void 0];for(C.unshift.apply(C,l),C.push.apply(C,u),g=C.length,h=Promise.resolve(n);f<g;)h=h.then(C[f++],C[f++]);return h}g=l.length;let m=n;for(f=0;f<g;){const C=l[f++],I=l[f++];try{m=C(m)}catch(b){I.call(this,b);break}}try{h=S1.call(this,m)}catch(C){return Promise.reject(C)}for(f=0,g=u.length;f<g;)h=h.then(u[f++],u[f++]);return h}getUri(t){t=Po(this.defaults,t);const n=_p(t.baseURL,t.url,t.allowAbsoluteUrls);return Sp(n,t.params,t.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(t){vo.prototype[t]=function(n,o){return this.request(Po(o||{},{method:t,url:n,data:(o||{}).data}))}});Y.forEach(["post","put","patch"],function(t){function n(o){return function(a,s,l){return this.request(Po(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}vo.prototype[t]=n(),vo.prototype[t+"Form"]=n(!0)});let yC=class Np{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const o=this;this.promise.then(i=>{if(!o._listeners)return;let a=o._listeners.length;for(;a-- >0;)o._listeners[a](i);o._listeners=null}),this.promise.then=i=>{let a;const s=new Promise(l=>{o.subscribe(l),a=l}).then(i);return s.cancel=function(){o.unsubscribe(a)},s},t(function(a,s,l){o.reason||(o.reason=new ci(a,s,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Np(function(i){t=i}),cancel:t}}};function EC(e){return function(n){return e.apply(null,n)}}function TC(e){return Y.isObject(e)&&e.isAxiosError===!0}const Fc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fc).forEach(([e,t])=>{Fc[t]=e});function Pp(e){const t=new vo(e),n=cp(vo.prototype.request,t);return Y.extend(n,vo.prototype,t,{allOwnKeys:!0}),Y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Pp(Po(e,i))},n}const ht=Pp(Ea);ht.Axios=vo;ht.CanceledError=ci;ht.CancelToken=yC;ht.isCancel=Tp;ht.VERSION=Lp;ht.toFormData=el;ht.AxiosError=je;ht.Cancel=ht.CanceledError;ht.all=function(t){return Promise.all(t)};ht.spread=EC;ht.isAxiosError=TC;ht.mergeConfig=Po;ht.AxiosHeaders=Rn;ht.formToJSON=e=>Ep(Y.isHTMLForm(e)?new FormData(e):e);ht.getAdapter=kp.getAdapter;ht.HttpStatusCode=Fc;ht.default=ht;const{Axios:HH,AxiosError:xC,CanceledError:jH,isCancel:UH,CancelToken:VH,VERSION:zH,all:$H,Cancel:WH,isAxiosError:qH,spread:GH,toFormData:YH,AxiosHeaders:ZH,HttpStatusCode:XH,formToJSON:KH,getAdapter:QH,mergeConfig:JH}=ht,_C="https://g-api.billgang.com",wC="https://www.googleapis.com/webfonts/v1/webfonts",vC="https://stores-api.billgang.com",AC="https://sl-api.billgang.com",kC="https://customers-api.billgang.com",LC="https://cashapp-api.billgang.com",Rp={api:_C,googleFonts:wC,storeApi:vC,slApi:AC,customersApi:kC,cashappApi:LC},Wa="https://localhost:5043",lt=async e=>{var g,m;const{url:t,withToken:n,method:o,body:i,contentType:a,typeToken:s="seller"}=e,l=n?localStorage.getItem("sellerAccessToken"):null,c=n?localStorage.getItem("token"):null,u=s==="seller"?l:c,h=localStorage.getItem("dv"),f={"Content-Type":a||"application/json"};n&&u&&(f.Authorization=`Bearer ${u}`);try{let C=null;switch(o){case"get":C=await ht.get(h?Wa:t,{headers:f});break;case"post":C=await ht.post(h?Wa:t,i,{headers:f});break;case"put":C=await ht.put(h?Wa:t,i,{headers:f});break;case"delete":C=await ht.delete(h?Wa:t,{headers:f});break}return{data:C==null?void 0:C.data,status:C==null?void 0:C.status,headers:C==null?void 0:C.headers}}catch(C){const I=C,S=((g=I.response)==null?void 0:g.data).errors[0],y=(m=I.response)==null?void 0:m.status;if(y===401&&t.includes(Rp.customersApi)){const{logoutCustomer:T}=await Promise.resolve().then(()=>Gy);await T()}throw new xC(S,(y==null?void 0:y.toString())||"400")}};var Ut=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Subscriptions="Subscriptions",e.Tickets="Tickets",e))(Ut||{}),Hi=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Tickets="Tickets",e))(Hi||{});const NC=[{caption:"Share link",description:"Send the link to your friends in all convenient ways"},{caption:"Purchase",description:"They buy a product from our store"},{caption:"Percentages",description:"You get rewards"}],rr=st(e=>({route:Ut.Home,setRoute:t=>e(()=>({route:t})),dashInfo:null,setDashInfo:t=>e(()=>({dashInfo:t})),balance:null,setBalance:t=>e(()=>({balance:t})),otpRequest:{requested:!1,email:""},setOtpRequest:t=>e(()=>({otpRequest:t})),balanceSettings:null,setBalanceSettings:t=>e(()=>({balanceSettings:t})),gatewaysDetail:null,setGatewaysDetail:t=>e(()=>({gatewaysDetail:t}))})),uo=st(e=>({token:localStorage.getItem("token")||null,setToken:t=>e(()=>({token:t})),shopDomain:"",setShopDomain:t=>e(()=>({shopDomain:t})),shopId:"",setShopId:t=>e(()=>({shopId:t})),shopLogo:null,setShopLogo:t=>e(()=>({shopLogo:t})),shopPassword:localStorage.getItem("shopPassword")||"",setShopPassword:t=>e(()=>({shopPassword:t})),shopGeneral:null,setShopGeneral:t=>e(()=>({shopGeneral:t})),shopTerms:null,setShopTerms:t=>e(()=>({shopTerms:t})),shopPrivacyPolicy:null,setShopPrivacyPolicy:t=>e(()=>({shopPrivacyPolicy:t})),shopRefundPolicy:null,setShopRefundPolicy:t=>e(()=>({shopRefundPolicy:t}))}));class ji extends Error{}ji.prototype.name="InvalidTokenError";function PC(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let o=n.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}function RC(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return PC(t)}catch{return atob(t)}}function Dp(e,t){if(typeof e!="string")throw new ji("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,o=e.split(".")[n];if(typeof o!="string")throw new ji(`Invalid token specified: missing part #${n+1}`);let i;try{i=RC(o)}catch(a){throw new ji(`Invalid token specified: invalid base64 for part #${n+1} (${a.message})`)}try{return JSON.parse(i)}catch(a){throw new ji(`Invalid token specified: invalid json for part #${n+1} (${a.message})`)}}const er=(e,t="auto")=>e==="not found"?"empty":`https://imagedelivery.net/${e}/w=${t}`,Pn=e=>{const t=new Intl.NumberFormat("en-US",{style:"currency",currency:e.currency||"USD"});let n=e.amount;return e.quantity&&(n=n*e.quantity),t.format(n)},DC=(e,t)=>{if(e===0)throw new Error("Old value cannot be zero, as it would result in division by zero.");return(t-e)/Math.abs(e)*100},OC=e=>{if(Math.abs(e-365)<=15){const a=Math.round(e/365);return a===1?"year":`${a} years`}else if(Math.abs(e-30)<=5){const a=Math.round(e/30);return a===1?"month":`${a} months`}else return`${e} days`},MC=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),ca=e=>{const t=new Date(e),n={day:"2-digit",month:"2-digit",year:"numeric"},o={hour:"2-digit",minute:"2-digit"},i=t.toLocaleString("en-US",n),a=t.toLocaleString("en-US",o);return[i,a]},Hc=e=>{const t=window.localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch{return t}},E1=(e,t)=>{(t===null||typeof t!="object")&&window.localStorage.setItem(e,String(t));const n=JSON.stringify(t);window.localStorage.setItem(e,n)},Bl="f10120ab-7ebb-4785-b240-7428edaa3c4e",ki="https://t-api.billgang.com",Ui="I",BC=10*1e3,FC=15*1e3,HC=15*60*1e3,so=()=>{var t;const e=Hc(Ui);return((t=e==null?void 0:e.s)==null?void 0:t.i)||""},jC=(e,t="production")=>{const{pathname:n}=Ur(),o=_.useRef(),i=_.useRef(document.visibilityState);_.useEffect(()=>{if(!e)return;const a=()=>Date.now(),s=async()=>(await lt({url:`${ki}/${e}/t/p`,method:"post",withToken:!1})).data.data.id,l=async m=>(await lt({url:`${ki}/${e}/t/p/${t==="development"?Bl:m}/s`,method:"post",withToken:!1})).data.data.id,c=async(m,C,I,b)=>{const S=t==="development"?Bl:m;try{return(await lt({url:`${ki}/${e}/t/p/${S}/s/${C}/e`,method:"post",withToken:!1,body:{url:I,oldEventId:b},contentType:"application/json"})).data.data.id}catch{return C=await l(m),(await lt({url:`${ki}/${e}/t/p/${S}/s/${C}/e`,method:"post",withToken:!1,body:{url:I},contentType:"application/json"})).data.data.id}},u=async(m,C,I)=>{await lt({url:`${ki}/${e}/t/p/${t==="development"?Bl:m}/s/${C}/e/${I}/h`,method:"post",withToken:!1});const S=Hc(Ui);S&&(S.s.u=a().toString(),S.lu=a().toString(),E1(Ui,S))},h=(m,C,I)=>{o.current&&clearInterval(o.current),o.current=setInterval(async()=>{if(document.visibilityState==="visible")try{await u(m,C,I)}catch{await f()}},BC)},f=async()=>{var b,S,y,T;const m=`${window.location.hostname}${n}`,C=Hc(Ui),I=a();try{let k=C==null?void 0:C.p;k||(k=await s());let A=(b=C==null?void 0:C.s)==null?void 0:b.i;const P=Number(((S=C==null?void 0:C.s)==null?void 0:S.u)||((y=C==null?void 0:C.s)==null?void 0:y.c)),E=!A||I-P>HC;(!A||E)&&(A=await l(k));const M=Number((C==null?void 0:C.lu)||0),B=I-M>FC,w=await c(k,A,m,C!=null&&C.l&&!B?C.l:void 0),V={p:k,s:{i:A,c:((T=C==null?void 0:C.s)==null?void 0:T.c)??I.toString(),u:I.toString()},l:w,lu:I.toString()};E1(Ui,V),h(k,A,w)}catch(k){console.error("[TrackingAnalytics] error",k)}};f();const g=()=>{document.visibilityState==="visible"&&i.current!=="visible"&&f(),i.current=document.visibilityState};return document.addEventListener("visibilitychange",g),()=>{o.current&&clearInterval(o.current),document.removeEventListener("visibilitychange",g)}},[n,e,t])},UC={recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:so()};let Zo=null;const T1=localStorage.getItem("token");if(T1)try{Zo=Dp(JSON.parse(T1)||"")}catch{Zo=null}const Br=st(e=>({cart:{...UC,customerEmail:Zo?Zo.email:""},products:[],coupon:null,pending:!1,applyCouponPending:!1,customerEmail:Zo?Zo.email:"",recaptcha:"",priceAdjusment:null,setCart:t=>e(n=>({cart:typeof t=="function"?t(n.cart):t})),setProducts:t=>e(n=>({products:typeof t=="function"?t(n.products):t})),setRecaptcha:t=>e({recaptcha:t}),setCoupon:t=>e({coupon:t}),setPending:t=>e({pending:t}),setApplyCouponPending:t=>e({applyCouponPending:t}),setCustomerEmail:t=>e({customerEmail:t}),setPriceAdjustment:t=>e({priceAdjusment:t})})),Ta=st(e=>({page:1,setPage:t=>e(()=>({page:t}))})),Op=st(e=>({discordInfo:null,setDiscordInfo:t=>e(()=>({discordInfo:t}))})),VC=st(e=>({subscription:null,setSubscription:t=>e({subscription:t})})),kt=st(e=>({apiUrls:Rp,setApiUrls:t=>e(()=>({apiUrls:t}))})),zC=async()=>{const e=localStorage.getItem("shopId")||void 0,n=`${kt.getState().apiUrls.api}/v1/dash/shops/${e}/images`;return await lt({url:n,withToken:!0,method:"get"})},$C=async e=>{const t=localStorage.getItem("shopId")||void 0,o=`${kt.getState().apiUrls.api}/v1/dash/shops/${t}/images`;return await lt({url:o,withToken:!0,method:"post",body:e,contentType:"mutlipart/form-data"})},WC="_customCheckbox_w9x8g_1",qC="_checkboxBox_w9x8g_7",GC="_checked_w9x8g_23",YC="_icon_w9x8g_31",qa={customCheckbox:WC,checkboxBox:qC,checked:GC,icon:YC},Mp=e=>{const{value:t,onChange:n}=e,[o,i]=_.useState(t),a=()=>{i(!o),n(!o)};return _.useEffect(()=>{i(t)},[t]),d.jsxs("label",{className:qa.customCheckbox,onClick:s=>s.stopPropagation(),children:[d.jsx("input",{type:"checkbox",checked:o,onChange:a,style:{display:"none"}}),d.jsx("span",{className:ge(qa.checkboxBox,{[qa.checked]:o})}),o&&d.jsx("div",{className:qa.icon,children:d.jsx(ie,{name:"Check",width:14,height:14,fill:"#ff3f19"})})]})},ZC="_button_1gxoe_1",XC="_primary_1gxoe_14",KC="_secondary_1gxoe_22",QC="_tertiary_1gxoe_30",JC="_content_1gxoe_38",eb="_withoutHover_1gxoe_45",zo={button:ZC,primary:XC,secondary:KC,tertiary:QC,content:JC,withoutHover:eb},ti=e=>{const{children:t,onClick:n,style:o,className:i,disabled:a=!1,size:s="m",type:l="Primary",withoutHover:c=!1}=e;return d.jsx("button",{className:ge(zo.button,i,{[zo.primary]:l==="Primary",[zo.secondary]:l==="Secondary",[zo.tertiary]:l==="Tertiary",[zo.withoutHover]:c}),onClick:n,style:{...o,fontSize:s==="m"?14:s==="s"?12:16},disabled:a,children:l==="Tertiary"?d.jsxs("div",{className:zo.content,children:[t,d.jsx(ie,{name:"ArrowRight",fill:"#757575",width:20,height:20})]}):d.jsx(d.Fragment,{children:t})})},tb="_tip_q9ixw_1",nb="_text_q9ixw_12",rb="_warning_q9ixw_18",ob="_error_q9ixw_23",ib="_success_q9ixw_28",ab="_hide_q9ixw_33",$o={tip:tb,text:nb,warning:rb,error:ob,success:ib,hide:ab},x1={warning:"#C1972A",error:"#FF3F19",success:"#338B13"},Bp=e=>{const{type:t,message:n,style:o,padding:i,id:a}=e,[s,l]=_.useState(!1);return d.jsx("div",{style:{padding:i},children:d.jsxs("div",{className:ge($o.tip,{[$o.warning]:t==="warning",[$o.error]:t==="error",[$o.success]:t==="success",[$o.hide]:s}),style:o,children:[d.jsx("div",{children:d.jsx(ie,{name:"Info",fill:x1[t],width:20,height:20})}),d.jsx("div",{className:$o.text,id:a,children:n}),d.jsx("div",{children:d.jsx(ie,{name:"X",fill:x1[t],width:20,height:20,hoverable:!0,onClick:()=>l(!0)})})]})})},xa=e=>{const{label:t,onChange:n,activeImage:o,tip:i}=e,{setOpenModal:a,setOnChange:s,setTip:l}=Au();return d.jsx(d.Fragment,{children:d.jsxs("div",{className:St.wrapper,onClick:c=>c.stopPropagation(),children:[t&&d.jsx("h4",{className:St.label,children:t}),d.jsxs("div",{onClick:()=>{s(n),a(!0),i&&l(i)},className:St.content,children:[d.jsx("div",{className:St.icon,children:o?d.jsx("img",{src:`https://imagedelivery.net/${o}/w=156,h=156`,alt:"image",style:{width:"20px",height:"20px",objectFit:"contain"}}):d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsx("span",{className:St.text,children:o?"Change Image":"Select Image"}),o&&d.jsx(ie,{name:"X",width:20,height:18,fill:"#ff3f19",hoverable:!0,onClick:c=>{c.stopPropagation(),n([])}})]})]})})},sb=()=>{const{setOpenModal:e,onChange:t,tip:n,setTip:o}=Au(),{setIsOpen:i}=$r(),[a,s]=_.useState(!1),l=()=>{var y;(y=c.current)==null||y.click()},c=_.useRef(null),[u,h]=_.useState([]),[f,g]=_.useState(!1),m=async y=>{var E;const T=((E=y.target.files)==null?void 0:E[0])||null;if(!T)return;const k=new FormData;k.append("file",T),g(!0);const{data:A}=await $C(k),P=[...u];P.unshift({...A.data,cfId:A.data.path}),h([...P]),g(!1)},C=y=>{y.preventDefault(),s(!1);const T=y.dataTransfer.files;if(T&&T.length>0){const A={target:{files:[T[0]]}};m(A)}},I=()=>{i(!1),o(""),setTimeout(()=>{e(!1),i(!0)},300)},b=y=>{const T=u.map(k=>({...k,isSelected:k.id===y.id?!k.isSelected:!1}));h([...T])};function S(){const y=u.find(T=>T.isSelected);y&&(t==null||t([y.cfId]))}return _.useEffect(()=>{(async()=>{const{data:T}=await zC(),k=T.data.map(A=>({...A,isSelected:!1}));h(k)})()},[]),d.jsxs("div",{onClick:y=>y.stopPropagation(),className:St.modal,children:[d.jsxs("div",{className:St.top,children:[d.jsx("h4",{className:St.title,children:"Select Image"}),d.jsx(ie,{name:"X",width:20,height:20,hoverable:!0,onClick:I})]}),n&&d.jsx(Bp,{type:"warning",message:n,padding:5}),d.jsx("div",{className:St.modalContent,children:d.jsxs("div",{className:St.images,children:[d.jsxs("div",{className:St.input,onDragOver:y=>y.preventDefault(),onDragEnter:()=>s(!0),onDragLeave:()=>s(!1),onDrop:C,children:[d.jsxs("div",{onClick:l,className:ge(St.add,{[St.dragging]:a}),children:[d.jsx("div",{className:St.icon,children:d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsxs("div",{className:St.description,children:[d.jsx("span",{children:"Drag and drop images here, or "}),d.jsx("span",{className:St.highlight,children:"click to browse"}),d.jsx("br",{}),d.jsx("span",{className:St.accent,children:"up to 10MB."})]})]}),d.jsx("input",{type:"file",ref:c,style:{display:"none"},onChange:m,multiple:!1,accept:"image/*"})]}),f&&d.jsx(_1,{}),u.map(y=>d.jsx(lb,{image:y,updateImage:b},y.id)),u.length===0&&[...new Array(5)].map((y,T)=>d.jsx(_1,{},T))]})}),d.jsxs("div",{className:St.bottom,children:[d.jsx(ti,{className:St.cancel,onClick:I,type:"Secondary",children:"Cancel"}),d.jsx(ti,{onClick:()=>{e(!1),S()},children:"Select"})]})]})},lb=e=>{const{image:t,updateImage:n}=e;return d.jsxs("div",{className:ge(St.image,{[St.selected]:t.isSelected}),onClick:()=>{n({...t,isSelected:!t.isSelected})},children:[d.jsx("div",{className:St.checkbox,children:d.jsx(Mp,{value:t.isSelected,onChange:o=>{n({...t,isSelected:o})}})}),d.jsx("img",{src:`https://imagedelivery.net/${t.cfId}/w=156,h=156`,alt:"image",style:{objectFit:"contain",width:"156px",height:"100px"}})]},t.id)},_1=()=>d.jsx("div",{className:St.loading,children:d.jsx("div",{className:St.spinner})}),cb="_title_1uycf_1",ub="_subtitle_1uycf_5",db="_text_1uycf_13",hb="_top_1uycf_20",fb="_itemsBlock_1uycf_29",pb="_textSettings_1uycf_35",Wo={title:cb,subtitle:ub,text:db,top:hb,itemsBlock:fb,textSettings:pb},mb="_typeTexts_1gfda_1",gb="_block_1gfda_8",Ib="_active_1gfda_25",Fl={typeTexts:mb,block:gb,active:Ib},Cb=["bold","italic","underline","strike-through"],Du=e=>{const{typesText:t,setTypesText:n}=e;function o(i){switch(i){case"bold":return"TextB";case"italic":return"TextItalic";case"strike-through":return"TextStrikethrough";case"underline":return"TextUnderline"}}return d.jsx("div",{className:Fl.typeTexts,children:Cb.map(i=>d.jsx("div",{className:ge(Fl.block,{[Fl.active]:t.includes(i)}),onClick:()=>{const a=[...t];if(a.includes(i)){const s=a.filter(l=>l!==i);n(s)}else a.push(i),n(a)},children:d.jsx(ie,{name:o(i),fill:t.includes(i)?"#252525":"#757575",width:20,height:20})},String(i)))})},bb="_wrapper_34cvp_1",Sb="_label_34cvp_10",yb="_textarea_34cvp_18",Eb="_length_34cvp_46",Tb="_full_34cvp_54",Li={wrapper:bb,label:Sb,textarea:yb,length:Eb,full:Tb},Ou=e=>{const{onChange:t,label:n,value:o,maxLength:i,placeholder:a="Type something..."}=e,[s,l]=_.useState(o.length);return d.jsxs("div",{className:Li.wrapper,children:[n&&d.jsx("label",{className:Li.label,htmlFor:n,children:n}),d.jsx("textarea",{id:n,value:o,onChange:c=>{l(c.target.value.length),t(c.target.value)},placeholder:a,className:Li.textarea,maxLength:i}),i&&d.jsxs("div",{className:ge(Li.length,{[Li.full]:s===i}),children:[s,"/",i]})]})},Mu=e=>{const{typeFont:t,setTypeFont:n}=e,[o,i]=_.useState([]),a=()=>{const s=document.documentElement,l=getComputedStyle(s),c=["h1","h2","h3","h4","h5","h6","h7"].map(h=>l.getPropertyValue(`--font-heading-${h}-size`).trim()),u=["lg","md","sm"].map(h=>l.getPropertyValue(`--font-body-${h}-size`).trim());return c.push(...u),c};return _.useEffect(()=>{const s=a();s.every(l=>l)&&i(s)},[]),d.jsx(ao,{label:"Type Text",options:Object.values(Va),onChange:s=>n(Object.keys(Va).find(l=>Va[l]===s)),value:Va[t],postfixs:o})},xb="_alignTexts_xs0ug_1",_b="_block_xs0ug_10",wb="_active_xs0ug_28",Hl={alignTexts:xb,block:_b,active:wb},vb=["left","center","right"],Fp=e=>{const{alignText:t,setAlignText:n}=e;function o(i){switch(i){case"left":return"TextAlignLeft";case"center":return"TextAlignCenter";case"right":return"TextAlignRight"}}return d.jsx("div",{className:Hl.alignTexts,children:vb.map(i=>d.jsx("div",{className:ge(Hl.block,{[Hl.active]:t===i}),onClick:()=>{n(i)},children:d.jsx(ie,{name:o(i),fill:t===i?"#252525":"#757575",width:20,height:20})},String(i)))})},Bu=e=>{const{typesText:t,isActiveText:n,setIsActiveText:o,text:i,setText:a,setTypesText:s,title:l,subtitle:c="Items",typeFont:u,setTypeFont:h,alignText:f,setAlignText:g}=e;return d.jsxs("div",{className:Wo.text,children:[(l||n!==void 0)&&d.jsxs("div",{className:Wo.top,children:[l&&d.jsx("h3",{className:Wo.title,children:l}),n!==void 0&&o&&d.jsx(vr,{current:n,onChange:m=>o(m)})]}),(n===void 0||n)&&d.jsxs("div",{className:Wo.itemsBlock,children:[d.jsx("h5",{className:Wo.subtitle,children:c}),d.jsx(Ou,{onChange:m=>a(m),value:i}),d.jsxs("div",{className:Wo.textSettings,children:[d.jsx(Du,{typesText:t,setTypesText:s}),d.jsx(Fp,{alignText:f,setAlignText:g})]}),d.jsx(Mu,{typeFont:u,setTypeFont:h})]})]})},Ab="_title_msd5s_1",kb="_subtitle_msd5s_5",Lb="_productsBlock_msd5s_14",Nb="_top_msd5s_26",Pb="_products_msd5s_14",Rb="_product_msd5s_14",Db="_button_msd5s_80",Ob="_disabled_msd5s_91",Mb="_buttons_msd5s_118",Bb="_modal_msd5s_125",Fb="_link_msd5s_146",Hb="_modalOptions_msd5s_152",jb="_addButton_msd5s_165",Ub="_deleteButton_msd5s_180",Vb="_closeIcon_msd5s_192",Ot={title:Ab,subtitle:kb,productsBlock:Lb,top:Nb,products:Pb,product:Rb,button:Db,disabled:Ob,buttons:Mb,modal:Bb,link:Fb,modalOptions:Hb,addButton:jb,deleteButton:Ub,closeIcon:Vb},zb=_.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:o,popupPosition:i,modalOptions:a,setIsOpenModal:s}=e;si(t,()=>{o(null),s(!1)});function l(c,u){return c.length>u?`${c.slice(0,u)}...`:c}return d.jsxs("div",{ref:t,className:Ot.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Ot.top,children:[d.jsx("h3",{className:Ot.title,children:l(n.name["en-US"],20)}),d.jsx("div",{className:Ot.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{o(null),s(!1)}})})]}),d.jsx("div",{className:Ot.modalOptions,children:a.map(c=>{if(c.type==="image")return d.jsx(xa,{label:"Put up an attractive image",activeImage:n[c.field],onChange:u=>{const h={...n,[c.field]:u};o(h)}},String(c.field));if(c.type==="text")return d.jsx(Bu,{isActiveText:!0,typesText:n[c.field.type],setTypesText:u=>{const h={...n,[c.field.type]:u};o(h)},alignText:n[c.field.alignText],setAlignText:u=>{const h={...n,[c.field.alignText]:u};o(h)},text:n[c.field.text]["en-US"]||"",setText:u=>{const h={...n,[c.field.text]:{"en-US":u}};o(h)},typeFont:n[c.field.typeFont],setTypeFont:u=>{const h={...n,[c.field.typeFont]:u};o(h)},subtitle:c.label});if(c.type==="input")return d.jsx(nr,{onChange:u=>{const h={...n,[c.field]:u};o(h)},value:n[c.field]||"",label:c.label,placeholder:c.placeholder});if(c.type==="inputSwitch")return d.jsxs("div",{className:Ot.link,children:[d.jsx(nr,{onChange:u=>{const h={...n,[c.field.text]:u};o(h)},value:n[c.field.text]||"",label:c.inputLabel,placeholder:c.placeholder}),d.jsx(vr,{current:!!n[c.field.switch]||!1,label:c.switchLabel,onChange:u=>{const h={...n,[c.field.switch]:u};o(h)}})]});if(c.type==="list")return d.jsx(f0,{items:n[c.field]||[],setItems:u=>{const h={...n,[c.field]:u};o(h)},itemsType:"select",draggable:c.draggable||!1,itemsOptions:c.itemsOptions,deletable:c.deletable||!1,editable:c.editable||!1,subtitle:c.label,addableOptions:c.addableOptions,modalOptions:c.modalOptions});if(c.type==="select")return d.jsx(ao,{options:c.itemsOptions,onChange:u=>{const h={...n,[c.field]:u};o(h)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:u=>{if(c.switcher==="isActive"){const h={...n,[c.switcher]:u};o(h)}}}:void 0});if(c.type==="selectTypeFont")return d.jsx(Mu,{typeFont:n[c.field],setTypeFont:u=>{const h={...n,[c.field]:u};o(h)}});if(c.type==="selectInfiniteList")return d.jsx(Lu,{options:c.itemsOptions,onChange:u=>{const h={...n,[c.field]:u};o(h)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:u=>{if(c.switcher==="isActive"){const h={...n,[c.switcher]:u};o(h)}}}:void 0})})})]})}),$b="_other_1a1tk_1",Wb="_subtitle_1a1tk_7",qb="_items_1a1tk_14",jl={other:$b,subtitle:Wb,items:qb},Hp=e=>{const{items:t,otherTitle:n,tagsTitle:o}=e;return d.jsxs("div",{className:jl.other,children:[d.jsx("h5",{className:jl.subtitle,children:n||o}),d.jsx("div",{className:jl.items,children:t.map((i,a)=>d.jsx(vr,{current:i.isItem,onChange:s=>i.setIsItem(s),label:i.label,hasBackground:!0,paddingless:!1},a))})]})};function Gb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.useMemo(()=>o=>{t.forEach(i=>i(o))},t)}const rl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ui(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Fu(e){return"nodeType"in e}function Dn(e){var t,n;return e?ui(e)?e:Fu(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Hu(e){const{Document:t}=Dn(e);return e instanceof t}function _a(e){return ui(e)?!1:e instanceof Dn(e).HTMLElement}function jp(e){return e instanceof Dn(e).SVGElement}function di(e){return e?ui(e)?e.document:Fu(e)?Hu(e)?e:_a(e)||jp(e)?e.ownerDocument:document:document:document}const wr=rl?_.useLayoutEffect:_.useEffect;function ju(e){const t=_.useRef(e);return wr(()=>{t.current=e}),_.useCallback(function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.current==null?void 0:t.current(...o)},[])}function Yb(){const e=_.useRef(null),t=_.useCallback((o,i)=>{e.current=setInterval(o,i)},[]),n=_.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function ua(e,t){t===void 0&&(t=[e]);const n=_.useRef(e);return wr(()=>{n.current!==e&&(n.current=e)},t),n}function wa(e,t){const n=_.useRef();return _.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function Ds(e){const t=ju(e),n=_.useRef(null),o=_.useCallback(i=>{i!==n.current&&(t==null||t(i,n.current)),n.current=i},[]);return[n,o]}function jc(e){const t=_.useRef();return _.useEffect(()=>{t.current=e},[e]),t.current}let Ul={};function va(e,t){return _.useMemo(()=>{if(t)return t;const n=Ul[e]==null?0:Ul[e]+1;return Ul[e]=n,e+"-"+n},[e,t])}function Up(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return o.reduce((a,s)=>{const l=Object.entries(s);for(const[c,u]of l){const h=a[c];h!=null&&(a[c]=h+e*u)}return a},{...t})}}const Ko=Up(1),Os=Up(-1);function Zb(e){return"clientX"in e&&"clientY"in e}function Uu(e){if(!e)return!1;const{KeyboardEvent:t}=Dn(e.target);return t&&e instanceof t}function Xb(e){if(!e)return!1;const{TouchEvent:t}=Dn(e.target);return t&&e instanceof t}function Uc(e){if(Xb(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Zb(e)?{x:e.clientX,y:e.clientY}:null}const ni=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[ni.Translate.toString(e),ni.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),w1="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Kb(e){return e.matches(w1)?e:e.querySelector(w1)}const Qb={display:"none"};function Jb(e){let{id:t,value:n}=e;return _.createElement("div",{id:t,style:Qb},n)}function eS(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return _.createElement("div",{id:t,style:i,role:"status","aria-live":o,"aria-atomic":!0},n)}function tS(){const[e,t]=_.useState("");return{announce:_.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const Vp=_.createContext(null);function nS(e){const t=_.useContext(Vp);_.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function rS(){const[e]=_.useState(()=>new Set),t=_.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[_.useCallback(o=>{let{type:i,event:a}=o;e.forEach(s=>{var l;return(l=s[i])==null?void 0:l.call(s,a)})},[e]),t]}const oS={draggable:`
|
|
68
|
+
`):" "+b1(a[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return o},adapters:Bc};function Ml(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ci(null,e)}function S1(e){return Ml(e),e.headers=Dn.from(e.headers),e.data=Ol.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),kp.getAdapter(e.adapter||Ta.adapter)(e).then(function(o){return Ml(e),o.data=Ol.call(e,e.transformResponse,o),o.headers=Dn.from(o.headers),o},function(o){return Tp(o)||(Ml(e),o&&o.response&&(o.response.data=Ol.call(e,e.transformResponse,o.response),o.response.headers=Dn.from(o.response.headers))),Promise.reject(o)})}const Lp="1.8.1",nl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nl[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const y1={};nl.transitional=function(t,n,o){function i(a,s){return"[Axios v"+Lp+"] Transitional option '"+a+"'"+s+(o?". "+o:"")}return(a,s,l)=>{if(t===!1)throw new je(i(s," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!y1[s]&&(y1[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,l):!0}};nl.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function SC(e,t,n){if(typeof e!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const a=o[i],s=t[a];if(s){const l=e[a],c=l===void 0||s(l,a,e);if(c!==!0)throw new je("option "+a+" must be "+c,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+a,je.ERR_BAD_OPTION)}}const Is={assertOptions:SC,validators:nl},Cr=Is.validators;let vo=class{constructor(t){this.defaults=t,this.interceptors={request:new h1,response:new h1}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?a&&!String(o.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
|
69
|
+
`+a):o.stack=a}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Po(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:a}=n;o!==void 0&&Is.assertOptions(o,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),i!=null&&(Y.isFunction(i)?n.paramsSerializer={serialize:i}:Is.assertOptions(i,{encode:Cr.function,serialize:Cr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Is.assertOptions(n,{baseUrl:Cr.spelling("baseURL"),withXsrfToken:Cr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&Y.merge(a.common,a[n.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),n.headers=Dn.concat(s,a);const l=[];let c=!0;this.interceptors.request.forEach(function(I){typeof I.runWhen=="function"&&I.runWhen(n)===!1||(c=c&&I.synchronous,l.unshift(I.fulfilled,I.rejected))});const u=[];this.interceptors.response.forEach(function(I){u.push(I.fulfilled,I.rejected)});let h,f=0,g;if(!c){const C=[S1.bind(this),void 0];for(C.unshift.apply(C,l),C.push.apply(C,u),g=C.length,h=Promise.resolve(n);f<g;)h=h.then(C[f++],C[f++]);return h}g=l.length;let m=n;for(f=0;f<g;){const C=l[f++],I=l[f++];try{m=C(m)}catch(b){I.call(this,b);break}}try{h=S1.call(this,m)}catch(C){return Promise.reject(C)}for(f=0,g=u.length;f<g;)h=h.then(u[f++],u[f++]);return h}getUri(t){t=Po(this.defaults,t);const n=_p(t.baseURL,t.url,t.allowAbsoluteUrls);return Sp(n,t.params,t.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(t){vo.prototype[t]=function(n,o){return this.request(Po(o||{},{method:t,url:n,data:(o||{}).data}))}});Y.forEach(["post","put","patch"],function(t){function n(o){return function(a,s,l){return this.request(Po(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}vo.prototype[t]=n(),vo.prototype[t+"Form"]=n(!0)});let yC=class Np{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const o=this;this.promise.then(i=>{if(!o._listeners)return;let a=o._listeners.length;for(;a-- >0;)o._listeners[a](i);o._listeners=null}),this.promise.then=i=>{let a;const s=new Promise(l=>{o.subscribe(l),a=l}).then(i);return s.cancel=function(){o.unsubscribe(a)},s},t(function(a,s,l){o.reason||(o.reason=new ci(a,s,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Np(function(i){t=i}),cancel:t}}};function EC(e){return function(n){return e.apply(null,n)}}function TC(e){return Y.isObject(e)&&e.isAxiosError===!0}const Fc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fc).forEach(([e,t])=>{Fc[t]=e});function Pp(e){const t=new vo(e),n=cp(vo.prototype.request,t);return Y.extend(n,vo.prototype,t,{allOwnKeys:!0}),Y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Pp(Po(e,i))},n}const ht=Pp(Ta);ht.Axios=vo;ht.CanceledError=ci;ht.CancelToken=yC;ht.isCancel=Tp;ht.VERSION=Lp;ht.toFormData=el;ht.AxiosError=je;ht.Cancel=ht.CanceledError;ht.all=function(t){return Promise.all(t)};ht.spread=EC;ht.isAxiosError=TC;ht.mergeConfig=Po;ht.AxiosHeaders=Dn;ht.formToJSON=e=>Ep(Y.isHTMLForm(e)?new FormData(e):e);ht.getAdapter=kp.getAdapter;ht.HttpStatusCode=Fc;ht.default=ht;const{Axios:HH,AxiosError:xC,CanceledError:jH,isCancel:UH,CancelToken:VH,VERSION:zH,all:$H,Cancel:WH,isAxiosError:qH,spread:GH,toFormData:YH,AxiosHeaders:ZH,HttpStatusCode:XH,formToJSON:KH,getAdapter:QH,mergeConfig:JH}=ht,_C="https://g-api.billgang.com",wC="https://www.googleapis.com/webfonts/v1/webfonts",vC="https://stores-api.billgang.com",AC="https://sl-api.billgang.com",kC="https://customers-api.billgang.com",LC="https://cashapp-api.billgang.com",Rp={api:_C,googleFonts:wC,storeApi:vC,slApi:AC,customersApi:kC,cashappApi:LC},Wa="https://localhost:5043",lt=async e=>{var g,m;const{url:t,withToken:n,method:o,body:i,contentType:a,typeToken:s="seller"}=e,l=n?localStorage.getItem("sellerAccessToken"):null,c=n?localStorage.getItem("token"):null,u=s==="seller"?l:c,h=localStorage.getItem("dv"),f={"Content-Type":a||"application/json"};n&&u&&(f.Authorization=`Bearer ${u}`);try{let C=null;switch(o){case"get":C=await ht.get(h?Wa:t,{headers:f});break;case"post":C=await ht.post(h?Wa:t,i,{headers:f});break;case"put":C=await ht.put(h?Wa:t,i,{headers:f});break;case"delete":C=await ht.delete(h?Wa:t,{headers:f});break}return{data:C==null?void 0:C.data,status:C==null?void 0:C.status,headers:C==null?void 0:C.headers}}catch(C){const I=C,S=((g=I.response)==null?void 0:g.data).errors[0],y=(m=I.response)==null?void 0:m.status;if(y===401&&t.includes(Rp.customersApi)){const{logoutCustomer:T}=await Promise.resolve().then(()=>Gy);await T()}throw new xC(S,(y==null?void 0:y.toString())||"400")}};var Ut=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Subscriptions="Subscriptions",e.Tickets="Tickets",e))(Ut||{}),ji=(e=>(e.Home="Home",e.Orders="Orders",e.Rewards="Rewards",e.Balance="Balance",e.Tickets="Tickets",e))(ji||{});const NC=[{caption:"Share link",description:"Send the link to your friends in all convenient ways"},{caption:"Purchase",description:"They buy a product from our store"},{caption:"Percentages",description:"You get rewards"}],rr=st(e=>({route:Ut.Home,setRoute:t=>e(()=>({route:t})),dashInfo:null,setDashInfo:t=>e(()=>({dashInfo:t})),balance:null,setBalance:t=>e(()=>({balance:t})),otpRequest:{requested:!1,email:""},setOtpRequest:t=>e(()=>({otpRequest:t})),balanceSettings:null,setBalanceSettings:t=>e(()=>({balanceSettings:t})),gatewaysDetail:null,setGatewaysDetail:t=>e(()=>({gatewaysDetail:t}))})),uo=st(e=>({token:localStorage.getItem("token")||null,setToken:t=>e(()=>({token:t})),shopDomain:"",setShopDomain:t=>e(()=>({shopDomain:t})),shopId:"",setShopId:t=>e(()=>({shopId:t})),shopLogo:null,setShopLogo:t=>e(()=>({shopLogo:t})),shopPassword:localStorage.getItem("shopPassword")||"",setShopPassword:t=>e(()=>({shopPassword:t})),shopGeneral:null,setShopGeneral:t=>e(()=>({shopGeneral:t})),shopTerms:null,setShopTerms:t=>e(()=>({shopTerms:t})),shopPrivacyPolicy:null,setShopPrivacyPolicy:t=>e(()=>({shopPrivacyPolicy:t})),shopRefundPolicy:null,setShopRefundPolicy:t=>e(()=>({shopRefundPolicy:t}))}));class Ui extends Error{}Ui.prototype.name="InvalidTokenError";function PC(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let o=n.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}function RC(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return PC(t)}catch{return atob(t)}}function Dp(e,t){if(typeof e!="string")throw new Ui("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,o=e.split(".")[n];if(typeof o!="string")throw new Ui(`Invalid token specified: missing part #${n+1}`);let i;try{i=RC(o)}catch(a){throw new Ui(`Invalid token specified: invalid base64 for part #${n+1} (${a.message})`)}try{return JSON.parse(i)}catch(a){throw new Ui(`Invalid token specified: invalid json for part #${n+1} (${a.message})`)}}const er=(e,t="auto")=>e==="not found"?"empty":`https://imagedelivery.net/${e}/w=${t}`,Rn=e=>{const t=new Intl.NumberFormat("en-US",{style:"currency",currency:e.currency||"USD"});let n=e.amount;return e.quantity&&(n=n*e.quantity),t.format(n)},DC=(e,t)=>{if(e===0)throw new Error("Old value cannot be zero, as it would result in division by zero.");return(t-e)/Math.abs(e)*100},OC=e=>{if(Math.abs(e-365)<=15){const a=Math.round(e/365);return a===1?"year":`${a} years`}else if(Math.abs(e-30)<=5){const a=Math.round(e/30);return a===1?"month":`${a} months`}else return`${e} days`},MC=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),ua=e=>{const t=new Date(e),n={day:"2-digit",month:"2-digit",year:"numeric"},o={hour:"2-digit",minute:"2-digit"},i=t.toLocaleString("en-US",n),a=t.toLocaleString("en-US",o);return[i,a]},Hc=e=>{const t=window.localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch{return t}},E1=(e,t)=>{(t===null||typeof t!="object")&&window.localStorage.setItem(e,String(t));const n=JSON.stringify(t);window.localStorage.setItem(e,n)},Bl="f10120ab-7ebb-4785-b240-7428edaa3c4e",Li="https://t-api.billgang.com",Vi="I",BC=10*1e3,FC=15*1e3,HC=15*60*1e3,so=()=>{var t;const e=Hc(Vi);return((t=e==null?void 0:e.s)==null?void 0:t.i)||""},jC=(e,t="production")=>{const{pathname:n}=Ur(),o=_.useRef(),i=_.useRef(document.visibilityState);_.useEffect(()=>{if(!e)return;const a=()=>Date.now(),s=async()=>(await lt({url:`${Li}/${e}/t/p`,method:"post",withToken:!1})).data.data.id,l=async m=>(await lt({url:`${Li}/${e}/t/p/${t==="development"?Bl:m}/s`,method:"post",withToken:!1})).data.data.id,c=async(m,C,I,b)=>{const S=t==="development"?Bl:m;try{return(await lt({url:`${Li}/${e}/t/p/${S}/s/${C}/e`,method:"post",withToken:!1,body:{url:I,oldEventId:b},contentType:"application/json"})).data.data.id}catch{return C=await l(m),(await lt({url:`${Li}/${e}/t/p/${S}/s/${C}/e`,method:"post",withToken:!1,body:{url:I},contentType:"application/json"})).data.data.id}},u=async(m,C,I)=>{await lt({url:`${Li}/${e}/t/p/${t==="development"?Bl:m}/s/${C}/e/${I}/h`,method:"post",withToken:!1});const S=Hc(Vi);S&&(S.s.u=a().toString(),S.lu=a().toString(),E1(Vi,S))},h=(m,C,I)=>{o.current&&clearInterval(o.current),o.current=setInterval(async()=>{if(document.visibilityState==="visible")try{await u(m,C,I)}catch{await f()}},BC)},f=async()=>{var b,S,y,T;const m=`${window.location.hostname}${n}`,C=Hc(Vi),I=a();try{let k=C==null?void 0:C.p;k||(k=await s());let A=(b=C==null?void 0:C.s)==null?void 0:b.i;const P=Number(((S=C==null?void 0:C.s)==null?void 0:S.u)||((y=C==null?void 0:C.s)==null?void 0:y.c)),E=!A||I-P>HC;(!A||E)&&(A=await l(k));const M=Number((C==null?void 0:C.lu)||0),B=I-M>FC,w=await c(k,A,m,C!=null&&C.l&&!B?C.l:void 0),V={p:k,s:{i:A,c:((T=C==null?void 0:C.s)==null?void 0:T.c)??I.toString(),u:I.toString()},l:w,lu:I.toString()};E1(Vi,V),h(k,A,w)}catch(k){console.error("[TrackingAnalytics] error",k)}};f();const g=()=>{document.visibilityState==="visible"&&i.current!=="visible"&&f(),i.current=document.visibilityState};return document.addEventListener("visibilitychange",g),()=>{o.current&&clearInterval(o.current),document.removeEventListener("visibilitychange",g)}},[n,e,t])},UC={recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:so()};let Zo=null;const T1=localStorage.getItem("token");if(T1)try{Zo=Dp(JSON.parse(T1)||"")}catch{Zo=null}const Br=st(e=>({cart:{...UC,customerEmail:Zo?Zo.email:""},products:[],coupon:null,pending:!1,applyCouponPending:!1,customerEmail:Zo?Zo.email:"",recaptcha:"",priceAdjusment:null,setCart:t=>e(n=>({cart:typeof t=="function"?t(n.cart):t})),setProducts:t=>e(n=>({products:typeof t=="function"?t(n.products):t})),setRecaptcha:t=>e({recaptcha:t}),setCoupon:t=>e({coupon:t}),setPending:t=>e({pending:t}),setApplyCouponPending:t=>e({applyCouponPending:t}),setCustomerEmail:t=>e({customerEmail:t}),setPriceAdjustment:t=>e({priceAdjusment:t})})),xa=st(e=>({page:1,setPage:t=>e(()=>({page:t}))})),Op=st(e=>({discordInfo:null,setDiscordInfo:t=>e(()=>({discordInfo:t}))})),VC=st(e=>({subscription:null,setSubscription:t=>e({subscription:t})})),kt=st(e=>({apiUrls:Rp,setApiUrls:t=>e(()=>({apiUrls:t}))})),zC=async()=>{const e=localStorage.getItem("shopId")||void 0,n=`${kt.getState().apiUrls.api}/v1/dash/shops/${e}/images`;return await lt({url:n,withToken:!0,method:"get"})},$C=async e=>{const t=localStorage.getItem("shopId")||void 0,o=`${kt.getState().apiUrls.api}/v1/dash/shops/${t}/images`;return await lt({url:o,withToken:!0,method:"post",body:e,contentType:"mutlipart/form-data"})},WC="_customCheckbox_w9x8g_1",qC="_checkboxBox_w9x8g_7",GC="_checked_w9x8g_23",YC="_icon_w9x8g_31",qa={customCheckbox:WC,checkboxBox:qC,checked:GC,icon:YC},Mp=e=>{const{value:t,onChange:n}=e,[o,i]=_.useState(t),a=()=>{i(!o),n(!o)};return _.useEffect(()=>{i(t)},[t]),d.jsxs("label",{className:qa.customCheckbox,onClick:s=>s.stopPropagation(),children:[d.jsx("input",{type:"checkbox",checked:o,onChange:a,style:{display:"none"}}),d.jsx("span",{className:ge(qa.checkboxBox,{[qa.checked]:o})}),o&&d.jsx("div",{className:qa.icon,children:d.jsx(ie,{name:"Check",width:14,height:14,fill:"#ff3f19"})})]})},ZC="_button_1gxoe_1",XC="_primary_1gxoe_14",KC="_secondary_1gxoe_22",QC="_tertiary_1gxoe_30",JC="_content_1gxoe_38",eb="_withoutHover_1gxoe_45",zo={button:ZC,primary:XC,secondary:KC,tertiary:QC,content:JC,withoutHover:eb},ti=e=>{const{children:t,onClick:n,style:o,className:i,disabled:a=!1,size:s="m",type:l="Primary",withoutHover:c=!1}=e;return d.jsx("button",{className:ge(zo.button,i,{[zo.primary]:l==="Primary",[zo.secondary]:l==="Secondary",[zo.tertiary]:l==="Tertiary",[zo.withoutHover]:c}),onClick:n,style:{...o,fontSize:s==="m"?14:s==="s"?12:16},disabled:a,children:l==="Tertiary"?d.jsxs("div",{className:zo.content,children:[t,d.jsx(ie,{name:"ArrowRight",fill:"#757575",width:20,height:20})]}):d.jsx(d.Fragment,{children:t})})},tb="_tip_q9ixw_1",nb="_text_q9ixw_12",rb="_warning_q9ixw_18",ob="_error_q9ixw_23",ib="_success_q9ixw_28",ab="_hide_q9ixw_33",$o={tip:tb,text:nb,warning:rb,error:ob,success:ib,hide:ab},x1={warning:"#C1972A",error:"#FF3F19",success:"#338B13"},Bp=e=>{const{type:t,message:n,style:o,padding:i,id:a}=e,[s,l]=_.useState(!1);return d.jsx("div",{style:{padding:i},children:d.jsxs("div",{className:ge($o.tip,{[$o.warning]:t==="warning",[$o.error]:t==="error",[$o.success]:t==="success",[$o.hide]:s}),style:o,children:[d.jsx("div",{children:d.jsx(ie,{name:"Info",fill:x1[t],width:20,height:20})}),d.jsx("div",{className:$o.text,id:a,children:n}),d.jsx("div",{children:d.jsx(ie,{name:"X",fill:x1[t],width:20,height:20,hoverable:!0,onClick:()=>l(!0)})})]})})},_a=e=>{const{label:t,onChange:n,activeImage:o,tip:i}=e,{setOpenModal:a,setOnChange:s,setTip:l}=Au();return d.jsx(d.Fragment,{children:d.jsxs("div",{className:St.wrapper,onClick:c=>c.stopPropagation(),children:[t&&d.jsx("h4",{className:St.label,children:t}),d.jsxs("div",{onClick:()=>{s(n),a(!0),i&&l(i)},className:St.content,children:[d.jsx("div",{className:St.icon,children:o?d.jsx("img",{src:`https://imagedelivery.net/${o}/w=156,h=156`,alt:"image",style:{width:"20px",height:"20px",objectFit:"contain"}}):d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsx("span",{className:St.text,children:o?"Change Image":"Select Image"}),o&&d.jsx(ie,{name:"X",width:20,height:18,fill:"#ff3f19",hoverable:!0,onClick:c=>{c.stopPropagation(),n([])}})]})]})})},sb=()=>{const{setOpenModal:e,onChange:t,tip:n,setTip:o}=Au(),{setIsOpen:i}=$r(),[a,s]=_.useState(!1),l=()=>{var y;(y=c.current)==null||y.click()},c=_.useRef(null),[u,h]=_.useState([]),[f,g]=_.useState(!1),m=async y=>{var E;const T=((E=y.target.files)==null?void 0:E[0])||null;if(!T)return;const k=new FormData;k.append("file",T),g(!0);const{data:A}=await $C(k),P=[...u];P.unshift({...A.data,cfId:A.data.path}),h([...P]),g(!1)},C=y=>{y.preventDefault(),s(!1);const T=y.dataTransfer.files;if(T&&T.length>0){const A={target:{files:[T[0]]}};m(A)}},I=()=>{i(!1),o(""),setTimeout(()=>{e(!1),i(!0)},300)},b=y=>{const T=u.map(k=>({...k,isSelected:k.id===y.id?!k.isSelected:!1}));h([...T])};function S(){const y=u.find(T=>T.isSelected);y&&(t==null||t([y.cfId]))}return _.useEffect(()=>{(async()=>{const{data:T}=await zC(),k=T.data.map(A=>({...A,isSelected:!1}));h(k)})()},[]),d.jsxs("div",{onClick:y=>y.stopPropagation(),className:St.modal,children:[d.jsxs("div",{className:St.top,children:[d.jsx("h4",{className:St.title,children:"Select Image"}),d.jsx(ie,{name:"X",width:20,height:20,hoverable:!0,onClick:I})]}),n&&d.jsx(Bp,{type:"warning",message:n,padding:5}),d.jsx("div",{className:St.modalContent,children:d.jsxs("div",{className:St.images,children:[d.jsxs("div",{className:St.input,onDragOver:y=>y.preventDefault(),onDragEnter:()=>s(!0),onDragLeave:()=>s(!1),onDrop:C,children:[d.jsxs("div",{onClick:l,className:ge(St.add,{[St.dragging]:a}),children:[d.jsx("div",{className:St.icon,children:d.jsx(ie,{name:"Plus",width:20,height:20,fill:"#757575"})}),d.jsxs("div",{className:St.description,children:[d.jsx("span",{children:"Drag and drop images here, or "}),d.jsx("span",{className:St.highlight,children:"click to browse"}),d.jsx("br",{}),d.jsx("span",{className:St.accent,children:"up to 10MB."})]})]}),d.jsx("input",{type:"file",ref:c,style:{display:"none"},onChange:m,multiple:!1,accept:"image/*"})]}),f&&d.jsx(_1,{}),u.map(y=>d.jsx(lb,{image:y,updateImage:b},y.id)),u.length===0&&[...new Array(5)].map((y,T)=>d.jsx(_1,{},T))]})}),d.jsxs("div",{className:St.bottom,children:[d.jsx(ti,{className:St.cancel,onClick:I,type:"Secondary",children:"Cancel"}),d.jsx(ti,{onClick:()=>{e(!1),S()},children:"Select"})]})]})},lb=e=>{const{image:t,updateImage:n}=e;return d.jsxs("div",{className:ge(St.image,{[St.selected]:t.isSelected}),onClick:()=>{n({...t,isSelected:!t.isSelected})},children:[d.jsx("div",{className:St.checkbox,children:d.jsx(Mp,{value:t.isSelected,onChange:o=>{n({...t,isSelected:o})}})}),d.jsx("img",{src:`https://imagedelivery.net/${t.cfId}/w=156,h=156`,alt:"image",style:{objectFit:"contain",width:"156px",height:"100px"}})]},t.id)},_1=()=>d.jsx("div",{className:St.loading,children:d.jsx("div",{className:St.spinner})}),cb="_title_1uycf_1",ub="_subtitle_1uycf_5",db="_text_1uycf_13",hb="_top_1uycf_20",fb="_itemsBlock_1uycf_29",pb="_textSettings_1uycf_35",Wo={title:cb,subtitle:ub,text:db,top:hb,itemsBlock:fb,textSettings:pb},mb="_typeTexts_1gfda_1",gb="_block_1gfda_8",Ib="_active_1gfda_25",Fl={typeTexts:mb,block:gb,active:Ib},Cb=["bold","italic","underline","strike-through"],Du=e=>{const{typesText:t,setTypesText:n}=e;function o(i){switch(i){case"bold":return"TextB";case"italic":return"TextItalic";case"strike-through":return"TextStrikethrough";case"underline":return"TextUnderline"}}return d.jsx("div",{className:Fl.typeTexts,children:Cb.map(i=>d.jsx("div",{className:ge(Fl.block,{[Fl.active]:t.includes(i)}),onClick:()=>{const a=[...t];if(a.includes(i)){const s=a.filter(l=>l!==i);n(s)}else a.push(i),n(a)},children:d.jsx(ie,{name:o(i),fill:t.includes(i)?"#252525":"#757575",width:20,height:20})},String(i)))})},bb="_wrapper_34cvp_1",Sb="_label_34cvp_10",yb="_textarea_34cvp_18",Eb="_length_34cvp_46",Tb="_full_34cvp_54",Ni={wrapper:bb,label:Sb,textarea:yb,length:Eb,full:Tb},Ou=e=>{const{onChange:t,label:n,value:o,maxLength:i,placeholder:a="Type something..."}=e,[s,l]=_.useState(o.length);return d.jsxs("div",{className:Ni.wrapper,children:[n&&d.jsx("label",{className:Ni.label,htmlFor:n,children:n}),d.jsx("textarea",{id:n,value:o,onChange:c=>{l(c.target.value.length),t(c.target.value)},placeholder:a,className:Ni.textarea,maxLength:i}),i&&d.jsxs("div",{className:ge(Ni.length,{[Ni.full]:s===i}),children:[s,"/",i]})]})},Mu=e=>{const{typeFont:t,setTypeFont:n}=e,[o,i]=_.useState([]),a=()=>{const s=document.documentElement,l=getComputedStyle(s),c=["h1","h2","h3","h4","h5","h6","h7"].map(h=>l.getPropertyValue(`--font-heading-${h}-size`).trim()),u=["lg","md","sm"].map(h=>l.getPropertyValue(`--font-body-${h}-size`).trim());return c.push(...u),c};return _.useEffect(()=>{const s=a();s.every(l=>l)&&i(s)},[]),d.jsx(ao,{label:"Type Text",options:Object.values(Va),onChange:s=>n(Object.keys(Va).find(l=>Va[l]===s)),value:Va[t],postfixs:o})},xb="_alignTexts_xs0ug_1",_b="_block_xs0ug_10",wb="_active_xs0ug_28",Hl={alignTexts:xb,block:_b,active:wb},vb=["left","center","right"],Fp=e=>{const{alignText:t,setAlignText:n}=e;function o(i){switch(i){case"left":return"TextAlignLeft";case"center":return"TextAlignCenter";case"right":return"TextAlignRight"}}return d.jsx("div",{className:Hl.alignTexts,children:vb.map(i=>d.jsx("div",{className:ge(Hl.block,{[Hl.active]:t===i}),onClick:()=>{n(i)},children:d.jsx(ie,{name:o(i),fill:t===i?"#252525":"#757575",width:20,height:20})},String(i)))})},Bu=e=>{const{typesText:t,isActiveText:n,setIsActiveText:o,text:i,setText:a,setTypesText:s,title:l,subtitle:c="Items",typeFont:u,setTypeFont:h,alignText:f,setAlignText:g}=e;return d.jsxs("div",{className:Wo.text,children:[(l||n!==void 0)&&d.jsxs("div",{className:Wo.top,children:[l&&d.jsx("h3",{className:Wo.title,children:l}),n!==void 0&&o&&d.jsx(vr,{current:n,onChange:m=>o(m)})]}),(n===void 0||n)&&d.jsxs("div",{className:Wo.itemsBlock,children:[d.jsx("h5",{className:Wo.subtitle,children:c}),d.jsx(Ou,{onChange:m=>a(m),value:i}),d.jsxs("div",{className:Wo.textSettings,children:[d.jsx(Du,{typesText:t,setTypesText:s}),d.jsx(Fp,{alignText:f,setAlignText:g})]}),d.jsx(Mu,{typeFont:u,setTypeFont:h})]})]})},Ab="_title_msd5s_1",kb="_subtitle_msd5s_5",Lb="_productsBlock_msd5s_14",Nb="_top_msd5s_26",Pb="_products_msd5s_14",Rb="_product_msd5s_14",Db="_button_msd5s_80",Ob="_disabled_msd5s_91",Mb="_buttons_msd5s_118",Bb="_modal_msd5s_125",Fb="_link_msd5s_146",Hb="_modalOptions_msd5s_152",jb="_addButton_msd5s_165",Ub="_deleteButton_msd5s_180",Vb="_closeIcon_msd5s_192",Ot={title:Ab,subtitle:kb,productsBlock:Lb,top:Nb,products:Pb,product:Rb,button:Db,disabled:Ob,buttons:Mb,modal:Bb,link:Fb,modalOptions:Hb,addButton:jb,deleteButton:Ub,closeIcon:Vb},zb=_.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:o,popupPosition:i,modalOptions:a,setIsOpenModal:s}=e;si(t,()=>{o(null),s(!1)});function l(c,u){return c.length>u?`${c.slice(0,u)}...`:c}return d.jsxs("div",{ref:t,className:Ot.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Ot.top,children:[d.jsx("h3",{className:Ot.title,children:l(n.name["en-US"],20)}),d.jsx("div",{className:Ot.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{o(null),s(!1)}})})]}),d.jsx("div",{className:Ot.modalOptions,children:a.map(c=>{if(c.type==="image")return d.jsx(_a,{label:"Put up an attractive image",activeImage:n[c.field],onChange:u=>{const h={...n,[c.field]:u};o(h)}},String(c.field));if(c.type==="text")return d.jsx(Bu,{isActiveText:!0,typesText:n[c.field.type],setTypesText:u=>{const h={...n,[c.field.type]:u};o(h)},alignText:n[c.field.alignText],setAlignText:u=>{const h={...n,[c.field.alignText]:u};o(h)},text:n[c.field.text]["en-US"]||"",setText:u=>{const h={...n,[c.field.text]:{"en-US":u}};o(h)},typeFont:n[c.field.typeFont],setTypeFont:u=>{const h={...n,[c.field.typeFont]:u};o(h)},subtitle:c.label});if(c.type==="input")return d.jsx(nr,{onChange:u=>{const h={...n,[c.field]:u};o(h)},value:n[c.field]||"",label:c.label,placeholder:c.placeholder});if(c.type==="inputSwitch")return d.jsxs("div",{className:Ot.link,children:[d.jsx(nr,{onChange:u=>{const h={...n,[c.field.text]:u};o(h)},value:n[c.field.text]||"",label:c.inputLabel,placeholder:c.placeholder}),d.jsx(vr,{current:!!n[c.field.switch]||!1,label:c.switchLabel,onChange:u=>{const h={...n,[c.field.switch]:u};o(h)}})]});if(c.type==="list")return d.jsx(f0,{items:n[c.field]||[],setItems:u=>{const h={...n,[c.field]:u};o(h)},itemsType:"select",draggable:c.draggable||!1,itemsOptions:c.itemsOptions,deletable:c.deletable||!1,editable:c.editable||!1,subtitle:c.label,addableOptions:c.addableOptions,modalOptions:c.modalOptions});if(c.type==="select")return d.jsx(ao,{options:c.itemsOptions,onChange:u=>{const h={...n,[c.field]:u};o(h)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:u=>{if(c.switcher==="isActive"){const h={...n,[c.switcher]:u};o(h)}}}:void 0});if(c.type==="selectTypeFont")return d.jsx(Mu,{typeFont:n[c.field],setTypeFont:u=>{const h={...n,[c.field]:u};o(h)}});if(c.type==="selectInfiniteList")return d.jsx(Lu,{options:c.itemsOptions,onChange:u=>{const h={...n,[c.field]:u};o(h)},label:c.label,value:n[c.field]||"String",leftAddonOptions:c.leftAddonOptions,switcher:c.switcher?{value:!!n[c.switcher],onChange:u=>{if(c.switcher==="isActive"){const h={...n,[c.switcher]:u};o(h)}}}:void 0})})})]})}),$b="_other_1a1tk_1",Wb="_subtitle_1a1tk_7",qb="_items_1a1tk_14",jl={other:$b,subtitle:Wb,items:qb},Hp=e=>{const{items:t,otherTitle:n,tagsTitle:o}=e;return d.jsxs("div",{className:jl.other,children:[d.jsx("h5",{className:jl.subtitle,children:n||o}),d.jsx("div",{className:jl.items,children:t.map((i,a)=>d.jsx(vr,{current:i.isItem,onChange:s=>i.setIsItem(s),label:i.label,hasBackground:!0,paddingless:!1},a))})]})};function Gb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.useMemo(()=>o=>{t.forEach(i=>i(o))},t)}const rl=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ui(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Fu(e){return"nodeType"in e}function On(e){var t,n;return e?ui(e)?e:Fu(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Hu(e){const{Document:t}=On(e);return e instanceof t}function wa(e){return ui(e)?!1:e instanceof On(e).HTMLElement}function jp(e){return e instanceof On(e).SVGElement}function di(e){return e?ui(e)?e.document:Fu(e)?Hu(e)?e:wa(e)||jp(e)?e.ownerDocument:document:document:document}const wr=rl?_.useLayoutEffect:_.useEffect;function ju(e){const t=_.useRef(e);return wr(()=>{t.current=e}),_.useCallback(function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.current==null?void 0:t.current(...o)},[])}function Yb(){const e=_.useRef(null),t=_.useCallback((o,i)=>{e.current=setInterval(o,i)},[]),n=_.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function da(e,t){t===void 0&&(t=[e]);const n=_.useRef(e);return wr(()=>{n.current!==e&&(n.current=e)},t),n}function va(e,t){const n=_.useRef();return _.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function Ds(e){const t=ju(e),n=_.useRef(null),o=_.useCallback(i=>{i!==n.current&&(t==null||t(i,n.current)),n.current=i},[]);return[n,o]}function jc(e){const t=_.useRef();return _.useEffect(()=>{t.current=e},[e]),t.current}let Ul={};function Aa(e,t){return _.useMemo(()=>{if(t)return t;const n=Ul[e]==null?0:Ul[e]+1;return Ul[e]=n,e+"-"+n},[e,t])}function Up(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return o.reduce((a,s)=>{const l=Object.entries(s);for(const[c,u]of l){const h=a[c];h!=null&&(a[c]=h+e*u)}return a},{...t})}}const Ko=Up(1),Os=Up(-1);function Zb(e){return"clientX"in e&&"clientY"in e}function Uu(e){if(!e)return!1;const{KeyboardEvent:t}=On(e.target);return t&&e instanceof t}function Xb(e){if(!e)return!1;const{TouchEvent:t}=On(e.target);return t&&e instanceof t}function Uc(e){if(Xb(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Zb(e)?{x:e.clientX,y:e.clientY}:null}const ni=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[ni.Translate.toString(e),ni.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),w1="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Kb(e){return e.matches(w1)?e:e.querySelector(w1)}const Qb={display:"none"};function Jb(e){let{id:t,value:n}=e;return _.createElement("div",{id:t,style:Qb},n)}function eS(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return _.createElement("div",{id:t,style:i,role:"status","aria-live":o,"aria-atomic":!0},n)}function tS(){const[e,t]=_.useState("");return{announce:_.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const Vp=_.createContext(null);function nS(e){const t=_.useContext(Vp);_.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function rS(){const[e]=_.useState(()=>new Set),t=_.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[_.useCallback(o=>{let{type:i,event:a}=o;e.forEach(s=>{var l;return(l=s[i])==null?void 0:l.call(s,a)})},[e]),t]}const oS={draggable:`
|
|
70
70
|
To pick up a draggable item, press the space bar.
|
|
71
71
|
While dragging, use the arrow keys to move the item.
|
|
72
72
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
73
|
-
`},iS={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function aS(e){let{announcements:t=iS,container:n,hiddenTextDescribedById:o,screenReaderInstructions:i=oS}=e;const{announce:a,announcement:s}=tS(),l=va("DndLiveRegion"),[c,u]=_.useState(!1);if(_.useEffect(()=>{u(!0)},[]),nS(_.useMemo(()=>({onDragStart(f){let{active:g}=f;a(t.onDragStart({active:g}))},onDragMove(f){let{active:g,over:m}=f;t.onDragMove&&a(t.onDragMove({active:g,over:m}))},onDragOver(f){let{active:g,over:m}=f;a(t.onDragOver({active:g,over:m}))},onDragEnd(f){let{active:g,over:m}=f;a(t.onDragEnd({active:g,over:m}))},onDragCancel(f){let{active:g,over:m}=f;a(t.onDragCancel({active:g,over:m}))}}),[a,t])),!c)return null;const h=_.createElement(_.Fragment,null,_.createElement(Jb,{id:o,value:i.draggable}),_.createElement(eS,{id:l,announcement:s}));return n?To.createPortal(h,n):h}var qt;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(qt||(qt={}));function Ms(){}function zp(e,t){return _.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function $p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.useMemo(()=>[...t].filter(o=>o!=null),[...t])}const dr=Object.freeze({x:0,y:0});function sS(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return o-n}function lS(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function cS(e,t){const n=Math.max(t.top,e.top),o=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),s=i-o,l=a-n;if(o<i&&n<a){const c=t.width*t.height,u=e.width*e.height,h=s*l,f=h/(c+u-h);return Number(f.toFixed(4))}return 0}const uS=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const i=[];for(const a of o){const{id:s}=a,l=n.get(s);if(l){const c=cS(l,t);c>0&&i.push({id:s,data:{droppableContainer:a,value:c}})}}return i.sort(sS)};function dS(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Wp(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:dr}function hS(e){return function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return i.reduce((s,l)=>({...s,top:s.top+e*l.y,bottom:s.bottom+e*l.y,left:s.left+e*l.x,right:s.right+e*l.x}),{...n})}}const fS=hS(1);function pS(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function mS(e,t,n){const o=pS(t);if(!o)return e;const{scaleX:i,scaleY:a,x:s,y:l}=o,c=e.left-s-(1-i)*parseFloat(n),u=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),h=i?e.width/i:e.width,f=a?e.height/a:e.height;return{width:h,height:f,top:u,right:c+h,bottom:u+f,left:c}}const gS={ignoreTransform:!1};function hi(e,t){t===void 0&&(t=gS);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:h}=Dn(e).getComputedStyle(e);u&&(n=mS(n,u,h))}const{top:o,left:i,width:a,height:s,bottom:l,right:c}=n;return{top:o,left:i,width:a,height:s,bottom:l,right:c}}function v1(e){return hi(e,{ignoreTransform:!0})}function IS(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function CS(e,t){return t===void 0&&(t=Dn(e).getComputedStyle(e)),t.position==="fixed"}function bS(e,t){t===void 0&&(t=Dn(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?n.test(a):!1})}function Vu(e,t){const n=[];function o(i){if(t!=null&&n.length>=t||!i)return n;if(Hu(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!_a(i)||jp(i)||n.includes(i))return n;const a=Dn(e).getComputedStyle(i);return i!==e&&bS(i,a)&&n.push(i),CS(i,a)?n:o(i.parentNode)}return e?o(e):n}function qp(e){const[t]=Vu(e,1);return t??null}function Vl(e){return!rl||!e?null:ui(e)?e:Fu(e)?Hu(e)||e===di(e).scrollingElement?window:_a(e)?e:null:null}function Gp(e){return ui(e)?e.scrollX:e.scrollLeft}function Yp(e){return ui(e)?e.scrollY:e.scrollTop}function Vc(e){return{x:Gp(e),y:Yp(e)}}var nn;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(nn||(nn={}));function Zp(e){return!rl||!e?!1:e===document.scrollingElement}function Xp(e){const t={x:0,y:0},n=Zp(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},o={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,s=e.scrollTop>=o.y,l=e.scrollLeft>=o.x;return{isTop:i,isLeft:a,isBottom:s,isRight:l,maxScroll:o,minScroll:t}}const SS={x:.2,y:.2};function yS(e,t,n,o,i){let{top:a,left:s,right:l,bottom:c}=n;o===void 0&&(o=10),i===void 0&&(i=SS);const{isTop:u,isBottom:h,isLeft:f,isRight:g}=Xp(e),m={x:0,y:0},C={x:0,y:0},I={height:t.height*i.y,width:t.width*i.x};return!u&&a<=t.top+I.height?(m.y=nn.Backward,C.y=o*Math.abs((t.top+I.height-a)/I.height)):!h&&c>=t.bottom-I.height&&(m.y=nn.Forward,C.y=o*Math.abs((t.bottom-I.height-c)/I.height)),!g&&l>=t.right-I.width?(m.x=nn.Forward,C.x=o*Math.abs((t.right-I.width-l)/I.width)):!f&&s<=t.left+I.width&&(m.x=nn.Backward,C.x=o*Math.abs((t.left+I.width-s)/I.width)),{direction:m,speed:C}}function ES(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:s}=window;return{top:0,left:0,right:a,bottom:s,width:a,height:s}}const{top:t,left:n,right:o,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:o,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Kp(e){return e.reduce((t,n)=>Ko(t,Vc(n)),dr)}function TS(e){return e.reduce((t,n)=>t+Gp(n),0)}function xS(e){return e.reduce((t,n)=>t+Yp(n),0)}function _S(e,t){if(t===void 0&&(t=hi),!e)return;const{top:n,left:o,bottom:i,right:a}=t(e);qp(e)&&(i<=0||a<=0||n>=window.innerHeight||o>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const wS=[["x",["left","right"],TS],["y",["top","bottom"],xS]];class zu{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const o=Vu(n),i=Kp(o);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,s,l]of wS)for(const c of s)Object.defineProperty(this,c,{get:()=>{const u=l(o),h=i[a]-u;return this.rect[c]+h},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Gi{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var o;return(o=this.target)==null?void 0:o.removeEventListener(...n)})},this.target=t}add(t,n,o){var i;(i=this.target)==null||i.addEventListener(t,n,o),this.listeners.push([t,n,o])}}function vS(e){const{EventTarget:t}=Dn(e);return e instanceof t?e:di(e)}function zl(e,t){const n=Math.abs(e.x),o=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+o**2)>t:"x"in t&&"y"in t?n>t.x&&o>t.y:"x"in t?n>t.x:"y"in t?o>t.y:!1}var Kn;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Kn||(Kn={}));function A1(e){e.preventDefault()}function AS(e){e.stopPropagation()}var Qe;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Qe||(Qe={}));const Qp={start:[Qe.Space,Qe.Enter],cancel:[Qe.Esc],end:[Qe.Space,Qe.Enter,Qe.Tab]},kS=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Qe.Right:return{...n,x:n.x+25};case Qe.Left:return{...n,x:n.x-25};case Qe.Down:return{...n,y:n.y+25};case Qe.Up:return{...n,y:n.y-25}}};class Jp{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Gi(di(n)),this.windowListeners=new Gi(Dn(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Kn.Resize,this.handleCancel),this.windowListeners.add(Kn.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Kn.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,o=t.node.current;o&&_S(o),n(dr)}handleKeyDown(t){if(Uu(t)){const{active:n,context:o,options:i}=this.props,{keyboardCodes:a=Qp,coordinateGetter:s=kS,scrollBehavior:l="smooth"}=i,{code:c}=t;if(a.end.includes(c)){this.handleEnd(t);return}if(a.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=o.current,h=u?{x:u.left,y:u.top}:dr;this.referenceCoordinates||(this.referenceCoordinates=h);const f=s(t,{active:n,context:o.current,currentCoordinates:h});if(f){const g=Os(f,h),m={x:0,y:0},{scrollableAncestors:C}=o.current;for(const I of C){const b=t.code,{isTop:S,isRight:y,isLeft:T,isBottom:k,maxScroll:A,minScroll:P}=Xp(I),E=ES(I),M={x:Math.min(b===Qe.Right?E.right-E.width/2:E.right,Math.max(b===Qe.Right?E.left:E.left+E.width/2,f.x)),y:Math.min(b===Qe.Down?E.bottom-E.height/2:E.bottom,Math.max(b===Qe.Down?E.top:E.top+E.height/2,f.y))},B=b===Qe.Right&&!y||b===Qe.Left&&!T,w=b===Qe.Down&&!k||b===Qe.Up&&!S;if(B&&M.x!==f.x){const V=I.scrollLeft+g.x,H=b===Qe.Right&&V<=A.x||b===Qe.Left&&V>=P.x;if(H&&!g.y){I.scrollTo({left:V,behavior:l});return}H?m.x=I.scrollLeft-V:m.x=b===Qe.Right?I.scrollLeft-A.x:I.scrollLeft-P.x,m.x&&I.scrollBy({left:-m.x,behavior:l});break}else if(w&&M.y!==f.y){const V=I.scrollTop+g.y,H=b===Qe.Down&&V<=A.y||b===Qe.Up&&V>=P.y;if(H&&!g.x){I.scrollTo({top:V,behavior:l});return}H?m.y=I.scrollTop-V:m.y=b===Qe.Down?I.scrollTop-A.y:I.scrollTop-P.y,m.y&&I.scrollBy({top:-m.y,behavior:l});break}}this.handleMove(t,Ko(Os(f,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:o}=this.props;t.preventDefault(),o(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Jp.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:o=Qp,onActivation:i}=t,{active:a}=n;const{code:s}=e.nativeEvent;if(o.start.includes(s)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function k1(e){return!!(e&&"distance"in e)}function L1(e){return!!(e&&"delay"in e)}class $u{constructor(t,n,o){var i;o===void 0&&(o=vS(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:a}=t,{target:s}=a;this.props=t,this.events=n,this.document=di(s),this.documentListeners=new Gi(this.document),this.listeners=new Gi(o),this.windowListeners=new Gi(Dn(s)),this.initialCoordinates=(i=Uc(a))!=null?i:dr,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:o}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(Kn.Resize,this.handleCancel),this.windowListeners.add(Kn.DragStart,A1),this.windowListeners.add(Kn.VisibilityChange,this.handleCancel),this.windowListeners.add(Kn.ContextMenu,A1),this.documentListeners.add(Kn.Keydown,this.handleKeydown),n){if(o!=null&&o({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(L1(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(k1(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:o,onPending:i}=this.props;i(o,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(Kn.Click,AS,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Kn.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:o,initialCoordinates:i,props:a}=this,{onMove:s,options:{activationConstraint:l}}=a;if(!i)return;const c=(n=Uc(t))!=null?n:dr,u=Os(i,c);if(!o&&l){if(k1(l)){if(l.tolerance!=null&&zl(u,l.tolerance))return this.handleCancel();if(zl(u,l.distance))return this.handleStart()}if(L1(l)&&zl(u,l.tolerance))return this.handleCancel();this.handlePending(l,u);return}t.cancelable&&t.preventDefault(),s(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Qe.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const LS={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ol extends $u{constructor(t){const{event:n}=t,o=di(n.target);super(t,LS,o)}}ol.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return!n.isPrimary||n.button!==0?!1:(o==null||o({event:n}),!0)}}];const NS={move:{name:"mousemove"},end:{name:"mouseup"}};var zc;(function(e){e[e.RightClick=2]="RightClick"})(zc||(zc={}));class PS extends $u{constructor(t){super(t,NS,di(t.event.target))}}PS.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return n.button===zc.RightClick?!1:(o==null||o({event:n}),!0)}}];const $l={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class RS extends $u{constructor(t){super(t,$l)}static setup(){return window.addEventListener($l.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener($l.move.name,t)};function t(){}}}RS.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;const{touches:i}=n;return i.length>1?!1:(o==null||o({event:n}),!0)}}];var Yi;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Yi||(Yi={}));var Bs;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Bs||(Bs={}));function DS(e){let{acceleration:t,activator:n=Yi.Pointer,canScroll:o,draggingRect:i,enabled:a,interval:s=5,order:l=Bs.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:h,delta:f,threshold:g}=e;const m=MS({delta:f,disabled:!a}),[C,I]=Yb(),b=_.useRef({x:0,y:0}),S=_.useRef({x:0,y:0}),y=_.useMemo(()=>{switch(n){case Yi.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Yi.DraggableRect:return i}},[n,i,c]),T=_.useRef(null),k=_.useCallback(()=>{const P=T.current;if(!P)return;const E=b.current.x*S.current.x,M=b.current.y*S.current.y;P.scrollBy(E,M)},[]),A=_.useMemo(()=>l===Bs.TreeOrder?[...u].reverse():u,[l,u]);_.useEffect(()=>{if(!a||!u.length||!y){I();return}for(const P of A){if((o==null?void 0:o(P))===!1)continue;const E=u.indexOf(P),M=h[E];if(!M)continue;const{direction:B,speed:w}=yS(P,M,y,t,g);for(const V of["x","y"])m[V][B[V]]||(w[V]=0,B[V]=0);if(w.x>0||w.y>0){I(),T.current=P,C(k,s),b.current=w,S.current=B;return}}b.current={x:0,y:0},S.current={x:0,y:0},I()},[t,k,o,I,a,s,JSON.stringify(y),JSON.stringify(m),C,u,A,h,JSON.stringify(g)])}const OS={x:{[nn.Backward]:!1,[nn.Forward]:!1},y:{[nn.Backward]:!1,[nn.Forward]:!1}};function MS(e){let{delta:t,disabled:n}=e;const o=jc(t);return wa(i=>{if(n||!o||!i)return OS;const a={x:Math.sign(t.x-o.x),y:Math.sign(t.y-o.y)};return{x:{[nn.Backward]:i.x[nn.Backward]||a.x===-1,[nn.Forward]:i.x[nn.Forward]||a.x===1},y:{[nn.Backward]:i.y[nn.Backward]||a.y===-1,[nn.Forward]:i.y[nn.Forward]||a.y===1}}},[n,t,o])}function BS(e,t){const n=t!=null?e.get(t):void 0,o=n?n.node.current:null;return wa(i=>{var a;return t==null?null:(a=o??i)!=null?a:null},[o,t])}function FS(e,t){return _.useMemo(()=>e.reduce((n,o)=>{const{sensor:i}=o,a=i.activators.map(s=>({eventName:s.eventName,handler:t(s.handler,o)}));return[...n,...a]},[]),[e,t])}var da;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(da||(da={}));var $c;(function(e){e.Optimized="optimized"})($c||($c={}));const N1=new Map;function HS(e,t){let{dragging:n,dependencies:o,config:i}=t;const[a,s]=_.useState(null),{frequency:l,measure:c,strategy:u}=i,h=_.useRef(e),f=b(),g=ua(f),m=_.useCallback(function(S){S===void 0&&(S=[]),!g.current&&s(y=>y===null?S:y.concat(S.filter(T=>!y.includes(T))))},[g]),C=_.useRef(null),I=wa(S=>{if(f&&!n)return N1;if(!S||S===N1||h.current!==e||a!=null){const y=new Map;for(let T of e){if(!T)continue;if(a&&a.length>0&&!a.includes(T.id)&&T.rect.current){y.set(T.id,T.rect.current);continue}const k=T.node.current,A=k?new zu(c(k),k):null;T.rect.current=A,A&&y.set(T.id,A)}return y}return S},[e,a,n,f,c]);return _.useEffect(()=>{h.current=e},[e]),_.useEffect(()=>{f||m()},[n,f]),_.useEffect(()=>{a&&a.length>0&&s(null)},[JSON.stringify(a)]),_.useEffect(()=>{f||typeof l!="number"||C.current!==null||(C.current=setTimeout(()=>{m(),C.current=null},l))},[l,f,m,...o]),{droppableRects:I,measureDroppableContainers:m,measuringScheduled:a!=null};function b(){switch(u){case da.Always:return!1;case da.BeforeDragging:return n;default:return!n}}}function e0(e,t){return wa(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function jS(e,t){return e0(e,t)}function US(e){let{callback:t,disabled:n}=e;const o=ju(t),i=_.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(o)},[o,n]);return _.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function il(e){let{callback:t,disabled:n}=e;const o=ju(t),i=_.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(o)},[n]);return _.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function VS(e){return new zu(hi(e),e)}function P1(e,t,n){t===void 0&&(t=VS);const[o,i]=_.useState(null);function a(){i(c=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const h=t(e);return JSON.stringify(c)===JSON.stringify(h)?c:h})}const s=US({callback(c){if(e)for(const u of c){const{type:h,target:f}=u;if(h==="childList"&&f instanceof HTMLElement&&f.contains(e)){a();break}}}}),l=il({callback:a});return wr(()=>{a(),e?(l==null||l.observe(e),s==null||s.observe(document.body,{childList:!0,subtree:!0})):(l==null||l.disconnect(),s==null||s.disconnect())},[e]),o}function zS(e){const t=e0(e);return Wp(e,t)}const R1=[];function $S(e){const t=_.useRef(e),n=wa(o=>e?o&&o!==R1&&e&&t.current&&e.parentNode===t.current.parentNode?o:Vu(e):R1,[e]);return _.useEffect(()=>{t.current=e},[e]),n}function WS(e){const[t,n]=_.useState(null),o=_.useRef(e),i=_.useCallback(a=>{const s=Vl(a.target);s&&n(l=>l?(l.set(s,Vc(s)),new Map(l)):null)},[]);return _.useEffect(()=>{const a=o.current;if(e!==a){s(a);const l=e.map(c=>{const u=Vl(c);return u?(u.addEventListener("scroll",i,{passive:!0}),[u,Vc(u)]):null}).filter(c=>c!=null);n(l.length?new Map(l):null),o.current=e}return()=>{s(e),s(a)};function s(l){l.forEach(c=>{const u=Vl(c);u==null||u.removeEventListener("scroll",i)})}},[i,e]),_.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,s)=>Ko(a,s),dr):Kp(e):dr,[e,t])}function D1(e,t){t===void 0&&(t=[]);const n=_.useRef(null);return _.useEffect(()=>{n.current=null},t),_.useEffect(()=>{const o=e!==dr;o&&!n.current&&(n.current=e),!o&&n.current&&(n.current=null)},[e]),n.current?Os(e,n.current):dr}function qS(e){_.useEffect(()=>{if(!rl)return;const t=e.map(n=>{let{sensor:o}=n;return o.setup==null?void 0:o.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function GS(e,t){return _.useMemo(()=>e.reduce((n,o)=>{let{eventName:i,handler:a}=o;return n[i]=s=>{a(s,t)},n},{}),[e,t])}function t0(e){return _.useMemo(()=>e?IS(e):null,[e])}const O1=[];function YS(e,t){t===void 0&&(t=hi);const[n]=e,o=t0(n?Dn(n):null),[i,a]=_.useState(O1);function s(){a(()=>e.length?e.map(c=>Zp(c)?o:new zu(t(c),c)):O1)}const l=il({callback:s});return wr(()=>{l==null||l.disconnect(),s(),e.forEach(c=>l==null?void 0:l.observe(c))},[e]),i}function ZS(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return _a(t)?t:e}function XS(e){let{measure:t}=e;const[n,o]=_.useState(null),i=_.useCallback(u=>{for(const{target:h}of u)if(_a(h)){o(f=>{const g=t(h);return f?{...f,width:g.width,height:g.height}:g});break}},[t]),a=il({callback:i}),s=_.useCallback(u=>{const h=ZS(u);a==null||a.disconnect(),h&&(a==null||a.observe(h)),o(h?t(h):null)},[t,a]),[l,c]=Ds(s);return _.useMemo(()=>({nodeRef:l,rect:n,setRef:c}),[n,l,c])}const KS=[{sensor:ol,options:{}},{sensor:Jp,options:{}}],QS={current:{}},Cs={draggable:{measure:v1},droppable:{measure:v1,strategy:da.WhileDragging,frequency:$c.Optimized},dragOverlay:{measure:hi}};class Zi extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,o;return(n=(o=this.get(t))==null?void 0:o.node.current)!=null?n:void 0}}const JS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Zi,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Ms},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Cs,measureDroppableContainers:Ms,windowRect:null,measuringScheduled:!1},e7={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Ms,draggableNodes:new Map,over:null,measureDroppableContainers:Ms},al=_.createContext(e7),n0=_.createContext(JS);function t7(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Zi}}}function n7(e,t){switch(t.type){case qt.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case qt.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case qt.DragEnd:case qt.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case qt.RegisterDroppable:{const{element:n}=t,{id:o}=n,i=new Zi(e.droppable.containers);return i.set(o,n),{...e,droppable:{...e.droppable,containers:i}}}case qt.SetDroppableDisabled:{const{id:n,key:o,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||o!==a.key)return e;const s=new Zi(e.droppable.containers);return s.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:s}}}case qt.UnregisterDroppable:{const{id:n,key:o}=t,i=e.droppable.containers.get(n);if(!i||o!==i.key)return e;const a=new Zi(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function r7(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:i}=_.useContext(al),a=jc(o),s=jc(n==null?void 0:n.id);return _.useEffect(()=>{if(!t&&!o&&a&&s!=null){if(!Uu(a)||document.activeElement===a.target)return;const l=i.get(s);if(!l)return;const{activatorNode:c,node:u}=l;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const h of[c.current,u.current]){if(!h)continue;const f=Kb(h);if(f){f.focus();break}}})}},[o,t,i,s,a]),null}function o7(e,t){let{transform:n,...o}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...o}),n):n}function i7(e){return _.useMemo(()=>({draggable:{...Cs.draggable,...e==null?void 0:e.draggable},droppable:{...Cs.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Cs.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function a7(e){let{activeNode:t,measure:n,initialRect:o,config:i=!0}=e;const a=_.useRef(!1),{x:s,y:l}=typeof i=="boolean"?{x:i,y:i}:i;wr(()=>{if(!s&&!l||!t){a.current=!1;return}if(a.current||!o)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const h=n(u),f=Wp(h,o);if(s||(f.x=0),l||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const g=qp(u);g&&g.scrollBy({top:f.y,left:f.x})}},[t,s,l,o,n])}const r0=_.createContext({...dr,scaleX:1,scaleY:1});var eo;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(eo||(eo={}));const o0=_.memo(function(t){var n,o,i,a;let{id:s,accessibility:l,autoScroll:c=!0,children:u,sensors:h=KS,collisionDetection:f=uS,measuring:g,modifiers:m,...C}=t;const I=_.useReducer(n7,void 0,t7),[b,S]=I,[y,T]=rS(),[k,A]=_.useState(eo.Uninitialized),P=k===eo.Initialized,{draggable:{active:E,nodes:M,translate:B},droppable:{containers:w}}=b,V=E!=null?M.get(E):null,H=_.useRef({initial:null,translated:null}),X=_.useMemo(()=>{var Ct;return E!=null?{id:E,data:(Ct=V==null?void 0:V.data)!=null?Ct:QS,rect:H}:null},[E,V]),W=_.useRef(null),[se,Ce]=_.useState(null),[be,ve]=_.useState(null),Le=ua(C,Object.values(C)),x=va("DndDescribedBy",s),ne=_.useMemo(()=>w.getEnabled(),[w]),pe=i7(g),{droppableRects:L,measureDroppableContainers:Z,measuringScheduled:le}=HS(ne,{dragging:P,dependencies:[B.x,B.y],config:pe.droppable}),ee=BS(M,E),Ie=_.useMemo(()=>be?Uc(be):null,[be]),Se=Nr(),ae=jS(ee,pe.draggable.measure);a7({activeNode:E!=null?M.get(E):null,config:Se.layoutShiftCompensation,initialRect:ae,measure:pe.draggable.measure});const ce=P1(ee,pe.draggable.measure,ae),Ue=P1(ee?ee.parentElement:null),Q=_.useRef({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:L,draggableNodes:M,draggingNode:null,draggingNodeRect:null,droppableContainers:w,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ve=w.getNodeFor((n=Q.current.over)==null?void 0:n.id),Te=XS({measure:pe.dragOverlay.measure}),we=(o=Te.nodeRef.current)!=null?o:ee,ze=P?(i=Te.rect)!=null?i:ce:null,Tt=!!(Te.nodeRef.current&&Te.rect),wt=zS(Tt?null:ce),$e=t0(we?Dn(we):null),nt=$S(P?Ve??ee:null),Tn=YS(nt),gt=o7(m,{transform:{x:B.x-wt.x,y:B.y-wt.y,scaleX:1,scaleY:1},activatorEvent:be,active:X,activeNodeRect:ce,containerNodeRect:Ue,draggingNodeRect:ze,over:Q.current.over,overlayNodeRect:Te.rect,scrollableAncestors:nt,scrollableAncestorRects:Tn,windowRect:$e}),dn=Ie?Ko(Ie,B):null,It=WS(nt),Lt=D1(It),q=D1(It,[ce]),oe=Ko(gt,Lt),_e=ze?fS(ze,gt):null,Ae=X&&_e?f({active:X,collisionRect:_e,droppableRects:L,droppableContainers:ne,pointerCoordinates:dn}):null,We=lS(Ae,"id"),[rt,hn]=_.useState(null),Je=Tt?gt:Ko(gt,q),fn=dS(Je,(a=rt==null?void 0:rt.rect)!=null?a:null,ce),pn=_.useRef(null),Nt=_.useCallback((Ct,Yt)=>{let{sensor:Zt,options:Mn}=Yt;if(W.current==null)return;const on=M.get(W.current);if(!on)return;const Pt=Ct.nativeEvent,Xt=new Zt({active:W.current,activeNode:on,event:Pt,options:Mn,context:Q,onAbort(Rt){if(!M.get(Rt))return;const{onDragAbort:F}=Le.current,$={id:Rt};F==null||F($),y({type:"onDragAbort",event:$})},onPending(Rt,O,F,$){if(!M.get(Rt))return;const{onDragPending:me}=Le.current,xe={id:Rt,constraint:O,initialCoordinates:F,offset:$};me==null||me(xe),y({type:"onDragPending",event:xe})},onStart(Rt){const O=W.current;if(O==null)return;const F=M.get(O);if(!F)return;const{onDragStart:$}=Le.current,te={activatorEvent:Pt,active:{id:O,data:F.data,rect:H}};To.unstable_batchedUpdates(()=>{$==null||$(te),A(eo.Initializing),S({type:qt.DragStart,initialCoordinates:Rt,active:O}),y({type:"onDragStart",event:te}),Ce(pn.current),ve(Pt)})},onMove(Rt){S({type:qt.DragMove,coordinates:Rt})},onEnd:gr(qt.DragEnd),onCancel:gr(qt.DragCancel)});pn.current=Xt;function gr(Rt){return async function(){const{active:F,collisions:$,over:te,scrollAdjustedTranslate:me}=Q.current;let xe=null;if(F&&me){const{cancelDrop:N}=Le.current;xe={activatorEvent:Pt,active:F,collisions:$,delta:me,over:te},Rt===qt.DragEnd&&typeof N=="function"&&await Promise.resolve(N(xe))&&(Rt=qt.DragCancel)}W.current=null,To.unstable_batchedUpdates(()=>{S({type:Rt}),A(eo.Uninitialized),hn(null),Ce(null),ve(null),pn.current=null;const N=Rt===qt.DragEnd?"onDragEnd":"onDragCancel";if(xe){const U=Le.current[N];U==null||U(xe),y({type:N,event:xe})}})}}},[M]),Gn=_.useCallback((Ct,Yt)=>(Zt,Mn)=>{const on=Zt.nativeEvent,Pt=M.get(Mn);if(W.current!==null||!Pt||on.dndKit||on.defaultPrevented)return;const Xt={active:Pt};Ct(Zt,Yt.options,Xt)===!0&&(on.dndKit={capturedBy:Yt.sensor},W.current=Mn,Nt(Zt,Yt))},[M,Nt]),zt=FS(h,Gn);qS(h),wr(()=>{ce&&k===eo.Initializing&&A(eo.Initialized)},[ce,k]),_.useEffect(()=>{const{onDragMove:Ct}=Le.current,{active:Yt,activatorEvent:Zt,collisions:Mn,over:on}=Q.current;if(!Yt||!Zt)return;const Pt={active:Yt,activatorEvent:Zt,collisions:Mn,delta:{x:oe.x,y:oe.y},over:on};To.unstable_batchedUpdates(()=>{Ct==null||Ct(Pt),y({type:"onDragMove",event:Pt})})},[oe.x,oe.y]),_.useEffect(()=>{const{active:Ct,activatorEvent:Yt,collisions:Zt,droppableContainers:Mn,scrollAdjustedTranslate:on}=Q.current;if(!Ct||W.current==null||!Yt||!on)return;const{onDragOver:Pt}=Le.current,Xt=Mn.get(We),gr=Xt&&Xt.rect.current?{id:Xt.id,rect:Xt.rect.current,data:Xt.data,disabled:Xt.disabled}:null,Rt={active:Ct,activatorEvent:Yt,collisions:Zt,delta:{x:on.x,y:on.y},over:gr};To.unstable_batchedUpdates(()=>{hn(gr),Pt==null||Pt(Rt),y({type:"onDragOver",event:Rt})})},[We]),wr(()=>{Q.current={activatorEvent:be,active:X,activeNode:ee,collisionRect:_e,collisions:Ae,droppableRects:L,draggableNodes:M,draggingNode:we,draggingNodeRect:ze,droppableContainers:w,over:rt,scrollableAncestors:nt,scrollAdjustedTranslate:oe},H.current={initial:ze,translated:_e}},[X,ee,Ae,_e,M,we,ze,L,w,rt,nt,oe]),DS({...Se,delta:B,draggingRect:_e,pointerCoordinates:dn,scrollableAncestors:nt,scrollableAncestorRects:Tn});const Lr=_.useMemo(()=>({active:X,activeNode:ee,activeNodeRect:ce,activatorEvent:be,collisions:Ae,containerNodeRect:Ue,dragOverlay:Te,draggableNodes:M,droppableContainers:w,droppableRects:L,over:rt,measureDroppableContainers:Z,scrollableAncestors:nt,scrollableAncestorRects:Tn,measuringConfiguration:pe,measuringScheduled:le,windowRect:$e}),[X,ee,ce,be,Ae,Ue,Te,M,w,L,rt,Z,nt,Tn,pe,le,$e]),ir=_.useMemo(()=>({activatorEvent:be,activators:zt,active:X,activeNodeRect:ce,ariaDescribedById:{draggable:x},dispatch:S,draggableNodes:M,over:rt,measureDroppableContainers:Z}),[be,zt,X,ce,S,x,M,rt,Z]);return _.createElement(Vp.Provider,{value:T},_.createElement(al.Provider,{value:ir},_.createElement(n0.Provider,{value:Lr},_.createElement(r0.Provider,{value:fn},u)),_.createElement(r7,{disabled:(l==null?void 0:l.restoreFocus)===!1})),_.createElement(aS,{...l,hiddenTextDescribedById:x}));function Nr(){const Ct=(se==null?void 0:se.autoScrollEnabled)===!1,Yt=typeof c=="object"?c.enabled===!1:c===!1,Zt=P&&!Ct&&!Yt;return typeof c=="object"?{...c,enabled:Zt}:{enabled:Zt}}}),s7=_.createContext(null),M1="button",l7="Draggable";function c7(e){let{id:t,data:n,disabled:o=!1,attributes:i}=e;const a=va(l7),{activators:s,activatorEvent:l,active:c,activeNodeRect:u,ariaDescribedById:h,draggableNodes:f,over:g}=_.useContext(al),{role:m=M1,roleDescription:C="draggable",tabIndex:I=0}=i??{},b=(c==null?void 0:c.id)===t,S=_.useContext(b?r0:s7),[y,T]=Ds(),[k,A]=Ds(),P=GS(s,t),E=ua(n);wr(()=>(f.set(t,{id:t,key:a,node:y,activatorNode:k,data:E}),()=>{const B=f.get(t);B&&B.key===a&&f.delete(t)}),[f,t]);const M=_.useMemo(()=>({role:m,tabIndex:I,"aria-disabled":o,"aria-pressed":b&&m===M1?!0:void 0,"aria-roledescription":C,"aria-describedby":h.draggable}),[o,m,I,b,C,h.draggable]);return{active:c,activatorEvent:l,activeNodeRect:u,attributes:M,isDragging:b,listeners:o?void 0:P,node:y,over:g,setNodeRef:T,setActivatorNodeRef:A,transform:S}}function u7(){return _.useContext(n0)}const d7="Droppable",h7={timeout:25};function f7(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:i}=e;const a=va(d7),{active:s,dispatch:l,over:c,measureDroppableContainers:u}=_.useContext(al),h=_.useRef({disabled:n}),f=_.useRef(!1),g=_.useRef(null),m=_.useRef(null),{disabled:C,updateMeasurementsFor:I,timeout:b}={...h7,...i},S=ua(I??o),y=_.useCallback(()=>{if(!f.current){f.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),m.current=null},b)},[b]),T=il({callback:y,disabled:C||!s}),k=_.useCallback((M,B)=>{T&&(B&&(T.unobserve(B),f.current=!1),M&&T.observe(M))},[T]),[A,P]=Ds(k),E=ua(t);return _.useEffect(()=>{!T||!A.current||(T.disconnect(),f.current=!1,T.observe(A.current))},[A,T]),_.useEffect(()=>(l({type:qt.RegisterDroppable,element:{id:o,key:a,disabled:n,node:A,rect:g,data:E}}),()=>l({type:qt.UnregisterDroppable,key:a,id:o})),[o]),_.useEffect(()=>{n!==h.current.disabled&&(l({type:qt.SetDroppableDisabled,id:o,key:a,disabled:n}),h.current.disabled=n)},[o,a,n,l]),{active:s,rect:g,isOver:(c==null?void 0:c.id)===o,node:A,over:c,setNodeRef:P}}function i0(e,t,n){const o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o}function p7(e,t){return e.reduce((n,o,i)=>{const a=t.get(o);return a&&(n[i]=a),n},Array(e.length))}function Ga(e){return e!==null&&e>=0}function m7(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function g7(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const a0=e=>{let{rects:t,activeIndex:n,overIndex:o,index:i}=e;const a=i0(t,o,n),s=t[i],l=a[i];return!l||!s?null:{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}},Ya={scaleX:1,scaleY:1},s0=e=>{var t;let{activeIndex:n,activeNodeRect:o,index:i,rects:a,overIndex:s}=e;const l=(t=a[n])!=null?t:o;if(!l)return null;if(i===n){const u=a[s];return u?{x:0,y:n<s?u.top+u.height-(l.top+l.height):u.top-l.top,...Ya}:null}const c=I7(a,i,n);return i>n&&i<=s?{x:0,y:-l.height-c,...Ya}:i<n&&i>=s?{x:0,y:l.height+c,...Ya}:{x:0,y:0,...Ya}};function I7(e,t,n){const o=e[t],i=e[t-1],a=e[t+1];return o?n<t?i?o.top-(i.top+i.height):a?a.top-(o.top+o.height):0:a?a.top-(o.top+o.height):i?o.top-(i.top+i.height):0:0}const l0="Sortable",c0=_.createContext({activeIndex:-1,containerId:l0,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:a0,disabled:{draggable:!1,droppable:!1}});function u0(e){let{children:t,id:n,items:o,strategy:i=a0,disabled:a=!1}=e;const{active:s,dragOverlay:l,droppableRects:c,over:u,measureDroppableContainers:h}=u7(),f=va(l0,n),g=l.rect!==null,m=_.useMemo(()=>o.map(P=>typeof P=="object"&&"id"in P?P.id:P),[o]),C=s!=null,I=s?m.indexOf(s.id):-1,b=u?m.indexOf(u.id):-1,S=_.useRef(m),y=!m7(m,S.current),T=b!==-1&&I===-1||y,k=g7(a);wr(()=>{y&&C&&h(m)},[y,m,C,h]),_.useEffect(()=>{S.current=m},[m]);const A=_.useMemo(()=>({activeIndex:I,containerId:f,disabled:k,disableTransforms:T,items:m,overIndex:b,useDragOverlay:g,sortedRects:p7(m,c),strategy:i}),[I,f,k.draggable,k.droppable,T,m,b,c,g,i]);return _.createElement(c0.Provider,{value:A},t)}const C7=e=>{let{id:t,items:n,activeIndex:o,overIndex:i}=e;return i0(n,o,i).indexOf(t)},b7=e=>{let{containerId:t,isSorting:n,wasDragging:o,index:i,items:a,newIndex:s,previousItems:l,previousContainerId:c,transition:u}=e;return!u||!o||l!==a&&i===s?!1:n?!0:s!==i&&t===c},S7={duration:200,easing:"ease"},d0="transform",y7=ni.Transition.toString({property:d0,duration:0,easing:"linear"}),E7={roleDescription:"sortable"};function T7(e){let{disabled:t,index:n,node:o,rect:i}=e;const[a,s]=_.useState(null),l=_.useRef(n);return wr(()=>{if(!t&&n!==l.current&&o.current){const c=i.current;if(c){const u=hi(o.current,{ignoreTransform:!0}),h={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(h.x||h.y)&&s(h)}}n!==l.current&&(l.current=n)},[t,n,o,i]),_.useEffect(()=>{a&&s(null)},[a]),a}function h0(e){let{animateLayoutChanges:t=b7,attributes:n,disabled:o,data:i,getNewIndex:a=C7,id:s,strategy:l,resizeObserverConfig:c,transition:u=S7}=e;const{items:h,containerId:f,activeIndex:g,disabled:m,disableTransforms:C,sortedRects:I,overIndex:b,useDragOverlay:S,strategy:y}=_.useContext(c0),T=x7(o,m),k=h.indexOf(s),A=_.useMemo(()=>({sortable:{containerId:f,index:k,items:h},...i}),[f,i,k,h]),P=_.useMemo(()=>h.slice(h.indexOf(s)),[h,s]),{rect:E,node:M,isOver:B,setNodeRef:w}=f7({id:s,data:A,disabled:T.droppable,resizeObserverConfig:{updateMeasurementsFor:P,...c}}),{active:V,activatorEvent:H,activeNodeRect:X,attributes:W,setNodeRef:se,listeners:Ce,isDragging:be,over:ve,setActivatorNodeRef:Le,transform:x}=c7({id:s,data:A,attributes:{...E7,...n},disabled:T.draggable}),ne=Gb(w,se),pe=!!V,L=pe&&!C&&Ga(g)&&Ga(b),Z=!S&&be,le=Z&&L?x:null,Ie=L?le??(l??y)({rects:I,activeNodeRect:X,activeIndex:g,overIndex:b,index:k}):null,Se=Ga(g)&&Ga(b)?a({id:s,items:h,activeIndex:g,overIndex:b}):k,ae=V==null?void 0:V.id,ce=_.useRef({activeId:ae,items:h,newIndex:Se,containerId:f}),Ue=h!==ce.current.items,Q=t({active:V,containerId:f,isDragging:be,isSorting:pe,id:s,index:k,items:h,newIndex:ce.current.newIndex,previousItems:ce.current.items,previousContainerId:ce.current.containerId,transition:u,wasDragging:ce.current.activeId!=null}),Ve=T7({disabled:!Q,index:k,node:M,rect:E});return _.useEffect(()=>{pe&&ce.current.newIndex!==Se&&(ce.current.newIndex=Se),f!==ce.current.containerId&&(ce.current.containerId=f),h!==ce.current.items&&(ce.current.items=h)},[pe,Se,f,h]),_.useEffect(()=>{if(ae===ce.current.activeId)return;if(ae!=null&&ce.current.activeId==null){ce.current.activeId=ae;return}const we=setTimeout(()=>{ce.current.activeId=ae},50);return()=>clearTimeout(we)},[ae]),{active:V,activeIndex:g,attributes:W,data:A,rect:E,index:k,newIndex:Se,items:h,isOver:B,isSorting:pe,isDragging:be,listeners:Ce,node:M,overIndex:b,over:ve,setNodeRef:ne,setActivatorNodeRef:Le,setDroppableNodeRef:w,setDraggableNodeRef:se,transform:Ve??Ie,transition:Te()};function Te(){if(Ve||Ue&&ce.current.newIndex===k)return y7;if(!(Z&&!Uu(H)||!u)&&(pe||Q))return ni.Transition.toString({...u,property:d0})}}function x7(e,t){var n,o;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(o=e==null?void 0:e.droppable)!=null?o:t.droppable}}Qe.Down,Qe.Right,Qe.Up,Qe.Left;function _7({product:e,children:t}){const{attributes:n,listeners:o,setNodeRef:i,transform:a,transition:s,isDragging:l}=h0({id:e.id}),c={transform:ni.Transform.toString(a),transition:s};return d.jsx("div",{ref:i,style:c,className:`${Ot.product} ${l?Ot.dragging:""}`,...n,...o,children:t})}const f0=e=>{const{isActiveItems:t,setIsActiveItems:n,items:o,setItems:i,other:a,title:s,subtitle:l,editable:c=!0,draggable:u=!1,withImage:h=!1,deletable:f=!0,addable:g=!0,itemsType:m,itemsPlaceholder:C="",itemsOptions:I,hasRangeSelector:b=!1,rangeSelectorOptions:S,modalOptions:y,addableOptions:T={},limit:k,autoInterval:A,tip:P,aspectRatio:E,setAspectRatio:M}=e,[B,w]=_.useState(null),[V,H]=_.useState({top:0,left:0}),[X,W]=_.useState(null),se=_.useRef(null),[Ce,be]=_.useState(!1),ve=$p(zp(ol,{activationConstraint:{distance:5}}));_.useEffect(()=>{if(B){const Z=[...o].map(le=>le.id===B.id?B:le);i(Z)}},[B]),_.useEffect(()=>{if(se.current&&X){const Z=se.current.getBoundingClientRect().height,le=window.innerHeight;let ee=X.top;ee+Z>le+window.scrollY-200&&(ee=le+window.scrollY-Z-200),ee<0&&(ee=10),H({top:ee-30,left:X.left})}},[se.current,X]);const Le=(Z,le)=>{Z.stopPropagation();const ee=Z.target.getBoundingClientRect();W({top:ee.top+window.scrollY-70,left:ee.left-(g?30:65)}),w(le),be(!0)},x=(Z,le)=>{const ee=[...o],Ie={...Z,id:Math.random().toString(36).substr(2,9)};ee.splice(le+1,0,Ie),i(ee)};function ne(Z){if(h)return Z?d.jsx("img",{src:`https://imagedelivery.net/${Z[0]}/w=1000`,alt:"image",width:16,height:16}):d.jsx(ie,{name:"Image",width:16,height:16,fill:"#757575"})}const pe=Z=>{const{active:le,over:ee}=Z;if(ee&&le.id!==ee.id){const Ie=o.findIndex(ae=>ae.id===le.id),Se=o.findIndex(ae=>ae.id===ee.id);if(Ie!==-1&&Se!==-1){const ae=[...o],[ce]=ae.splice(Ie,1);ae.splice(Se,0,ce),i(ae)}}},L=(Z,le)=>{var Ie,Se;const ee=d.jsxs(d.Fragment,{children:[u&&d.jsx("div",{children:d.jsx(ie,{name:"DotsSixVertical",hoverable:!0,width:20,height:20})}),m==="select"&&I&&d.jsx(ao,{onChange:ae=>{const ce=[...o],Ue=I.find(Ve=>Ve.name["en-US"]===ae);if(!Ue)return;const Q=ce.map(Ve=>Ve.id===Z.id?{...Ue,name:{"en-US":ae}}:Ve);w({...Z,name:{"en-US":ae}}),i([...Q])},value:Z.name["en-US"],options:I.filter(ae=>!o.find(ce=>ce.name["en-US"]===ae.name["en-US"])).map(ae=>ae.name["en-US"]),leftAddonOptions:I.filter(ae=>{var ce;return((ce=ae.images)==null?void 0:ce.length)>0}).map(ae=>({value:ae.name["en-US"],addon:ne(ae.images)}))}),m==="selectInfiniteList"&&I&&d.jsx(Lu,{onChange:ae=>{const ce=[...o],Ue=I.find(Ve=>Ve.name["en-US"]===ae);if(!Ue)return;const Q=ce.map(Ve=>Ve.id===Z.id?{...Ue,name:{"en-US":ae}}:Ve);w({...Z,name:{"en-US":ae}}),i([...Q])},value:Z.name["en-US"],options:I.filter(ae=>!o.find(ce=>ce.name["en-US"]===ae.name["en-US"])).map(ae=>ae.name["en-US"]),leftAddonOptions:I.filter(ae=>{var ce;return((ce=ae.images)==null?void 0:ce.length)>0}).map(ae=>({value:ae.name["en-US"],addon:ne(ae.images)}))}),m==="input"&&d.jsx(nr,{onChange:ae=>{const Ue=[...o].map(Q=>Q.id===Z.id?{...Z,name:{"en-US":ae}}:Q);i([...Ue])},value:Z.name["en-US"],placeholder:C}),m==="image"&&d.jsx(xa,{onChange:ae=>{const Ue=[...o].map(Q=>Q.id===Z.id?{...Z,images:ae}:Q);i([...Ue])},activeImage:(Ie=o.find(ae=>ae.id===Z.id))!=null&&Ie.images?(Se=o.find(ae=>ae.id===Z.id))==null?void 0:Se.images[0]:void 0,tip:P}),d.jsxs("div",{className:Ot.buttons,children:[k&&k>o.length&&g&&d.jsx("div",{className:Ot.deleteButton,children:d.jsx(ie,{name:"Copy",hoverable:!0,width:20,height:20,onClick:()=>{x(Z,le)}})}),c&&d.jsx("div",{className:Ot.deleteButton,children:d.jsx(ie,{name:"Sliders",hoverable:!0,width:20,height:20,onClick:ae=>{Le(ae,Z)}})}),f&&d.jsx("div",{className:Ot.deleteButton,children:d.jsx(ie,{name:"Trash",hoverable:!0,width:20,height:20,fill:"#C12A2A",onClick:()=>i(o.filter(ae=>ae.id!==Z.id))})})]})]});return u?d.jsx(_7,{product:Z,index:le,children:ee},Z.id):d.jsx("div",{className:Ot.product,children:ee},Z.id)};return d.jsxs("div",{className:Ot.productsBlock,children:[(s||t!==void 0)&&d.jsxs("div",{className:Ot.top,children:[s&&d.jsx("h3",{className:Ot.title,children:s}),t!==void 0&&d.jsx(vr,{current:t,onChange:Z=>n==null?void 0:n(Z)})]}),B&&c&&y&&Ce&&d.jsx(zb,{ref:se,activeItem:B,setActiveItem:w,popupPosition:V,modalOptions:y,setIsOpenModal:be}),(t===void 0||t)&&b&&S&&d.jsx(p0,{...S}),(t===void 0||t)&&d.jsxs("div",{className:Ot.products,children:[l&&d.jsx("h5",{className:Ot.subtitle,children:l}),u?d.jsx(o0,{sensors:ve,onDragEnd:pe,children:d.jsx(u0,{items:o.map(Z=>Z.id),strategy:s0,children:o.map((Z,le)=>L(Z,le))})}):o.map((Z,le)=>L(Z,le)),g&&d.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"center"},children:d.jsx(ti,{withoutHover:!0,className:ge(Ot.button,{[Ot.disabled]:!!(k&&k<=o.length||o.length===(I==null?void 0:I.length))}),size:"s",disabled:!!(k&&k<=o.length||o.length===(I==null?void 0:I.length)),onClick:()=>{const Z=[...o];let le=null;if(I){for(let ee=0;ee<I.length;ee++)if(!o.find(Ie=>Ie.id===I[ee].id)){le=I[ee];break}}m==="select"&&I?Z.push({name:le?le.name:I[0].name,id:(le==null?void 0:le.id)||I[0].id,...T}):m==="input"?Z.push({name:{"en-US":""},id:pt(),...T}):Z.push({name:{"en-US":`Image ${o.length+1}`},id:pt(),...T}),i(Z)},style:{width:"fit-content"},children:d.jsxs("div",{className:Ot.addButton,children:[d.jsx("span",{children:"Add Option"}),d.jsx(ie,{name:"Plus",width:16,height:16})]})})})]}),E&&M&&d.jsx(ao,{value:E,label:"Aspect Ratio",options:Object.keys(Zf),onChange:Z=>M(Z),leftAddonOptions:Xf}),(t===void 0||t)&&a!==void 0&&d.jsx(Hp,{otherTitle:"Other",items:a}),(t===void 0||t)&&A!==void 0&&d.jsx(nr,{label:A.title||"Auto scroll interval",type:"number",value:String(A.autoInterval),onChange:Z=>A.setAutoInterval(Number(Z)),min:.1,max:100,style:{width:"100%"},postfix:"sec."})]})},w7="_title_cx65i_1",v7="_subtitle_cx65i_5",A7="_productsBlock_cx65i_14",k7="_top_cx65i_26",L7="_products_cx65i_14",N7="_product_cx65i_14",P7="_button_cx65i_80",R7="_disabled_cx65i_91",D7="_buttons_cx65i_118",O7="_modal_cx65i_125",M7="_link_cx65i_146",B7="_modalOptions_cx65i_152",F7="_addButton_cx65i_165",H7="_deleteButton_cx65i_180",j7="_closeIcon_cx65i_192",Co={title:w7,subtitle:v7,productsBlock:A7,top:k7,products:L7,product:N7,button:P7,disabled:R7,buttons:D7,modal:O7,link:M7,modalOptions:B7,addButton:F7,deleteButton:H7,closeIcon:j7},U7=_.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:o,popupPosition:i,modalOptions:a,setIsOpenModal:s}=e;return si(t,()=>{o(null),s(!1)}),d.jsxs("div",{ref:t,className:Co.modal,onClick:l=>{l.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Co.top,children:[d.jsx("h3",{className:Co.title,children:n.name["en-US"]}),d.jsx("div",{className:Co.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>{o(null),s(!1)}})})]}),d.jsx("div",{className:Co.modalOptions,children:a.map(l=>{if(l.type==="image")return d.jsx(xa,{label:"Put up an attractive image",activeImage:n[l.field],onChange:c=>{const u={...n,[l.field]:c};o(u)}},String(l.field));if(l.type==="text")return d.jsx(Bu,{isActiveText:!0,typesText:n[l.field.type],setTypesText:c=>{const u={...n,[l.field.type]:c};o(u)},alignText:n[l.field.alignText],setAlignText:c=>{const u={...n,[l.field.alignText]:c};o(u)},text:n[l.field.text]["en-US"]||"",setText:c=>{const u={...n,[l.field.text]:{"en-US":c}};o(u)},typeFont:n[l.field.type],setTypeFont:c=>{const u={...n,[l.field.type]:c};o(u)},subtitle:l.label});if(l.type==="input")return d.jsx(nr,{onChange:c=>{const u={...n,[l.field]:{"en-US":c}};o(u)},value:n[l.field]["en-US"]||"",label:l.label,placeholder:l.placeholder});if(l.type==="inputNumber")return d.jsx(nr,{onChange:c=>{const u={...n,[l.field]:c};o(u)},value:n[l.field]||"",label:l.label,placeholder:l.placeholder,type:"number"});if(l.type==="inputSwitch")return d.jsxs("div",{className:Co.link,children:[d.jsx(nr,{onChange:c=>{const u={...n,[l.field.text]:{"en-US":c}};o(u)},value:n[l.field.text]["en-US"]||"",label:l.inputLabel,placeholder:l.placeholder}),d.jsx(vr,{current:!!n[l.field.switch]||!1,label:l.switchLabel,onChange:c=>{const u={...n,[l.field.switch]:c};o(u)}})]});if(l.type==="select")return d.jsx(ao,{options:l.itemsOptions,onChange:c=>{const u={...n,[l.field]:c};o(u)},label:l.label,value:n[l.field]||"String",leftAddonOptions:l.leftAddonOptions})})})]})}),V7="_title_hvj8m_1",z7="_buttonsBlock_hvj8m_15",$7="_top_hvj8m_26",W7="_modal_hvj8m_120",q7="_options_hvj8m_146",G7="_closeIcon_hvj8m_154",Go={title:V7,buttonsBlock:z7,top:$7,modal:W7,options:q7,closeIcon:G7},Y7=_.forwardRef((e,t)=>{var T;const{activeButton:n,setActiveButton:o,popupPosition:i,editableLink:a=!0}=e,[s,l]=_.useState(n.typesText),[c,u]=_.useState(n.destination),[h,f]=_.useState(n.page),[g,m]=_.useState(n.link||""),[C,I]=_.useState(n.text||{"en-US":""}),[b,S]=_.useState(n.openInNewTab),{pages:y}=zr();return si(t,()=>{o(null)}),_.useEffect(()=>{o({...n,...{text:C,link:g,destination:c,typesText:s,page:h,openInNewTab:b}})},[s,c,g,C,h,b]),d.jsxs("div",{className:Go.modal,onClick:k=>{k.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},ref:t,children:[d.jsxs("div",{className:Go.top,children:[d.jsx("h3",{className:Go.title,children:n.type}),d.jsx("div",{className:Go.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>o(null)})})]}),d.jsxs("div",{className:Go.options,children:[a&&d.jsx(ao,{label:"Destination",onChange:k=>u(k),options:["Go to Page","Open Link"].filter(k=>k!==c),value:c}),a&&(c==="Go to Page"?d.jsx(ao,{label:"Go to",onChange:k=>{if(k==="Sign In")f("/customer-dash");else if(y){for(const A in y)if(y[A].name===k){f(y[A].path);break}}else f(Yf[0])},options:y?[...Object.values(y).filter(k=>k.path!==h).map(k=>k.name),"Sign In"]:["Sign In"],value:y?h==="/customer-dash"?"Sign In":((T=Object.values(y).find(k=>k.path===h))==null?void 0:T.name)||"Home":"Home"}):d.jsx(nr,{onChange:k=>m(k),value:g,placeholder:"https://",label:"Link"})),a&&d.jsx(vr,{current:n.openInNewTab,label:"Open in new tab",onChange:k=>S(k)}),d.jsx(Ou,{onChange:k=>I({"en-US":k}),value:C["en-US"],label:"Text"}),d.jsx(Du,{typesText:s,setTypesText:l})]})]})}),Z7="_wrapper_m18qi_1",X7="_subtitle_m18qi_7",K7="_content_m18qi_14",Q7="_range_m18qi_22",J7="_track_m18qi_27",ey="_progress_m18qi_36",ty="_dots_m18qi_46",ny="_dot_m18qi_46",ry="_active_m18qi_65",oy="_input_m18qi_77",iy="_countBlock_m18qi_91",ay="_controls_m18qi_107",sy="_button_m18qi_113",mn={wrapper:Z7,subtitle:X7,content:K7,range:Q7,track:J7,progress:ey,dots:ty,dot:ny,active:ry,input:oy,countBlock:iy,controls:ay,button:sy},p0=e=>{const{label:t,min:n=1,max:o=4,step:i=1,count:a,setCount:s}=e,[l,c]=_.useState(!1),u=Array.from({length:(o-n)/i+1}),h=(a-n)/(o-n)*100,f=()=>{a<o&&s(a+i)},g=()=>{a>n&&s(a-i)},m=C=>{const I=n+C*i;s(I)};return d.jsxs("div",{className:mn.wrapper,children:[t&&d.jsx("h5",{className:mn.subtitle,children:t}),d.jsxs("div",{className:mn.content,children:[d.jsxs("div",{className:mn.range,children:[d.jsx("div",{className:mn.track}),d.jsx("div",{className:mn.progress,style:{width:`${h}%`}}),d.jsx("div",{className:mn.dots,children:u.map((C,I)=>{const b=I<=(a-n)/i;return d.jsx("button",{onClick:()=>m(I),className:ge(mn.dot,{[mn.active]:b,[mn.inactive]:!b,[mn.dragging]:l}),"aria-label":`Set value to ${n+I*i}`},I)})}),d.jsx("input",{type:"range",min:n,max:o,step:i,value:a,onChange:C=>s(Number(C.target.value)),onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onTouchStart:()=>c(!0),onTouchEnd:()=>c(!1),className:mn.input})]}),d.jsxs("div",{className:mn.countBlock,children:[d.jsx(nr,{type:"number",min:n,max:o,paddingless:!0,onChange:C=>{const I=Number(C);I>o?s(o):I<n?s(n):s(I)},value:String(a)}),d.jsxs("div",{className:mn.controls,children:[d.jsx("button",{onClick:f,disabled:a>=o,className:mn.button,"aria-label":"Increment count",children:d.jsx(ie,{name:"CaretUp",width:15,height:15})}),d.jsx("button",{onClick:g,disabled:a<=n,className:mn.button,"aria-label":"Decrement count",children:d.jsx(ie,{name:"CaretDown",width:15,height:15})})]})]})]})]})},ly="_title_11jyy_1",cy="_subtitle_11jyy_5",uy="_productsBlock_11jyy_14",dy="_top_11jyy_26",hy="_products_11jyy_14",fy="_product_11jyy_14",py="_button_11jyy_80",my="_buttons_11jyy_114",gy="_modal_11jyy_121",Iy="_modalOptions_11jyy_148",Cy="_addButton_11jyy_161",by="_deleteButton_11jyy_176",Sy="_closeIcon_11jyy_188",Vi={title:ly,subtitle:cy,productsBlock:uy,top:dy,products:hy,product:fy,button:py,buttons:my,modal:gy,modalOptions:Iy,addButton:Cy,deleteButton:by,closeIcon:Sy},m0=({render:e,block:t})=>e(t),g0=({settings:e,pageContext:t})=>{const{footer:n}=Hr(),{settings:o}=Sa(),{pageContext:i}=zr(),{footer:a}=Lo();if(!a||!n)return null;const s=new a;return Object.keys(n).map(l=>{s[l]=n[l]}),s.renderBlock((e==null?void 0:e.blockSettings)||o,t||i)},I0=({settings:e,pageContext:t})=>{const{header:n}=Hr(),{settings:o}=Sa(),{pageContext:i}=zr(),{header:a}=Lo();if(!a||!n)return null;const s=new a;return Object.keys(n).map(l=>{s[l]=n[l]}),s.renderBlock((e==null?void 0:e.blockSettings)||o,t||i)},C0=({settings:e,pageContext:t})=>{const{announcement:n}=Hr(),{settings:o}=Sa(),{pageContext:i}=zr(),{announcement:a}=Lo();if(!a||!n)return null;const s=new a;return Object.keys(n).map(l=>{s[l]=n[l]}),s.renderBlock(e||o,t||i)},yy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,i=localStorage.getItem("shopPassword");if(t&&!i)return null;const a=`${n.storeApi}/v2/shops/${o}/pages/${e}`+(t?`?password=${i}`:"");try{return await lt({url:a,withToken:!0,method:"get"})}catch(s){if(ht.isAxiosError(s)&&s.response&&s.response.status===404)return null}},Ey="_wrapper_5w9s8_1",Ty={wrapper:Ey},Wc=e=>{const{error:t}=e;return d.jsx("div",{className:Ty.wrapper,children:t})},xy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.slApi}/v1/balance/top-up/${n}`;return await lt({url:o,method:"post",body:e,withToken:!1})},fi=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.customersApi}/v2/${n}/customers/${e}`;return await lt({url:o,withToken:!0,method:"get",typeToken:"customer"})},_y=()=>fi("dash/info"),wy=()=>fi("dash/dashboard/home"),vy=()=>fi("rewards"),Ay=()=>fi("balance"),ky=()=>fi("balance/top-up/settings"),Ly=()=>fi("referral-system"),qc=10,sl=async({url:e,PageNumber:t})=>{var l;const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.customersApi}/v2/${o}/${e}?PageNumber=${t}&PageSize=${qc}`,a=await lt({url:i,withToken:!0,method:"get",typeToken:"customer"}),s=Number((l=a.headers)==null?void 0:l["x-pagination-total"]);return{list:a.data,totalCount:s}},Wu=async(e,t="get",n)=>{const o=kt.getState().apiUrls,i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${o.slApi}/v1/orders/${i}/${e}`;return await lt({url:a,method:t,withToken:!0,body:n,typeToken:"customer"})},Ny=e=>Wu("","post",e),Py=({PageNumber:e})=>sl({url:"customers/orders",PageNumber:e}),Ry=e=>Wu(e),Dy=e=>Wu(e),Oy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.slApi}/v1/${n}/subscriptions`;return await lt({url:o,method:"post",withToken:!1,body:e})},My=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${o}/subscriptions/${e}/${t}`;return await lt({url:i,method:"get",withToken:!1})},By=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/${o}/subscriptions/${e}/${t}/upgrades`;return await lt({url:i,method:"get",withToken:!1})},Fy=async(e,t,n)=>{const o=kt.getState().apiUrls,i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${o.slApi}/v1/${i}/subscriptions/${e}/${t}/cancel`;return await lt({url:a,method:"post",withToken:!1,body:n})},Hy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${o}/subscriptions/${e}/change-gateway`;return await lt({url:i,method:"post",withToken:!1,body:{gateway:t}})},jy=({PageNumber:e})=>sl({url:"customers/subscriptions",PageNumber:e}),Uy=async({id:e,accessToken:t})=>await By(e,t),Vy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${o}/subscriptions/${e}/order`;return await lt({url:i,method:"post",withToken:!1,body:t})},zy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/public/${o}/tickets/${e}/${t}`;return await lt({url:i,method:"get",withToken:!1})},$y=async(e,t,n,o,i)=>{const a=kt.getState().apiUrls,s=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,l=`${a.slApi}/v1/public/${s}/tickets/${e}/${t}/answer`;return(await lt({url:l,method:"post",body:{message:n,recaptcha:o,tsId:i},withToken:!1})).data},Wy=({PageNumber:e})=>sl({url:"customers/tickets",PageNumber:e}),qy=({PageNumber:e})=>sl({url:"customers/balance/transactions",PageNumber:e}),b0=async e=>{const t=kt.getState().apiUrls,n=e.map(s=>["names",s]),o=new URLSearchParams(n),i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${t.slApi}/v2/gateways?shopDomain=${i}&${o.toString()}`;return await lt({url:a,method:"get",withToken:!1})},S0=async({email:e,recaptcha:t,tsId:n})=>{const o=kt.getState().apiUrls,i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${o.customersApi}/v2/${i}/auth/otp/request`;return(await lt({url:a,body:{email:e,recaptcha:t,tsId:n},method:"post",withToken:!1})).data?{requested:!0,email:e}:{requested:!1,email:void 0}},y0=async({email:e,otp:t,recaptcha:n,tsId:o})=>{const i=kt.getState().apiUrls,a=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,s=`${i.customersApi}/v2/${a}/auth/otp/login`,{data:l}=await lt({url:s,method:"post",body:{email:e,otp:t,recaptcha:n,tsId:o},withToken:!1});return uo.getState().setToken(l.data),localStorage.setItem("token",l.data),{token:l.data,requested:!1}},Gc=async()=>{uo.getState().setToken(""),localStorage.removeItem("token")},Gy=Object.freeze(Object.defineProperty({__proto__:null,loginCustomer:y0,logoutCustomer:Gc,requestOtp:S0},Symbol.toStringTag,{value:"Module"})),Yy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.slApi}/v2/coupons/${n}/validate`;return await lt({url:o,method:"post",body:e,withToken:!1})},Zy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.customersApi}/v2/${n}/customers/referral-system/signup`;return(await lt({url:o,withToken:!0,method:"post",body:e,typeToken:"customer"})).data},Xy=async()=>{const{data:e}=await Ly();return e},Ky=async e=>{const{data:t}=await Zy(e);return t};async function Qy(e){const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.customersApi}/v2/${n}/customers/rewards/${e.id}/claim`;return lt({url:o,method:"post",withToken:!0,typeToken:"customer"})}const Wl="Balance",Jy={Number:"NUMBER",Textarea:"LARGE_TEXT",Checkbox:"CHECK_BOX",Hidden:"HIDDEN"},e8={recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:""},B1=(e,t)=>{var u;const{productId:n,productVariantId:o,quantity:i,chargeType:a}=t,s=e.find(h=>h.id===n);if(!s)throw new Error("Product does not exist");const l=s.variants.find(h=>h.id===o);if(!l)throw new Error("Variant does not exist");if(a==="RECURRING"&&!l.subscriptionSettings)throw new Error("Variant does not have subscription settings");if(i!==void 0&&((u=l.quantity)!=null&&u.available)&&l.quantity.available<i)throw new Error("Not enough quantity available");const c=Br.getState().cart;if(c.parts.length>0){const h=e.find(g=>g.id===c.parts[0].productId),f=h==null?void 0:h.variants.find(g=>g.id===c.parts[0].productVariantId);if(f&&l.price.currency!==f.price.currency)throw new Error("Product have different currency")}return l},t8=(e,t)=>{if(!e.volumeDiscounts||e.volumeDiscounts.length===0)return 0;const n=e.volumeDiscounts.filter(i=>t>=i.amount);return n.length===0?0:n.reduce((i,a)=>a.amount>i.amount?a:i).percentage},n8=(e,t)=>{let n=0,o=0;return e.forEach(i=>{var g,m;const a=t.find(C=>(C==null?void 0:C.id)===i.productId),s=a==null?void 0:a.variants.find(C=>C.id===i.productVariantId);if(!s)return;const{gateway:l}=Br.getState().cart,c=(s==null?void 0:s.gateways)||[],u=c.some(C=>C.name===l&&C.overrodePrice)?(g=c.find(C=>C.name===l))==null?void 0:g.overrodePrice:null;let h=0,f=0;if(i.chargeType==="ONE_TIME"?(h=(u==null?void 0:u.amount)||(s==null?void 0:s.price.amount)||0,f=h*i.quantity):f=s!=null&&s.subscriptionSettings?s.subscriptionSettings.price.amount+(((m=s.subscriptionSettings.entryFee)==null?void 0:m.amount)||0):0,n+=f,i.chargeType==="ONE_TIME"){const C=t8(s,i.quantity),I=f*(1-C/100);o+=I}else o+=f}),{total:n,totalWithVolumeDiscounts:o}},r8=(e,t)=>({isRequired:t.some(o=>{var a;const i=e.find(s=>(s==null?void 0:s.id)===o.productId);return(a=i==null?void 0:i.variants.find(s=>s.id===o.productVariantId))==null?void 0:a.discordSettings.isRequired}),isEnabled:t.some(o=>{var a;const i=e.find(s=>(s==null?void 0:s.id)===o.productId);return(a=i==null?void 0:i.variants.find(s=>s.id===o.productVariantId))==null?void 0:a.discordSettings.isEnabled})}),F1=e=>new Set(e.gateways.map(t=>t.name)),H1={availableGateways:[],requiresSignInGateways:[]},j1=(e,t)=>{var a;if(t.length===0)return H1;const n=(a=t[0])==null?void 0:a.variants[0];if(!n)return H1;const o=F1(n);for(const s of e){const l=t.find(h=>h.id===s.productId);if(!l)continue;const c=l.variants.find(h=>h.id===s.productVariantId);if(!c)continue;const u=F1(c);for(const h of o)u.has(h)||o.delete(h)}return!localStorage.getItem("token")&&o.has(Wl)?(o.delete(Wl),{availableGateways:[...o],requiresSignInGateways:[Wl]}):{availableGateways:[...o],requiresSignInGateways:[]}},o8=(e,t)=>{if(e.length===0)return[];const o=e.map(a=>{const s=t.find(c=>c.id===a.productId),l=s==null?void 0:s.variants.find(c=>c.id===a.productVariantId);return(l==null?void 0:l.customFields)??[]}).flat().reduce((a,s)=>{const l=a[s.name];return l?(s.required&&!l.required&&(a[s.name]={...s,value:s.defaultValue}),a):(a[s.name]={...s,value:s.defaultValue},a)},{});return Object.values(o).map(a=>({...a,value:""}))},i8=(e,t)=>{const n=t.find(i=>i.id===e.productId),o=n==null?void 0:n.variants.find(i=>i.id===e.productVariantId);return e.chargeType==="RECURRING"?!!(o!=null&&o.subscriptionSettings):!1},a8=()=>{const{cart:e,products:t,coupon:n,pending:o,applyCouponPending:i,customerEmail:a,setCart:s,setProducts:l,setCoupon:c,setPending:u,setApplyCouponPending:h}=Br(),f=async I=>{var E;h(!0);const{cart:b}=Br.getState(),{gateway:S,parts:y}=b,{notifications:T,setNotifications:k}=cn.getState();S||(h(!1),k([...T,{message:"There should be a gateway for the coupon",status:"error",id:pt()}]));const A=y.map(M=>M.productId);let P=null;try{const{data:M}=await Yy({gateway:S,couponName:I,productIds:A});P=M.data,k([...T,{message:"Coupon is applied",status:"success",id:pt()}]),s(B=>({...B,coupon:I}))}catch(M){const B=M;k([...T,{message:`Coupon is not applied: ${B.message}`,status:"error",id:pt()}]),s(w=>({...w,coupon:null})),c(null),h(!1)}if(h(!1),(E=P==null?void 0:P.restrictToProductIds)!=null&&E.length&&!A.every(M=>{var B;return(B=P==null?void 0:P.restrictToProductIds)==null?void 0:B.includes(M)}))throw new Error("Coupon can't be applied to such products");return c(P),P},C={reset(){s({...e8})},addProducts:I=>{const b=Br.getState().products,S=I.filter(y=>!b.some(T=>T.id===y.id));l([...b,...S])},addProductToCart:I=>{const b=Br.getState().cart;try{B1(t,I)}catch(y){throw new Error(y)}const S=b.parts.find(y=>y.productId===I.productId&&y.productVariantId===I.productVariantId&&y.chargeType===I.chargeType);if(S)return C.updateQuantityOfProduct({...S,quantity:(S.quantity||1)+(I.quantity||1),chargeType:I.chargeType});if(b.parts.length&&j1([...b.parts,I],t).availableGateways.length===0)throw new Error("No common payment gateways available");s({...b,parts:[...b.parts,I]}),b.coupon&&f(b.coupon)},removeProduct({productId:I,productVariantId:b}){s(S=>({...S,parts:S.parts.filter(y=>y.productId!==I||y.productVariantId!==b)})),e.coupon&&f(e.coupon)},getPossibleGateways(){return j1(e.parts,t)},removeCoupon(){c(null)},getDiscordSettings(){return r8(t,e.parts)},updateQuantityOfProduct(I){B1(t,I),s(b=>({...b,parts:b.parts.map(S=>S.productId===I.productId&&S.productVariantId===I.productVariantId?{...S,quantity:I.quantity,chargeType:I.chargeType}:S)})),e.coupon&&f(e.coupon)},getTotalAndDiscount(){const{coupon:I}=Br.getState(),{total:b,totalWithVolumeDiscounts:S}=n8(e.parts,t);let y;const T=S;return I&&I.discount?!I.isFixed&&I.discount===100?y=0:y=I.isFixed?Math.max(0,T-I.discount):T*(1-I.discount/100):S!==b&&(y=S),{total:b,totalWithVolumeDiscounts:S!==b?S:void 0,totalWithDiscount:y}},setGateway(I){s(S=>({...S,gateway:I}));const{isAntistock:b}=mt.getState();e.coupon&&!b&&f(e.coupon)},setPaymentMethod(I){s(b=>({...b,paymentMethod:I}))},async submitCart(I){u(!0);const{cart:b}=Br.getState(),{discordInfo:S}=Op.getState();let y;if(b.parts&&a&&i8(b.parts[0],t))try{const{data:T}=await Oy({...b,partOrder:b.parts[0],referralCode:localStorage.getItem("referralCode"),discordSocialConnectId:S!=null&&S.authorized?S.id:null,customerEmail:a,recaptcha:I,customFields:{...b.customFields},tsId:so()});y=T.data}catch(T){console.error(T)}else try{const{data:T}=await Ny({...b,referralCode:localStorage.getItem("referralCode"),recaptcha:I,customFields:{...b.customFields},tsId:so(),discordSocialConnectId:S!=null&&S.authorized?S.id:null});y=T.data}catch(T){const k=T,{notifications:A,setNotifications:P}=cn.getState();P([...A,{message:`Failed to create order: ${k.message}`,status:"error",id:pt()}])}if(u(!1),y)return y;throw new Error("Failed to create order")},setDiscordSocialConnectId(I){s(b=>({...b,discordSocialConnectId:I}))},setCustomFields(I){s(b=>({...b,customFields:{...I}}))}};return _.useEffect(()=>{s(I=>({...I,customerEmail:a??""}))},[a,s]),{cart:e,products:t,coupon:n,pending:o,applyCouponPending:i,applyCoupon:f,...C}},ll=()=>{const{notifications:e,setNotifications:t}=cn();return n=>{navigator.clipboard.writeText(n),t([...e,{status:"success",message:"Successfully copied",id:pt()}])}};function E0(e,t=!0){if(!e||typeof e!="string")return"";if(/<[a-z][\s\S]*>/i.test(e))return e;const o=e.split(" "),i=20;if(t){let a="",s=[];return o.forEach(l=>{l.length>i?(s.length>0&&(a+=`<span style="hyphens: manual">${s.join(" ")} </span>`,s=[]),a+=`<span style="hyphens: auto" lang="en">${l} </span>`):s.push(l)}),s.length>0&&(a+=`<span style="hyphens: manual">${s.join(" ")}</span>`),a}else{const a=[];let s=[],l=0;return o.forEach(c=>{c.length>i?(s.length>0&&(a.push(d.jsxs("span",{style:{hyphens:"manual"},children:[s.join(" ")," "]},l++)),s=[]),a.push(d.jsxs("span",{style:{hyphens:"auto"},lang:"en",children:[c," "]},l++))):s.push(c)}),s.length>0&&a.push(d.jsx("span",{style:{hyphens:"manual"},children:s.join(" ")},l++)),a}}const s8=_.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:o,popupPosition:i,setIsOpenModal:a,itemsOptions:s}=e,l=s.find(c=>c.id===n.listingId);return si(t,()=>{o(null),a(!1)}),l?d.jsxs("div",{className:Vi.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Vi.top,children:[d.jsx("h3",{dangerouslySetInnerHTML:{__html:E0(l.productData.name)}}),d.jsx("div",{className:Vi.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{a(!1),o(null)}})})]}),d.jsx("div",{className:Vi.modalOptions,children:d.jsx(xa,{label:"Put up an attractive image",activeImage:l.productData.images.length>0?l.productData.images[0].cfId:n.image?n.image:void 0,onChange:c=>{const u={...n,image:c[0]};o(u)}})})]}):null}),l8="_wrapper_ipyfg_1",c8="_label_ipyfg_9",u8="_input_ipyfg_18",d8="_disabled_ipyfg_31",h8="_paddingless_ipyfg_36",f8="_content_ipyfg_47",p8="_contentBorder_ipyfg_60",m8="_contentField_ipyfg_65",g8="_contentIsAntistock_ipyfg_69",I8="_borderless_ipyfg_74",C8="_rightIcon_ipyfg_79",b8="_leftIcon_ipyfg_87",S8="_requiredStar_ipyfg_94",xn={wrapper:l8,label:c8,input:u8,disabled:d8,paddingless:h8,content:f8,contentBorder:p8,contentField:m8,contentIsAntistock:g8,borderless:I8,rightIcon:C8,leftIcon:b8,requiredStar:S8},Ro=e=>{const{onChange:t,style:n,label:o,value:i,type:a="text",min:s,max:l,placeholder:c,disabled:u=!1,required:h=!1,regex:f,paddingless:g=!1,borderless:m=!1,editable:C=!1,isSearch:I=!1,centered:b=!1,maxSymbols:S,rightIcon:y,onFocus:T,leftIcon:k}=e,{themeSettings:A}=No(),{isAntistock:P}=mt(),{inputs:E}=A,[M,B]=_.useState(!1);function w(H){if(Number(H)<0)return String(s);const X=H.replace(/[^\d-]/g,"");return Number(X)<0?String(s):X}function V(H){return!h||!f?!0:new RegExp(f).test(H)}return d.jsxs("div",{className:xn.wrapper,children:[o&&d.jsxs("label",{className:xn.label,htmlFor:o,style:{color:P?"var(--text-secondary)":void 0},children:[o,h&&d.jsx("span",{className:xn.requiredStar,children:"*"})]}),d.jsxs("div",{className:ge(xn.content,{[xn.contentBorder]:!P&&E.border.active,[xn.contentField]:E.field.active,[xn.disabled]:u,[xn.contentIsAntistock]:P}),style:{...n},children:[k&&d.jsx("div",{className:xn.leftIcon,children:k}),d.jsx("input",{maxLength:S,id:o,type:a||"text",onChange:H=>{if(a==="text")t(H.target.value);else{const X=w(H.target.value);t(X)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(xn.input,{[xn.required]:M&&h&&!V(i),[xn.paddingless]:g,[xn.borderless]:m}),min:a==="number"?s:void 0,max:a==="number"?l:void 0,onFocus:()=>{T==null||T(),B(!0)},disabled:u,style:{textAlign:b?"center":"left",padding:I?`7px ${Number(E.general.size)+20}px 7px ${k?35:11}px`:`7px ${y?35:11}px 7px ${k?35:11}px`}}),y&&d.jsx("div",{className:xn.rightIcon,children:y}),I&&d.jsx("div",{className:xn.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:E.general.size,height:E.general.size})}),C&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})},y8="_button_1v5k3_1",E8="_primary_1v5k3_20",T8="_primaryHovered_1v5k3_30",x8="_secondary_1v5k3_35",_8="_secondaryHovered_1v5k3_45",w8="_secondaryAntistock_1v5k3_50",v8="_tertiary_1v5k3_61",A8="_special_1v5k3_71",k8="_tertiaryHovered_1v5k3_75",L8="_content_1v5k3_80",N8="_isAntistock_1v5k3_88",ar={button:y8,primary:E8,primaryHovered:T8,secondary:x8,secondaryHovered:_8,secondaryAntistock:w8,tertiary:v8,special:A8,tertiaryHovered:k8,content:L8,isAntistock:N8},P8=()=>typeof document<"u"?document.documentElement.hasAttribute("translated")||document.documentElement.querySelector(".translated-ltr, .translated-rtl")!==null||document.head.querySelector('meta[name="_translator"]')!==null:!1,T0=({children:e,className:t,as:n="span",...o})=>{const[i,a]=_.useState(!1);return _.useEffect(()=>{typeof window<"u"&&a(P8())},[]),i?d.jsx(n,{className:t,...o,"data-stable-text":e,dangerouslySetInnerHTML:{__html:""}}):d.jsx(n,{className:t,...o,children:e})},_t=e=>{const{children:t,onClick:n,style:o,className:i,disabled:a=!1,type:s="Primary",dangerouslySetInnerHTML:l}=e,{themeSettings:c}=No(),{isAntistock:u}=mt(),h=I=>typeof I=="string"?d.jsx(T0,{children:I}):I,f={onClick:n,disabled:a,style:o,className:ge(ar.button,i,{[ar.primary]:s==="Primary",[ar.secondary]:s==="Secondary"&&!u,[ar.secondaryAntistock]:s==="Secondary"&&u,[ar.tertiary]:s==="Tertiary",[ar.primaryHovered]:s==="Primary"&&!a&&c.buttons.primary.hover&&!u,[ar.secondaryHovered]:s==="Secondary"&&!a&&c.buttons.secondary.hover&&!u,[ar.tertiaryHovered]:s==="Tertiary"&&!a&&c.buttons.tertiary.hover&&!u,[ar.isAntistock]:u})};if(s==="Special")return d.jsx("button",{...f,className:ar.special,...l?{dangerouslySetInnerHTML:l}:{children:h(t)}});const g=s.toLowerCase(),m=c.buttons[g],C=s==="Tertiary"?d.jsxs("div",{className:ar.content,children:[h(t),d.jsx(ie,{name:"ArrowRight",fill:"var(--text-tertiary)",width:20,height:20})]}):h(t);return d.jsx("button",{...f,style:{...o,textAlign:m.alignment},...l?{dangerouslySetInnerHTML:l}:{children:C}})},R8="_modal_1iz94_1",D8="_padding_1iz94_17",O8="_content_1iz94_21",M8="_close_1iz94_42",Za={modal:R8,padding:D8,content:O8,close:M8},cl=e=>{const{close:t,children:n,withAnimation:o=!0,hasPadding:i=!0}=e,{isOpen:a,setIsOpen:s}=$r(),l=()=>{s(!1),o?setTimeout(()=>{t(!1),s(!0)},300):(t(!1),s(!0))};return _.useEffect(()=>{const c=u=>{u.key==="Escape"&&l()};return document.addEventListener("keydown",c),()=>{document.removeEventListener("keydown",c)}},[]),To.createPortal(d.jsx("div",{className:ge(Za.modal,{[Za.padding]:i}),onClick:l,children:o?d.jsx("div",{className:ge(Za.content,{[Za.close]:!a}),children:n}):d.jsx(d.Fragment,{children:n})}),document.body)},B8="_loader_1kbu3_1",F8="_loaderAntistock_1kbu3_18",U1={loader:B8,loaderAntistock:F8},qn=e=>{const{isAntistock:t}=mt();return t?d.jsx("span",{className:U1.loaderAntistock,style:{width:"15px",height:"15px",borderWidth:"2px"}}):d.jsx("div",{className:U1.loader,...e})},H8="_container_6vcrl_1",j8="_wrapper_6vcrl_5",V1={container:H8,wrapper:j8};class U8{constructor(){Ei(this,"observer",null);Ei(this,"callbacks",new Map);Ei(this,"handleWindowResize",()=>{this.callbacks.forEach((t,n)=>{const o=n.getBoundingClientRect().width;t.forEach(i=>i(o))})});this.observer=new ResizeObserver(t=>{var n;for(const o of t){const i=o.contentRect.width,a=o.target;this.callbacks.has(a)&&((n=this.callbacks.get(a))==null||n.forEach(s=>s(i)))}}),window.addEventListener("resize",this.handleWindowResize)}observe(t,n){var i;if(!this.observer)return;this.callbacks.has(t)||(this.callbacks.set(t,[]),this.observer.observe(t)),(this.callbacks.get(t)||[]).includes(n)||(i=this.callbacks.get(t))==null||i.push(n)}unobserve(t,n){var o;if(!(!this.observer||!this.callbacks.has(t))){if(n){const i=this.callbacks.get(t)||[];this.callbacks.set(t,i.filter(a=>a!==n))}(o=this.callbacks.get(t))!=null&&o.length||(this.callbacks.delete(t),this.observer.unobserve(t))}}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callbacks.clear(),window.removeEventListener("resize",this.handleWindowResize)}}const z1=new U8;function x0(e){const[t,n]=_.useState("desktop");return _.useEffect(()=>{const o=e.current;if(!o)return;const i=l=>l>=1081?"desktop":l>=720?"tablet":"mobile",a=l=>{const c=i(l);n(c)};z1.observe(o,a);const s=o.getBoundingClientRect().width;return a(s),()=>{z1.unobserve(o,a)}},[e]),t}const Xa=16,_0=({children:e,padding:t,style:n,notPadding:o=!1,maxWidth:i="var(--max-width-store)"})=>{const a=_.useRef(null),s=x0(a);return d.jsx("div",{className:V1.container,ref:a,style:n,children:d.jsx("div",{className:V1.wrapper,style:{maxWidth:i,paddingTop:s==="desktop"?t==null?void 0:t.top:o?0:Xa,paddingBottom:s==="desktop"?t==null?void 0:t.bottom:o?0:Xa,paddingLeft:s==="desktop"?t==null?void 0:t.left:o?0:Xa,paddingRight:s==="desktop"?t==null?void 0:t.right:o?0:Xa,...n},children:e(s)})})},V8="_wrapper_d9z4o_1",z8="_label_d9z4o_10",$8="_contentBorder_d9z4o_19",W8="_textarea_d9z4o_23",q8="_contentField_d9z4o_35",G8="_antistock_d9z4o_49",Y8="_length_d9z4o_58",Gr={wrapper:V8,label:z8,contentBorder:$8,textarea:W8,contentField:q8,antistock:G8,length:Y8},Z8=e=>{const{onChange:t,label:n,value:o,maxLength:i,placeholder:a="Type something...",type:s="text",required:l=!1}=e,[c,u]=_.useState(o.length),{themeSettings:h}=No(),{isAntistock:f}=mt();function g(m){return s==="number"?m.replace(/[^\d\n]+/g,""):m}return d.jsxs("div",{className:Gr.wrapper,children:[n&&d.jsxs("label",{className:Gr.label,htmlFor:n,style:{color:f?"var(--text-secondary)":void 0},children:[n,l&&d.jsx("span",{className:Gr.requiredStar,children:"*"})]}),d.jsx("textarea",{id:n,value:o,onChange:m=>{const C=g(m.target.value);u(C.length),t(C)},placeholder:a,className:ge(Gr.textarea,{[Gr.contentBorder]:h.inputs.border.active,[Gr.contentField]:h.inputs.field.active,[Gr.antistock]:f}),maxLength:i}),i&&d.jsxs("div",{className:Gr.length,children:[c,"/",i]})]})},X8="_wrapper_ty9h3_2",K8="_label_ty9h3_9",Q8="_top_ty9h3_17",J8="_select_ty9h3_23",eE="_borderFocused_ty9h3_42",tE="_input_ty9h3_49",nE="_icon_ty9h3_59",rE="_rotate_ty9h3_64",oE="_content_ty9h3_68",iE="_options_ty9h3_72",aE="_filteredOptions_ty9h3_93",sE="_open_ty9h3_97",lE="_option_ty9h3_72",cE="_focused_ty9h3_115",uE="_addon_ty9h3_119",dE="_value_ty9h3_130",hE="_postfix_ty9h3_135",fE="_leftAddon_ty9h3_139",Jt={wrapper:X8,label:K8,top:Q8,select:J8,borderFocused:eE,input:tE,icon:nE,rotate:rE,content:oE,options:iE,filteredOptions:aE,open:sE,option:lE,focused:cE,addon:uE,value:dE,postfix:hE,leftAddon:fE};function pE(e,t){_.useEffect(()=>{function n(o){!e.current||e.current.contains(o.target)||t(o)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const w0=e=>{var M,B;const{onChange:t,label:n,value:o,options:i,style:a,switcher:s,postfixs:l,leftAddonOptions:c}=e,[u,h]=_.useState(!1),[f,g]=_.useState(""),[m,C]=_.useState(null),[I,b]=_.useState(!1),S=_.useRef(null);pE(S,()=>h(!1));function y(w){g(""),t(w),h(!1),C(null)}function T(w,V){return w?w.length>V+3?`${w.slice(0,V)}...`:w:""}function k(w){if(!u){(w.key==="Enter"||w.key==="ArrowDown")&&h(!0);return}const V=E;w.key==="ArrowDown"&&(w.preventDefault(),C(H=>H===null||H===V.length-1?0:H+1)),w.key==="ArrowUp"&&(w.preventDefault(),C(H=>H===null||H===0?V.length-1:H-1)),w.key==="Enter"&&m!==null&&(w.preventDefault(),y(V[m])),w.key==="Escape"&&h(!1)}const A=_.useRef(null),P=_.useMemo(()=>new Wr(i,{threshold:.4,minMatchCharLength:2}),[i]),E=_.useMemo(()=>I&&f.trim()!==""?P.search(f).map(w=>w.item):i,[f,i,I,P]);return d.jsxs("div",{className:Jt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Jt.top,children:[d.jsx("label",{className:Jt.label,htmlFor:n,children:n}),s&&d.jsx(vr,{current:s.value,onChange:s.onChange})]}),d.jsxs("label",{className:Jt.content,ref:S,children:[d.jsxs("div",{className:ge(Jt.select,{[Jt.borderFocused]:u}),onKeyDown:k,onClick:w=>{w.stopPropagation(),h(V=>!V),b(!1)},ref:A,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:Jt.addon,children:(M=c.find(w=>w.value===o))==null?void 0:M.addon}),d.jsx("div",{className:Jt.input,id:"md",children:T(o,15)}),d.jsx("div",{className:ge(Jt.icon,{[Jt.rotate]:u}),onClick:w=>{w.stopPropagation(),h(V=>!V)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16,fill:"var(--text-primary)"})})]}),d.jsxs("div",{className:ge(Jt.options,{[Jt.open]:u}),style:{top:((B=A.current)==null?void 0:B.clientHeight)+10},children:[i.length>6&&d.jsx(Ro,{type:"text",value:f,placeholder:"Search...",onChange:w=>{g(w),b(!0)},isSearch:!0}),d.jsxs("div",{className:Jt.filteredOptions,children:[E.map((w,V)=>{var H;return d.jsxs("div",{className:ge(Jt.option,{[Jt.focused]:V===m}),onClick:()=>{y(w),h(!1)},id:"md",children:[c&&c.length>0&&d.jsx("div",{className:Jt.leftAddon,children:(H=c.find(X=>X.value===w))==null?void 0:H.addon}),d.jsx("span",{className:Jt.value,id:"md",children:T(w,20)}),l&&d.jsx("span",{className:Jt.postfix,id:"md",children:l[V]})]},w)}),E.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})},mE="_wrapper_2vleg_1",gE="_label_2vleg_9",IE="_options_2vleg_17",CE="_radioLabel_2vleg_23",bE="_radio_2vleg_23",SE="_custom_2vleg_38",yE="_option_2vleg_17",mo={wrapper:mE,label:gE,options:IE,radioLabel:CE,radio:bE,custom:SE,option:yE},EE=e=>{const{defaultValue:t,options:n,onChange:o,label:i,flexDirection:a="row"}=e,[s,l]=_.useState(t),c=u=>{const h=u.target.value;l(h),o(h)};return d.jsxs("div",{className:mo.wrapper,children:[d.jsx("span",{className:mo.label,children:i}),d.jsx("div",{className:mo.options,style:{flexDirection:a},children:n.map(u=>d.jsxs("label",{className:mo.radioLabel,children:[d.jsx("input",{type:"radio",value:u.value,checked:s===u.value,onChange:c,className:mo.radio}),d.jsx("span",{className:mo.custom}),d.jsx("span",{className:mo.option,children:u.label})]},u.value))})]})},TE="_content_eonwv_1",xE="_main_eonwv_12",_E="_block_eonwv_16",wE="_active_eonwv_22",vE="_name_eonwv_32",AE="_addSection_eonwv_109",kE="_addSectionTop_eonwv_117",Yr={content:TE,main:xE,block:_E,active:wE,name:vE,addSection:AE,addSectionTop:kE},LE="_sidebar_xhqpt_1",NE="_content_xhqpt_14",PE="_button_xhqpt_24",RE="_moveButton_xhqpt_40",DE="_deleteButton_xhqpt_49",br={sidebar:LE,content:NE,button:PE,moveButton:RE,deleteButton:DE},OE=()=>{var A;const{activeBlock:e,setActiveBlock:t}=Xs(),{blocks:n,removeBlock:o,moveBlock:i,duplicateBlock:a,setCurrentBlock:s}=Hr(),{currentPage:l,pages:c}=zr(),{setTitle:u,setDescription:h,setOnConfirm:f}=Qf(),{setActiveBlock:g}=Lo(),m=(A=c==null?void 0:c[l])==null?void 0:A.path,C=m?n[m]:null,I=(C==null?void 0:C.order)||[],b=I.indexOf(e.id),S=P=>{P.stopPropagation(),b>0&&m&&(i(m,b,b-1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},y=P=>{P.stopPropagation(),b<I.length-1&&m&&(i(m,b,b+1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},T=P=>{P.stopPropagation(),m&&a(m,e.id)},k=()=>{m&&(o(m,e.id),s(null),g(null),t({id:null,neededScroll:!1}))};return d.jsx("div",{className:br.sidebar,children:d.jsxs("div",{className:br.content,children:[d.jsx("button",{onClick:S,className:ge(br.button,br.moveButton),disabled:b===0,children:d.jsx(ie,{name:"ArrowUp"})}),d.jsx("button",{onClick:y,className:ge(br.button,br.moveButton),disabled:b===I.length-1,children:d.jsx(ie,{name:"ArrowDown"})}),d.jsx("button",{onClick:T,className:ge(br.button,br.moveButton),children:d.jsx(ie,{name:"Copy"})}),d.jsx("button",{className:ge(br.button,br.deleteButton),onClick:P=>{P.stopPropagation(),u("Remove Block"),h(`Are you sure you want to delete ${(C==null?void 0:C.data[e.id].name)||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),f(k)},children:d.jsx(ie,{name:"Trash",hoverable:!0,fill:"#C12A2A"})})]})})};function zi(e,t){if(!t||!t[e])return"unknown name";const n=new t[e];return!n.blockSettings||!n.blockSettings.displayName?"unknown name":n.blockSettings.displayName}const ME=_.memo(({scrollableRef:e})=>{const{setActiveBlock:t,activeBlock:n,zoomLevel:o}=Xs(),{blocks:i,sourceBlocks:a}=Lo(),{blocks:s,setCurrentBlock:l,currentBlock:c,setPositionBlock:u,announcement:h}=Hr(),{settings:f}=Sa(),{currentPage:g,pages:m,pageContext:C}=zr(),{activeBlock:I,setActiveBlock:b}=No(),{setError:S}=Kf(),{setActiveBlock:y}=Lo(),T=_.useRef(n.id),k=_.useRef({});_.useEffect(()=>{if(n.id&&n.neededScroll&&k.current[n.id]){const E=k.current[n.id];if(E&&e.current){const M=E.offsetTop;e.current.scrollTo({top:M-30,behavior:"smooth"})}}},[n,e]);const A=Vr();_.useEffect(()=>{T.current=n.id},[n.id]);const P=E=>{if(!E||!E.name)return S({message:"Block or block.name is undefined.",failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Wc,{error:"Block or block.name is undefined."});if(!i||!i[E.name])return S({message:'Block "${block.name}" does not exist in blocks.',failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Wc,{error:`Block "${E.name}" does not exist in blocks.`});const M=new i[E.name];return E.value&&Object.assign(M,E.value),M.renderBlock(f,C)};return d.jsxs("div",{onClick:E=>{E.stopPropagation()},className:Yr.content,style:{width:"100%",height:"100%",zoom:`${o}`},ref:e,children:[h&&d.jsx(C0,{}),d.jsx(I0,{}),d.jsx("div",{className:Yr.main,children:m&&m[g]&&s[m[g].path]&&s[m[g].path].data&&s[m[g].path].order.map(E=>d.jsxs("div",{ref:M=>k.current[E]=M,onClick:M=>{M.stopPropagation(),y(null),I&&b(null),t({id:E,neededScroll:!0}),setTimeout(()=>{t({id:E,neededScroll:!1})},100),l(null),c?setTimeout(()=>{l(n.id)},100):l(n.id)},onMouseEnter:M=>{M.stopPropagation(),n.neededScroll||t({id:E,neededScroll:!1})},onMouseLeave:M=>{M.stopPropagation(),n.neededScroll||t({id:null,neededScroll:!1})},className:ge(Yr.block),children:[(n.id===E||c===E)&&d.jsx("div",{className:Yr.active}),(n.id===E||c===E)&&d.jsx("div",{className:Yr.name,children:zi(s[m[g].path].data[E].name,a)}),(n.id===E||c===E)&&zi(s[m[g].path].data[E].name,a)!=="unknown name"&&d.jsx(OE,{}),(n.id===E||c===E)&&zi(s[m[g].path].data[E].name,a)!=="unknown name"&&d.jsx("div",{className:Yr.addSection,children:d.jsx(ti,{onClick:M=>{M.stopPropagation(),u(E,!0),l(null),t({id:null,neededScroll:!1}),y(null),A("/admin/builder/add")},children:"Add Section"})}),(n.id===E||c===E)&&zi(s[m[g].path].data[E].name,a)!=="unknown name"&&d.jsx("div",{className:ge(Yr.addSection,Yr.addSectionTop),children:d.jsx(ti,{onClick:M=>{M.stopPropagation(),u(E,!1),l(null),t({id:null,neededScroll:!1}),y(null),A("/admin/builder/add")},children:"Add Section"})}),i&&d.jsx(m0,{render:P,block:s[m[g].path].data[E]})]},E))}),d.jsx(g0,{})]})}),BE="_statItem_fzeec_1",FE="_content_fzeec_44",HE="_withChildren_fzeec_50",jE="_info_fzeec_56",UE="_iconWrapper_fzeec_68",VE="_text_fzeec_78",zE="_title_fzeec_84",$E="_value_fzeec_88",WE="_emptyImage_fzeec_94",qE="_image_fzeec_11",GE="_imageTitle_fzeec_112",YE="_emptyImageText_fzeec_122",ZE="_hoverable_fzeec_147",Wt={statItem:BE,content:FE,withChildren:HE,info:jE,iconWrapper:UE,text:VE,title:zE,value:$E,emptyImage:WE,image:qE,imageTitle:GE,emptyImageText:YE,hoverable:ZE},Zn=({iconName:e,title:t,value:n,image:o,imageName:i,children:a,className:s,logo:l,customLogo:c,productSlug:u})=>{const h=Vr();return d.jsxs("div",{className:`${Wt.statItem} ${s}`,children:[o&&o!=="empty"&&d.jsxs("div",{style:{position:"relative"},onClick:()=>{u&&h(`/${u}`)},children:[d.jsx("div",{style:{background:"#000000"},children:d.jsx("img",{src:o,alt:i,className:ge(Wt.image,Wt.emptyImage,{[Wt.hoverable]:u})})}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:ge(Wt.title,Wt.imageTitle),id:"h5",children:i})})]}),o==="empty"&&d.jsx("div",{style:{background:"#000000"},children:d.jsxs("div",{className:ge(Wt.emptyImage,{[Wt.hoverable]:u}),onClick:()=>{u&&h(`/${u}`)},children:[d.jsx(ie,{name:"Image",width:64,height:64,fill:"var(--text-secondary)"}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:Wt.title,id:"h5",children:i||"No Product"})})]})}),d.jsxs("div",{className:`${Wt.content} ${a?Wt.withChildren:""}`,children:[d.jsxs("div",{className:Wt.info,children:[c?d.jsx("div",{style:{color:"var(--text-action)"},children:c}):l?d.jsx("div",{className:Wt.iconWrapper,children:d.jsx("img",{src:l,width:28,height:28,style:{objectFit:"contain"}})}):d.jsx(ie,{name:e||"File",className:Wt.iconWrapper,width:28,height:28,fill:"var(--text-action)"}),d.jsxs("div",{className:Wt.text,children:[d.jsx("div",{className:Wt.title,id:"h5",children:t}),d.jsx("div",{className:Wt.value,id:"h5-bold",children:n})]})]}),a]})]})},XE="_card_8m277_2",KE="_mobile_8m277_15",QE="_email_8m277_19",JE="_balance_8m277_25",eT="_sidebar_8m277_32",tT="_sidebarAntistock_8m277_33",nT="_navList_8m277_68",rT="_navListAntistock_8m277_86",oT="_navItem_8m277_91",iT="_antistockNavItem_8m277_92",aT="_activeNavItem_8m277_116",sT="_antistockActiveNavItem_8m277_121",lT="_antistockInactiveNavItem_8m277_139",cT="_inactiveNavItem_8m277_140",uT="_logoutNavItem_8m277_150",dT="_logoutNavItemAntistock_8m277_159",hT="_logoutNavItemContentAntistock_8m277_173",fT="_iconWrapper_8m277_185",pT="_skeleton_8m277_190",yt={card:XE,mobile:KE,email:QE,balance:JE,sidebar:eT,sidebarAntistock:tT,navList:nT,navListAntistock:rT,navItem:oT,antistockNavItem:iT,activeNavItem:aT,antistockActiveNavItem:sT,antistockInactiveNavItem:lT,inactiveNavItem:cT,logoutNavItem:uT,logoutNavItemAntistock:dT,logoutNavItemContentAntistock:hT,iconWrapper:fT,skeleton:pT},mT=({email:e,balance:t,adaptiveStyles:n})=>d.jsxs("div",{className:ge(yt.card,{[yt.mobile]:n!=="desktop"}),children:[d.jsx("div",{className:yt.email,id:"h5",children:e}),d.jsxs("div",{className:yt.balance,id:"md",children:["Balance: ",t]})]}),gT=[[Ut.Home,"House"],[Ut.Orders,"CurrencyCircleDollar"],[Ut.Rewards,"Medal"],[Ut.Balance,"Wallet"],[Ut.Subscriptions,"CalendarCheck"],[Ut.Tickets,"Question"]],IT=[[Hi.Home,"House"],[Hi.Orders,"CurrencyCircleDollar"],[Hi.Balance,"Wallet"],[Hi.Tickets,"Question"]],$1=({children:e,className:t="",onClick:n})=>{const{isAntistock:o}=mt();return d.jsx("button",{type:"button",className:ge(o?yt.antistockNavItem:yt.navItem,t),onClick:n,children:e})},CT=({adaptiveStyles:e})=>{const{route:t,setRoute:n}=rr(),{isAntistock:o}=mt(),i=o?IT:gT;return d.jsxs("div",{className:ge(yt.navList,{[yt.mobile]:e!=="desktop",[yt.navListAntistock]:o}),children:[i.map(([a,s])=>{const l=a===t;return d.jsxs($1,{onClick:()=>n(a),className:ge(l?o?yt.antistockActiveNavItem:yt.activeNavItem:o?yt.antistockInactiveNavItem:yt.inactiveNavItem),children:[o?null:d.jsx("div",{className:yt.iconWrapper,children:d.jsx(ie,{name:s})}),d.jsx("div",{children:a})]},a)}),d.jsx($1,{className:ge(yt.logoutNavItem,{[yt.logoutNavItemAntistock]:o}),onClick:()=>{o||Gc()},children:o?d.jsxs("div",{className:ge({[yt.logoutNavItemContentAntistock]:o}),onClick:()=>{Gc()},children:[d.jsx("div",{className:yt.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:yt.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]})})]})};var Ge=(e=>(e.New="NEW",e.Pending="PENDING",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Expired="EXPIRED",e.FullDeliveryFailure="FULL_DELIVERY_FAILURE",e.PartiallyDelivered="PARTIALLY_DELIVERED",e.Refunded="REFUNDED",e.Failed="FAILED",e))(Ge||{}),at=(e=>(e.Text="TEXT",e.Serial="SERIALS",e.Ebook="EBOOK",e.Link="LINK",e.Download="DOWNLOAD",e.Discord="DISCORD",e.Custom="CUSTOM",e))(at||{}),Or=(e=>(e.RIAL="RIAL",e.AWAITING_PAYMENT="AWAITING_PAYMENT",e.ACTIVE="ACTIVE",e.PAST_DUE="PAST_DUE",e.CANCELLED="CANCELLED",e.EXPIRED="EXPIRED",e.CHANGED_GATEWAY="CHANGED_GATEWAY",e.REPLACED="REPLACED",e))(Or||{});const Aa=async e=>(await b0(e)).data,v0=async()=>{var n;const t=(await ky()).data;if(t.isEnabled){const o=(n=t==null?void 0:t.topUpSettings)==null?void 0:n.gateways;o&&Aa(o)}return t},qu=async()=>{const t=(await Ay()).data;return{amount:t.realBalance+t.manualBalance,currency:t.currency}};var $i=(e=>(e.ADDED="ADDED",e.REMOVED="REMOVED",e))($i||{}),it=(e=>(e.NotPaid="NOT_PAID",e.Pending="PENDING",e.Paid="PAID",e.Expired="EXPIRED",e.Cancelled="CANCELLED",e))(it||{}),ha=(e=>(e.Balance="BALANCE",e.Product="PRODUCT",e))(ha||{}),zn=(e=>(e.Spend="SPEND_AMOUNT",e.Order="ORDER_COUNT",e.Referral="REFER_FRIEND",e.Review="LEAVE_REVIEW",e))(zn||{});const bT=async()=>(await vy()).data;/*! *****************************************************************************
|
|
73
|
+
`},iS={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function aS(e){let{announcements:t=iS,container:n,hiddenTextDescribedById:o,screenReaderInstructions:i=oS}=e;const{announce:a,announcement:s}=tS(),l=Aa("DndLiveRegion"),[c,u]=_.useState(!1);if(_.useEffect(()=>{u(!0)},[]),nS(_.useMemo(()=>({onDragStart(f){let{active:g}=f;a(t.onDragStart({active:g}))},onDragMove(f){let{active:g,over:m}=f;t.onDragMove&&a(t.onDragMove({active:g,over:m}))},onDragOver(f){let{active:g,over:m}=f;a(t.onDragOver({active:g,over:m}))},onDragEnd(f){let{active:g,over:m}=f;a(t.onDragEnd({active:g,over:m}))},onDragCancel(f){let{active:g,over:m}=f;a(t.onDragCancel({active:g,over:m}))}}),[a,t])),!c)return null;const h=_.createElement(_.Fragment,null,_.createElement(Jb,{id:o,value:i.draggable}),_.createElement(eS,{id:l,announcement:s}));return n?To.createPortal(h,n):h}var qt;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(qt||(qt={}));function Ms(){}function zp(e,t){return _.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function $p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _.useMemo(()=>[...t].filter(o=>o!=null),[...t])}const dr=Object.freeze({x:0,y:0});function sS(e,t){let{data:{value:n}}=e,{data:{value:o}}=t;return o-n}function lS(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function cS(e,t){const n=Math.max(t.top,e.top),o=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),s=i-o,l=a-n;if(o<i&&n<a){const c=t.width*t.height,u=e.width*e.height,h=s*l,f=h/(c+u-h);return Number(f.toFixed(4))}return 0}const uS=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:o}=e;const i=[];for(const a of o){const{id:s}=a,l=n.get(s);if(l){const c=cS(l,t);c>0&&i.push({id:s,data:{droppableContainer:a,value:c}})}}return i.sort(sS)};function dS(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Wp(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:dr}function hS(e){return function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return i.reduce((s,l)=>({...s,top:s.top+e*l.y,bottom:s.bottom+e*l.y,left:s.left+e*l.x,right:s.right+e*l.x}),{...n})}}const fS=hS(1);function pS(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function mS(e,t,n){const o=pS(t);if(!o)return e;const{scaleX:i,scaleY:a,x:s,y:l}=o,c=e.left-s-(1-i)*parseFloat(n),u=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),h=i?e.width/i:e.width,f=a?e.height/a:e.height;return{width:h,height:f,top:u,right:c+h,bottom:u+f,left:c}}const gS={ignoreTransform:!1};function hi(e,t){t===void 0&&(t=gS);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:h}=On(e).getComputedStyle(e);u&&(n=mS(n,u,h))}const{top:o,left:i,width:a,height:s,bottom:l,right:c}=n;return{top:o,left:i,width:a,height:s,bottom:l,right:c}}function v1(e){return hi(e,{ignoreTransform:!0})}function IS(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function CS(e,t){return t===void 0&&(t=On(e).getComputedStyle(e)),t.position==="fixed"}function bS(e,t){t===void 0&&(t=On(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?n.test(a):!1})}function Vu(e,t){const n=[];function o(i){if(t!=null&&n.length>=t||!i)return n;if(Hu(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!wa(i)||jp(i)||n.includes(i))return n;const a=On(e).getComputedStyle(i);return i!==e&&bS(i,a)&&n.push(i),CS(i,a)?n:o(i.parentNode)}return e?o(e):n}function qp(e){const[t]=Vu(e,1);return t??null}function Vl(e){return!rl||!e?null:ui(e)?e:Fu(e)?Hu(e)||e===di(e).scrollingElement?window:wa(e)?e:null:null}function Gp(e){return ui(e)?e.scrollX:e.scrollLeft}function Yp(e){return ui(e)?e.scrollY:e.scrollTop}function Vc(e){return{x:Gp(e),y:Yp(e)}}var nn;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(nn||(nn={}));function Zp(e){return!rl||!e?!1:e===document.scrollingElement}function Xp(e){const t={x:0,y:0},n=Zp(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},o={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,s=e.scrollTop>=o.y,l=e.scrollLeft>=o.x;return{isTop:i,isLeft:a,isBottom:s,isRight:l,maxScroll:o,minScroll:t}}const SS={x:.2,y:.2};function yS(e,t,n,o,i){let{top:a,left:s,right:l,bottom:c}=n;o===void 0&&(o=10),i===void 0&&(i=SS);const{isTop:u,isBottom:h,isLeft:f,isRight:g}=Xp(e),m={x:0,y:0},C={x:0,y:0},I={height:t.height*i.y,width:t.width*i.x};return!u&&a<=t.top+I.height?(m.y=nn.Backward,C.y=o*Math.abs((t.top+I.height-a)/I.height)):!h&&c>=t.bottom-I.height&&(m.y=nn.Forward,C.y=o*Math.abs((t.bottom-I.height-c)/I.height)),!g&&l>=t.right-I.width?(m.x=nn.Forward,C.x=o*Math.abs((t.right-I.width-l)/I.width)):!f&&s<=t.left+I.width&&(m.x=nn.Backward,C.x=o*Math.abs((t.left+I.width-s)/I.width)),{direction:m,speed:C}}function ES(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:s}=window;return{top:0,left:0,right:a,bottom:s,width:a,height:s}}const{top:t,left:n,right:o,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:o,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Kp(e){return e.reduce((t,n)=>Ko(t,Vc(n)),dr)}function TS(e){return e.reduce((t,n)=>t+Gp(n),0)}function xS(e){return e.reduce((t,n)=>t+Yp(n),0)}function _S(e,t){if(t===void 0&&(t=hi),!e)return;const{top:n,left:o,bottom:i,right:a}=t(e);qp(e)&&(i<=0||a<=0||n>=window.innerHeight||o>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const wS=[["x",["left","right"],TS],["y",["top","bottom"],xS]];class zu{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const o=Vu(n),i=Kp(o);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,s,l]of wS)for(const c of s)Object.defineProperty(this,c,{get:()=>{const u=l(o),h=i[a]-u;return this.rect[c]+h},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Yi{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var o;return(o=this.target)==null?void 0:o.removeEventListener(...n)})},this.target=t}add(t,n,o){var i;(i=this.target)==null||i.addEventListener(t,n,o),this.listeners.push([t,n,o])}}function vS(e){const{EventTarget:t}=On(e);return e instanceof t?e:di(e)}function zl(e,t){const n=Math.abs(e.x),o=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+o**2)>t:"x"in t&&"y"in t?n>t.x&&o>t.y:"x"in t?n>t.x:"y"in t?o>t.y:!1}var Kn;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Kn||(Kn={}));function A1(e){e.preventDefault()}function AS(e){e.stopPropagation()}var Qe;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Qe||(Qe={}));const Qp={start:[Qe.Space,Qe.Enter],cancel:[Qe.Esc],end:[Qe.Space,Qe.Enter,Qe.Tab]},kS=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Qe.Right:return{...n,x:n.x+25};case Qe.Left:return{...n,x:n.x-25};case Qe.Down:return{...n,y:n.y+25};case Qe.Up:return{...n,y:n.y-25}}};class Jp{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Yi(di(n)),this.windowListeners=new Yi(On(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Kn.Resize,this.handleCancel),this.windowListeners.add(Kn.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Kn.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,o=t.node.current;o&&_S(o),n(dr)}handleKeyDown(t){if(Uu(t)){const{active:n,context:o,options:i}=this.props,{keyboardCodes:a=Qp,coordinateGetter:s=kS,scrollBehavior:l="smooth"}=i,{code:c}=t;if(a.end.includes(c)){this.handleEnd(t);return}if(a.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=o.current,h=u?{x:u.left,y:u.top}:dr;this.referenceCoordinates||(this.referenceCoordinates=h);const f=s(t,{active:n,context:o.current,currentCoordinates:h});if(f){const g=Os(f,h),m={x:0,y:0},{scrollableAncestors:C}=o.current;for(const I of C){const b=t.code,{isTop:S,isRight:y,isLeft:T,isBottom:k,maxScroll:A,minScroll:P}=Xp(I),E=ES(I),M={x:Math.min(b===Qe.Right?E.right-E.width/2:E.right,Math.max(b===Qe.Right?E.left:E.left+E.width/2,f.x)),y:Math.min(b===Qe.Down?E.bottom-E.height/2:E.bottom,Math.max(b===Qe.Down?E.top:E.top+E.height/2,f.y))},B=b===Qe.Right&&!y||b===Qe.Left&&!T,w=b===Qe.Down&&!k||b===Qe.Up&&!S;if(B&&M.x!==f.x){const V=I.scrollLeft+g.x,H=b===Qe.Right&&V<=A.x||b===Qe.Left&&V>=P.x;if(H&&!g.y){I.scrollTo({left:V,behavior:l});return}H?m.x=I.scrollLeft-V:m.x=b===Qe.Right?I.scrollLeft-A.x:I.scrollLeft-P.x,m.x&&I.scrollBy({left:-m.x,behavior:l});break}else if(w&&M.y!==f.y){const V=I.scrollTop+g.y,H=b===Qe.Down&&V<=A.y||b===Qe.Up&&V>=P.y;if(H&&!g.x){I.scrollTo({top:V,behavior:l});return}H?m.y=I.scrollTop-V:m.y=b===Qe.Down?I.scrollTop-A.y:I.scrollTop-P.y,m.y&&I.scrollBy({top:-m.y,behavior:l});break}}this.handleMove(t,Ko(Os(f,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:o}=this.props;t.preventDefault(),o(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}Jp.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:o=Qp,onActivation:i}=t,{active:a}=n;const{code:s}=e.nativeEvent;if(o.start.includes(s)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function k1(e){return!!(e&&"distance"in e)}function L1(e){return!!(e&&"delay"in e)}class $u{constructor(t,n,o){var i;o===void 0&&(o=vS(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:a}=t,{target:s}=a;this.props=t,this.events=n,this.document=di(s),this.documentListeners=new Yi(this.document),this.listeners=new Yi(o),this.windowListeners=new Yi(On(s)),this.initialCoordinates=(i=Uc(a))!=null?i:dr,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:o}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(Kn.Resize,this.handleCancel),this.windowListeners.add(Kn.DragStart,A1),this.windowListeners.add(Kn.VisibilityChange,this.handleCancel),this.windowListeners.add(Kn.ContextMenu,A1),this.documentListeners.add(Kn.Keydown,this.handleKeydown),n){if(o!=null&&o({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(L1(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(k1(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:o,onPending:i}=this.props;i(o,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(Kn.Click,AS,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Kn.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:o,initialCoordinates:i,props:a}=this,{onMove:s,options:{activationConstraint:l}}=a;if(!i)return;const c=(n=Uc(t))!=null?n:dr,u=Os(i,c);if(!o&&l){if(k1(l)){if(l.tolerance!=null&&zl(u,l.tolerance))return this.handleCancel();if(zl(u,l.distance))return this.handleStart()}if(L1(l)&&zl(u,l.tolerance))return this.handleCancel();this.handlePending(l,u);return}t.cancelable&&t.preventDefault(),s(c)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Qe.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const LS={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ol extends $u{constructor(t){const{event:n}=t,o=di(n.target);super(t,LS,o)}}ol.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return!n.isPrimary||n.button!==0?!1:(o==null||o({event:n}),!0)}}];const NS={move:{name:"mousemove"},end:{name:"mouseup"}};var zc;(function(e){e[e.RightClick=2]="RightClick"})(zc||(zc={}));class PS extends $u{constructor(t){super(t,NS,di(t.event.target))}}PS.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;return n.button===zc.RightClick?!1:(o==null||o({event:n}),!0)}}];const $l={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class RS extends $u{constructor(t){super(t,$l)}static setup(){return window.addEventListener($l.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener($l.move.name,t)};function t(){}}}RS.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:o}=t;const{touches:i}=n;return i.length>1?!1:(o==null||o({event:n}),!0)}}];var Zi;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Zi||(Zi={}));var Bs;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Bs||(Bs={}));function DS(e){let{acceleration:t,activator:n=Zi.Pointer,canScroll:o,draggingRect:i,enabled:a,interval:s=5,order:l=Bs.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:h,delta:f,threshold:g}=e;const m=MS({delta:f,disabled:!a}),[C,I]=Yb(),b=_.useRef({x:0,y:0}),S=_.useRef({x:0,y:0}),y=_.useMemo(()=>{switch(n){case Zi.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Zi.DraggableRect:return i}},[n,i,c]),T=_.useRef(null),k=_.useCallback(()=>{const P=T.current;if(!P)return;const E=b.current.x*S.current.x,M=b.current.y*S.current.y;P.scrollBy(E,M)},[]),A=_.useMemo(()=>l===Bs.TreeOrder?[...u].reverse():u,[l,u]);_.useEffect(()=>{if(!a||!u.length||!y){I();return}for(const P of A){if((o==null?void 0:o(P))===!1)continue;const E=u.indexOf(P),M=h[E];if(!M)continue;const{direction:B,speed:w}=yS(P,M,y,t,g);for(const V of["x","y"])m[V][B[V]]||(w[V]=0,B[V]=0);if(w.x>0||w.y>0){I(),T.current=P,C(k,s),b.current=w,S.current=B;return}}b.current={x:0,y:0},S.current={x:0,y:0},I()},[t,k,o,I,a,s,JSON.stringify(y),JSON.stringify(m),C,u,A,h,JSON.stringify(g)])}const OS={x:{[nn.Backward]:!1,[nn.Forward]:!1},y:{[nn.Backward]:!1,[nn.Forward]:!1}};function MS(e){let{delta:t,disabled:n}=e;const o=jc(t);return va(i=>{if(n||!o||!i)return OS;const a={x:Math.sign(t.x-o.x),y:Math.sign(t.y-o.y)};return{x:{[nn.Backward]:i.x[nn.Backward]||a.x===-1,[nn.Forward]:i.x[nn.Forward]||a.x===1},y:{[nn.Backward]:i.y[nn.Backward]||a.y===-1,[nn.Forward]:i.y[nn.Forward]||a.y===1}}},[n,t,o])}function BS(e,t){const n=t!=null?e.get(t):void 0,o=n?n.node.current:null;return va(i=>{var a;return t==null?null:(a=o??i)!=null?a:null},[o,t])}function FS(e,t){return _.useMemo(()=>e.reduce((n,o)=>{const{sensor:i}=o,a=i.activators.map(s=>({eventName:s.eventName,handler:t(s.handler,o)}));return[...n,...a]},[]),[e,t])}var ha;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(ha||(ha={}));var $c;(function(e){e.Optimized="optimized"})($c||($c={}));const N1=new Map;function HS(e,t){let{dragging:n,dependencies:o,config:i}=t;const[a,s]=_.useState(null),{frequency:l,measure:c,strategy:u}=i,h=_.useRef(e),f=b(),g=da(f),m=_.useCallback(function(S){S===void 0&&(S=[]),!g.current&&s(y=>y===null?S:y.concat(S.filter(T=>!y.includes(T))))},[g]),C=_.useRef(null),I=va(S=>{if(f&&!n)return N1;if(!S||S===N1||h.current!==e||a!=null){const y=new Map;for(let T of e){if(!T)continue;if(a&&a.length>0&&!a.includes(T.id)&&T.rect.current){y.set(T.id,T.rect.current);continue}const k=T.node.current,A=k?new zu(c(k),k):null;T.rect.current=A,A&&y.set(T.id,A)}return y}return S},[e,a,n,f,c]);return _.useEffect(()=>{h.current=e},[e]),_.useEffect(()=>{f||m()},[n,f]),_.useEffect(()=>{a&&a.length>0&&s(null)},[JSON.stringify(a)]),_.useEffect(()=>{f||typeof l!="number"||C.current!==null||(C.current=setTimeout(()=>{m(),C.current=null},l))},[l,f,m,...o]),{droppableRects:I,measureDroppableContainers:m,measuringScheduled:a!=null};function b(){switch(u){case ha.Always:return!1;case ha.BeforeDragging:return n;default:return!n}}}function e0(e,t){return va(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function jS(e,t){return e0(e,t)}function US(e){let{callback:t,disabled:n}=e;const o=ju(t),i=_.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(o)},[o,n]);return _.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function il(e){let{callback:t,disabled:n}=e;const o=ju(t),i=_.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(o)},[n]);return _.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function VS(e){return new zu(hi(e),e)}function P1(e,t,n){t===void 0&&(t=VS);const[o,i]=_.useState(null);function a(){i(c=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const h=t(e);return JSON.stringify(c)===JSON.stringify(h)?c:h})}const s=US({callback(c){if(e)for(const u of c){const{type:h,target:f}=u;if(h==="childList"&&f instanceof HTMLElement&&f.contains(e)){a();break}}}}),l=il({callback:a});return wr(()=>{a(),e?(l==null||l.observe(e),s==null||s.observe(document.body,{childList:!0,subtree:!0})):(l==null||l.disconnect(),s==null||s.disconnect())},[e]),o}function zS(e){const t=e0(e);return Wp(e,t)}const R1=[];function $S(e){const t=_.useRef(e),n=va(o=>e?o&&o!==R1&&e&&t.current&&e.parentNode===t.current.parentNode?o:Vu(e):R1,[e]);return _.useEffect(()=>{t.current=e},[e]),n}function WS(e){const[t,n]=_.useState(null),o=_.useRef(e),i=_.useCallback(a=>{const s=Vl(a.target);s&&n(l=>l?(l.set(s,Vc(s)),new Map(l)):null)},[]);return _.useEffect(()=>{const a=o.current;if(e!==a){s(a);const l=e.map(c=>{const u=Vl(c);return u?(u.addEventListener("scroll",i,{passive:!0}),[u,Vc(u)]):null}).filter(c=>c!=null);n(l.length?new Map(l):null),o.current=e}return()=>{s(e),s(a)};function s(l){l.forEach(c=>{const u=Vl(c);u==null||u.removeEventListener("scroll",i)})}},[i,e]),_.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,s)=>Ko(a,s),dr):Kp(e):dr,[e,t])}function D1(e,t){t===void 0&&(t=[]);const n=_.useRef(null);return _.useEffect(()=>{n.current=null},t),_.useEffect(()=>{const o=e!==dr;o&&!n.current&&(n.current=e),!o&&n.current&&(n.current=null)},[e]),n.current?Os(e,n.current):dr}function qS(e){_.useEffect(()=>{if(!rl)return;const t=e.map(n=>{let{sensor:o}=n;return o.setup==null?void 0:o.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function GS(e,t){return _.useMemo(()=>e.reduce((n,o)=>{let{eventName:i,handler:a}=o;return n[i]=s=>{a(s,t)},n},{}),[e,t])}function t0(e){return _.useMemo(()=>e?IS(e):null,[e])}const O1=[];function YS(e,t){t===void 0&&(t=hi);const[n]=e,o=t0(n?On(n):null),[i,a]=_.useState(O1);function s(){a(()=>e.length?e.map(c=>Zp(c)?o:new zu(t(c),c)):O1)}const l=il({callback:s});return wr(()=>{l==null||l.disconnect(),s(),e.forEach(c=>l==null?void 0:l.observe(c))},[e]),i}function ZS(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return wa(t)?t:e}function XS(e){let{measure:t}=e;const[n,o]=_.useState(null),i=_.useCallback(u=>{for(const{target:h}of u)if(wa(h)){o(f=>{const g=t(h);return f?{...f,width:g.width,height:g.height}:g});break}},[t]),a=il({callback:i}),s=_.useCallback(u=>{const h=ZS(u);a==null||a.disconnect(),h&&(a==null||a.observe(h)),o(h?t(h):null)},[t,a]),[l,c]=Ds(s);return _.useMemo(()=>({nodeRef:l,rect:n,setRef:c}),[n,l,c])}const KS=[{sensor:ol,options:{}},{sensor:Jp,options:{}}],QS={current:{}},Cs={draggable:{measure:v1},droppable:{measure:v1,strategy:ha.WhileDragging,frequency:$c.Optimized},dragOverlay:{measure:hi}};class Xi extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,o;return(n=(o=this.get(t))==null?void 0:o.node.current)!=null?n:void 0}}const JS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Xi,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Ms},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Cs,measureDroppableContainers:Ms,windowRect:null,measuringScheduled:!1},e7={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Ms,draggableNodes:new Map,over:null,measureDroppableContainers:Ms},al=_.createContext(e7),n0=_.createContext(JS);function t7(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Xi}}}function n7(e,t){switch(t.type){case qt.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case qt.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case qt.DragEnd:case qt.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case qt.RegisterDroppable:{const{element:n}=t,{id:o}=n,i=new Xi(e.droppable.containers);return i.set(o,n),{...e,droppable:{...e.droppable,containers:i}}}case qt.SetDroppableDisabled:{const{id:n,key:o,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||o!==a.key)return e;const s=new Xi(e.droppable.containers);return s.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:s}}}case qt.UnregisterDroppable:{const{id:n,key:o}=t,i=e.droppable.containers.get(n);if(!i||o!==i.key)return e;const a=new Xi(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function r7(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:i}=_.useContext(al),a=jc(o),s=jc(n==null?void 0:n.id);return _.useEffect(()=>{if(!t&&!o&&a&&s!=null){if(!Uu(a)||document.activeElement===a.target)return;const l=i.get(s);if(!l)return;const{activatorNode:c,node:u}=l;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const h of[c.current,u.current]){if(!h)continue;const f=Kb(h);if(f){f.focus();break}}})}},[o,t,i,s,a]),null}function o7(e,t){let{transform:n,...o}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...o}),n):n}function i7(e){return _.useMemo(()=>({draggable:{...Cs.draggable,...e==null?void 0:e.draggable},droppable:{...Cs.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Cs.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function a7(e){let{activeNode:t,measure:n,initialRect:o,config:i=!0}=e;const a=_.useRef(!1),{x:s,y:l}=typeof i=="boolean"?{x:i,y:i}:i;wr(()=>{if(!s&&!l||!t){a.current=!1;return}if(a.current||!o)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const h=n(u),f=Wp(h,o);if(s||(f.x=0),l||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const g=qp(u);g&&g.scrollBy({top:f.y,left:f.x})}},[t,s,l,o,n])}const r0=_.createContext({...dr,scaleX:1,scaleY:1});var eo;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(eo||(eo={}));const o0=_.memo(function(t){var n,o,i,a;let{id:s,accessibility:l,autoScroll:c=!0,children:u,sensors:h=KS,collisionDetection:f=uS,measuring:g,modifiers:m,...C}=t;const I=_.useReducer(n7,void 0,t7),[b,S]=I,[y,T]=rS(),[k,A]=_.useState(eo.Uninitialized),P=k===eo.Initialized,{draggable:{active:E,nodes:M,translate:B},droppable:{containers:w}}=b,V=E!=null?M.get(E):null,H=_.useRef({initial:null,translated:null}),X=_.useMemo(()=>{var Ct;return E!=null?{id:E,data:(Ct=V==null?void 0:V.data)!=null?Ct:QS,rect:H}:null},[E,V]),W=_.useRef(null),[se,Ce]=_.useState(null),[be,ve]=_.useState(null),Le=da(C,Object.values(C)),x=Aa("DndDescribedBy",s),ne=_.useMemo(()=>w.getEnabled(),[w]),pe=i7(g),{droppableRects:L,measureDroppableContainers:Z,measuringScheduled:le}=HS(ne,{dragging:P,dependencies:[B.x,B.y],config:pe.droppable}),ee=BS(M,E),Ie=_.useMemo(()=>be?Uc(be):null,[be]),Se=Nr(),ae=jS(ee,pe.draggable.measure);a7({activeNode:E!=null?M.get(E):null,config:Se.layoutShiftCompensation,initialRect:ae,measure:pe.draggable.measure});const ce=P1(ee,pe.draggable.measure,ae),Ue=P1(ee?ee.parentElement:null),Q=_.useRef({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:L,draggableNodes:M,draggingNode:null,draggingNodeRect:null,droppableContainers:w,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ve=w.getNodeFor((n=Q.current.over)==null?void 0:n.id),Te=XS({measure:pe.dragOverlay.measure}),we=(o=Te.nodeRef.current)!=null?o:ee,ze=P?(i=Te.rect)!=null?i:ce:null,Tt=!!(Te.nodeRef.current&&Te.rect),wt=zS(Tt?null:ce),$e=t0(we?On(we):null),nt=$S(P?Ve??ee:null),Tn=YS(nt),gt=o7(m,{transform:{x:B.x-wt.x,y:B.y-wt.y,scaleX:1,scaleY:1},activatorEvent:be,active:X,activeNodeRect:ce,containerNodeRect:Ue,draggingNodeRect:ze,over:Q.current.over,overlayNodeRect:Te.rect,scrollableAncestors:nt,scrollableAncestorRects:Tn,windowRect:$e}),dn=Ie?Ko(Ie,B):null,It=WS(nt),Lt=D1(It),q=D1(It,[ce]),oe=Ko(gt,Lt),_e=ze?fS(ze,gt):null,Ae=X&&_e?f({active:X,collisionRect:_e,droppableRects:L,droppableContainers:ne,pointerCoordinates:dn}):null,We=lS(Ae,"id"),[rt,hn]=_.useState(null),Je=Tt?gt:Ko(gt,q),fn=dS(Je,(a=rt==null?void 0:rt.rect)!=null?a:null,ce),pn=_.useRef(null),Nt=_.useCallback((Ct,Yt)=>{let{sensor:Zt,options:Bn}=Yt;if(W.current==null)return;const on=M.get(W.current);if(!on)return;const Pt=Ct.nativeEvent,Xt=new Zt({active:W.current,activeNode:on,event:Pt,options:Bn,context:Q,onAbort(Rt){if(!M.get(Rt))return;const{onDragAbort:F}=Le.current,$={id:Rt};F==null||F($),y({type:"onDragAbort",event:$})},onPending(Rt,O,F,$){if(!M.get(Rt))return;const{onDragPending:me}=Le.current,xe={id:Rt,constraint:O,initialCoordinates:F,offset:$};me==null||me(xe),y({type:"onDragPending",event:xe})},onStart(Rt){const O=W.current;if(O==null)return;const F=M.get(O);if(!F)return;const{onDragStart:$}=Le.current,te={activatorEvent:Pt,active:{id:O,data:F.data,rect:H}};To.unstable_batchedUpdates(()=>{$==null||$(te),A(eo.Initializing),S({type:qt.DragStart,initialCoordinates:Rt,active:O}),y({type:"onDragStart",event:te}),Ce(pn.current),ve(Pt)})},onMove(Rt){S({type:qt.DragMove,coordinates:Rt})},onEnd:gr(qt.DragEnd),onCancel:gr(qt.DragCancel)});pn.current=Xt;function gr(Rt){return async function(){const{active:F,collisions:$,over:te,scrollAdjustedTranslate:me}=Q.current;let xe=null;if(F&&me){const{cancelDrop:N}=Le.current;xe={activatorEvent:Pt,active:F,collisions:$,delta:me,over:te},Rt===qt.DragEnd&&typeof N=="function"&&await Promise.resolve(N(xe))&&(Rt=qt.DragCancel)}W.current=null,To.unstable_batchedUpdates(()=>{S({type:Rt}),A(eo.Uninitialized),hn(null),Ce(null),ve(null),pn.current=null;const N=Rt===qt.DragEnd?"onDragEnd":"onDragCancel";if(xe){const U=Le.current[N];U==null||U(xe),y({type:N,event:xe})}})}}},[M]),Gn=_.useCallback((Ct,Yt)=>(Zt,Bn)=>{const on=Zt.nativeEvent,Pt=M.get(Bn);if(W.current!==null||!Pt||on.dndKit||on.defaultPrevented)return;const Xt={active:Pt};Ct(Zt,Yt.options,Xt)===!0&&(on.dndKit={capturedBy:Yt.sensor},W.current=Bn,Nt(Zt,Yt))},[M,Nt]),zt=FS(h,Gn);qS(h),wr(()=>{ce&&k===eo.Initializing&&A(eo.Initialized)},[ce,k]),_.useEffect(()=>{const{onDragMove:Ct}=Le.current,{active:Yt,activatorEvent:Zt,collisions:Bn,over:on}=Q.current;if(!Yt||!Zt)return;const Pt={active:Yt,activatorEvent:Zt,collisions:Bn,delta:{x:oe.x,y:oe.y},over:on};To.unstable_batchedUpdates(()=>{Ct==null||Ct(Pt),y({type:"onDragMove",event:Pt})})},[oe.x,oe.y]),_.useEffect(()=>{const{active:Ct,activatorEvent:Yt,collisions:Zt,droppableContainers:Bn,scrollAdjustedTranslate:on}=Q.current;if(!Ct||W.current==null||!Yt||!on)return;const{onDragOver:Pt}=Le.current,Xt=Bn.get(We),gr=Xt&&Xt.rect.current?{id:Xt.id,rect:Xt.rect.current,data:Xt.data,disabled:Xt.disabled}:null,Rt={active:Ct,activatorEvent:Yt,collisions:Zt,delta:{x:on.x,y:on.y},over:gr};To.unstable_batchedUpdates(()=>{hn(gr),Pt==null||Pt(Rt),y({type:"onDragOver",event:Rt})})},[We]),wr(()=>{Q.current={activatorEvent:be,active:X,activeNode:ee,collisionRect:_e,collisions:Ae,droppableRects:L,draggableNodes:M,draggingNode:we,draggingNodeRect:ze,droppableContainers:w,over:rt,scrollableAncestors:nt,scrollAdjustedTranslate:oe},H.current={initial:ze,translated:_e}},[X,ee,Ae,_e,M,we,ze,L,w,rt,nt,oe]),DS({...Se,delta:B,draggingRect:_e,pointerCoordinates:dn,scrollableAncestors:nt,scrollableAncestorRects:Tn});const Lr=_.useMemo(()=>({active:X,activeNode:ee,activeNodeRect:ce,activatorEvent:be,collisions:Ae,containerNodeRect:Ue,dragOverlay:Te,draggableNodes:M,droppableContainers:w,droppableRects:L,over:rt,measureDroppableContainers:Z,scrollableAncestors:nt,scrollableAncestorRects:Tn,measuringConfiguration:pe,measuringScheduled:le,windowRect:$e}),[X,ee,ce,be,Ae,Ue,Te,M,w,L,rt,Z,nt,Tn,pe,le,$e]),ir=_.useMemo(()=>({activatorEvent:be,activators:zt,active:X,activeNodeRect:ce,ariaDescribedById:{draggable:x},dispatch:S,draggableNodes:M,over:rt,measureDroppableContainers:Z}),[be,zt,X,ce,S,x,M,rt,Z]);return _.createElement(Vp.Provider,{value:T},_.createElement(al.Provider,{value:ir},_.createElement(n0.Provider,{value:Lr},_.createElement(r0.Provider,{value:fn},u)),_.createElement(r7,{disabled:(l==null?void 0:l.restoreFocus)===!1})),_.createElement(aS,{...l,hiddenTextDescribedById:x}));function Nr(){const Ct=(se==null?void 0:se.autoScrollEnabled)===!1,Yt=typeof c=="object"?c.enabled===!1:c===!1,Zt=P&&!Ct&&!Yt;return typeof c=="object"?{...c,enabled:Zt}:{enabled:Zt}}}),s7=_.createContext(null),M1="button",l7="Draggable";function c7(e){let{id:t,data:n,disabled:o=!1,attributes:i}=e;const a=Aa(l7),{activators:s,activatorEvent:l,active:c,activeNodeRect:u,ariaDescribedById:h,draggableNodes:f,over:g}=_.useContext(al),{role:m=M1,roleDescription:C="draggable",tabIndex:I=0}=i??{},b=(c==null?void 0:c.id)===t,S=_.useContext(b?r0:s7),[y,T]=Ds(),[k,A]=Ds(),P=GS(s,t),E=da(n);wr(()=>(f.set(t,{id:t,key:a,node:y,activatorNode:k,data:E}),()=>{const B=f.get(t);B&&B.key===a&&f.delete(t)}),[f,t]);const M=_.useMemo(()=>({role:m,tabIndex:I,"aria-disabled":o,"aria-pressed":b&&m===M1?!0:void 0,"aria-roledescription":C,"aria-describedby":h.draggable}),[o,m,I,b,C,h.draggable]);return{active:c,activatorEvent:l,activeNodeRect:u,attributes:M,isDragging:b,listeners:o?void 0:P,node:y,over:g,setNodeRef:T,setActivatorNodeRef:A,transform:S}}function u7(){return _.useContext(n0)}const d7="Droppable",h7={timeout:25};function f7(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:i}=e;const a=Aa(d7),{active:s,dispatch:l,over:c,measureDroppableContainers:u}=_.useContext(al),h=_.useRef({disabled:n}),f=_.useRef(!1),g=_.useRef(null),m=_.useRef(null),{disabled:C,updateMeasurementsFor:I,timeout:b}={...h7,...i},S=da(I??o),y=_.useCallback(()=>{if(!f.current){f.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),m.current=null},b)},[b]),T=il({callback:y,disabled:C||!s}),k=_.useCallback((M,B)=>{T&&(B&&(T.unobserve(B),f.current=!1),M&&T.observe(M))},[T]),[A,P]=Ds(k),E=da(t);return _.useEffect(()=>{!T||!A.current||(T.disconnect(),f.current=!1,T.observe(A.current))},[A,T]),_.useEffect(()=>(l({type:qt.RegisterDroppable,element:{id:o,key:a,disabled:n,node:A,rect:g,data:E}}),()=>l({type:qt.UnregisterDroppable,key:a,id:o})),[o]),_.useEffect(()=>{n!==h.current.disabled&&(l({type:qt.SetDroppableDisabled,id:o,key:a,disabled:n}),h.current.disabled=n)},[o,a,n,l]),{active:s,rect:g,isOver:(c==null?void 0:c.id)===o,node:A,over:c,setNodeRef:P}}function i0(e,t,n){const o=e.slice();return o.splice(n<0?o.length+n:n,0,o.splice(t,1)[0]),o}function p7(e,t){return e.reduce((n,o,i)=>{const a=t.get(o);return a&&(n[i]=a),n},Array(e.length))}function Ga(e){return e!==null&&e>=0}function m7(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function g7(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const a0=e=>{let{rects:t,activeIndex:n,overIndex:o,index:i}=e;const a=i0(t,o,n),s=t[i],l=a[i];return!l||!s?null:{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}},Ya={scaleX:1,scaleY:1},s0=e=>{var t;let{activeIndex:n,activeNodeRect:o,index:i,rects:a,overIndex:s}=e;const l=(t=a[n])!=null?t:o;if(!l)return null;if(i===n){const u=a[s];return u?{x:0,y:n<s?u.top+u.height-(l.top+l.height):u.top-l.top,...Ya}:null}const c=I7(a,i,n);return i>n&&i<=s?{x:0,y:-l.height-c,...Ya}:i<n&&i>=s?{x:0,y:l.height+c,...Ya}:{x:0,y:0,...Ya}};function I7(e,t,n){const o=e[t],i=e[t-1],a=e[t+1];return o?n<t?i?o.top-(i.top+i.height):a?a.top-(o.top+o.height):0:a?a.top-(o.top+o.height):i?o.top-(i.top+i.height):0:0}const l0="Sortable",c0=_.createContext({activeIndex:-1,containerId:l0,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:a0,disabled:{draggable:!1,droppable:!1}});function u0(e){let{children:t,id:n,items:o,strategy:i=a0,disabled:a=!1}=e;const{active:s,dragOverlay:l,droppableRects:c,over:u,measureDroppableContainers:h}=u7(),f=Aa(l0,n),g=l.rect!==null,m=_.useMemo(()=>o.map(P=>typeof P=="object"&&"id"in P?P.id:P),[o]),C=s!=null,I=s?m.indexOf(s.id):-1,b=u?m.indexOf(u.id):-1,S=_.useRef(m),y=!m7(m,S.current),T=b!==-1&&I===-1||y,k=g7(a);wr(()=>{y&&C&&h(m)},[y,m,C,h]),_.useEffect(()=>{S.current=m},[m]);const A=_.useMemo(()=>({activeIndex:I,containerId:f,disabled:k,disableTransforms:T,items:m,overIndex:b,useDragOverlay:g,sortedRects:p7(m,c),strategy:i}),[I,f,k.draggable,k.droppable,T,m,b,c,g,i]);return _.createElement(c0.Provider,{value:A},t)}const C7=e=>{let{id:t,items:n,activeIndex:o,overIndex:i}=e;return i0(n,o,i).indexOf(t)},b7=e=>{let{containerId:t,isSorting:n,wasDragging:o,index:i,items:a,newIndex:s,previousItems:l,previousContainerId:c,transition:u}=e;return!u||!o||l!==a&&i===s?!1:n?!0:s!==i&&t===c},S7={duration:200,easing:"ease"},d0="transform",y7=ni.Transition.toString({property:d0,duration:0,easing:"linear"}),E7={roleDescription:"sortable"};function T7(e){let{disabled:t,index:n,node:o,rect:i}=e;const[a,s]=_.useState(null),l=_.useRef(n);return wr(()=>{if(!t&&n!==l.current&&o.current){const c=i.current;if(c){const u=hi(o.current,{ignoreTransform:!0}),h={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(h.x||h.y)&&s(h)}}n!==l.current&&(l.current=n)},[t,n,o,i]),_.useEffect(()=>{a&&s(null)},[a]),a}function h0(e){let{animateLayoutChanges:t=b7,attributes:n,disabled:o,data:i,getNewIndex:a=C7,id:s,strategy:l,resizeObserverConfig:c,transition:u=S7}=e;const{items:h,containerId:f,activeIndex:g,disabled:m,disableTransforms:C,sortedRects:I,overIndex:b,useDragOverlay:S,strategy:y}=_.useContext(c0),T=x7(o,m),k=h.indexOf(s),A=_.useMemo(()=>({sortable:{containerId:f,index:k,items:h},...i}),[f,i,k,h]),P=_.useMemo(()=>h.slice(h.indexOf(s)),[h,s]),{rect:E,node:M,isOver:B,setNodeRef:w}=f7({id:s,data:A,disabled:T.droppable,resizeObserverConfig:{updateMeasurementsFor:P,...c}}),{active:V,activatorEvent:H,activeNodeRect:X,attributes:W,setNodeRef:se,listeners:Ce,isDragging:be,over:ve,setActivatorNodeRef:Le,transform:x}=c7({id:s,data:A,attributes:{...E7,...n},disabled:T.draggable}),ne=Gb(w,se),pe=!!V,L=pe&&!C&&Ga(g)&&Ga(b),Z=!S&&be,le=Z&&L?x:null,Ie=L?le??(l??y)({rects:I,activeNodeRect:X,activeIndex:g,overIndex:b,index:k}):null,Se=Ga(g)&&Ga(b)?a({id:s,items:h,activeIndex:g,overIndex:b}):k,ae=V==null?void 0:V.id,ce=_.useRef({activeId:ae,items:h,newIndex:Se,containerId:f}),Ue=h!==ce.current.items,Q=t({active:V,containerId:f,isDragging:be,isSorting:pe,id:s,index:k,items:h,newIndex:ce.current.newIndex,previousItems:ce.current.items,previousContainerId:ce.current.containerId,transition:u,wasDragging:ce.current.activeId!=null}),Ve=T7({disabled:!Q,index:k,node:M,rect:E});return _.useEffect(()=>{pe&&ce.current.newIndex!==Se&&(ce.current.newIndex=Se),f!==ce.current.containerId&&(ce.current.containerId=f),h!==ce.current.items&&(ce.current.items=h)},[pe,Se,f,h]),_.useEffect(()=>{if(ae===ce.current.activeId)return;if(ae!=null&&ce.current.activeId==null){ce.current.activeId=ae;return}const we=setTimeout(()=>{ce.current.activeId=ae},50);return()=>clearTimeout(we)},[ae]),{active:V,activeIndex:g,attributes:W,data:A,rect:E,index:k,newIndex:Se,items:h,isOver:B,isSorting:pe,isDragging:be,listeners:Ce,node:M,overIndex:b,over:ve,setNodeRef:ne,setActivatorNodeRef:Le,setDroppableNodeRef:w,setDraggableNodeRef:se,transform:Ve??Ie,transition:Te()};function Te(){if(Ve||Ue&&ce.current.newIndex===k)return y7;if(!(Z&&!Uu(H)||!u)&&(pe||Q))return ni.Transition.toString({...u,property:d0})}}function x7(e,t){var n,o;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(o=e==null?void 0:e.droppable)!=null?o:t.droppable}}Qe.Down,Qe.Right,Qe.Up,Qe.Left;function _7({product:e,children:t}){const{attributes:n,listeners:o,setNodeRef:i,transform:a,transition:s,isDragging:l}=h0({id:e.id}),c={transform:ni.Transform.toString(a),transition:s};return d.jsx("div",{ref:i,style:c,className:`${Ot.product} ${l?Ot.dragging:""}`,...n,...o,children:t})}const f0=e=>{const{isActiveItems:t,setIsActiveItems:n,items:o,setItems:i,other:a,title:s,subtitle:l,editable:c=!0,draggable:u=!1,withImage:h=!1,deletable:f=!0,addable:g=!0,itemsType:m,itemsPlaceholder:C="",itemsOptions:I,hasRangeSelector:b=!1,rangeSelectorOptions:S,modalOptions:y,addableOptions:T={},limit:k,autoInterval:A,tip:P,aspectRatio:E,setAspectRatio:M}=e,[B,w]=_.useState(null),[V,H]=_.useState({top:0,left:0}),[X,W]=_.useState(null),se=_.useRef(null),[Ce,be]=_.useState(!1),ve=$p(zp(ol,{activationConstraint:{distance:5}}));_.useEffect(()=>{if(B){const Z=[...o].map(le=>le.id===B.id?B:le);i(Z)}},[B]),_.useEffect(()=>{if(se.current&&X){const Z=se.current.getBoundingClientRect().height,le=window.innerHeight;let ee=X.top;ee+Z>le+window.scrollY-200&&(ee=le+window.scrollY-Z-200),ee<0&&(ee=10),H({top:ee-30,left:X.left})}},[se.current,X]);const Le=(Z,le)=>{Z.stopPropagation();const ee=Z.target.getBoundingClientRect();W({top:ee.top+window.scrollY-70,left:ee.left-(g?30:65)}),w(le),be(!0)},x=(Z,le)=>{const ee=[...o],Ie={...Z,id:Math.random().toString(36).substr(2,9)};ee.splice(le+1,0,Ie),i(ee)};function ne(Z){if(h)return Z?d.jsx("img",{src:`https://imagedelivery.net/${Z[0]}/w=1000`,alt:"image",width:16,height:16}):d.jsx(ie,{name:"Image",width:16,height:16,fill:"#757575"})}const pe=Z=>{const{active:le,over:ee}=Z;if(ee&&le.id!==ee.id){const Ie=o.findIndex(ae=>ae.id===le.id),Se=o.findIndex(ae=>ae.id===ee.id);if(Ie!==-1&&Se!==-1){const ae=[...o],[ce]=ae.splice(Ie,1);ae.splice(Se,0,ce),i(ae)}}},L=(Z,le)=>{var Ie,Se;const ee=d.jsxs(d.Fragment,{children:[u&&d.jsx("div",{children:d.jsx(ie,{name:"DotsSixVertical",hoverable:!0,width:20,height:20})}),m==="select"&&I&&d.jsx(ao,{onChange:ae=>{const ce=[...o],Ue=I.find(Ve=>Ve.name["en-US"]===ae);if(!Ue)return;const Q=ce.map(Ve=>Ve.id===Z.id?{...Ue,name:{"en-US":ae}}:Ve);w({...Z,name:{"en-US":ae}}),i([...Q])},value:Z.name["en-US"],options:I.filter(ae=>!o.find(ce=>ce.name["en-US"]===ae.name["en-US"])).map(ae=>ae.name["en-US"]),leftAddonOptions:I.filter(ae=>{var ce;return((ce=ae.images)==null?void 0:ce.length)>0}).map(ae=>({value:ae.name["en-US"],addon:ne(ae.images)}))}),m==="selectInfiniteList"&&I&&d.jsx(Lu,{onChange:ae=>{const ce=[...o],Ue=I.find(Ve=>Ve.name["en-US"]===ae);if(!Ue)return;const Q=ce.map(Ve=>Ve.id===Z.id?{...Ue,name:{"en-US":ae}}:Ve);w({...Z,name:{"en-US":ae}}),i([...Q])},value:Z.name["en-US"],options:I.filter(ae=>!o.find(ce=>ce.name["en-US"]===ae.name["en-US"])).map(ae=>ae.name["en-US"]),leftAddonOptions:I.filter(ae=>{var ce;return((ce=ae.images)==null?void 0:ce.length)>0}).map(ae=>({value:ae.name["en-US"],addon:ne(ae.images)}))}),m==="input"&&d.jsx(nr,{onChange:ae=>{const Ue=[...o].map(Q=>Q.id===Z.id?{...Z,name:{"en-US":ae}}:Q);i([...Ue])},value:Z.name["en-US"],placeholder:C}),m==="image"&&d.jsx(_a,{onChange:ae=>{const Ue=[...o].map(Q=>Q.id===Z.id?{...Z,images:ae}:Q);i([...Ue])},activeImage:(Ie=o.find(ae=>ae.id===Z.id))!=null&&Ie.images?(Se=o.find(ae=>ae.id===Z.id))==null?void 0:Se.images[0]:void 0,tip:P}),d.jsxs("div",{className:Ot.buttons,children:[k&&k>o.length&&g&&d.jsx("div",{className:Ot.deleteButton,children:d.jsx(ie,{name:"Copy",hoverable:!0,width:20,height:20,onClick:()=>{x(Z,le)}})}),c&&d.jsx("div",{className:Ot.deleteButton,children:d.jsx(ie,{name:"Sliders",hoverable:!0,width:20,height:20,onClick:ae=>{Le(ae,Z)}})}),f&&d.jsx("div",{className:Ot.deleteButton,children:d.jsx(ie,{name:"Trash",hoverable:!0,width:20,height:20,fill:"#C12A2A",onClick:()=>i(o.filter(ae=>ae.id!==Z.id))})})]})]});return u?d.jsx(_7,{product:Z,index:le,children:ee},Z.id):d.jsx("div",{className:Ot.product,children:ee},Z.id)};return d.jsxs("div",{className:Ot.productsBlock,children:[(s||t!==void 0)&&d.jsxs("div",{className:Ot.top,children:[s&&d.jsx("h3",{className:Ot.title,children:s}),t!==void 0&&d.jsx(vr,{current:t,onChange:Z=>n==null?void 0:n(Z)})]}),B&&c&&y&&Ce&&d.jsx(zb,{ref:se,activeItem:B,setActiveItem:w,popupPosition:V,modalOptions:y,setIsOpenModal:be}),(t===void 0||t)&&b&&S&&d.jsx(p0,{...S}),(t===void 0||t)&&d.jsxs("div",{className:Ot.products,children:[l&&d.jsx("h5",{className:Ot.subtitle,children:l}),u?d.jsx(o0,{sensors:ve,onDragEnd:pe,children:d.jsx(u0,{items:o.map(Z=>Z.id),strategy:s0,children:o.map((Z,le)=>L(Z,le))})}):o.map((Z,le)=>L(Z,le)),g&&d.jsx("div",{style:{width:"100%",display:"flex",justifyContent:"center"},children:d.jsx(ti,{withoutHover:!0,className:ge(Ot.button,{[Ot.disabled]:!!(k&&k<=o.length||o.length===(I==null?void 0:I.length))}),size:"s",disabled:!!(k&&k<=o.length||o.length===(I==null?void 0:I.length)),onClick:()=>{const Z=[...o];let le=null;if(I){for(let ee=0;ee<I.length;ee++)if(!o.find(Ie=>Ie.id===I[ee].id)){le=I[ee];break}}m==="select"&&I?Z.push({name:le?le.name:I[0].name,id:(le==null?void 0:le.id)||I[0].id,...T}):m==="input"?Z.push({name:{"en-US":""},id:pt(),...T}):Z.push({name:{"en-US":`Image ${o.length+1}`},id:pt(),...T}),i(Z)},style:{width:"fit-content"},children:d.jsxs("div",{className:Ot.addButton,children:[d.jsx("span",{children:"Add Option"}),d.jsx(ie,{name:"Plus",width:16,height:16})]})})})]}),E&&M&&d.jsx(ao,{value:E,label:"Aspect Ratio",options:Object.keys(Zf),onChange:Z=>M(Z),leftAddonOptions:Xf}),(t===void 0||t)&&a!==void 0&&d.jsx(Hp,{otherTitle:"Other",items:a}),(t===void 0||t)&&A!==void 0&&d.jsx(nr,{label:A.title||"Auto scroll interval",type:"number",value:String(A.autoInterval),onChange:Z=>A.setAutoInterval(Number(Z)),min:.1,max:100,style:{width:"100%"},postfix:"sec."})]})},w7="_title_cx65i_1",v7="_subtitle_cx65i_5",A7="_productsBlock_cx65i_14",k7="_top_cx65i_26",L7="_products_cx65i_14",N7="_product_cx65i_14",P7="_button_cx65i_80",R7="_disabled_cx65i_91",D7="_buttons_cx65i_118",O7="_modal_cx65i_125",M7="_link_cx65i_146",B7="_modalOptions_cx65i_152",F7="_addButton_cx65i_165",H7="_deleteButton_cx65i_180",j7="_closeIcon_cx65i_192",Co={title:w7,subtitle:v7,productsBlock:A7,top:k7,products:L7,product:N7,button:P7,disabled:R7,buttons:D7,modal:O7,link:M7,modalOptions:B7,addButton:F7,deleteButton:H7,closeIcon:j7},U7=_.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:o,popupPosition:i,modalOptions:a,setIsOpenModal:s}=e;return si(t,()=>{o(null),s(!1)}),d.jsxs("div",{ref:t,className:Co.modal,onClick:l=>{l.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:Co.top,children:[d.jsx("h3",{className:Co.title,children:n.name["en-US"]}),d.jsx("div",{className:Co.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>{o(null),s(!1)}})})]}),d.jsx("div",{className:Co.modalOptions,children:a.map(l=>{if(l.type==="image")return d.jsx(_a,{label:"Put up an attractive image",activeImage:n[l.field],onChange:c=>{const u={...n,[l.field]:c};o(u)}},String(l.field));if(l.type==="text")return d.jsx(Bu,{isActiveText:!0,typesText:n[l.field.type],setTypesText:c=>{const u={...n,[l.field.type]:c};o(u)},alignText:n[l.field.alignText],setAlignText:c=>{const u={...n,[l.field.alignText]:c};o(u)},text:n[l.field.text]["en-US"]||"",setText:c=>{const u={...n,[l.field.text]:{"en-US":c}};o(u)},typeFont:n[l.field.type],setTypeFont:c=>{const u={...n,[l.field.type]:c};o(u)},subtitle:l.label});if(l.type==="input")return d.jsx(nr,{onChange:c=>{const u={...n,[l.field]:{"en-US":c}};o(u)},value:n[l.field]["en-US"]||"",label:l.label,placeholder:l.placeholder});if(l.type==="inputNumber")return d.jsx(nr,{onChange:c=>{const u={...n,[l.field]:c};o(u)},value:n[l.field]||"",label:l.label,placeholder:l.placeholder,type:"number"});if(l.type==="inputSwitch")return d.jsxs("div",{className:Co.link,children:[d.jsx(nr,{onChange:c=>{const u={...n,[l.field.text]:{"en-US":c}};o(u)},value:n[l.field.text]["en-US"]||"",label:l.inputLabel,placeholder:l.placeholder}),d.jsx(vr,{current:!!n[l.field.switch]||!1,label:l.switchLabel,onChange:c=>{const u={...n,[l.field.switch]:c};o(u)}})]});if(l.type==="select")return d.jsx(ao,{options:l.itemsOptions,onChange:c=>{const u={...n,[l.field]:c};o(u)},label:l.label,value:n[l.field]||"String",leftAddonOptions:l.leftAddonOptions})})})]})}),V7="_title_hvj8m_1",z7="_buttonsBlock_hvj8m_15",$7="_top_hvj8m_26",W7="_modal_hvj8m_120",q7="_options_hvj8m_146",G7="_closeIcon_hvj8m_154",Go={title:V7,buttonsBlock:z7,top:$7,modal:W7,options:q7,closeIcon:G7},Y7=_.forwardRef((e,t)=>{var T;const{activeButton:n,setActiveButton:o,popupPosition:i,editableLink:a=!0}=e,[s,l]=_.useState(n.typesText),[c,u]=_.useState(n.destination),[h,f]=_.useState(n.page),[g,m]=_.useState(n.link||""),[C,I]=_.useState(n.text||{"en-US":""}),[b,S]=_.useState(n.openInNewTab),{pages:y}=zr();return si(t,()=>{o(null)}),_.useEffect(()=>{o({...n,...{text:C,link:g,destination:c,typesText:s,page:h,openInNewTab:b}})},[s,c,g,C,h,b]),d.jsxs("div",{className:Go.modal,onClick:k=>{k.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},ref:t,children:[d.jsxs("div",{className:Go.top,children:[d.jsx("h3",{className:Go.title,children:n.type}),d.jsx("div",{className:Go.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,hoverable:!0,onClick:()=>o(null)})})]}),d.jsxs("div",{className:Go.options,children:[a&&d.jsx(ao,{label:"Destination",onChange:k=>u(k),options:["Go to Page","Open Link"].filter(k=>k!==c),value:c}),a&&(c==="Go to Page"?d.jsx(ao,{label:"Go to",onChange:k=>{if(k==="Sign In")f("/customer-dash");else if(y){for(const A in y)if(y[A].name===k){f(y[A].path);break}}else f(Yf[0])},options:y?[...Object.values(y).filter(k=>k.path!==h).map(k=>k.name),"Sign In"]:["Sign In"],value:y?h==="/customer-dash"?"Sign In":((T=Object.values(y).find(k=>k.path===h))==null?void 0:T.name)||"Home":"Home"}):d.jsx(nr,{onChange:k=>m(k),value:g,placeholder:"https://",label:"Link"})),a&&d.jsx(vr,{current:n.openInNewTab,label:"Open in new tab",onChange:k=>S(k)}),d.jsx(Ou,{onChange:k=>I({"en-US":k}),value:C["en-US"],label:"Text"}),d.jsx(Du,{typesText:s,setTypesText:l})]})]})}),Z7="_wrapper_m18qi_1",X7="_subtitle_m18qi_7",K7="_content_m18qi_14",Q7="_range_m18qi_22",J7="_track_m18qi_27",ey="_progress_m18qi_36",ty="_dots_m18qi_46",ny="_dot_m18qi_46",ry="_active_m18qi_65",oy="_input_m18qi_77",iy="_countBlock_m18qi_91",ay="_controls_m18qi_107",sy="_button_m18qi_113",mn={wrapper:Z7,subtitle:X7,content:K7,range:Q7,track:J7,progress:ey,dots:ty,dot:ny,active:ry,input:oy,countBlock:iy,controls:ay,button:sy},p0=e=>{const{label:t,min:n=1,max:o=4,step:i=1,count:a,setCount:s}=e,[l,c]=_.useState(!1),u=Array.from({length:(o-n)/i+1}),h=(a-n)/(o-n)*100,f=()=>{a<o&&s(a+i)},g=()=>{a>n&&s(a-i)},m=C=>{const I=n+C*i;s(I)};return d.jsxs("div",{className:mn.wrapper,children:[t&&d.jsx("h5",{className:mn.subtitle,children:t}),d.jsxs("div",{className:mn.content,children:[d.jsxs("div",{className:mn.range,children:[d.jsx("div",{className:mn.track}),d.jsx("div",{className:mn.progress,style:{width:`${h}%`}}),d.jsx("div",{className:mn.dots,children:u.map((C,I)=>{const b=I<=(a-n)/i;return d.jsx("button",{onClick:()=>m(I),className:ge(mn.dot,{[mn.active]:b,[mn.inactive]:!b,[mn.dragging]:l}),"aria-label":`Set value to ${n+I*i}`},I)})}),d.jsx("input",{type:"range",min:n,max:o,step:i,value:a,onChange:C=>s(Number(C.target.value)),onMouseDown:()=>c(!0),onMouseUp:()=>c(!1),onTouchStart:()=>c(!0),onTouchEnd:()=>c(!1),className:mn.input})]}),d.jsxs("div",{className:mn.countBlock,children:[d.jsx(nr,{type:"number",min:n,max:o,paddingless:!0,onChange:C=>{const I=Number(C);I>o?s(o):I<n?s(n):s(I)},value:String(a)}),d.jsxs("div",{className:mn.controls,children:[d.jsx("button",{onClick:f,disabled:a>=o,className:mn.button,"aria-label":"Increment count",children:d.jsx(ie,{name:"CaretUp",width:15,height:15})}),d.jsx("button",{onClick:g,disabled:a<=n,className:mn.button,"aria-label":"Decrement count",children:d.jsx(ie,{name:"CaretDown",width:15,height:15})})]})]})]})]})},ly="_title_11jyy_1",cy="_subtitle_11jyy_5",uy="_productsBlock_11jyy_14",dy="_top_11jyy_26",hy="_products_11jyy_14",fy="_product_11jyy_14",py="_button_11jyy_80",my="_buttons_11jyy_114",gy="_modal_11jyy_121",Iy="_modalOptions_11jyy_148",Cy="_addButton_11jyy_161",by="_deleteButton_11jyy_176",Sy="_closeIcon_11jyy_188",zi={title:ly,subtitle:cy,productsBlock:uy,top:dy,products:hy,product:fy,button:py,buttons:my,modal:gy,modalOptions:Iy,addButton:Cy,deleteButton:by,closeIcon:Sy},m0=({render:e,block:t})=>e(t),g0=({settings:e,pageContext:t})=>{const{footer:n}=Hr(),{settings:o}=ya(),{pageContext:i}=zr(),{footer:a}=Lo();if(!a||!n)return null;const s=new a;return Object.keys(n).map(l=>{s[l]=n[l]}),s.renderBlock((e==null?void 0:e.blockSettings)||o,t||i)},I0=({settings:e,pageContext:t})=>{const{header:n}=Hr(),{settings:o}=ya(),{pageContext:i}=zr(),{header:a}=Lo();if(!a||!n)return null;const s=new a;return Object.keys(n).map(l=>{s[l]=n[l]}),s.renderBlock((e==null?void 0:e.blockSettings)||o,t||i)},C0=({settings:e,pageContext:t})=>{const{announcement:n}=Hr(),{settings:o}=ya(),{pageContext:i}=zr(),{announcement:a}=Lo();if(!a||!n)return null;const s=new a;return Object.keys(n).map(l=>{s[l]=n[l]}),s.renderBlock(e||o,t||i)},yy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain")||"flagship-theme.pages.dev":window.location.hostname,i=localStorage.getItem("shopPassword");if(t&&!i)return null;const a=`${n.storeApi}/v2/shops/${o}/pages/${e}`+(t?`?password=${i}`:"");try{return await lt({url:a,withToken:!0,method:"get"})}catch(s){if(ht.isAxiosError(s)&&s.response&&s.response.status===404)return null}},Ey="_wrapper_5w9s8_1",Ty={wrapper:Ey},Wc=e=>{const{error:t}=e;return d.jsx("div",{className:Ty.wrapper,children:t})},xy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.slApi}/v1/balance/top-up/${n}`;return await lt({url:o,method:"post",body:e,withToken:!1})},fi=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.customersApi}/v2/${n}/customers/${e}`;return await lt({url:o,withToken:!0,method:"get",typeToken:"customer"})},_y=()=>fi("dash/info"),wy=()=>fi("dash/dashboard/home"),vy=()=>fi("rewards"),Ay=()=>fi("balance"),ky=()=>fi("balance/top-up/settings"),Ly=()=>fi("referral-system"),qc=10,sl=async({url:e,PageNumber:t})=>{var l;const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.customersApi}/v2/${o}/${e}?PageNumber=${t}&PageSize=${qc}`,a=await lt({url:i,withToken:!0,method:"get",typeToken:"customer"}),s=Number((l=a.headers)==null?void 0:l["x-pagination-total"]);return{list:a.data,totalCount:s}},Wu=async(e,t="get",n)=>{const o=kt.getState().apiUrls,i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${o.slApi}/v1/orders/${i}/${e}`;return await lt({url:a,method:t,withToken:!0,body:n,typeToken:"customer"})},Ny=e=>Wu("","post",e),Py=({PageNumber:e})=>sl({url:"customers/orders",PageNumber:e}),Ry=e=>Wu(e),Dy=e=>Wu(e),Oy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.slApi}/v1/${n}/subscriptions`;return await lt({url:o,method:"post",withToken:!1,body:e})},My=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${o}/subscriptions/${e}/${t}`;return await lt({url:i,method:"get",withToken:!1})},By=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/${o}/subscriptions/${e}/${t}/upgrades`;return await lt({url:i,method:"get",withToken:!1})},Fy=async(e,t,n)=>{const o=kt.getState().apiUrls,i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${o.slApi}/v1/${i}/subscriptions/${e}/${t}/cancel`;return await lt({url:a,method:"post",withToken:!1,body:n})},Hy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${o}/subscriptions/${e}/change-gateway`;return await lt({url:i,method:"post",withToken:!1,body:{gateway:t}})},jy=({PageNumber:e})=>sl({url:"customers/subscriptions",PageNumber:e}),Uy=async({id:e,accessToken:t})=>await By(e,t),Vy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v2/${o}/subscriptions/${e}/order`;return await lt({url:i,method:"post",withToken:!1,body:t})},zy=async(e,t)=>{const n=kt.getState().apiUrls,o=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,i=`${n.slApi}/v1/public/${o}/tickets/${e}/${t}`;return await lt({url:i,method:"get",withToken:!1})},$y=async(e,t,n,o,i)=>{const a=kt.getState().apiUrls,s=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,l=`${a.slApi}/v1/public/${s}/tickets/${e}/${t}/answer`;return(await lt({url:l,method:"post",body:{message:n,recaptcha:o,tsId:i},withToken:!1})).data},Wy=({PageNumber:e})=>sl({url:"customers/tickets",PageNumber:e}),qy=({PageNumber:e})=>sl({url:"customers/balance/transactions",PageNumber:e}),b0=async e=>{const t=kt.getState().apiUrls,n=e.map(s=>["names",s]),o=new URLSearchParams(n),i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${t.slApi}/v2/gateways?shopDomain=${i}&${o.toString()}`;return await lt({url:a,method:"get",withToken:!1})},S0=async({email:e,recaptcha:t,tsId:n})=>{const o=kt.getState().apiUrls,i=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,a=`${o.customersApi}/v2/${i}/auth/otp/request`;return(await lt({url:a,body:{email:e,recaptcha:t,tsId:n},method:"post",withToken:!1})).data?{requested:!0,email:e}:{requested:!1,email:void 0}},y0=async({email:e,otp:t,recaptcha:n,tsId:o})=>{const i=kt.getState().apiUrls,a=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,s=`${i.customersApi}/v2/${a}/auth/otp/login`,{data:l}=await lt({url:s,method:"post",body:{email:e,otp:t,recaptcha:n,tsId:o},withToken:!1});return uo.getState().setToken(l.data),localStorage.setItem("token",l.data),{token:l.data,requested:!1}},Gc=async()=>{uo.getState().setToken(""),localStorage.removeItem("token")},Gy=Object.freeze(Object.defineProperty({__proto__:null,loginCustomer:y0,logoutCustomer:Gc,requestOtp:S0},Symbol.toStringTag,{value:"Module"})),Yy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.slApi}/v2/coupons/${n}/validate`;return await lt({url:o,method:"post",body:e,withToken:!1})},Zy=async e=>{const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.customersApi}/v2/${n}/customers/referral-system/signup`;return(await lt({url:o,withToken:!0,method:"post",body:e,typeToken:"customer"})).data},Xy=async()=>{const{data:e}=await Ly();return e},Ky=async e=>{const{data:t}=await Zy(e);return t};async function Qy(e){const t=kt.getState().apiUrls,n=Vt?localStorage.getItem("fakeDomain"):window.location.hostname,o=`${t.customersApi}/v2/${n}/customers/rewards/${e.id}/claim`;return lt({url:o,method:"post",withToken:!0,typeToken:"customer"})}const Wl="Balance",Jy={Number:"NUMBER",Textarea:"LARGE_TEXT",Checkbox:"CHECK_BOX",Hidden:"HIDDEN"},e8={recaptcha:"",gateway:"",paymentMethod:"",parts:[],customFields:{},discordSocialConnectId:null,coupon:null,tsId:""},B1=(e,t)=>{var u;const{productId:n,productVariantId:o,quantity:i,chargeType:a}=t,s=e.find(h=>h.id===n);if(!s)throw new Error("Product does not exist");const l=s.variants.find(h=>h.id===o);if(!l)throw new Error("Variant does not exist");if(a==="RECURRING"&&!l.subscriptionSettings)throw new Error("Variant does not have subscription settings");if(i!==void 0&&((u=l.quantity)!=null&&u.available)&&l.quantity.available<i)throw new Error("Not enough quantity available");const c=Br.getState().cart;if(c.parts.length>0){const h=e.find(g=>g.id===c.parts[0].productId),f=h==null?void 0:h.variants.find(g=>g.id===c.parts[0].productVariantId);if(f&&l.price.currency!==f.price.currency)throw new Error("Product have different currency")}return l},t8=(e,t)=>{if(!e.volumeDiscounts||e.volumeDiscounts.length===0)return 0;const n=e.volumeDiscounts.filter(i=>t>=i.amount);return n.length===0?0:n.reduce((i,a)=>a.amount>i.amount?a:i).percentage},n8=(e,t)=>{let n=0,o=0;return e.forEach(i=>{var g,m;const a=t.find(C=>(C==null?void 0:C.id)===i.productId),s=a==null?void 0:a.variants.find(C=>C.id===i.productVariantId);if(!s)return;const{gateway:l}=Br.getState().cart,c=(s==null?void 0:s.gateways)||[],u=c.some(C=>C.name===l&&C.overrodePrice)?(g=c.find(C=>C.name===l))==null?void 0:g.overrodePrice:null;let h=0,f=0;if(i.chargeType==="ONE_TIME"?(h=(u==null?void 0:u.amount)||(s==null?void 0:s.price.amount)||0,f=h*i.quantity):f=s!=null&&s.subscriptionSettings?s.subscriptionSettings.price.amount+(((m=s.subscriptionSettings.entryFee)==null?void 0:m.amount)||0):0,n+=f,i.chargeType==="ONE_TIME"){const C=t8(s,i.quantity),I=f*(1-C/100);o+=I}else o+=f}),{total:n,totalWithVolumeDiscounts:o}},r8=(e,t)=>({isRequired:t.some(o=>{var a;const i=e.find(s=>(s==null?void 0:s.id)===o.productId);return(a=i==null?void 0:i.variants.find(s=>s.id===o.productVariantId))==null?void 0:a.discordSettings.isRequired}),isEnabled:t.some(o=>{var a;const i=e.find(s=>(s==null?void 0:s.id)===o.productId);return(a=i==null?void 0:i.variants.find(s=>s.id===o.productVariantId))==null?void 0:a.discordSettings.isEnabled})}),F1=e=>new Set(e.gateways.map(t=>t.name)),H1={availableGateways:[],requiresSignInGateways:[]},j1=(e,t)=>{var a;if(t.length===0)return H1;const n=(a=t[0])==null?void 0:a.variants[0];if(!n)return H1;const o=F1(n);for(const s of e){const l=t.find(h=>h.id===s.productId);if(!l)continue;const c=l.variants.find(h=>h.id===s.productVariantId);if(!c)continue;const u=F1(c);for(const h of o)u.has(h)||o.delete(h)}return!localStorage.getItem("token")&&o.has(Wl)?(o.delete(Wl),{availableGateways:[...o],requiresSignInGateways:[Wl]}):{availableGateways:[...o],requiresSignInGateways:[]}},o8=(e,t)=>{if(e.length===0)return[];const o=e.map(a=>{const s=t.find(c=>c.id===a.productId),l=s==null?void 0:s.variants.find(c=>c.id===a.productVariantId);return(l==null?void 0:l.customFields)??[]}).flat().reduce((a,s)=>{const l=a[s.name];return l?(s.required&&!l.required&&(a[s.name]={...s,value:s.defaultValue}),a):(a[s.name]={...s,value:s.defaultValue},a)},{});return Object.values(o).map(a=>({...a,value:""}))},i8=(e,t)=>{const n=t.find(i=>i.id===e.productId),o=n==null?void 0:n.variants.find(i=>i.id===e.productVariantId);return e.chargeType==="RECURRING"?!!(o!=null&&o.subscriptionSettings):!1},a8=()=>{const{cart:e,products:t,coupon:n,pending:o,applyCouponPending:i,customerEmail:a,setCart:s,setProducts:l,setCoupon:c,setPending:u,setApplyCouponPending:h}=Br(),f=async I=>{var E;h(!0);const{cart:b}=Br.getState(),{gateway:S,parts:y}=b,{notifications:T,setNotifications:k}=cn.getState();S||(h(!1),k([...T,{message:"There should be a gateway for the coupon",status:"error",id:pt()}]));const A=y.map(M=>M.productId);let P=null;try{const{data:M}=await Yy({gateway:S,couponName:I,productIds:A});P=M.data,k([...T,{message:"Coupon is applied",status:"success",id:pt()}]),s(B=>({...B,coupon:I}))}catch(M){const B=M;k([...T,{message:`Coupon is not applied: ${B.message}`,status:"error",id:pt()}]),s(w=>({...w,coupon:null})),c(null),h(!1)}if(h(!1),(E=P==null?void 0:P.restrictToProductIds)!=null&&E.length&&!A.every(M=>{var B;return(B=P==null?void 0:P.restrictToProductIds)==null?void 0:B.includes(M)}))throw new Error("Coupon can't be applied to such products");return c(P),P},C={reset(){s({...e8})},addProducts:I=>{const b=Br.getState().products,S=I.filter(y=>!b.some(T=>T.id===y.id));l([...b,...S])},addProductToCart:I=>{const b=Br.getState().cart;try{B1(t,I)}catch(y){throw new Error(y)}const S=b.parts.find(y=>y.productId===I.productId&&y.productVariantId===I.productVariantId&&y.chargeType===I.chargeType);if(S)return C.updateQuantityOfProduct({...S,quantity:(S.quantity||1)+(I.quantity||1),chargeType:I.chargeType});if(b.parts.length&&j1([...b.parts,I],t).availableGateways.length===0)throw new Error("No common payment gateways available");s({...b,parts:[...b.parts,I]}),b.coupon&&f(b.coupon)},removeProduct({productId:I,productVariantId:b}){s(S=>({...S,parts:S.parts.filter(y=>y.productId!==I||y.productVariantId!==b)})),e.coupon&&f(e.coupon)},getPossibleGateways(){return j1(e.parts,t)},removeCoupon(){c(null)},getDiscordSettings(){return r8(t,e.parts)},updateQuantityOfProduct(I){B1(t,I),s(b=>({...b,parts:b.parts.map(S=>S.productId===I.productId&&S.productVariantId===I.productVariantId?{...S,quantity:I.quantity,chargeType:I.chargeType}:S)})),e.coupon&&f(e.coupon)},getTotalAndDiscount(){const{coupon:I}=Br.getState(),{total:b,totalWithVolumeDiscounts:S}=n8(e.parts,t);let y;const T=S;return I&&I.discount?!I.isFixed&&I.discount===100?y=0:y=I.isFixed?Math.max(0,T-I.discount):T*(1-I.discount/100):S!==b&&(y=S),{total:b,totalWithVolumeDiscounts:S!==b?S:void 0,totalWithDiscount:y}},setGateway(I){s(S=>({...S,gateway:I}));const{isAntistock:b}=mt.getState();e.coupon&&!b&&f(e.coupon)},setPaymentMethod(I){s(b=>({...b,paymentMethod:I}))},async submitCart(I){u(!0);const{cart:b}=Br.getState(),{discordInfo:S}=Op.getState();let y;if(b.parts&&a&&i8(b.parts[0],t))try{const{data:T}=await Oy({...b,partOrder:b.parts[0],referralCode:localStorage.getItem("referralCode"),discordSocialConnectId:S!=null&&S.authorized?S.id:null,customerEmail:a,recaptcha:I,customFields:{...b.customFields},tsId:so()});y=T.data}catch(T){console.error(T)}else try{const{data:T}=await Ny({...b,referralCode:localStorage.getItem("referralCode"),recaptcha:I,customFields:{...b.customFields},tsId:so(),discordSocialConnectId:S!=null&&S.authorized?S.id:null});y=T.data}catch(T){const k=T,{notifications:A,setNotifications:P}=cn.getState();P([...A,{message:`Failed to create order: ${k.message}`,status:"error",id:pt()}])}if(u(!1),y)return y;throw new Error("Failed to create order")},setDiscordSocialConnectId(I){s(b=>({...b,discordSocialConnectId:I}))},setCustomFields(I){s(b=>({...b,customFields:{...I}}))}};return _.useEffect(()=>{s(I=>({...I,customerEmail:a??""}))},[a,s]),{cart:e,products:t,coupon:n,pending:o,applyCouponPending:i,applyCoupon:f,...C}},ll=()=>{const{notifications:e,setNotifications:t}=cn();return n=>{navigator.clipboard.writeText(n),t([...e,{status:"success",message:"Successfully copied",id:pt()}])}};function E0(e,t=!0){if(!e||typeof e!="string")return"";if(/<[a-z][\s\S]*>/i.test(e))return e;const o=e.split(" "),i=20;if(t){let a="",s=[];return o.forEach(l=>{l.length>i?(s.length>0&&(a+=`<span style="hyphens: manual">${s.join(" ")} </span>`,s=[]),a+=`<span style="hyphens: auto" lang="en">${l} </span>`):s.push(l)}),s.length>0&&(a+=`<span style="hyphens: manual">${s.join(" ")}</span>`),a}else{const a=[];let s=[],l=0;return o.forEach(c=>{c.length>i?(s.length>0&&(a.push(d.jsxs("span",{style:{hyphens:"manual"},children:[s.join(" ")," "]},l++)),s=[]),a.push(d.jsxs("span",{style:{hyphens:"auto"},lang:"en",children:[c," "]},l++))):s.push(c)}),s.length>0&&a.push(d.jsx("span",{style:{hyphens:"manual"},children:s.join(" ")},l++)),a}}const s8=_.forwardRef((e,t)=>{const{activeItem:n,setActiveItem:o,popupPosition:i,setIsOpenModal:a,itemsOptions:s}=e,l=s.find(c=>c.id===n.listingId);return si(t,()=>{o(null),a(!1)}),l?d.jsxs("div",{className:zi.modal,onClick:c=>{c.stopPropagation()},style:{top:`${i.top}px`,left:`${i.left}px`},children:[d.jsxs("div",{className:zi.top,children:[d.jsx("h3",{dangerouslySetInnerHTML:{__html:E0(l.productData.name)}}),d.jsx("div",{className:zi.closeIcon,children:d.jsx(ie,{name:"X",height:20,width:20,onClick:()=>{a(!1),o(null)}})})]}),d.jsx("div",{className:zi.modalOptions,children:d.jsx(_a,{label:"Put up an attractive image",activeImage:l.productData.images.length>0?l.productData.images[0].cfId:n.image?n.image:void 0,onChange:c=>{const u={...n,image:c[0]};o(u)}})})]}):null}),l8="_wrapper_ipyfg_1",c8="_label_ipyfg_9",u8="_input_ipyfg_18",d8="_disabled_ipyfg_31",h8="_paddingless_ipyfg_36",f8="_content_ipyfg_47",p8="_contentBorder_ipyfg_60",m8="_contentField_ipyfg_65",g8="_contentIsAntistock_ipyfg_69",I8="_borderless_ipyfg_74",C8="_rightIcon_ipyfg_79",b8="_leftIcon_ipyfg_87",S8="_requiredStar_ipyfg_94",xn={wrapper:l8,label:c8,input:u8,disabled:d8,paddingless:h8,content:f8,contentBorder:p8,contentField:m8,contentIsAntistock:g8,borderless:I8,rightIcon:C8,leftIcon:b8,requiredStar:S8},Ro=e=>{const{onChange:t,style:n,label:o,value:i,type:a="text",min:s,max:l,placeholder:c,disabled:u=!1,required:h=!1,regex:f,paddingless:g=!1,borderless:m=!1,editable:C=!1,isSearch:I=!1,centered:b=!1,maxSymbols:S,rightIcon:y,onFocus:T,leftIcon:k}=e,{themeSettings:A}=No(),{isAntistock:P}=mt(),{inputs:E}=A,[M,B]=_.useState(!1);function w(H){if(Number(H)<0)return String(s);const X=H.replace(/[^\d-]/g,"");return Number(X)<0?String(s):X}function V(H){if(!h||!f)return!0;try{return new RegExp(f).test(H)}catch(X){return console.error("Invalid regex pattern:",f,X),!0}}return d.jsxs("div",{className:xn.wrapper,children:[o&&d.jsxs("label",{className:xn.label,htmlFor:o,style:{color:P?"var(--text-secondary)":void 0},children:[o,h&&d.jsx("span",{className:xn.requiredStar,children:"*"})]}),d.jsxs("div",{className:ge(xn.content,{[xn.contentBorder]:!P&&E.border.active,[xn.contentField]:E.field.active,[xn.disabled]:u,[xn.contentIsAntistock]:P}),style:{...n},children:[k&&d.jsx("div",{className:xn.leftIcon,children:k}),d.jsx("input",{maxLength:S,id:o,type:a||"text",onChange:H=>{if(a==="text")t(H.target.value);else{const X=w(H.target.value);t(X)}},value:i,autoComplete:"off",placeholder:c||"Type something...",className:ge(xn.input,{[xn.required]:M&&h&&!V(i),[xn.paddingless]:g,[xn.borderless]:m}),min:a==="number"?s:void 0,max:a==="number"?l:void 0,onFocus:()=>{T==null||T(),B(!0)},disabled:u,style:{textAlign:b?"center":"left",padding:I?`7px ${Number(E.general.size)+20}px 7px ${k?35:11}px`:`7px ${y?35:11}px 7px ${k?35:11}px`}}),y&&d.jsx("div",{className:xn.rightIcon,children:y}),I&&d.jsx("div",{className:xn.rightIcon,children:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)",width:E.general.size,height:E.general.size})}),C&&d.jsx("div",{children:d.jsx(ie,{name:"Sliders",width:20,height:20,hoverable:!0})})]})]})},y8="_button_1v5k3_1",E8="_primary_1v5k3_20",T8="_primaryHovered_1v5k3_30",x8="_secondary_1v5k3_35",_8="_secondaryHovered_1v5k3_45",w8="_secondaryAntistock_1v5k3_50",v8="_tertiary_1v5k3_61",A8="_special_1v5k3_71",k8="_tertiaryHovered_1v5k3_75",L8="_content_1v5k3_80",N8="_isAntistock_1v5k3_88",ar={button:y8,primary:E8,primaryHovered:T8,secondary:x8,secondaryHovered:_8,secondaryAntistock:w8,tertiary:v8,special:A8,tertiaryHovered:k8,content:L8,isAntistock:N8},P8=()=>typeof document<"u"?document.documentElement.hasAttribute("translated")||document.documentElement.querySelector(".translated-ltr, .translated-rtl")!==null||document.head.querySelector('meta[name="_translator"]')!==null:!1,T0=({children:e,className:t,as:n="span",...o})=>{const[i,a]=_.useState(!1);return _.useEffect(()=>{typeof window<"u"&&a(P8())},[]),i?d.jsx(n,{className:t,...o,"data-stable-text":e,dangerouslySetInnerHTML:{__html:""}}):d.jsx(n,{className:t,...o,children:e})},_t=e=>{const{children:t,onClick:n,style:o,className:i,disabled:a=!1,type:s="Primary",dangerouslySetInnerHTML:l}=e,{themeSettings:c}=No(),{isAntistock:u}=mt(),h=I=>typeof I=="string"?d.jsx(T0,{children:I}):I,f={onClick:n,disabled:a,style:o,className:ge(ar.button,i,{[ar.primary]:s==="Primary",[ar.secondary]:s==="Secondary"&&!u,[ar.secondaryAntistock]:s==="Secondary"&&u,[ar.tertiary]:s==="Tertiary",[ar.primaryHovered]:s==="Primary"&&!a&&c.buttons.primary.hover&&!u,[ar.secondaryHovered]:s==="Secondary"&&!a&&c.buttons.secondary.hover&&!u,[ar.tertiaryHovered]:s==="Tertiary"&&!a&&c.buttons.tertiary.hover&&!u,[ar.isAntistock]:u})};if(s==="Special")return d.jsx("button",{...f,className:ar.special,...l?{dangerouslySetInnerHTML:l}:{children:h(t)}});const g=s.toLowerCase(),m=c.buttons[g],C=s==="Tertiary"?d.jsxs("div",{className:ar.content,children:[h(t),d.jsx(ie,{name:"ArrowRight",fill:"var(--text-tertiary)",width:20,height:20})]}):h(t);return d.jsx("button",{...f,style:{...o,textAlign:m.alignment},...l?{dangerouslySetInnerHTML:l}:{children:C}})},R8="_modal_1iz94_1",D8="_padding_1iz94_17",O8="_content_1iz94_21",M8="_close_1iz94_42",Za={modal:R8,padding:D8,content:O8,close:M8},cl=e=>{const{close:t,children:n,withAnimation:o=!0,hasPadding:i=!0}=e,{isOpen:a,setIsOpen:s}=$r(),l=()=>{s(!1),o?setTimeout(()=>{t(!1),s(!0)},300):(t(!1),s(!0))};return _.useEffect(()=>{const c=u=>{u.key==="Escape"&&l()};return document.addEventListener("keydown",c),()=>{document.removeEventListener("keydown",c)}},[]),To.createPortal(d.jsx("div",{className:ge(Za.modal,{[Za.padding]:i}),onClick:l,children:o?d.jsx("div",{className:ge(Za.content,{[Za.close]:!a}),children:n}):d.jsx(d.Fragment,{children:n})}),document.body)},B8="_loader_1kbu3_1",F8="_loaderAntistock_1kbu3_18",U1={loader:B8,loaderAntistock:F8},An=e=>{const{isAntistock:t}=mt();return t?d.jsx("span",{className:U1.loaderAntistock,style:{width:"15px",height:"15px",borderWidth:"2px"}}):d.jsx("div",{className:U1.loader,...e})},H8="_container_6vcrl_1",j8="_wrapper_6vcrl_5",V1={container:H8,wrapper:j8};class U8{constructor(){Ti(this,"observer",null);Ti(this,"callbacks",new Map);Ti(this,"handleWindowResize",()=>{this.callbacks.forEach((t,n)=>{const o=n.getBoundingClientRect().width;t.forEach(i=>i(o))})});this.observer=new ResizeObserver(t=>{var n;for(const o of t){const i=o.contentRect.width,a=o.target;this.callbacks.has(a)&&((n=this.callbacks.get(a))==null||n.forEach(s=>s(i)))}}),window.addEventListener("resize",this.handleWindowResize)}observe(t,n){var i;if(!this.observer)return;this.callbacks.has(t)||(this.callbacks.set(t,[]),this.observer.observe(t)),(this.callbacks.get(t)||[]).includes(n)||(i=this.callbacks.get(t))==null||i.push(n)}unobserve(t,n){var o;if(!(!this.observer||!this.callbacks.has(t))){if(n){const i=this.callbacks.get(t)||[];this.callbacks.set(t,i.filter(a=>a!==n))}(o=this.callbacks.get(t))!=null&&o.length||(this.callbacks.delete(t),this.observer.unobserve(t))}}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callbacks.clear(),window.removeEventListener("resize",this.handleWindowResize)}}const z1=new U8;function x0(e){const[t,n]=_.useState("desktop");return _.useEffect(()=>{const o=e.current;if(!o)return;const i=l=>l>=1081?"desktop":l>=720?"tablet":"mobile",a=l=>{const c=i(l);n(c)};z1.observe(o,a);const s=o.getBoundingClientRect().width;return a(s),()=>{z1.unobserve(o,a)}},[e]),t}const Xa=16,_0=({children:e,padding:t,style:n,notPadding:o=!1,maxWidth:i="var(--max-width-store)"})=>{const a=_.useRef(null),s=x0(a);return d.jsx("div",{className:V1.container,ref:a,style:n,children:d.jsx("div",{className:V1.wrapper,style:{maxWidth:i,paddingTop:s==="desktop"?t==null?void 0:t.top:o?0:Xa,paddingBottom:s==="desktop"?t==null?void 0:t.bottom:o?0:Xa,paddingLeft:s==="desktop"?t==null?void 0:t.left:o?0:Xa,paddingRight:s==="desktop"?t==null?void 0:t.right:o?0:Xa,...n},children:e(s)})})},V8="_wrapper_d9z4o_1",z8="_label_d9z4o_10",$8="_contentBorder_d9z4o_19",W8="_textarea_d9z4o_23",q8="_contentField_d9z4o_35",G8="_antistock_d9z4o_49",Y8="_length_d9z4o_58",Gr={wrapper:V8,label:z8,contentBorder:$8,textarea:W8,contentField:q8,antistock:G8,length:Y8},Z8=e=>{const{onChange:t,label:n,value:o,maxLength:i,placeholder:a="Type something...",type:s="text",required:l=!1}=e,[c,u]=_.useState(o.length),{themeSettings:h}=No(),{isAntistock:f}=mt();function g(m){return s==="number"?m.replace(/[^\d\n]+/g,""):m}return d.jsxs("div",{className:Gr.wrapper,children:[n&&d.jsxs("label",{className:Gr.label,htmlFor:n,style:{color:f?"var(--text-secondary)":void 0},children:[n,l&&d.jsx("span",{className:Gr.requiredStar,children:"*"})]}),d.jsx("textarea",{id:n,value:o,onChange:m=>{const C=g(m.target.value);u(C.length),t(C)},placeholder:a,className:ge(Gr.textarea,{[Gr.contentBorder]:h.inputs.border.active,[Gr.contentField]:h.inputs.field.active,[Gr.antistock]:f}),maxLength:i}),i&&d.jsxs("div",{className:Gr.length,children:[c,"/",i]})]})},X8="_wrapper_ty9h3_2",K8="_label_ty9h3_9",Q8="_top_ty9h3_17",J8="_select_ty9h3_23",eE="_borderFocused_ty9h3_42",tE="_input_ty9h3_49",nE="_icon_ty9h3_59",rE="_rotate_ty9h3_64",oE="_content_ty9h3_68",iE="_options_ty9h3_72",aE="_filteredOptions_ty9h3_93",sE="_open_ty9h3_97",lE="_option_ty9h3_72",cE="_focused_ty9h3_115",uE="_addon_ty9h3_119",dE="_value_ty9h3_130",hE="_postfix_ty9h3_135",fE="_leftAddon_ty9h3_139",Jt={wrapper:X8,label:K8,top:Q8,select:J8,borderFocused:eE,input:tE,icon:nE,rotate:rE,content:oE,options:iE,filteredOptions:aE,open:sE,option:lE,focused:cE,addon:uE,value:dE,postfix:hE,leftAddon:fE};function pE(e,t){_.useEffect(()=>{function n(o){!e.current||e.current.contains(o.target)||t(o)}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const w0=e=>{var M,B;const{onChange:t,label:n,value:o,options:i,style:a,switcher:s,postfixs:l,leftAddonOptions:c}=e,[u,h]=_.useState(!1),[f,g]=_.useState(""),[m,C]=_.useState(null),[I,b]=_.useState(!1),S=_.useRef(null);pE(S,()=>h(!1));function y(w){g(""),t(w),h(!1),C(null)}function T(w,V){return w?w.length>V+3?`${w.slice(0,V)}...`:w:""}function k(w){if(!u){(w.key==="Enter"||w.key==="ArrowDown")&&h(!0);return}const V=E;w.key==="ArrowDown"&&(w.preventDefault(),C(H=>H===null||H===V.length-1?0:H+1)),w.key==="ArrowUp"&&(w.preventDefault(),C(H=>H===null||H===0?V.length-1:H-1)),w.key==="Enter"&&m!==null&&(w.preventDefault(),y(V[m])),w.key==="Escape"&&h(!1)}const A=_.useRef(null),P=_.useMemo(()=>new Wr(i,{threshold:.4,minMatchCharLength:2}),[i]),E=_.useMemo(()=>I&&f.trim()!==""?P.search(f).map(w=>w.item):i,[f,i,I,P]);return d.jsxs("div",{className:Jt.wrapper,style:{...a},children:[n&&d.jsxs("div",{className:Jt.top,children:[d.jsx("label",{className:Jt.label,htmlFor:n,children:n}),s&&d.jsx(vr,{current:s.value,onChange:s.onChange})]}),d.jsxs("label",{className:Jt.content,ref:S,children:[d.jsxs("div",{className:ge(Jt.select,{[Jt.borderFocused]:u}),onKeyDown:k,onClick:w=>{w.stopPropagation(),h(V=>!V),b(!1)},ref:A,tabIndex:0,children:[c&&c.length>0&&d.jsx("div",{className:Jt.addon,children:(M=c.find(w=>w.value===o))==null?void 0:M.addon}),d.jsx("div",{className:Jt.input,id:"md",children:T(o,15)}),d.jsx("div",{className:ge(Jt.icon,{[Jt.rotate]:u}),onClick:w=>{w.stopPropagation(),h(V=>!V)},children:d.jsx(ie,{name:"CaretDown",width:16,height:16,fill:"var(--text-primary)"})})]}),d.jsxs("div",{className:ge(Jt.options,{[Jt.open]:u}),style:{top:((B=A.current)==null?void 0:B.clientHeight)+10},children:[i.length>6&&d.jsx(Ro,{type:"text",value:f,placeholder:"Search...",onChange:w=>{g(w),b(!0)},isSearch:!0}),d.jsxs("div",{className:Jt.filteredOptions,children:[E.map((w,V)=>{var H;return d.jsxs("div",{className:ge(Jt.option,{[Jt.focused]:V===m}),onClick:()=>{y(w),h(!1)},id:"md",children:[c&&c.length>0&&d.jsx("div",{className:Jt.leftAddon,children:(H=c.find(X=>X.value===w))==null?void 0:H.addon}),d.jsx("span",{className:Jt.value,id:"md",children:T(w,20)}),l&&d.jsx("span",{className:Jt.postfix,id:"md",children:l[V]})]},w)}),E.length===0&&d.jsx("div",{children:"No results found."})]})]})]})]})},mE="_wrapper_2vleg_1",gE="_label_2vleg_9",IE="_options_2vleg_17",CE="_radioLabel_2vleg_23",bE="_radio_2vleg_23",SE="_custom_2vleg_38",yE="_option_2vleg_17",mo={wrapper:mE,label:gE,options:IE,radioLabel:CE,radio:bE,custom:SE,option:yE},EE=e=>{const{defaultValue:t,options:n,onChange:o,label:i,flexDirection:a="row"}=e,[s,l]=_.useState(t),c=u=>{const h=u.target.value;l(h),o(h)};return d.jsxs("div",{className:mo.wrapper,children:[d.jsx("span",{className:mo.label,children:i}),d.jsx("div",{className:mo.options,style:{flexDirection:a},children:n.map(u=>d.jsxs("label",{className:mo.radioLabel,children:[d.jsx("input",{type:"radio",value:u.value,checked:s===u.value,onChange:c,className:mo.radio}),d.jsx("span",{className:mo.custom}),d.jsx("span",{className:mo.option,children:u.label})]},u.value))})]})},TE="_content_eonwv_1",xE="_main_eonwv_12",_E="_block_eonwv_16",wE="_active_eonwv_22",vE="_name_eonwv_32",AE="_addSection_eonwv_109",kE="_addSectionTop_eonwv_117",Yr={content:TE,main:xE,block:_E,active:wE,name:vE,addSection:AE,addSectionTop:kE},LE="_sidebar_xhqpt_1",NE="_content_xhqpt_14",PE="_button_xhqpt_24",RE="_moveButton_xhqpt_40",DE="_deleteButton_xhqpt_49",br={sidebar:LE,content:NE,button:PE,moveButton:RE,deleteButton:DE},OE=()=>{var A;const{activeBlock:e,setActiveBlock:t}=Xs(),{blocks:n,removeBlock:o,moveBlock:i,duplicateBlock:a,setCurrentBlock:s}=Hr(),{currentPage:l,pages:c}=zr(),{setTitle:u,setDescription:h,setOnConfirm:f}=Qf(),{setActiveBlock:g}=Lo(),m=(A=c==null?void 0:c[l])==null?void 0:A.path,C=m?n[m]:null,I=(C==null?void 0:C.order)||[],b=I.indexOf(e.id),S=P=>{P.stopPropagation(),b>0&&m&&(i(m,b,b-1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},y=P=>{P.stopPropagation(),b<I.length-1&&m&&(i(m,b,b+1),t({id:e.id,neededScroll:!0}),setTimeout(()=>{t({id:e.id,neededScroll:!1})},100))},T=P=>{P.stopPropagation(),m&&a(m,e.id)},k=()=>{m&&(o(m,e.id),s(null),g(null),t({id:null,neededScroll:!1}))};return d.jsx("div",{className:br.sidebar,children:d.jsxs("div",{className:br.content,children:[d.jsx("button",{onClick:S,className:ge(br.button,br.moveButton),disabled:b===0,children:d.jsx(ie,{name:"ArrowUp"})}),d.jsx("button",{onClick:y,className:ge(br.button,br.moveButton),disabled:b===I.length-1,children:d.jsx(ie,{name:"ArrowDown"})}),d.jsx("button",{onClick:T,className:ge(br.button,br.moveButton),children:d.jsx(ie,{name:"Copy"})}),d.jsx("button",{className:ge(br.button,br.deleteButton),onClick:P=>{P.stopPropagation(),u("Remove Block"),h(`Are you sure you want to delete ${(C==null?void 0:C.data[e.id].name)||"this"} block? Once you delete this block, any content visible will also be deleted. This is irreversible.`),f(k)},children:d.jsx(ie,{name:"Trash",hoverable:!0,fill:"#C12A2A"})})]})})};function $i(e,t){if(!t||!t[e])return"unknown name";const n=new t[e];return!n.blockSettings||!n.blockSettings.displayName?"unknown name":n.blockSettings.displayName}const ME=_.memo(({scrollableRef:e})=>{const{setActiveBlock:t,activeBlock:n,zoomLevel:o}=Xs(),{blocks:i,sourceBlocks:a}=Lo(),{blocks:s,setCurrentBlock:l,currentBlock:c,setPositionBlock:u,announcement:h}=Hr(),{settings:f}=ya(),{currentPage:g,pages:m,pageContext:C}=zr(),{activeBlock:I,setActiveBlock:b}=No(),{setError:S}=Kf(),{setActiveBlock:y}=Lo(),T=_.useRef(n.id),k=_.useRef({});_.useEffect(()=>{if(n.id&&n.neededScroll&&k.current[n.id]){const E=k.current[n.id];if(E&&e.current){const M=E.offsetTop;e.current.scrollTo({top:M-30,behavior:"smooth"})}}},[n,e]);const A=Vr();_.useEffect(()=>{T.current=n.id},[n.id]);const P=E=>{if(!E||!E.name)return S({message:"Block or block.name is undefined.",failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Wc,{error:"Block or block.name is undefined."});if(!i||!i[E.name])return S({message:'Block "${block.name}" does not exist in blocks.',failedSettings:!1,failedThemeSettings:!1,failedPageIds:m&&m[g].id?[m[g].id]:[]}),d.jsx(Wc,{error:`Block "${E.name}" does not exist in blocks.`});const M=new i[E.name];return E.value&&Object.assign(M,E.value),M.renderBlock(f,C)};return d.jsxs("div",{onClick:E=>{E.stopPropagation()},className:Yr.content,style:{width:"100%",height:"100%",zoom:`${o}`},ref:e,children:[h&&d.jsx(C0,{}),d.jsx(I0,{}),d.jsx("div",{className:Yr.main,children:m&&m[g]&&s[m[g].path]&&s[m[g].path].data&&s[m[g].path].order.map(E=>d.jsxs("div",{ref:M=>k.current[E]=M,onClick:M=>{M.stopPropagation(),y(null),I&&b(null),t({id:E,neededScroll:!0}),setTimeout(()=>{t({id:E,neededScroll:!1})},100),l(null),c?setTimeout(()=>{l(n.id)},100):l(n.id)},onMouseEnter:M=>{M.stopPropagation(),n.neededScroll||t({id:E,neededScroll:!1})},onMouseLeave:M=>{M.stopPropagation(),n.neededScroll||t({id:null,neededScroll:!1})},className:ge(Yr.block),children:[(n.id===E||c===E)&&d.jsx("div",{className:Yr.active}),(n.id===E||c===E)&&d.jsx("div",{className:Yr.name,children:$i(s[m[g].path].data[E].name,a)}),(n.id===E||c===E)&&$i(s[m[g].path].data[E].name,a)!=="unknown name"&&d.jsx(OE,{}),(n.id===E||c===E)&&$i(s[m[g].path].data[E].name,a)!=="unknown name"&&d.jsx("div",{className:Yr.addSection,children:d.jsx(ti,{onClick:M=>{M.stopPropagation(),u(E,!0),l(null),t({id:null,neededScroll:!1}),y(null),A("/admin/builder/add")},children:"Add Section"})}),(n.id===E||c===E)&&$i(s[m[g].path].data[E].name,a)!=="unknown name"&&d.jsx("div",{className:ge(Yr.addSection,Yr.addSectionTop),children:d.jsx(ti,{onClick:M=>{M.stopPropagation(),u(E,!1),l(null),t({id:null,neededScroll:!1}),y(null),A("/admin/builder/add")},children:"Add Section"})}),i&&d.jsx(m0,{render:P,block:s[m[g].path].data[E]})]},E))}),d.jsx(g0,{})]})}),BE="_statItem_fzeec_1",FE="_content_fzeec_44",HE="_withChildren_fzeec_50",jE="_info_fzeec_56",UE="_iconWrapper_fzeec_68",VE="_text_fzeec_78",zE="_title_fzeec_84",$E="_value_fzeec_88",WE="_emptyImage_fzeec_94",qE="_image_fzeec_11",GE="_imageTitle_fzeec_112",YE="_emptyImageText_fzeec_122",ZE="_hoverable_fzeec_147",Wt={statItem:BE,content:FE,withChildren:HE,info:jE,iconWrapper:UE,text:VE,title:zE,value:$E,emptyImage:WE,image:qE,imageTitle:GE,emptyImageText:YE,hoverable:ZE},Zn=({iconName:e,title:t,value:n,image:o,imageName:i,children:a,className:s,logo:l,customLogo:c,productSlug:u})=>{const h=Vr();return d.jsxs("div",{className:`${Wt.statItem} ${s}`,children:[o&&o!=="empty"&&d.jsxs("div",{style:{position:"relative"},onClick:()=>{u&&h(`/${u}`)},children:[d.jsx("div",{style:{background:"#000000"},children:d.jsx("img",{src:o,alt:i,className:ge(Wt.image,Wt.emptyImage,{[Wt.hoverable]:u})})}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:ge(Wt.title,Wt.imageTitle),id:"h5",children:i})})]}),o==="empty"&&d.jsx("div",{style:{background:"#000000"},children:d.jsxs("div",{className:ge(Wt.emptyImage,{[Wt.hoverable]:u}),onClick:()=>{u&&h(`/${u}`)},children:[d.jsx(ie,{name:"Image",width:64,height:64,fill:"var(--text-secondary)"}),d.jsx("div",{className:Wt.emptyImageText,children:d.jsx("div",{className:Wt.title,id:"h5",children:i||"No Product"})})]})}),d.jsxs("div",{className:`${Wt.content} ${a?Wt.withChildren:""}`,children:[d.jsxs("div",{className:Wt.info,children:[c?d.jsx("div",{style:{color:"var(--text-action)"},children:c}):l?d.jsx("div",{className:Wt.iconWrapper,children:d.jsx("img",{src:l,width:28,height:28,style:{objectFit:"contain"}})}):d.jsx(ie,{name:e||"File",className:Wt.iconWrapper,width:28,height:28,fill:"var(--text-action)"}),d.jsxs("div",{className:Wt.text,children:[d.jsx("div",{className:Wt.title,id:"h5",children:t}),d.jsx("div",{className:Wt.value,id:"h5-bold",children:n})]})]}),a]})]})},XE="_card_8m277_2",KE="_mobile_8m277_15",QE="_email_8m277_19",JE="_balance_8m277_25",eT="_sidebar_8m277_32",tT="_sidebarAntistock_8m277_33",nT="_navList_8m277_68",rT="_navListAntistock_8m277_86",oT="_navItem_8m277_91",iT="_antistockNavItem_8m277_92",aT="_activeNavItem_8m277_116",sT="_antistockActiveNavItem_8m277_121",lT="_antistockInactiveNavItem_8m277_139",cT="_inactiveNavItem_8m277_140",uT="_logoutNavItem_8m277_150",dT="_logoutNavItemAntistock_8m277_159",hT="_logoutNavItemContentAntistock_8m277_173",fT="_iconWrapper_8m277_185",pT="_skeleton_8m277_190",yt={card:XE,mobile:KE,email:QE,balance:JE,sidebar:eT,sidebarAntistock:tT,navList:nT,navListAntistock:rT,navItem:oT,antistockNavItem:iT,activeNavItem:aT,antistockActiveNavItem:sT,antistockInactiveNavItem:lT,inactiveNavItem:cT,logoutNavItem:uT,logoutNavItemAntistock:dT,logoutNavItemContentAntistock:hT,iconWrapper:fT,skeleton:pT},mT=({email:e,balance:t,adaptiveStyles:n})=>d.jsxs("div",{className:ge(yt.card,{[yt.mobile]:n!=="desktop"}),children:[d.jsx("div",{className:yt.email,id:"h5",children:e}),d.jsxs("div",{className:yt.balance,id:"md",children:["Balance: ",t]})]}),gT=[[Ut.Home,"House"],[Ut.Orders,"CurrencyCircleDollar"],[Ut.Rewards,"Medal"],[Ut.Balance,"Wallet"],[Ut.Subscriptions,"CalendarCheck"],[Ut.Tickets,"Question"]],IT=[[ji.Home,"House"],[ji.Orders,"CurrencyCircleDollar"],[ji.Balance,"Wallet"],[ji.Tickets,"Question"]],$1=({children:e,className:t="",onClick:n})=>{const{isAntistock:o}=mt();return d.jsx("button",{type:"button",className:ge(o?yt.antistockNavItem:yt.navItem,t),onClick:n,children:e})},CT=({adaptiveStyles:e})=>{const{route:t,setRoute:n}=rr(),{isAntistock:o}=mt(),i=o?IT:gT;return d.jsxs("div",{className:ge(yt.navList,{[yt.mobile]:e!=="desktop",[yt.navListAntistock]:o}),children:[i.map(([a,s])=>{const l=a===t;return d.jsxs($1,{onClick:()=>n(a),className:ge(l?o?yt.antistockActiveNavItem:yt.activeNavItem:o?yt.antistockInactiveNavItem:yt.inactiveNavItem),children:[o?null:d.jsx("div",{className:yt.iconWrapper,children:d.jsx(ie,{name:s})}),d.jsx("div",{children:a})]},a)}),d.jsx($1,{className:ge(yt.logoutNavItem,{[yt.logoutNavItemAntistock]:o}),onClick:()=>{o||Gc()},children:o?d.jsxs("div",{className:ge({[yt.logoutNavItemContentAntistock]:o}),onClick:()=>{Gc()},children:[d.jsx("div",{className:yt.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]}):d.jsxs(d.Fragment,{children:[d.jsx("div",{className:yt.iconWrapper,children:d.jsx(ie,{name:"SignOut"})}),d.jsx("div",{children:"Sign Out"})]})})]})};var Ge=(e=>(e.New="NEW",e.Pending="PENDING",e.Completed="COMPLETED",e.Cancelled="CANCELLED",e.Expired="EXPIRED",e.FullDeliveryFailure="FULL_DELIVERY_FAILURE",e.PartiallyDelivered="PARTIALLY_DELIVERED",e.Refunded="REFUNDED",e.Failed="FAILED",e))(Ge||{}),at=(e=>(e.Text="TEXT",e.Serial="SERIALS",e.Ebook="EBOOK",e.Link="LINK",e.Download="DOWNLOAD",e.Discord="DISCORD",e.Custom="CUSTOM",e))(at||{}),Or=(e=>(e.RIAL="RIAL",e.AWAITING_PAYMENT="AWAITING_PAYMENT",e.ACTIVE="ACTIVE",e.PAST_DUE="PAST_DUE",e.CANCELLED="CANCELLED",e.EXPIRED="EXPIRED",e.CHANGED_GATEWAY="CHANGED_GATEWAY",e.REPLACED="REPLACED",e))(Or||{});const ka=async e=>(await b0(e)).data,v0=async()=>{var n;const t=(await ky()).data;if(t.isEnabled){const o=(n=t==null?void 0:t.topUpSettings)==null?void 0:n.gateways;o&&ka(o)}return t},qu=async()=>{const t=(await Ay()).data;return{amount:t.realBalance+t.manualBalance,currency:t.currency}};var Wi=(e=>(e.ADDED="ADDED",e.REMOVED="REMOVED",e))(Wi||{}),it=(e=>(e.NotPaid="NOT_PAID",e.Pending="PENDING",e.Paid="PAID",e.Expired="EXPIRED",e.Cancelled="CANCELLED",e))(it||{}),fa=(e=>(e.Balance="BALANCE",e.Product="PRODUCT",e))(fa||{}),$n=(e=>(e.Spend="SPEND_AMOUNT",e.Order="ORDER_COUNT",e.Referral="REFER_FRIEND",e.Review="LEAVE_REVIEW",e))($n||{});const bT=async()=>(await vy()).data;/*! *****************************************************************************
|
|
74
74
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
75
75
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
76
76
|
this file except in compliance with the License. You may obtain a copy of the
|
|
@@ -83,7 +83,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
83
83
|
|
|
84
84
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
85
85
|
and limitations under the License.
|
|
86
|
-
***************************************************************************** */var ro=function(){return ro=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},ro.apply(this,arguments)};function ST(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}var yT=function(){return Math.random().toString(36).substring(6)},ET=function(e){var t=e.animate,n=t===void 0?!0:t,o=e.backgroundColor,i=o===void 0?"#f5f6f7":o,a=e.backgroundOpacity,s=a===void 0?1:a,l=e.baseUrl,c=l===void 0?"":l,u=e.children,h=e.foregroundColor,f=h===void 0?"#eee":h,g=e.foregroundOpacity,m=g===void 0?1:g,C=e.gradientRatio,I=C===void 0?2:C,b=e.uniqueKey,S=e.rtl,y=S===void 0?!1:S,T=e.speed,k=T===void 0?1.2:T,A=e.style,P=A===void 0?{}:A,E=e.title,M=E===void 0?"Loading...":E,B=e.beforeMask,w=B===void 0?null:B,V=ST(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),H=b||yT(),X="".concat(H,"-diff"),W="".concat(H,"-animated-diff"),se="".concat(H,"-aria"),Ce=y?{transform:"scaleX(-1)"}:null,be="".concat(k,"s"),ve="".concat(I*-1," 0"),Le="".concat(I," 0");return _.createElement("svg",ro({"aria-labelledby":se,role:"img",style:ro(ro({},P),Ce)},V),M?_.createElement("title",{id:se},M):null,w&&_.isValidElement(w)?w:null,_.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(X,")"),style:{fill:"url(".concat(c,"#").concat(W,")")}}),_.createElement("defs",null,_.createElement("clipPath",{id:X},u),_.createElement("linearGradient",{id:W,gradientTransform:"translate(".concat(ve,")")},_.createElement("stop",{offset:"0%",stopColor:i,stopOpacity:s}),_.createElement("stop",{offset:"50%",stopColor:f,stopOpacity:m}),_.createElement("stop",{offset:"100%",stopColor:i,stopOpacity:s}),n&&_.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(ve,"; 0 0; ").concat(Le),dur:be,repeatCount:"indefinite"}))))},ka=function(e){return e.children?_.createElement(ET,ro({},e)):_.createElement(TT,ro({},e))},TT=function(e){return _.createElement(ka,ro({viewBox:"0 0 476 124"},e),_.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),_.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),_.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),_.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),_.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),_.createElement("circle",{cx:"20",cy:"20",r:"20"}))};const xT=({adaptiveStyles:e})=>{const{dashInfo:t,balance:n,setBalance:o,setDashInfo:i}=rr(),{isAntistock:a}=mt();return _.useEffect(()=>{(async()=>{const{data:l}=await _y(),c=await qu();i(l),o(c)})()},[]),d.jsxs("div",{className:ge(a?yt.sidebarAntistock:yt.sidebar,{[yt.mobile]:e!=="desktop"}),style:{paddingTop:a?"48px":void 0},children:[!t||!n?d.jsx(d.Fragment,{children:!a&&d.jsx(_T,{adaptiveStyles:e})}):!a&&d.jsx(mT,{email:t.email,balance:Pn(n),adaptiveStyles:e}),d.jsx(CT,{adaptiveStyles:e})]})},_T=({adaptiveStyles:e})=>d.jsx(ka,{speed:2,width:320,height:120,viewBox:"0 0 320 120",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(yt.skeleton,{[yt.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"280",height:"100"})}),wT="_balanceContainer_19h4u_1",vT="_headerTitle_19h4u_12",AT="_balanceHeader_19h4u_16",kT="_balanceAmount_19h4u_23",LT="_balanceAmountTitle_19h4u_36",NT="_balanceAmountValue_19h4u_41",PT="_transactionDate_19h4u_69",RT="_transactionItem_19h4u_76",DT="_transactionDetails_19h4u_84",OT="_iconWrapper_19h4u_89",MT="_transactionInfo_19h4u_100",BT="_transactionTitle_19h4u_105",FT="_transactionId_19h4u_109",HT="_transactionAmount_19h4u_115",jT="_added_19h4u_120",UT="_removed_19h4u_123",VT="_noItemsBlock_19h4u_127",zT="_pagination_19h4u_136",$T="_modal_19h4u_142",WT="_header_19h4u_12",qT="_form_19h4u_154",GT="_label_19h4u_160",YT="_bonusBlock_19h4u_173",ZT="_gatewayList_19h4u_187",XT="_gatewayButton_19h4u_194",KT="_selected_19h4u_204",QT="_gatewayName_19h4u_211",JT="_error_19h4u_214",e9="_submitButton_19h4u_219",t9="_addBalanceButton_19h4u_241",n9="_gatewayIcon_19h4u_260",r9="_loaderContainer_19h4u_282",o9="_transactionsContainer_19h4u_290",i9="_transactionsHeader_19h4u_8",a9="_transactionsContent_19h4u_304",Ye={balanceContainer:wT,headerTitle:vT,balanceHeader:AT,balanceAmount:kT,balanceAmountTitle:LT,balanceAmountValue:NT,transactionDate:PT,transactionItem:RT,transactionDetails:DT,iconWrapper:OT,transactionInfo:MT,transactionTitle:BT,transactionId:FT,transactionAmount:HT,added:jT,removed:UT,noItemsBlock:VT,pagination:zT,modal:$T,header:WT,form:qT,label:GT,bonusBlock:YT,gatewayList:ZT,gatewayButton:XT,selected:KT,gatewayName:QT,error:JT,submitButton:e9,addBalanceButton:t9,gatewayIcon:n9,loaderContainer:r9,transactionsContainer:o9,transactionsHeader:i9,transactionsContent:a9},s9=async(e=1)=>await qy({PageNumber:e}),l9=async({price:e,gateway:t,customerEmail:n})=>await xy({customerEmail:n,price:e,gateway:t,tsId:so()}),W1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABcCAYAAAD50zLWAAAVdklEQVR4nM2da4hs2VXHf2ufU1XdffvOnfdN5pmZTGYm88xjMuRhkBAUgyIoBNHgp3wV/CAoYgQ/KQQi+SAiShQ1QhCNCuoXjYqIiZiJ7zFGY5QQNWHIa3K7u6rOXn8/7L3Po+pUdfWde/veBaer6jz22Xvt9V5r7zZ770coYGaA4xbac0jGlQV87VjhSoOkdwMfIthTQAAHMM4HlD+XwEvA14HP5eNTwCeAK8AMOFEwuGVfNg3Y3oQwrc0BKTVjDm7IzLT6IgDlUSW8jEN9SoeN9DLDhYyHEB8B7gVCHtB5Ia8PE+DVwGXg8dwXgAj8JfBrwF8hfYmT5VJeA5hjUBshI8QD2Cvsfth6SkoocpHn6D3AgzIqOmq4nqCVYxUCaQLLtQp4G/DrwL8Av8rCX8PRXHp5bv7yXH5lIS1dSowjgtEeVwEDBBbSHgzABa5CaU8BCzLfrgz0WsNZ2yxInuXfU+CHkD5H5KPM/QmunMDREh3NsWWUuTAzZJbYdASJ29gXRimw97BIVOiOJeQ+SjfrcGPYd1doTChxkd6H+8dZ+Ps5Wk50ZYG/PEdXTsBFHQI2gsSww/C2IhBIZOlSps6nzazpXz37uM4M/XdY7zitD5PeMxF4LfCLuD7AUuhkYbqyCH48R9FbBPaROMKRazCKwCAwV2pAwqIj6U7ggozpyPPXgxJLm32KH+3uyDPdd2GZuYWogJ/G9Rs03MIyGkdL4tGJxRhxerIpGLLTkbiGQEndQxI0QhEz8VqSXFGSGwTZuSqSTUgsfRgTK0OKLSpXeh/Sb+HaY9GIkwU6mhvu68+cAttZWEDjhRqfB4KkIBtovuspB7cNpn9+9Xr7OysBA8wwTMiEIb0L168wX0w5WVQcz9F8YSanp/RPHVvYRKKFfYMrI9EekNTXSgaYrif6doNNPWiRn6F/DhP75vpeXD9C49Ear1k0KIkrAO0i4gNs5nMD3N1wF/BMunV477gNf1PCGKIPTPpxi/4E7tGWEYtJCkqyVqlsgZaFNwrLZAcGEgLX4CagwKuHJO8vm+vnLUpEhyYmx+EUxBXYqkSUbEAz16tx3X1te39TgHCh6N+pJr7Loot5Q/Ad7JcMLQILxgeYd4EbEJ4ot12ty3OzgplJyVT7CUWv5Y430fAiB7dDYBvrAkFI0hMUU2Lt/o6IdyX7mwSSmhUN4JLeGqIusYyiicXzKrBxYJ0MtHV5FhJ5A9xDsEVqanhTUiIBsyp/7obEIip2sfavB1gym4ut0ij6ocf4HUiVOTiGpFVTaTA4mVGDZ6QYJAMZooMLP15AdBH0dnPZqj1rSvgfIi1gBlLc2HlJKbik0rPrSbmrcY8OzMyEB4Qb7hyfvLvam34MsJh7NsLFBkghXavXLyWEyCNEgVSTojC1mSm3Z13nhnrIe7gYM3GKfYnHNB1l8mTnotHbSTOzzKcBk0mYgj1Ps9yXpougXgxqrJ0s4uqWJYtyKP5fzAOFS8DFkTba5lcM7O6GEvm1vnMeQUuIC8wTpRc8nwcCh5ItWD2bSlalLobwkJaLKJ95RxyWwnmhZelBE4kCx+SWWgS+iSHvbnDh0guDul/D5hLbEpcwP4JmjmIDvhwZ2XmAYVTEuIftHWB17UzqfZp4UeZftRBMdZC5WuJqNXYbKlhlYehMl2RAA7yezT5zQZclxydmZZJYZQ0nMcLyBBZH0CzSBJmvtXZ+IGx5ArGRTyaYHUi33zKzO2+pONwH96iFwzJLxGJg95Rfhxj1RuyeWNiFpdzDepgIVJBFb+hrrl7fvjSHlupihzyFdHC+hyxH3Jsl4ejI7BvfND1w+Wd0352Pc9uFhr0JXNiDvUkKb4VO3BU3r4fAgjy1Wjhj+s09xLWIzPJqwKktZkdsRVlICio2aYL6ExaUxMh5H5D6Qg69L+YVd178YWaTFzStf5a9ibgwgYv7sD/FqgBVaJEo64KVRcqnBIHLiG64YWplYB9PBpgbhWXXhKh67KnQdVjEId7NEvUFGwavrvdBtjZyuLWaTYIqg0k1RU2N8ZMczP6L/embOJjBwQzNJhDMqILJMIJZXwYaEuag6AGpxnWnpDtGrd2EkOBAIuSClKH6SHorJGQWymufr9LUhNBv85xARatiwppvXIFX3QZghFZrPIjx50zD+2D2hyQSg+NFQqQXJaLMQsJaO20Zl0gPt3nhlbebi86OTh7eZhZOXNqitiCqIE+np2auOXgx5mVCKXT3yAMZF1XBiZAOQB9nWv0gzH4n9VvGydIwhbqN1RaR5HmkLiE9C6MGcSK/9EA6YRWseh8KLVal2FJfQnjPKrLu2rlBLguQ5f5Ma3jVHWlCW2tPpPR7MCz+MtPqX2H2YmviLZrB1Ge14Ebj2TnmyT7yTjN0N6EgkKO8Wq7HeUtnShT9PI8ycDPs9otw6RBCVU6Cl4l1IbsVmj9iEu4rMpG9iUJf7ljBgrtwVeZ6vB1nTxF0Y49bgwHZvO88EC9mi2gZuj+Ya02F7eSMHH1YNPhr74e6GloH/XZwkN2LxY8yrTwhcNpSYMltiJIPkG4BHtlk13XgvWvV4IqyeIDsgcRmnc2HjW++djVwmgnT7+fD9wGhtWiKGUdx3yQHr5A9B837mVbiwkyDnGvxUPKD9wJrUWgfGeMYkgv1hTJHEuYRtDk6cu6Q5Bh68mGYzTrq9B6VKjunJfwC+xB+DvxeJtW06FFIiEvxluTCXQamuyRWwDeycjJTI8QG+SkUeB4wcAfAZlN47MEOcd4X+mXyQ3pKISblyl2I94LPS4laMobMRHSCI8SzpJKITHWDvP0I+CAGmNhXqbcuiIvkwrWzfH42n7Vx0b75ZLBYorc+AWHSu7u4euVh652nxkwQhFXfQwqotko7a2GZpEPgjcOWXgHIoZn3lEg4F6M5+aqBSAreyugozCo43Ie7Lyd/d0V+j1StqB/AB96CwtMDLdyG2KVvAY+sduaqwXMQ4dyhEz8pxhkBg7qGxRKeegwOL6wjL4wrm7bRBBeAbwut8JKlKKvkSrx4Pz0j46y5i85+zOzb/jxPr0M4SmVqRucyLpbYG5+kevCB9ZrA5JGd3nA6vr115UwJSeYyXI8J7mG70Nv+hk2Td06ib0B5lt9dvj/8APWzjxPL70IcYSPyNqH0zW0wQZLMRYjIV9j3FYPHITuoypGa6+e+DQOeiR0lYfdcZvLON6c3h96Etu7bKPT1RP/z9i6YIKFGeBOR9HqwE7py2VcAsYyo1xdWznHdlIokQl1h0yncckh4x1uIFtY55OxzacBtoTxsLqzJ9pzr7ebaK3eGqyQUa+0q76RGMVK95/+eirwtQb1yR2lj5ZIEOonYpYvU73gLmtVt4aT32Xfzi/ug1Wt1icIkLZVjdoRH11sOhIyInfCZcwdWv5xTpDnL1feLzaDukvHrcnMFSUVOa/V69rRseA4M7riEP3I//tgjaH+G5svM3jspi9XOtF57/v21OgfzJFcSEi4z52GSAinzqaCz57/NDJZLWCzARQiBaAAVhIDldRptsnnDgERokZe6M/R8Ur6l90AVksY9PIS3PYvdfRdIxPmiQ8UZhtF2Y11SvlRn28+IYI2waI8JTVtpOcJetmI7jkHL9qHG9qaoJNJbUVi0pLdd3BQ665DXk/lZKbR9MBJVVxXccSs8+hDh/lfDbC9xWKH4axPxKd34z7p/Rk1E7k+1aF7F3hlsuHZwX3kptR867yM5BMKKlZS9g8HQVn60ZDAoF+iZH3sT7J674aH7CK+6C59MUrVpswTrAhr08rxtScvpAY412Zc/P9PlRFzKacwncibeBkSwUmWwCxigaZ0UVI+KEvL6psZG3k3eUW/AFkIXRQ417E0ID94DD92H3XYrqgMel6hZjLhndF7GtYFPdBSYfGCX9FiRKP25vhqQhC1jmwpURlwIgVBXSDWxWWzkKpEoxjyivRkcHqBLh3DxAtqfwWxGdfkOONhP9wfHi789YFd1SCvn27zMmXyFvi32ZeCTdZEl2ZA2wetknUOzqe5lJwhCj74O7rkN3XUr7M9QCChk5vWYtXovW7feSBYn6fsAEYC3Y+py2eW5nsDsoeDMMlAbPv8AOKmBKdHnil546hmS9TtaP72K0L4wH4WnH0qJabPkzHvOt1ihghIdWZmk5Crka/2T+f5c/FTNZrg7UkClvdMM9LNQ37risfQyfh+oandvcKBxgOcwm5If2UR3u1ClzAl3X0K3Xchte2cUued0Zo9a1jq+8eWd8W1GE5sebWxC3sgE70KJ62MsweYvEP1PidFrJG/LOaS7y9ty1j593fCuEhPdeH1SDSO80P324sifPo4hrNh8q+3vIm52ZePV+1wGBFwfpIkNTbSaXKNH9AA8SUireWRrBuTOUJaQcjAbIkgaRjyuiUl2rmDAf+P+SzZvqpQXLusjXBG355F2Wn0kiaBSF1RIdeXBi3sdWxVKSX7jNR3VOUEE5hb9+20ZjUUDi4aAZL0U3huLV5X+DqT3ADbJQDPr0h2Heyu5YFZk1Csc0vWH/rgnwIdp/DM6WaL5Ulo2BCJF/u0j7gcKrwNb/FMNK+wLQj0buUwqmJ62JQM3MxJ79hEy8UWi/xTzZcXJApooXAq5BgZcr6FbpAw7DG2bJg4Hs4TE8Qd3HcT1hF3liANflvRumugsGrNlXg7mUjBXShyI++yMeyH0KXA1S6nDHE7chqyeWXdOIIZvTd/NRLBuaXYHBpyY+D5cnyf6RPNlVPRSpW+pUjAKc3sXUBktZTXWmQgbsdD6s+qxL6BbD67RmK8JbJ6qfihsKPPL3jTfreh/w8lCfPO4oYn08EKt6ITGcenh8mRuprJUln723hpJgbQWv65lKOnM3dlyLvuxg/PFOv2iie9SEz/PycJ4+QTmS6wZMmmoFhGWAniqlHHI8qYq6rzQjb1bUSap1ZBtwBuucbXyvR8M6JvxS8o6DVfA9Ulc71ETP8/xAl4+MY4Xa8gDqLVsTNLUzF4jiGYW1MbJtlNMia60oalCcbM6KZC+419uvDGwaSAGNEhTUk3Q14EPIn2I6A3HC7PjBTpeyFY9ngw1TQxg9wB7yYZzARY0vtRjFwj7s/HSlzHXrY/46wenOO4I15+Y9KM0/m800TheoKO5egqju7vXZo0bBs9gJrVefVhnyy29KtSX6qAFB9Otz50jlClbZd0OXH+B68Mm/bGW0ZgvjeOF2aLJy14Hd6+KBKtJvP+81hvf6gMX9oWseft5kj4CW993RZG0imXbW14BDGOAq379/wG/Z+J3JX3CJDhZwnwpjhdGEyXXNuS15+pMaa8r9kcpiNTwoVMVycCornsGdFsNBW1pRQlHbWkSsBwHahd5txVWu0CZqNSxrwB/b+KvgT8DPgMcAXssGnSyhJMlNl/CMp5pSuu8O8WzSGfagKP/Buvhpaoq4h0XSWtAjG45l60wwErsLp8d+S7gJVy/KXiRqCtmNpENtt8L6YUYaXO0b5nZy8CxuT4bXF+16G6NoyZa3lzCFP2kOTpOzDFObVsCiglqMzuUdG9bpdo9WHT29g3KbJguVhWwqkSH+xdG4naFtbcrK5l4j1wvWHRTimESzBpJVe6nSQPajMrvVHS88W71QXRl37+tjthCOafSVC24LDgoBged0L0qyWT7U0TCuq9WP63dPN7FdkDpuY9Z9BeYLyudLN2iR1zmUshGKFBKE1Zal2jjne1Obu31Actdbe6nBt5gZutLz4ewhtDRhDvgh7M2T9Lah9taDaPz33Oy9aIvmpqTpXOyMCVq6pfjpQfWF0OXC628TWkY05gcvdrEWS3pHTDYkdJyg5IUGKERM2sxmr73NPKFvS6Pexrkwvd2AbO11NepGulFxRhtGYOWMdVw5yRiKwTUCvB+Xzum6l1TpsLN9Thng5q0B+kqSIU1VmBQ1sE6n+sV2IBWEJO1ryRDeglR4x7JRu2KhUDa/yD1ude/rfLrqjyEEajN7OEd2hudp9X6FDNrZeCOkGYpU15RBD2FcGTiUynd0LWazZkyf63EvBH71tTAQ0BDt6Pvqgpf61WLuBX5JsCnNRZMreyTTt3taIMWPDHxBaWUgxTdwtC3NDOTnypoz/zeM0Ews78zs0XeIs6tA5XozOqRe5/zQ5I3S5yIHrwdaiQiaUGNw1Vs0pjfUwGflbRU3sO1XxtoG5Ot5wu1mb0V+AHgnSQqnJCUyqhmXs2DSHFBHSbhYC/4wfQNBHuy2xAIbTGIBggYKV6qgX+nLfzscv39LWYG65BH4HqjuY4TBPx2PvrW/5hv3J7qSmpnzsEUv3RwwK0HHwSezLfpVEsyiwGt6CMZaRmp8bcaGrrrrotGrZJzg9ruPIT1SbTesW2Cpbo2btkXt104Yn/6zMi6i53Hl220trTJ0T8V1kXj83Fqbc51hlr7o6nHHXsUUury9kPj0oGQnk610OTahrPRRrc8Nvm0Jv4n7aKeTRfvjOKbBWrSerm0DqtEPzrwzW5Yj8OntQh2iahLmEXcdyllHXgOWSm1ml/Sf+B+hWU0i+0ucjcd1Jj115+uy7zTZty9JObfnmXaWSjPiiun/ruSo/+PWkasiXjTrbMbpA5uAqgZbne5Zoz2ZfRg+RR0OlqCZXyEUle46yC7+sCC9MIBUdIXLDoqkRMGrl7bPV8/d65Qm1UaMSGAgijT6rWWUMzMDvbSfe7PvSLKGCK9Al7IKyxT51LVWMsjg9rpGwg7FK/AmmQsECzt5lOFCWYP0FHSWaCThcMS/C92d1iKCVi3fKJUh53juu1RaDfiNnVHH7axh5mlAvIqHJL+08MZh7PWeNEUc5IR3fkxecOvPsK85YSzvfVaQruYYVMnxs4PWGdSGVW4Hbi8gfo2TIFWv3TU5/pfk75OWj3VGdgrFkGhxhsqA8uXNsY3QoGyLvYHOWQdzCwEqC2A7scsYPId/I9tUNTSP+MyNiSz+4pjU8L7vCBAh5ixrFf/dy/Ckp/OLGyW3LfNyNs0ypEAKA58Wu6p/Lilz+7WUhV7Iz2Qti/9H6fJkhJGD1iKhgQTITjGm66S7kZ8bYTrH9L2eyp72Fy7COg1hjWPYXUNyKbrMlBageSYPbR62ym/x6B/z5dwOT0bsA9uVx0CvOZwqsu1uvFO32YMZRMH8RzrCZ2+SbJttKvIPTHp00SPXX31ygM3WO71YRSBOwVQQrsd5oNI9Qb5t4sDO5SDrhfzDpphTYmMJ+NvKAwQuGvkKf1/grRyklTF+VK+pJXP02B4v9kVM/uEyv8wyVsG5O1YRu3UGw2jFLhNvuSNjyj/zM7EEfBjJM+h316f+rbNTGH3bwG/AHygrRrt++E3GeIK/D/1R7dpRZ4HDAAAAABJRU5ErkJggg==",c9="_antistockLogoWrapper_ax6a6_1",u9="_applePayGooglePay_ax6a6_13",d9="_debitCreditCard_ax6a6_20",h9="_cryptocurrency_ax6a6_27",ul={antistockLogoWrapper:c9,applePayGooglePay:u9,debitCreditCard:d9,cryptocurrency:h9},f9="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%20-34.55%20120.3%20120.3'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8%206.6c1.4-1.8%202.4-4.2%202.1-6.6-2.1.1-4.6%201.4-6.1%203.1-1.3%201.5-2.5%204-2.2%206.3%202.4.3%204.7-1%206.2-2.8M24.9%2010c-3.4-.2-6.3%201.9-7.9%201.9-1.6%200-4.1-1.8-6.8-1.8-3.5.1-6.7%202-8.5%205.2-3.6%206.3-1%2015.6%202.6%2020.7%201.7%202.5%203.8%205.3%206.5%205.2%202.6-.1%203.6-1.7%206.7-1.7s4%201.7%206.8%201.6%204.6-2.5%206.3-5.1c2-2.9%202.8-5.7%202.8-5.8-.1-.1-5.5-2.1-5.5-8.3-.1-5.2%204.2-7.7%204.4-7.8-2.3-3.6-6.1-4-7.4-4.1'/%3e%3cg%3e%3cpath%20d='M54.3%202.9c7.4%200%2012.5%205.1%2012.5%2012.4%200%207.4-5.2%2012.5-12.7%2012.5H46v12.9h-5.9V2.9h14.2zm-8.3%2020h6.7c5.1%200%208-2.8%208-7.5%200-4.8-2.9-7.5-8-7.5h-6.8v15h.1zM68.3%2033c0-4.8%203.7-7.8%2010.3-8.2l7.6-.4v-2.1c0-3.1-2.1-4.9-5.5-4.9-3.3%200-5.3%201.6-5.8%204h-5.4c.3-5%204.6-8.7%2011.4-8.7%206.7%200%2011%203.5%2011%209.1v19h-5.4v-4.5h-.1c-1.6%203.1-5.1%205-8.7%205-5.6%200-9.4-3.4-9.4-8.3zm17.9-2.5v-2.2l-6.8.4c-3.4.2-5.3%201.7-5.3%204.1%200%202.4%202%204%205%204%204%200%207.1-2.7%207.1-6.3zM96.9%2051v-4.6c.4.1%201.4.1%201.8.1%202.6%200%204-1.1%204.9-3.9%200-.1.5-1.7.5-1.7l-10-27.6h6.1l7%2022.5h.1l7-22.5h6L110%2042.4c-2.4%206.7-5.1%208.8-10.8%208.8-.4-.1-1.8-.1-2.3-.2z'/%3e%3c/g%3e%3c/svg%3e",p9=()=>d.jsx("svg",{width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M20.9852 9.72294L16.7571 13.4129L18.0236 18.9067C18.0906 19.1939 18.0715 19.4945 17.9686 19.7709C17.8658 20.0472 17.6837 20.2872 17.4452 20.4606C17.2067 20.6341 16.9223 20.7334 16.6277 20.7462C16.3331 20.7589 16.0412 20.6845 15.7886 20.5323L10.9971 17.6261L6.2158 20.5323C5.96321 20.6845 5.67135 20.7589 5.37671 20.7462C5.08208 20.7334 4.79773 20.6341 4.55923 20.4606C4.32074 20.2872 4.13866 20.0472 4.03578 19.7709C3.9329 19.4945 3.91378 19.1939 3.9808 18.9067L5.24549 13.4186L1.01643 9.72294C0.792748 9.53002 0.631004 9.27536 0.55148 8.99089C0.471955 8.70642 0.478189 8.4048 0.569401 8.12385C0.660612 7.84291 0.832741 7.59515 1.0642 7.41164C1.29566 7.22813 1.57615 7.11705 1.87049 7.09231L7.44486 6.6095L9.6208 1.4195C9.73443 1.14717 9.9261 0.914551 10.1717 0.750929C10.4172 0.587308 10.7057 0.5 11.0008 0.5C11.2959 0.5 11.5844 0.587308 11.8299 0.750929C12.0755 0.914551 12.2672 1.14717 12.3808 1.4195L14.5633 6.6095L20.1358 7.09231C20.4301 7.11705 20.7106 7.22813 20.9421 7.41164C21.1736 7.59515 21.3457 7.84291 21.4369 8.12385C21.5281 8.4048 21.5343 8.70642 21.4548 8.99089C21.3753 9.27536 21.2135 9.53002 20.9899 9.72294H20.9852Z",fill:"currentColor"})}),A0=({isAntistock:e=!1})=>e?d.jsxs("div",{className:ul.cryptocurrency,children:[d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})})}),d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.3837 16.4017C13.6027 16.4483 15.781 16.4937 18 16.5857C17.9187 16.9525 17.8362 17.2727 17.7956 17.5941C17.6712 18.0529 17.5481 18.4664 17.4668 18.9252C17.4249 19.1546 17.3424 19.2 17.138 19.2H6.53438C6.90513 17.5941 7.27452 16.0815 7.64386 14.4756C7.06883 14.705 6.57507 14.9344 6 15.2092C6.16497 14.5223 6.32877 13.9261 6.53438 13.2832C6.53438 13.1924 6.65762 13.1458 6.74007 13.1458C7.11071 12.963 7.52084 12.8243 7.89018 12.6403C8.01344 12.5962 8.13773 12.4588 8.13773 12.3201L9.86171 5.16681C9.90358 4.89203 9.98489 4.8 10.273 4.8H14.0128C13.5608 6.67939 13.1495 8.56137 12.6976 10.5328C13.3552 10.2126 13.9721 9.93657 14.6703 9.66179C14.5878 10.0286 14.4647 10.3487 14.424 10.6702C14.3415 11.4051 13.9721 11.8172 13.3145 12.0013C13.0276 12.092 12.7383 12.2294 12.4513 12.3681C12.3494 12.436 12.2648 12.5305 12.205 12.6429C11.9169 13.8807 11.6288 15.0731 11.3825 16.3109V16.403L11.3837 16.4017Z",fill:"#345D9D"})})}),d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M19.9946 3.6L19.8636 3.98284V15.0909L19.9946 15.2034L25.9879 12.1555L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9946 3.6L14 12.1555L19.9946 15.2034L19.9934 9.81181L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 16.1802L19.9209 16.2577V20.2146L19.9948 20.4L25.9917 13.134L19.9948 16.1802Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 20.4V16.1802L14 13.134L19.9948 20.4Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M20.0067 15.2052L26 12.1574L20.0067 9.81369V15.2052Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M14 12.1555L19.9934 15.2044V9.81181L14 12.1555Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}})]})}),d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M7.4623 17V13.962H4.6763V12.898H7.4623V9.846H8.5123V12.898H11.2843V13.962H8.5123V17H7.4623ZM16.3943 17.168C15.6476 17.168 15.0176 17.056 14.5043 16.832C13.991 16.5987 13.6036 16.272 13.3423 15.852C13.081 15.432 12.9503 14.9327 12.9503 14.354V14.172H14.1963V14.354C14.1963 14.9327 14.3783 15.376 14.7423 15.684C15.1156 15.9827 15.629 16.132 16.2823 16.132C16.9356 16.132 17.463 15.992 17.8643 15.712C18.2656 15.4227 18.4663 14.9653 18.4663 14.34C18.4663 13.8827 18.359 13.5327 18.1443 13.29C17.9296 13.0473 17.6496 12.8793 17.3043 12.786C16.9683 12.6833 16.609 12.632 16.2263 12.632H15.2183V11.596H16.2683C16.623 11.596 16.9496 11.54 17.2483 11.428C17.547 11.316 17.785 11.134 17.9623 10.882C18.149 10.6207 18.2423 10.2847 18.2423 9.874C18.2423 9.50067 18.1583 9.19733 17.9903 8.964C17.8316 8.73067 17.6123 8.558 17.3323 8.446C17.0523 8.32467 16.7443 8.264 16.4083 8.264C16.035 8.264 15.699 8.32933 15.4003 8.46C15.1016 8.58133 14.8636 8.768 14.6863 9.02C14.5183 9.272 14.4343 9.58933 14.4343 9.972V10.154H13.1743V9.902C13.1743 9.37 13.3096 8.90333 13.5803 8.502C13.8603 8.10067 14.2383 7.788 14.7143 7.564C15.1996 7.34 15.755 7.228 16.3803 7.228C16.9963 7.228 17.5376 7.326 18.0043 7.522C18.4803 7.718 18.8536 8.00733 19.1243 8.39C19.395 8.77267 19.5303 9.244 19.5303 9.804C19.5303 10.2147 19.4556 10.5647 19.3063 10.854C19.157 11.134 18.961 11.3673 18.7183 11.554C18.4756 11.7407 18.2143 11.8947 17.9343 12.016V12.072C18.4476 12.2213 18.877 12.492 19.2223 12.884C19.5676 13.276 19.7403 13.7893 19.7403 14.424C19.7403 14.9933 19.5956 15.4833 19.3063 15.894C19.0263 16.3047 18.6296 16.622 18.1163 16.846C17.6123 17.0607 17.0383 17.168 16.3943 17.168Z",fill:"#757575"})})})]}):d.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4561)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4561)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M27.3837 16.4017C29.6027 16.4483 31.781 16.4937 34 16.5857C33.9187 16.9525 33.8362 17.2727 33.7956 17.5941C33.6712 18.0529 33.5481 18.4664 33.4668 18.9252C33.4249 19.1546 33.3424 19.2 33.138 19.2H22.5344C22.9051 17.5941 23.2745 16.0815 23.6439 14.4756C23.0688 14.705 22.5751 14.9344 22 15.2092C22.165 14.5223 22.3288 13.9261 22.5344 13.2832C22.5344 13.1924 22.6576 13.1458 22.7401 13.1458C23.1107 12.963 23.5208 12.8243 23.8902 12.6403C24.0134 12.5962 24.1377 12.4588 24.1377 12.3201L25.8617 5.16681C25.9036 4.89203 25.9849 4.8 26.273 4.8H30.0128C29.5608 6.67939 29.1495 8.56137 28.6976 10.5328C29.3552 10.2126 29.9721 9.93657 30.6703 9.66179C30.5878 10.0286 30.4647 10.3487 30.424 10.6702C30.3415 11.4051 29.9721 11.8172 29.3145 12.0013C29.0276 12.092 28.7383 12.2294 28.4513 12.3681C28.3494 12.436 28.2648 12.5305 28.205 12.6429C27.9169 13.8807 27.6288 15.0731 27.3825 16.3109V16.403L27.3837 16.4017Z",fill:"#345D9D"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4561)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M43.9946 3.59961L43.8636 3.98245V15.0905L43.9946 15.203L49.9879 12.1551L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9946 3.59961L38 12.1551L43.9946 15.203L43.9934 9.81142L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 16.1798L43.9209 16.2573V20.2142L43.9948 20.3996L49.9917 13.1336L43.9948 16.1798Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 20.3996V16.1798L38 13.1336L43.9948 20.3996Z",fill:"#252525"}),d.jsx("path",{d:"M44.0067 15.2049L50 12.157L44.0067 9.8133V15.2049Z",fill:"#252525"}),d.jsx("path",{d:"M38 12.1551L43.9934 15.204V9.81142L38 12.1551Z",fill:"#252525"})]}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M55.4623 17V13.962H52.6763V12.898H55.4623V9.846H56.5123V12.898H59.2843V13.962H56.5123V17H55.4623ZM64.3943 17.168C63.6476 17.168 63.0176 17.056 62.5043 16.832C61.991 16.5987 61.6036 16.272 61.3423 15.852C61.081 15.432 60.9503 14.9327 60.9503 14.354V14.172H62.1963V14.354C62.1963 14.9327 62.3783 15.376 62.7423 15.684C63.1156 15.9827 63.629 16.132 64.2823 16.132C64.9356 16.132 65.463 15.992 65.8643 15.712C66.2656 15.4227 66.4663 14.9653 66.4663 14.34C66.4663 13.8827 66.359 13.5327 66.1443 13.29C65.9296 13.0473 65.6496 12.8793 65.3043 12.786C64.9683 12.6833 64.609 12.632 64.2263 12.632H63.2183V11.596H64.2683C64.623 11.596 64.9496 11.54 65.2483 11.428C65.547 11.316 65.785 11.134 65.9623 10.882C66.149 10.6207 66.2423 10.2847 66.2423 9.874C66.2423 9.50067 66.1583 9.19733 65.9903 8.964C65.8316 8.73067 65.6123 8.558 65.3323 8.446C65.0523 8.32467 64.7443 8.264 64.4083 8.264C64.035 8.264 63.699 8.32933 63.4003 8.46C63.1016 8.58133 62.8636 8.768 62.6863 9.02C62.5183 9.272 62.4343 9.58933 62.4343 9.972V10.154H61.1743V9.902C61.1743 9.37 61.3096 8.90333 61.5803 8.502C61.8603 8.10067 62.2383 7.788 62.7143 7.564C63.1996 7.34 63.755 7.228 64.3803 7.228C64.9963 7.228 65.5376 7.326 66.0043 7.522C66.4803 7.718 66.8536 8.00733 67.1243 8.39C67.395 8.77267 67.5303 9.244 67.5303 9.804C67.5303 10.2147 67.4556 10.5647 67.3063 10.854C67.157 11.134 66.961 11.3673 66.7183 11.554C66.4756 11.7407 66.2143 11.8947 65.9343 12.016V12.072C66.4476 12.2213 66.877 12.492 67.2223 12.884C67.5676 13.276 67.7403 13.7893 67.7403 14.424C67.7403 14.9933 67.5956 15.4833 67.3063 15.894C67.0263 16.3047 66.6296 16.622 66.1163 16.846C65.6123 17.0607 65.0383 17.168 64.3943 17.168Z",fill:"#757575"}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4561",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4561",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4561",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),k0=()=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})}),L0=({isAntistock:e=!1})=>e?d.jsxs("div",{className:ul.debitCreditCard,children:[d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})})}),d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M14.5901 7.2835H9.39431V16.7165H14.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M9.74021 12C9.74021 10.0835 10.6318 8.38252 11.9999 7.2835C10.993 6.4835 9.72288 6 8.33751 6C5.05551 6 2.39991 8.6835 2.39991 12C2.39991 15.3165 5.05551 18 8.33751 18C9.72288 18 10.993 17.5165 11.9999 16.7165C10.6298 15.633 9.74021 13.9165 9.74021 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M21.5999 12C21.5999 15.3165 18.9443 18 15.6624 18C14.2769 18 13.0068 17.5165 11.9999 16.7165C13.3853 15.6155 14.2596 13.9165 14.2596 12C14.2596 10.0835 13.368 8.38252 11.9999 7.2835C13.0049 6.4835 14.275 6 15.6604 6C18.9443 6 21.5999 8.70097 21.5999 12Z",fill:"#F79E1B"})]})}),d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.6377 9.6L9.2 15.5923H12.1183L12.48 14.6369H13.307L13.6688 15.5923H16.881V14.8631L17.1673 15.5923H18.8289L19.1151 14.8477V15.5923H25.7957L26.608 14.6617L27.3687 15.5923L30.7999 15.6L28.3545 12.6129L30.7999 9.6H27.4219L26.6311 10.5134L25.8944 9.6H18.6268L18.0028 11.1467L17.3641 9.6H14.4518V10.3044L14.1279 9.6H11.6377ZM12.2024 10.4509H13.6249L15.2418 14.5143V10.4509H16.8001L18.0491 13.3644L19.2001 10.4509H20.7506V14.7508H19.8071L19.7994 11.3814L18.424 14.7508H17.58L16.1968 11.3814V14.7508H14.2559L13.8879 13.7868H11.9L11.5328 14.7499H10.4929L12.2024 10.4509ZM21.6138 10.4509H25.4501L26.6234 11.8588L27.8346 10.4509H29.0079L27.2252 12.612L29.0079 14.7482H27.7814L26.608 13.324L25.3907 14.7482H21.6138V10.4509ZM12.8944 11.1784L12.2394 12.8957H13.5486L12.8944 11.1784ZM22.5611 12.1261H24.654V13.001H22.5611V13.8579H24.9086L25.9994 12.5958L24.9549 11.3405H22.5611V12.1261Z",fill:"#26A6D1",style:{transform:"translateX(-8px)"}})})})]}):d.jsxs("svg",{width:"56",height:"24",viewBox:"0 0 56 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4573)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4573)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M30.5901 7.2835H25.3943V16.7165H30.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M25.7402 12C25.7402 10.0835 26.6318 8.38252 27.9999 7.2835C26.993 6.4835 25.7229 6 24.3375 6C21.0555 6 18.3999 8.6835 18.3999 12C18.3999 15.3165 21.0555 18 24.3375 18C25.7229 18 26.993 17.5165 27.9999 16.7165C26.6298 15.633 25.7402 13.9165 25.7402 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M37.5999 12C37.5999 15.3165 34.9443 18 31.6624 18C30.2769 18 29.0068 17.5165 27.9999 16.7165C29.3853 15.6155 30.2596 13.9165 30.2596 12C30.2596 10.0835 29.368 8.38252 27.9999 7.2835C29.0049 6.4835 30.275 6 31.6604 6C34.9443 6 37.5999 8.70097 37.5999 12Z",fill:"#F79E1B"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4573)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M35.6377 9.6L33.2 15.5923H36.1183L36.48 14.6369H37.307L37.6688 15.5923H40.881V14.8631L41.1673 15.5923H42.8289L43.1151 14.8477V15.5923H49.7957L50.608 14.6617L51.3687 15.5923L54.7999 15.6L52.3545 12.6129L54.7999 9.6H51.4219L50.6311 10.5134L49.8944 9.6H42.6268L42.0028 11.1467L41.3641 9.6H38.4518V10.3044L38.1279 9.6H35.6377ZM36.2024 10.4509H37.6249L39.2418 14.5143V10.4509H40.8001L42.0491 13.3644L43.2001 10.4509H44.7506V14.7508H43.8071L43.7994 11.3814L42.424 14.7508H41.58L40.1968 11.3814V14.7508H38.2559L37.8879 13.7868H35.9L35.5328 14.7499H34.4929L36.2024 10.4509ZM45.6138 10.4509H49.4501L50.6234 11.8588L51.8346 10.4509H53.0079L51.2252 12.612L53.0079 14.7482H51.7814L50.608 13.324L49.3907 14.7482H45.6138V10.4509ZM36.8944 11.1784L36.2394 12.8957H37.5486L36.8944 11.1784ZM46.5611 12.1261H48.654V13.001H46.5611V13.8579H48.9086L49.9994 12.5958L48.9549 11.3405H46.5611V12.1261Z",fill:"#26A6D1"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4573",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4573",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4573",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),N0=({isAntistock:e=!1})=>e?d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("g",{clipPath:"url(#clip0_13_4480)",children:d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_13_4480)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]}),P0=({isAntistock:e=!1})=>e?d.jsx(tr,{children:d.jsx("img",{src:W1,alt:"PayPal",width:14,height:18})}):d.jsx("img",{src:W1,alt:"PayPal",height:24}),tr=({children:e})=>d.jsx("div",{className:ul.antistockLogoWrapper,children:e}),R0=({isAntistock:e=!1})=>e?d.jsxs("div",{className:ul.applePayGooglePay,children:[d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}),d.jsx(tr,{children:d.jsx("img",{src:f9,alt:"Apple Pay",width:18,height:24})})]}):d.jsxs("svg",{width:"40",height:"24",viewBox:"0 0 40 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsxs("g",{clipPath:"url(#clip1_12_1508)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M21.1469 9.48287C20.8938 9.7666 20.4887 9.99039 20.0837 9.95842C20.033 9.57478 20.2313 9.16717 20.4634 8.91541C20.7166 8.62369 21.1596 8.41589 21.5182 8.3999C21.5604 8.79952 21.3959 9.19115 21.1469 9.48287ZM21.514 10.0343C20.9275 10.0024 20.4254 10.35 20.147 10.35C19.8643 10.35 19.4381 10.0503 18.974 10.0583C18.3707 10.0663 17.8095 10.39 17.5015 10.9055C16.8686 11.9365 17.337 13.4631 17.9487 14.3023C18.2483 14.7179 18.6069 15.1735 19.0795 15.1575C19.5267 15.1415 19.7039 14.8817 20.244 14.8817C20.7883 14.8817 20.9444 15.1575 21.417 15.1495C21.9064 15.1415 22.2144 14.7339 22.514 14.3183C22.8557 13.8467 22.9949 13.3872 23.0034 13.3632C22.9949 13.3552 22.0583 13.0155 22.0498 11.9925C22.0414 11.1373 22.7882 10.7297 22.822 10.7057C22.4 10.1143 21.7418 10.0503 21.514 10.0343ZM24.902 8.87545V15.1055H25.9231V12.9755H27.3365C28.6276 12.9755 29.5348 12.1363 29.5348 10.9215C29.5348 9.70666 28.6445 8.87545 27.3703 8.87545H24.902ZM25.9231 9.69067H27.1003C27.9863 9.69067 28.4926 10.1382 28.4926 10.9255C28.4926 11.7127 27.9863 12.1643 27.096 12.1643H25.9231V9.69067ZM31.3997 15.1535C32.041 15.1535 32.6359 14.8458 32.9059 14.3582H32.927V15.1055H33.8721V12.0045C33.8721 11.1053 33.1127 10.5259 31.9439 10.5259C30.8596 10.5259 30.0579 11.1133 30.0284 11.9205H30.9482C31.0241 11.5369 31.3997 11.2852 31.9144 11.2852C32.5389 11.2852 32.889 11.5609 32.889 12.0684V12.4121L31.6148 12.484C30.4292 12.5519 29.7879 13.0115 29.7879 13.8107C29.7879 14.618 30.4503 15.1535 31.3997 15.1535ZM31.6739 14.4142C31.1296 14.4142 30.7837 14.1664 30.7837 13.7868C30.7837 13.3951 31.117 13.1674 31.7541 13.1314L32.889 13.0635V13.4151C32.889 13.9986 32.3659 14.4142 31.6739 14.4142ZM35.1337 16.7999C36.1294 16.7999 36.5978 16.4402 37.007 15.3493L38.8002 10.5858H37.7623L36.5598 14.2663H36.5387L35.3362 10.5858H34.2687L35.9986 15.1215L35.9058 15.3972C35.7497 15.8648 35.4965 16.0446 35.0451 16.0446C34.9649 16.0446 34.8088 16.0366 34.7455 16.0286V16.7759C34.8046 16.7919 35.0577 16.7999 35.1337 16.7999Z",fill:"black"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_12_1508",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),D0=({isAntistock:e=!1})=>e?d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]}),m9=()=>d.jsx("svg",{width:"22",height:"8",viewBox:"0 0 22 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M11.3712 2.7019C11.3589 3.70484 12.2371 4.26456 12.8987 4.59731C13.5784 4.93876 13.8067 5.15769 13.8041 5.46299C13.7989 5.93032 13.2619 6.13653 12.7592 6.14456C11.8823 6.15862 11.3725 5.90019 10.9671 5.70469L10.6512 7.23052C11.0579 7.42401 11.811 7.59273 12.5919 7.6001C14.4249 7.6001 15.6241 6.66612 15.6306 5.21795C15.6378 3.38012 13.1678 3.27836 13.1847 2.45686C13.1905 2.2078 13.4208 1.942 13.9254 1.87438C14.1751 1.84023 14.8646 1.81412 15.6462 2.1857L15.953 0.709415C15.5327 0.551409 14.9924 0.400097 14.3198 0.400097C12.5945 0.400097 11.3809 1.3468 11.3712 2.7019ZM18.9009 0.527306C18.5662 0.527306 18.2841 0.728831 18.1583 1.03815L15.5398 7.49164H17.3715L17.736 6.45187H19.9744L20.1858 7.49164H21.8002L20.3914 0.527306H18.9009ZM19.1571 2.40865L19.6857 5.02379H18.238L19.1571 2.40865ZM9.15036 0.527306L7.70655 7.49164H9.45196L10.8951 0.527306H9.15036ZM6.56825 0.527306L4.75149 5.26749L4.01662 1.237C3.93035 0.787079 3.58983 0.527306 3.21169 0.527306H0.24171L0.200195 0.7295C0.80964 0.865981 1.50236 1.08626 1.92201 1.32193C2.17886 1.46587 2.25215 1.59174 2.33647 1.93386L3.72839 7.49164H5.57303L8.40122 0.527306H6.56825Z",fill:"#254AA5"})}),g9=({enterAnother:e,bonusPercent:t,currency:n})=>d.jsxs("div",{className:Ye.bonusBlock,children:[d.jsx(ie,{name:"Fire"}),d.jsx("div",{children:e>0?`Enter another ${Pn({amount:e,currency:n})} and receive an additional bonus of ${t}%`:`You will receive an additional bonus of ${t}%`})]}),O0=({setIsOpen:e,isModal:t=!0})=>{const[n,o]=_.useState({amount:"",gateway:""}),[i,a]=_.useState({}),[s,l]=_.useState(!1),{isAntistock:c}=mt(),{gatewaysDetail:u,setGatewaysDetail:h,dashInfo:f,balanceSettings:g}=rr(),m=Vr(),{notifications:C,setNotifications:I}=cn(),{setIsOpen:b}=$r();_.useEffect(()=>{u||(async()=>{var H;const w=g!=null&&g.isEnabled?(H=g==null?void 0:g.topUpSettings)==null?void 0:H.gateways:[],V=await Aa(w);h(V)})()},[g,u]);const S=()=>{const B={};return(!n.amount||Number(n.amount)<1)&&(B.amount="The balance field cannot be empty."),n.gateway||(B.gateway="Select pay method"),a(B),Object.keys(B).length===0},y=async B=>{if(B.preventDefault(),!!S()){l(!0);try{const{data:w}=await l9({price:{amount:Number(n.amount),currency:g!=null&&g.isEnabled?g.topUpSettings.currency:"USD"},gateway:n.gateway,customerEmail:(f==null?void 0:f.email)||"",tsId:so()});I([...C,{message:"Order created successfully",status:"success",id:pt()}]),m(`/charges/${w.data.chargeId}`)}catch(w){const V=w;I([...C,{message:`Order creation failed: ${V.message}`,status:"error",id:pt()}])}finally{e(!1),l(!1)}}};if(!g||!g.isEnabled)return null;const{topUpSettings:{currency:T,topUpBonusEnabled:k,bonusPercent:A,minimumTopUpForBonus:P}}=g,E=Number(n.amount),M=k&&!Number.isNaN(E)?P-E:P;return d.jsx(d.Fragment,{children:s?d.jsx(l2,{}):d.jsxs("div",{className:Ye.modal,onClick:B=>B.stopPropagation(),children:[d.jsxs("div",{className:Ye.header,children:[d.jsx("h2",{id:"h3",className:Ye.headerTitle,children:"Top Up Account Balance"}),t&&d.jsx(ie,{name:"X",onClick:()=>{b(!1),setTimeout(()=>{e(!1)},300)},className:Ye.closeIcon,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("form",{onSubmit:y,className:Ye.form,children:[d.jsxs("label",{className:Ye.label,children:[d.jsx(Ro,{label:"Enter Amount",type:"number",placeholder:"1000",value:n.amount,onChange:B=>o(w=>({...w,amount:B})),leftIcon:d.jsx(ie,{name:"CurrencyDollarSimple",fill:"var(--text-secondary)"}),required:!0}),i.amount&&d.jsx("span",{className:Ye.error,children:i.amount})]}),k&&M!==void 0&&d.jsx(g9,{enterAnother:M,bonusPercent:A,currency:T}),u&&d.jsx("div",{className:Ye.gatewayList,children:u.length>0?u.map(B=>d.jsxs("div",{className:ge(Ye.gatewayButton,{[Ye.selected]:n.gateway===B.name}),onClick:()=>o(w=>({...w,gateway:B.name})),children:[B.name==="ForebitPayments"?d.jsx(k0,{}):d.jsx("img",{alt:B.displayName,src:er(B.logoCfImageId),className:Ye.gatewayIcon}),d.jsx("div",{className:Ye.gatewayName,children:B.displayName})]},B.name)):d.jsx("span",{children:"Gateways not found"})}),i.gateway&&d.jsx("span",{className:Ye.error,children:i.gateway}),d.jsx(_t,{type:"Primary",disabled:!n.gateway||s,className:Ye.submitButton,children:"Continue to Checkout"}),d.jsxs("div",{children:[d.jsx(i2,{}),d.jsx(a2,{isAntistock:c})]})]})]})})},M0=()=>{const[e,t]=_.useState([]),{balanceSettings:n,balance:o}=rr(),{page:i,setPage:a}=Ta(),{setIsOpen:s}=$r(),[l,c]=_.useState(!0),[u,h]=_.useState(0),[f,g]=_.useState(!1),[m,C]=_.useState("Newest");_.useEffect(()=>{a(1)},[]),_.useEffect(()=>{(async()=>{c(!0);const{list:T,totalCount:k}=await s9(i);t(T),h(k),c(!1)})()},[i]);const I=(y,T)=>{var E;const k={},A=new Date,P=[...y].sort((M,B)=>{const w=new Date(M.createdAt).getTime(),V=new Date(B.createdAt).getTime();return T==="Newest"?V-w:w-V});for(const M of P){const B=new Date(M.createdAt),w=B.toDateString()===A.toDateString()?"Today":B.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});k[w]||(k[w]=[]),(E=k[w])==null||E.push(M)}return k},b=({id:y,price:T,status:k,description:A})=>{const P=Pn({amount:Math.abs(T.amount),currency:T.currency});return d.jsxs("div",{className:Ye.transactionItem,children:[d.jsxs("div",{className:Ye.transactionDetails,children:[d.jsx(ie,{className:Ye.iconWrapper,name:k===$i.ADDED?"Plus":"Minus",width:20,height:20}),d.jsxs("div",{className:Ye.transactionInfo,children:[d.jsx("div",{className:Ye.transactionTitle,id:"h4",children:A}),d.jsxs("div",{className:Ye.transactionId,id:"md",children:["ID: ",y]})]})]}),d.jsxs("div",{className:ge(Ye.transactionAmount,{[Ye.added]:k===$i.ADDED,[Ye.removed]:k===$i.REMOVED}),id:"lg",children:[k===$i.ADDED?"+":"-"," ",P]})]},y)},S=()=>{if(e!=null&&e.length){const y=I(e,m);return d.jsxs("div",{className:Ye.transactionsContainer,children:[d.jsx("div",{className:Ye.transactionsContent,children:Object.entries(y).map(([T,k])=>d.jsxs("div",{id:"lg",children:[d.jsx("div",{className:Ye.transactionDate,id:"md",children:T}),k.map(b)]},T))}),d.jsx(hl,{className:Ye.pagination,currentPage:i,totalCount:u,onPageChange:a})]})}return d.jsx(Na,{title:"Transaction History",description:"When you top up your account balance or receive a refund from our team, you'll see a history of transactions here.",className:Ye.noItemsBlock})};return d.jsxs(d.Fragment,{children:[(n==null?void 0:n.isEnabled)&&d.jsx("div",{className:Ye.balanceContainer,children:d.jsxs("div",{className:Ye.balanceHeader,children:[o&&d.jsxs("div",{className:Ye.balanceAmount,children:[d.jsx("span",{className:Ye.balanceAmountTitle,id:"lg",children:"Your balance"}),d.jsx("span",{className:Ye.balanceAmountValue,id:"h4",children:Pn(o)})]}),d.jsxs(_t,{onClick:y=>{y.stopPropagation(),g(!0),s(!0)},className:Ye.addBalanceButton,children:[d.jsx(ie,{name:"Plus"}),d.jsx("span",{children:"Add balance"})]})]})}),d.jsxs("div",{className:Ye.transactionsHeader,children:[(e==null?void 0:e.length)>0?d.jsx(La,{title:"Transactions"}):null,(e==null?void 0:e.length)>0&&d.jsx(w0,{options:["Newest","Oldest"],value:m,onChange:y=>{C(y)},style:{width:"110px"}})]}),l?d.jsx("div",{className:Ye.loaderContainer,children:d.jsx(qn,{})}):d.jsx("div",{children:S()}),f&&(n==null?void 0:n.isEnabled)&&d.jsx(cl,{close:()=>g(!1),children:d.jsx(O0,{setIsOpen:g})})]})},I9="_home_1uch5_1",C9="_content_1uch5_13",b9="_tablet_1uch5_28",S9="_mobile_1uch5_31",y9="_statContainer_1uch5_35",E9="_text_1uch5_47",T9="_iconWrapper_1uch5_53",x9="_loader_1uch5_57",_9="_title_1uch5_65",yr={home:I9,content:C9,tablet:b9,mobile:S9,statContainer:y9,text:E9,iconWrapper:T9,loader:x9,title:_9},w9="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%202V9.85233L13.5806%2010.9427V6.58116L6.41169%208.82252V4.89257L17%202Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M13.5806%2010.9427L13.5805%2014.691L3%2018V9.79935L6.41169%208.82252L6.41152%2013.2598L13.5806%2010.9427Z'%20fill='%23FF3F19'/%3e%3c/svg%3e",B0=e=>z.createElement("svg",{width:20,height:20,viewBox:"0 0 19 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},z.createElement("path",{d:"M0.0103662 23.5362C0.0538052 22.4425 0.370173 21.4309 1.08058 20.6127C1.92699 19.6379 2.91375 19.2329 4.14841 19.1732C4.162 20.1401 4.15111 21.1085 4.15091 22.0756L4.70583 22.0747L7.42027 22.0755C7.95952 22.0752 8.50027 22.0844 9.03933 22.0742L9.17755 22.0731L10.6132 22.0759C10.8265 22.0759 11.0767 22.1021 11.2852 22.0658C11.3052 22.0703 11.3534 22.0735 11.3625 22.0928C11.3917 22.1543 11.3688 31.0517 11.3725 31.9631C11.1563 32.0856 10.2676 31.8701 10.0303 31.7947C9.89866 31.7528 9.644 31.6914 9.54946 31.5874L9.51914 31.584C9.46943 31.5736 9.44171 31.5537 9.40126 31.5222C9.30218 31.5131 9.14954 31.4132 9.07718 31.343C9.00129 31.3163 8.92757 31.2576 8.85921 31.2134L8.85617 31.2002C8.5748 31.0715 8.14929 30.6244 7.94318 30.376C7.35205 29.6639 6.93892 28.7659 6.83493 27.8203C6.78763 27.3904 6.7994 26.9595 6.80055 26.5277C6.80084 26.4202 6.82996 26.126 6.78242 26.0387L6.71237 26.023C6.54382 26.0528 6.34316 26.0328 6.17124 26.0324L1.0194 26.0325L0.942306 26.0307C0.74237 26.0326 0.173082 26.0689 0.0224192 26.0192L0.00848581 26.0029C0.022853 25.8597 0.0136924 25.7065 0.013837 25.562L0.0113299 24.6651L0.0117161 24.5253C0.0150266 24.1956 0.0145767 23.8659 0.0103662 23.5362Z",fill:"currentColor"}),z.createElement("path",{d:"M6.79824 0.00127802C6.88001 -0.000781892 6.96176 -0.000351703 7.04349 0.00256876C7.12523 0.00549261 7.20682 0.0108998 7.28827 0.0187905C7.36968 0.0266845 7.45082 0.0370518 7.53169 0.0498924C7.61259 0.0627296 7.69305 0.078018 7.77309 0.0957576C7.85312 0.113501 7.93259 0.133663 8.0115 0.156244C8.09044 0.178828 8.16868 0.203796 8.24624 0.231148C8.3238 0.258499 8.40053 0.28819 8.47645 0.32022C8.55237 0.352247 8.62736 0.386559 8.70141 0.423156L8.71428 0.423492C8.76476 0.450874 8.815 0.479135 8.8661 0.50516C8.947 0.550491 9.03065 0.593185 9.10687 0.646856L9.24939 0.733144C9.31674 0.78126 9.38361 0.83049 9.45202 0.87695C10.462 1.67615 11.1434 2.77146 11.325 4.10211C11.4076 4.70784 11.3729 5.34243 11.372 5.9541C11.4625 5.96599 11.5526 5.9664 11.6436 5.96762C12.6033 5.93794 13.5708 5.96289 14.5314 5.96294C15.459 5.96305 16.3927 5.93758 17.3195 5.9633C17.5874 5.96523 17.9062 6.00101 18.1677 5.95273C18.1496 6.13096 18.1583 6.31472 18.1585 6.49401L18.1598 7.38388L18.1595 7.51855C18.1591 7.83084 18.14 8.15609 18.1607 8.46685C18.109 9.73893 17.6972 10.8198 16.8003 11.6891C15.9969 12.4676 15.0894 12.76 14.0228 12.8194L14.021 10.9083C14.0209 10.5892 14.0389 10.2573 14.0163 9.93952C14.0002 9.92849 13.9879 9.91884 13.9692 9.9133C13.7941 9.93418 13.6055 9.92148 13.4293 9.92133H9.15258L9.04077 9.92082L7.56664 9.92209C7.31676 9.92224 7.04528 9.94526 6.79858 9.90893L6.79824 0.00127802Z",fill:"currentColor"}),z.createElement("path",{d:"M4.13987 5.96279C4.65941 5.9653 5.17894 5.96467 5.69847 5.96091C5.70059 7.27995 5.71757 8.60219 5.69833 9.92082L4.15072 9.92046L4.15106 11.4065C4.15096 11.6783 4.1406 11.9555 4.15443 12.2266C4.73799 12.8393 5.31307 13.4655 5.90921 14.0644L5.98321 14.0407C6.25311 14.0833 6.6928 14.0501 6.97981 14.0499L12.7386 14.0492L13.5943 14.0482C13.7363 14.0479 13.9068 14.0286 14.0457 14.0577L15.8019 15.9078L15.8915 15.997L15.9615 16.0784L15.9955 16.1093L17.4221 17.6163C17.6528 17.8599 17.9077 18.0979 18.1211 18.3569C18.1463 18.3875 18.1599 18.4086 18.1691 18.4477C18.1415 18.6757 18.1577 18.9211 18.1579 19.1514L18.1594 20.4531C18.1597 21.8112 18.142 23.1721 18.1599 24.5297L18.1589 24.6625L18.158 25.5556C18.158 25.7089 18.1437 25.8808 18.1676 26.0315L18.0995 26.031L17.2568 26.0329L17.2101 26.0308C16.2512 26.0486 15.2892 26.0305 14.3299 26.0308C13.7488 26.031 13.0694 26.064 12.4959 26.0258L12.4831 26.0202C12.4481 25.9239 12.4717 22.4806 12.47 22.075L14.0216 22.0744C14.0024 21.3241 14.0324 20.5711 14.0173 19.8203C13.4629 19.2116 12.887 18.6041 12.3052 18.0244L12.293 17.9978C12.0554 18.0392 11.5401 18.0054 11.2777 18.0053L8.9362 18.0074C7.75375 17.9793 6.56306 18.0065 5.37994 18.0069C5.13497 18.007 4.32737 18.0401 4.13472 17.9962L2.36331 16.1262L2.29219 16.0566L2.21959 15.9758L2.15074 15.9102C1.93803 15.6694 1.70849 15.441 1.48797 15.2079L0 13.631C0.0383768 13.4512 0.014078 13.2231 0.013837 13.0369L0.0121494 11.9198L0.0113299 7.52017L0.0122943 7.34622C0.0134032 6.9143 0.0453199 6.37479 0.00371286 5.95329C0.115854 5.96772 0.229056 5.9664 0.341872 5.96777C0.589393 5.96198 0.836946 5.96042 1.08453 5.9631L3.10905 5.96548C3.44789 5.96554 3.80282 5.98825 4.13987 5.96279Z",fill:"currentColor"})),q1=({children:e})=>d.jsx("div",{className:yr.statContainer,children:e}),F0=({adaptiveStyles:e})=>{var h,f;const[t,n]=_.useState(null),{setBalanceSettings:o}=rr(),{pageContext:i}=zr(),{general:a,isAntistock:s}=mt(),{header:l}=Hr(),c=s?"Antistock":"Billgang";function u(g){var I,b;const m=g==null?void 0:g.name,C=(b=(I=i==null?void 0:i.listings)==null?void 0:I.filter(S=>S.type==="PRODUCT"))==null?void 0:b.find(S=>S.productData.name===m);return C==null?void 0:C.link.to}return _.useEffect(()=>{const g=async()=>{const{data:C}=await wy();n(C)},m=async()=>{const C=await v0();o(C)};g(),m()},[]),t?d.jsxs("div",{className:yr.home,children:[d.jsx(hw,{adaptiveStyles:e}),d.jsx("h3",{id:"h3",className:yr.title,children:s?"Home":"Your Statistics"}),d.jsxs("div",{className:ge(yr.content,{[yr.desktop]:e==="desktop",[yr.tablet]:e==="tablet",[yr.mobile]:e==="mobile"}),children:[d.jsxs(q1,{children:[d.jsx(Zn,{iconName:"Calendar",title:"Customer since",value:MC(t.createdAt)}),d.jsx(Zn,{iconName:"CurrencyCircleDollar",title:"Total spent",value:Pn({amount:t.totalSpent})}),d.jsx(Zn,{iconName:"Medal",title:"Top",value:`#${t.ratingPlacement}`,children:t.ratingPlacement>1&&d.jsxs("div",{className:yr.text,id:"md-bold",children:[d.jsx(ie,{name:"ArrowUp",className:yr.iconWrapper,width:16,height:16,fill:"var(--text-secondary)"}),"Spend"," ",Pn({amount:t.spendMoreDefaultCurrencyForNextPlace,currency:(h=t.balance)==null?void 0:h.currency})," ","more to be #",t.ratingPlacement-1]})}),s?null:d.jsx(Zn,{iconName:"Star",title:"Average review",value:t.averageReview})]}),t.topSpenderProduct?d.jsx(Zn,{image:er(t.topSpenderProduct.image.cfId),imageName:t.topSpenderProduct.name,iconName:"Crown",title:"Top spent",value:`${Pn({amount:t.topSpenderProduct.amountSpentUsd||0})} spent`,productSlug:u(t.topSpenderProduct)}):d.jsx(Zn,{image:"empty",iconName:"Crown",title:"Top spent",value:`${Pn({amount:0})} spent`}),d.jsxs(q1,{children:[d.jsx(Zn,{iconName:"Bag",title:"Purchases",value:t.totalPurchases}),d.jsx(Zn,{iconName:"Eye",title:"Visits",value:t.visits}),d.jsx(Zn,{title:"Powered by",value:c,logo:s?void 0:w9,customLogo:s?d.jsx("div",{style:{width:"48px",height:"48px",padding:"10px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--border-radius)",backgroundColor:"var(--surface-secondary)"},children:d.jsx(B0,{width:22,height:22})}):void 0}),s?null:d.jsx(Zn,{title:"Store",value:(a==null?void 0:a.info.name)||"",logo:er((l==null?void 0:l.blockSettings.logo.url)||((f=a==null?void 0:a.info.logo)==null?void 0:f.cfId)||"A5gbiev6F8AaBvp6M146Kw/4ecd0fb9-8ebc-44e9-fa1c-c36f61f4bd00")})]}),t.favoriteProduct?d.jsx(Zn,{image:er(t.favoriteProduct.image.cfId),imageName:t.favoriteProduct.name,iconName:"Heart",title:"Favorite product",value:`bought ${t.favoriteProduct.purchasedTimes} times`,productSlug:u(t.favoriteProduct)}):d.jsx(Zn,{image:"empty",iconName:"Heart",title:"Favorite product",value:"bought 0 times"})]})]}):d.jsx("div",{className:yr.loader,children:d.jsx(qn,{})})},v9=async(e=1)=>await Py({PageNumber:e}),H0=()=>{const[e,t]=_.useState(null),[n,o]=_.useState(null),[i,a]=_.useState(0),{page:s}=Ta(),[l,c]=_.useState(!0);async function u(){c(!0);const{list:f,totalCount:g}=await v9(s);t(f),a(g),o(null),c(!1)}async function h(){const f=(e==null?void 0:e.map(m=>m.gatewayName))||[],g=await Aa(f);o(g)}return _.useEffect(()=>{!n&&e&&h()},[e,n]),_.useEffect(()=>{u()},[s]),d.jsx(d.Fragment,{children:e!=null&&e.length&&e.length===0?d.jsx(Na,{title:"No Orders",description:"When you purchase products from our website, you'll see a history of orders here."}):d.jsxs(d.Fragment,{children:[d.jsx(La,{title:"Orders"}),d.jsx(Ow,{orders:e,gatewaysDetail:n,totalCount:i,isLoading:l})]})})},A9="_container_caax0_1",k9="_tablet_caax0_15",L9="_mobile_caax0_18",N9="_progress_caax0_22",P9="_status_caax0_26",R9="_name_caax0_37",D9="_completed_caax0_44",O9="_title_caax0_50",M9="_description_caax0_58",B9="_button_caax0_65",F9="_achievement_caax0_73",H9="_progressText_caax0_92",j9="_progressTextStart_caax0_99",U9="_progressBackground_caax0_103",V9="_progressForeground_caax0_107",z9="_icon_caax0_111",In={container:A9,tablet:k9,mobile:L9,progress:N9,status:P9,name:R9,completed:D9,title:O9,description:M9,button:B9,achievement:F9,progressText:H9,progressTextStart:j9,progressBackground:U9,progressForeground:V9,icon:z9},j0=({adaptiveStyles:e})=>{const{notifications:t,setNotifications:n}=cn(),{setBalance:o}=rr(),[i,a]=_.useState(null),s=async()=>{const f=(await bT()).map(g=>({...g,isClaimed:!1}));a(f)};_.useEffect(()=>{s()},[]);async function l(h){try{if(await Qy(h),i){const g=i==null?void 0:i.map(m=>m.id===h.id?{...m,isClaimed:!0}:m);a(g)}n([...t,{message:"Reward claimed successfully",status:"success",id:pt()}]);const f=await qu();a(null),o(f),s()}catch{n([...t,{message:"Failed to claim reward",status:"error",id:pt()}])}}const c=i&&i.length===0,u=i&&i.length>0;return d.jsx(d.Fragment,{children:c?d.jsx(Na,{title:"Rewards Unavailable",description:"Check back in the future to join our reward program."}):d.jsxs(d.Fragment,{children:[d.jsx(La,{title:"Rewards",description:"To unlock an exclusive reward, complete everything on this checklist"}),d.jsxs("div",{className:ge(In.container,{[In.tablet]:e==="tablet",[In.mobile]:e==="mobile"}),children:[u&&i.map(h=>d.jsx($9,{achievement:h,onClick:f=>l(f)},h.id)),!u&&[...new Array(6)].map((h,f)=>d.jsx(ka,{speed:2,width:"100%",height:400,viewBox:"0 0 300 300",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"100%",height:"300px"})},f))]})]})})},$9=({achievement:e,onClick:t})=>{const[n,o]=Y9(e),[i,a,s]=Z9(e),[l,c]=_.useState(!1),u=a>=s;return d.jsxs("div",{className:In.achievement,children:[d.jsx(W9,{percentage:Math.min(i,100)}),d.jsx("div",{className:`${In.status} ${u?In.completed:""}`,id:"md",children:u?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"Confetti"}),d.jsx("span",{id:"md",children:"Completed!"})]}):`Done: ${a} / ${s}`}),d.jsxs("div",{className:In.title,children:[d.jsx(ie,{name:"Bag",className:In.icon,fill:"var(--text-action)",width:18,height:18}),d.jsx("div",{className:In.name,id:"h5",children:n})]}),d.jsx("span",{className:In.description,id:"md",children:o}),d.jsx(_t,{type:u&&!e.isClaimed?"Primary":"Secondary",className:In.button,disabled:!u,onClick:async()=>{c(!0),await t(e),c(!1)},children:e.isClaimed?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"CheckCircle",fill:"var(--text-secondary)"}),d.jsxs("span",{children:["Your claimed ",G1(e)," bonus"]})]}):d.jsxs(d.Fragment,{children:[!l&&(u?d.jsx("span",{children:"Claim"}):G1(e)),l&&d.jsx(qn,{})]})})]})},W9=({percentage:e,radius:t=40,strokeWidth:n=8})=>{const o=t+n/2,i=o*2,a=2*Math.PI*t,s=a-e/100*a;return d.jsxs("div",{style:{width:i,height:i},className:In.progress,children:[d.jsxs("svg",{"aria-hidden":"true",width:i,height:i,children:[d.jsx("circle",{cx:o,cy:o,r:t,fill:"transparent",className:In.progressBackground,strokeWidth:n}),d.jsx("circle",{cx:o,cy:o,r:t,fill:"transparent",strokeWidth:n,strokeDasharray:`${a} ${a}`,strokeDashoffset:s,className:In.progressForeground})]}),d.jsxs("span",{className:ge(In.progressText,{[In.progressTextStart]:e!==0}),id:"md",children:[Math.min(e,100),"%"]})]})},Ka=e=>{switch(e.rewardRule.rewardType){case ha.Balance:return`${Pn(e.rewardRule.rewardOptions.balance)} on the balance`;case ha.Product:return`products: ${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},G1=e=>{switch(e.rewardRule.rewardType){case ha.Balance:return Pn(e.rewardRule.rewardOptions.balance);case ha.Product:return`${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},q9=e=>{switch(e.rewardRule.ruleType){case zn.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} in total purchases at our store to receive a reward of ${Ka(e)}. You've spent $${e.progress} so far.`;case zn.Order:return`Place ${e.rewardRule.ruleOptions.ordersCount} orders to receive a reward of ${Ka(e)}. You've made ${e.progress} orders so far.`;case zn.Referral:return`On your referral link should sign up ${e.rewardRule.ruleOptions.minReferrals} people and make at least ${e.rewardRule.ruleOptions.minCompletedOrders} purchase to receive a reward of ${Ka(e)}. You've referred ${e.progress} friends so far.`;case zn.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars} to receive a reward of ${Ka(e)}. You've left ${e.progress} reviews so far.`}},G9=e=>{switch(e.rewardRule.ruleType){case zn.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} at our store`;case zn.Order:return`Make ${e.rewardRule.ruleOptions.ordersCount} orders`;case zn.Referral:return`Refer ${e.rewardRule.ruleOptions.minReferrals} friends to our store`;case zn.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars}`}},Y9=e=>[G9(e),q9(e)],Z9=e=>{let t;switch(e.rewardRule.ruleType){case zn.Spend:t=e.rewardRule.ruleOptions.forEach;break;case zn.Order:t=e.rewardRule.ruleOptions.ordersCount;break;case zn.Referral:t=e.rewardRule.ruleOptions.minReferrals;break;case zn.Review:t=e.rewardRule.ruleOptions.minReviews;break}return[Math.round((e.progress/t*100+Number.EPSILON)*100)/100,e.progress,t]},X9="_appContainer_1bj0v_1",K9="_noAnimation_1bj0v_11",Q9="_mobile_1bj0v_19",J9="_appContainerAntistock_1bj0v_28",ex="_contentContainer_1bj0v_44",tx="_contentContainerAntistock_1bj0v_64",go={appContainer:X9,noAnimation:K9,mobile:Q9,appContainerAntistock:J9,contentContainer:ex,contentContainerAntistock:tx},nx="_wrapper_1dai9_2",rx="_tableContainer_1dai9_7",ox="_ticketsTable_1dai9_23",ix="_tableBody_1dai9_29",ax="_hoverable_1dai9_37",sx="_scrollContainer_1dai9_42",lx="_tableItem_1dai9_50",cx="_tableLoader_1dai9_57",Xn={wrapper:nx,tableContainer:rx,ticketsTable:ox,tableBody:ix,hoverable:ax,scrollContainer:sx,tableItem:lx,tableLoader:cx},ux=async(e=1)=>{try{return await Wy({PageNumber:e})}catch(t){return console.error("Failed to fetch tickets:",t),{list:[],totalCount:0}}},U0=()=>{const[e,t]=_.useState(null),{page:n,setPage:o}=Ta(),[i,a]=_.useState(!0),[s,l]=_.useState(0);_.useEffect(()=>{(async()=>{a(!0);const{list:h,totalCount:f}=await ux(n);t(h),l(f),a(!1)})()},[n]);const c=!i&&e;return c&&e.length===0?d.jsx(Na,{title:"Tickets",description:"You don't have any tickets yet. If you contact support, tickets will be displayed here.",centered:!0}):d.jsxs("div",{className:Xn.wrapper,children:[d.jsx(La,{title:"Tickets"}),d.jsxs("div",{className:Xn.tableContainer,children:[d.jsxs("div",{className:Xn.scrollContainer,children:[d.jsxs(Qu,{className:Xn.ticketsTable,children:[d.jsx(Cn,{className:Xn.tableItem,children:"TICKET ID"}),d.jsx(Cn,{className:Xn.tableItem,children:"LAST MESSAGE"}),d.jsx(Cn,{className:Xn.tableItem,children:"DATE"}),d.jsx(Cn,{className:Xn.tableItem,children:"STATUS"})]}),c&&d.jsx("div",{className:ge(Xn.tableBody,Xn.hoverable),children:e==null?void 0:e.map(u=>d.jsx(GF,{item:u},u.id))}),!c&&d.jsx("div",{className:Xn.tableBody,children:d.jsx("div",{className:Xn.tableLoader,children:d.jsx(qn,{})})})]}),c&&d.jsx(hl,{currentPage:n,totalCount:s,onPageChange:o})]})]})};var Yc={exports:{}},Qa={exports:{}},et={};/** @license React v16.13.1
|
|
86
|
+
***************************************************************************** */var ro=function(){return ro=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},ro.apply(this,arguments)};function ST(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}var yT=function(){return Math.random().toString(36).substring(6)},ET=function(e){var t=e.animate,n=t===void 0?!0:t,o=e.backgroundColor,i=o===void 0?"#f5f6f7":o,a=e.backgroundOpacity,s=a===void 0?1:a,l=e.baseUrl,c=l===void 0?"":l,u=e.children,h=e.foregroundColor,f=h===void 0?"#eee":h,g=e.foregroundOpacity,m=g===void 0?1:g,C=e.gradientRatio,I=C===void 0?2:C,b=e.uniqueKey,S=e.rtl,y=S===void 0?!1:S,T=e.speed,k=T===void 0?1.2:T,A=e.style,P=A===void 0?{}:A,E=e.title,M=E===void 0?"Loading...":E,B=e.beforeMask,w=B===void 0?null:B,V=ST(e,["animate","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","uniqueKey","rtl","speed","style","title","beforeMask"]),H=b||yT(),X="".concat(H,"-diff"),W="".concat(H,"-animated-diff"),se="".concat(H,"-aria"),Ce=y?{transform:"scaleX(-1)"}:null,be="".concat(k,"s"),ve="".concat(I*-1," 0"),Le="".concat(I," 0");return _.createElement("svg",ro({"aria-labelledby":se,role:"img",style:ro(ro({},P),Ce)},V),M?_.createElement("title",{id:se},M):null,w&&_.isValidElement(w)?w:null,_.createElement("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(".concat(c,"#").concat(X,")"),style:{fill:"url(".concat(c,"#").concat(W,")")}}),_.createElement("defs",null,_.createElement("clipPath",{id:X},u),_.createElement("linearGradient",{id:W,gradientTransform:"translate(".concat(ve,")")},_.createElement("stop",{offset:"0%",stopColor:i,stopOpacity:s}),_.createElement("stop",{offset:"50%",stopColor:f,stopOpacity:m}),_.createElement("stop",{offset:"100%",stopColor:i,stopOpacity:s}),n&&_.createElement("animateTransform",{attributeName:"gradientTransform",type:"translate",values:"".concat(ve,"; 0 0; ").concat(Le),dur:be,repeatCount:"indefinite"}))))},pi=function(e){return e.children?_.createElement(ET,ro({},e)):_.createElement(TT,ro({},e))},TT=function(e){return _.createElement(pi,ro({viewBox:"0 0 476 124"},e),_.createElement("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),_.createElement("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),_.createElement("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),_.createElement("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),_.createElement("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),_.createElement("circle",{cx:"20",cy:"20",r:"20"}))};const xT=({adaptiveStyles:e})=>{const{dashInfo:t,balance:n,setBalance:o,setDashInfo:i}=rr(),{isAntistock:a}=mt();return _.useEffect(()=>{(async()=>{const{data:l}=await _y(),c=await qu();i(l),o(c)})()},[]),d.jsxs("div",{className:ge(a?yt.sidebarAntistock:yt.sidebar,{[yt.mobile]:e!=="desktop"}),style:{paddingTop:a?"48px":void 0},children:[!t||!n?d.jsx(d.Fragment,{children:a?d.jsx(An,{}):d.jsx(_T,{adaptiveStyles:e})}):!a&&d.jsx(mT,{email:t.email,balance:Rn(n),adaptiveStyles:e}),d.jsx(CT,{adaptiveStyles:e})]})},_T=({adaptiveStyles:e})=>d.jsx(pi,{speed:2,width:320,height:120,viewBox:"0 0 320 120",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(yt.skeleton,{[yt.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"280",height:"100"})}),wT="_balanceContainer_19h4u_1",vT="_headerTitle_19h4u_12",AT="_balanceHeader_19h4u_16",kT="_balanceAmount_19h4u_23",LT="_balanceAmountTitle_19h4u_36",NT="_balanceAmountValue_19h4u_41",PT="_transactionDate_19h4u_69",RT="_transactionItem_19h4u_76",DT="_transactionDetails_19h4u_84",OT="_iconWrapper_19h4u_89",MT="_transactionInfo_19h4u_100",BT="_transactionTitle_19h4u_105",FT="_transactionId_19h4u_109",HT="_transactionAmount_19h4u_115",jT="_added_19h4u_120",UT="_removed_19h4u_123",VT="_noItemsBlock_19h4u_127",zT="_pagination_19h4u_136",$T="_modal_19h4u_142",WT="_header_19h4u_12",qT="_form_19h4u_154",GT="_label_19h4u_160",YT="_bonusBlock_19h4u_173",ZT="_gatewayList_19h4u_187",XT="_gatewayButton_19h4u_194",KT="_selected_19h4u_204",QT="_gatewayName_19h4u_211",JT="_error_19h4u_214",e9="_submitButton_19h4u_219",t9="_addBalanceButton_19h4u_241",n9="_gatewayIcon_19h4u_260",r9="_loaderContainer_19h4u_282",o9="_transactionsContainer_19h4u_290",i9="_transactionsHeader_19h4u_8",a9="_transactionsContent_19h4u_304",Ye={balanceContainer:wT,headerTitle:vT,balanceHeader:AT,balanceAmount:kT,balanceAmountTitle:LT,balanceAmountValue:NT,transactionDate:PT,transactionItem:RT,transactionDetails:DT,iconWrapper:OT,transactionInfo:MT,transactionTitle:BT,transactionId:FT,transactionAmount:HT,added:jT,removed:UT,noItemsBlock:VT,pagination:zT,modal:$T,header:WT,form:qT,label:GT,bonusBlock:YT,gatewayList:ZT,gatewayButton:XT,selected:KT,gatewayName:QT,error:JT,submitButton:e9,addBalanceButton:t9,gatewayIcon:n9,loaderContainer:r9,transactionsContainer:o9,transactionsHeader:i9,transactionsContent:a9},s9=async(e=1)=>await qy({PageNumber:e}),l9=async({price:e,gateway:t,customerEmail:n})=>await xy({customerEmail:n,price:e,gateway:t,tsId:so()}),W1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABcCAYAAAD50zLWAAAVdklEQVR4nM2da4hs2VXHf2ufU1XdffvOnfdN5pmZTGYm88xjMuRhkBAUgyIoBNHgp3wV/CAoYgQ/KQQi+SAiShQ1QhCNCuoXjYqIiZiJ7zFGY5QQNWHIa3K7u6rOXn8/7L3Po+pUdfWde/veBaer6jz22Xvt9V5r7zZ770coYGaA4xbac0jGlQV87VjhSoOkdwMfIthTQAAHMM4HlD+XwEvA14HP5eNTwCeAK8AMOFEwuGVfNg3Y3oQwrc0BKTVjDm7IzLT6IgDlUSW8jEN9SoeN9DLDhYyHEB8B7gVCHtB5Ia8PE+DVwGXg8dwXgAj8JfBrwF8hfYmT5VJeA5hjUBshI8QD2Cvsfth6SkoocpHn6D3AgzIqOmq4nqCVYxUCaQLLtQp4G/DrwL8Av8rCX8PRXHp5bv7yXH5lIS1dSowjgtEeVwEDBBbSHgzABa5CaU8BCzLfrgz0WsNZ2yxInuXfU+CHkD5H5KPM/QmunMDREh3NsWWUuTAzZJbYdASJ29gXRimw97BIVOiOJeQ+SjfrcGPYd1doTChxkd6H+8dZ+Ps5Wk50ZYG/PEdXTsBFHQI2gsSww/C2IhBIZOlSps6nzazpXz37uM4M/XdY7zitD5PeMxF4LfCLuD7AUuhkYbqyCH48R9FbBPaROMKRazCKwCAwV2pAwqIj6U7ggozpyPPXgxJLm32KH+3uyDPdd2GZuYWogJ/G9Rs03MIyGkdL4tGJxRhxerIpGLLTkbiGQEndQxI0QhEz8VqSXFGSGwTZuSqSTUgsfRgTK0OKLSpXeh/Sb+HaY9GIkwU6mhvu68+cAttZWEDjhRqfB4KkIBtovuspB7cNpn9+9Xr7OysBA8wwTMiEIb0L168wX0w5WVQcz9F8YSanp/RPHVvYRKKFfYMrI9EekNTXSgaYrif6doNNPWiRn6F/DhP75vpeXD9C49Ear1k0KIkrAO0i4gNs5nMD3N1wF/BMunV477gNf1PCGKIPTPpxi/4E7tGWEYtJCkqyVqlsgZaFNwrLZAcGEgLX4CagwKuHJO8vm+vnLUpEhyYmx+EUxBXYqkSUbEAz16tx3X1te39TgHCh6N+pJr7Loot5Q/Ad7JcMLQILxgeYd4EbEJ4ot12ty3OzgplJyVT7CUWv5Y430fAiB7dDYBvrAkFI0hMUU2Lt/o6IdyX7mwSSmhUN4JLeGqIusYyiicXzKrBxYJ0MtHV5FhJ5A9xDsEVqanhTUiIBsyp/7obEIip2sfavB1gym4ut0ij6ocf4HUiVOTiGpFVTaTA4mVGDZ6QYJAMZooMLP15AdBH0dnPZqj1rSvgfIi1gBlLc2HlJKbik0rPrSbmrcY8OzMyEB4Qb7hyfvLvam34MsJh7NsLFBkghXavXLyWEyCNEgVSTojC1mSm3Z13nhnrIe7gYM3GKfYnHNB1l8mTnotHbSTOzzKcBk0mYgj1Ps9yXpougXgxqrJ0s4uqWJYtyKP5fzAOFS8DFkTba5lcM7O6GEvm1vnMeQUuIC8wTpRc8nwcCh5ItWD2bSlalLobwkJaLKJ95RxyWwnmhZelBE4kCx+SWWgS+iSHvbnDh0guDul/D5hLbEpcwP4JmjmIDvhwZ2XmAYVTEuIftHWB17UzqfZp4UeZftRBMdZC5WuJqNXYbKlhlYehMl2RAA7yezT5zQZclxydmZZJYZQ0nMcLyBBZH0CzSBJmvtXZ+IGx5ArGRTyaYHUi33zKzO2+pONwH96iFwzJLxGJg95Rfhxj1RuyeWNiFpdzDepgIVJBFb+hrrl7fvjSHlupihzyFdHC+hyxH3Jsl4ejI7BvfND1w+Wd0352Pc9uFhr0JXNiDvUkKb4VO3BU3r4fAgjy1Wjhj+s09xLWIzPJqwKktZkdsRVlICio2aYL6ExaUxMh5H5D6Qg69L+YVd178YWaTFzStf5a9ibgwgYv7sD/FqgBVaJEo64KVRcqnBIHLiG64YWplYB9PBpgbhWXXhKh67KnQdVjEId7NEvUFGwavrvdBtjZyuLWaTYIqg0k1RU2N8ZMczP6L/embOJjBwQzNJhDMqILJMIJZXwYaEuag6AGpxnWnpDtGrd2EkOBAIuSClKH6SHorJGQWymufr9LUhNBv85xARatiwppvXIFX3QZghFZrPIjx50zD+2D2hyQSg+NFQqQXJaLMQsJaO20Zl0gPt3nhlbebi86OTh7eZhZOXNqitiCqIE+np2auOXgx5mVCKXT3yAMZF1XBiZAOQB9nWv0gzH4n9VvGydIwhbqN1RaR5HmkLiE9C6MGcSK/9EA6YRWseh8KLVal2FJfQnjPKrLu2rlBLguQ5f5Ma3jVHWlCW2tPpPR7MCz+MtPqX2H2YmviLZrB1Ge14Ebj2TnmyT7yTjN0N6EgkKO8Wq7HeUtnShT9PI8ycDPs9otw6RBCVU6Cl4l1IbsVmj9iEu4rMpG9iUJf7ljBgrtwVeZ6vB1nTxF0Y49bgwHZvO88EC9mi2gZuj+Ya02F7eSMHH1YNPhr74e6GloH/XZwkN2LxY8yrTwhcNpSYMltiJIPkG4BHtlk13XgvWvV4IqyeIDsgcRmnc2HjW++djVwmgnT7+fD9wGhtWiKGUdx3yQHr5A9B837mVbiwkyDnGvxUPKD9wJrUWgfGeMYkgv1hTJHEuYRtDk6cu6Q5Bh68mGYzTrq9B6VKjunJfwC+xB+DvxeJtW06FFIiEvxluTCXQamuyRWwDeycjJTI8QG+SkUeB4wcAfAZlN47MEOcd4X+mXyQ3pKISblyl2I94LPS4laMobMRHSCI8SzpJKITHWDvP0I+CAGmNhXqbcuiIvkwrWzfH42n7Vx0b75ZLBYorc+AWHSu7u4euVh652nxkwQhFXfQwqotko7a2GZpEPgjcOWXgHIoZn3lEg4F6M5+aqBSAreyugozCo43Ie7Lyd/d0V+j1StqB/AB96CwtMDLdyG2KVvAY+sduaqwXMQ4dyhEz8pxhkBg7qGxRKeegwOL6wjL4wrm7bRBBeAbwut8JKlKKvkSrx4Pz0j46y5i85+zOzb/jxPr0M4SmVqRucyLpbYG5+kevCB9ZrA5JGd3nA6vr115UwJSeYyXI8J7mG70Nv+hk2Td06ib0B5lt9dvj/8APWzjxPL70IcYSPyNqH0zW0wQZLMRYjIV9j3FYPHITuoypGa6+e+DQOeiR0lYfdcZvLON6c3h96Etu7bKPT1RP/z9i6YIKFGeBOR9HqwE7py2VcAsYyo1xdWznHdlIokQl1h0yncckh4x1uIFtY55OxzacBtoTxsLqzJ9pzr7ebaK3eGqyQUa+0q76RGMVK95/+eirwtQb1yR2lj5ZIEOonYpYvU73gLmtVt4aT32Xfzi/ug1Wt1icIkLZVjdoRH11sOhIyInfCZcwdWv5xTpDnL1feLzaDukvHrcnMFSUVOa/V69rRseA4M7riEP3I//tgjaH+G5svM3jspi9XOtF57/v21OgfzJFcSEi4z52GSAinzqaCz57/NDJZLWCzARQiBaAAVhIDldRptsnnDgERokZe6M/R8Ur6l90AVksY9PIS3PYvdfRdIxPmiQ8UZhtF2Y11SvlRn28+IYI2waI8JTVtpOcJetmI7jkHL9qHG9qaoJNJbUVi0pLdd3BQ665DXk/lZKbR9MBJVVxXccSs8+hDh/lfDbC9xWKH4axPxKd34z7p/Rk1E7k+1aF7F3hlsuHZwX3kptR867yM5BMKKlZS9g8HQVn60ZDAoF+iZH3sT7J674aH7CK+6C59MUrVpswTrAhr08rxtScvpAY412Zc/P9PlRFzKacwncibeBkSwUmWwCxigaZ0UVI+KEvL6psZG3k3eUW/AFkIXRQ417E0ID94DD92H3XYrqgMel6hZjLhndF7GtYFPdBSYfGCX9FiRKP25vhqQhC1jmwpURlwIgVBXSDWxWWzkKpEoxjyivRkcHqBLh3DxAtqfwWxGdfkOONhP9wfHi789YFd1SCvn27zMmXyFvi32ZeCTdZEl2ZA2wetknUOzqe5lJwhCj74O7rkN3XUr7M9QCChk5vWYtXovW7feSBYn6fsAEYC3Y+py2eW5nsDsoeDMMlAbPv8AOKmBKdHnil546hmS9TtaP72K0L4wH4WnH0qJabPkzHvOt1ihghIdWZmk5Crka/2T+f5c/FTNZrg7UkClvdMM9LNQ37risfQyfh+oandvcKBxgOcwm5If2UR3u1ClzAl3X0K3Xchte2cUued0Zo9a1jq+8eWd8W1GE5sebWxC3sgE70KJ62MsweYvEP1PidFrJG/LOaS7y9ty1j593fCuEhPdeH1SDSO80P324sifPo4hrNh8q+3vIm52ZePV+1wGBFwfpIkNTbSaXKNH9AA8SUireWRrBuTOUJaQcjAbIkgaRjyuiUl2rmDAf+P+SzZvqpQXLusjXBG355F2Wn0kiaBSF1RIdeXBi3sdWxVKSX7jNR3VOUEE5hb9+20ZjUUDi4aAZL0U3huLV5X+DqT3ADbJQDPr0h2Heyu5YFZk1Csc0vWH/rgnwIdp/DM6WaL5Ulo2BCJF/u0j7gcKrwNb/FMNK+wLQj0buUwqmJ62JQM3MxJ79hEy8UWi/xTzZcXJApooXAq5BgZcr6FbpAw7DG2bJg4Hs4TE8Qd3HcT1hF3liANflvRumugsGrNlXg7mUjBXShyI++yMeyH0KXA1S6nDHE7chqyeWXdOIIZvTd/NRLBuaXYHBpyY+D5cnyf6RPNlVPRSpW+pUjAKc3sXUBktZTXWmQgbsdD6s+qxL6BbD67RmK8JbJ6qfihsKPPL3jTfreh/w8lCfPO4oYn08EKt6ITGcenh8mRuprJUln723hpJgbQWv65lKOnM3dlyLvuxg/PFOv2iie9SEz/PycJ4+QTmS6wZMmmoFhGWAniqlHHI8qYq6rzQjb1bUSap1ZBtwBuucbXyvR8M6JvxS8o6DVfA9Ulc71ETP8/xAl4+MY4Xa8gDqLVsTNLUzF4jiGYW1MbJtlNMia60oalCcbM6KZC+419uvDGwaSAGNEhTUk3Q14EPIn2I6A3HC7PjBTpeyFY9ngw1TQxg9wB7yYZzARY0vtRjFwj7s/HSlzHXrY/46wenOO4I15+Y9KM0/m800TheoKO5egqju7vXZo0bBs9gJrVefVhnyy29KtSX6qAFB9Otz50jlClbZd0OXH+B68Mm/bGW0ZgvjeOF2aLJy14Hd6+KBKtJvP+81hvf6gMX9oWseft5kj4CW993RZG0imXbW14BDGOAq379/wG/Z+J3JX3CJDhZwnwpjhdGEyXXNuS15+pMaa8r9kcpiNTwoVMVycCornsGdFsNBW1pRQlHbWkSsBwHahd5txVWu0CZqNSxrwB/b+KvgT8DPgMcAXssGnSyhJMlNl/CMp5pSuu8O8WzSGfagKP/Buvhpaoq4h0XSWtAjG45l60wwErsLp8d+S7gJVy/KXiRqCtmNpENtt8L6YUYaXO0b5nZy8CxuT4bXF+16G6NoyZa3lzCFP2kOTpOzDFObVsCiglqMzuUdG9bpdo9WHT29g3KbJguVhWwqkSH+xdG4naFtbcrK5l4j1wvWHRTimESzBpJVe6nSQPajMrvVHS88W71QXRl37+tjthCOafSVC24LDgoBged0L0qyWT7U0TCuq9WP63dPN7FdkDpuY9Z9BeYLyudLN2iR1zmUshGKFBKE1Zal2jjne1Obu31Actdbe6nBt5gZutLz4ewhtDRhDvgh7M2T9Lah9taDaPz33Oy9aIvmpqTpXOyMCVq6pfjpQfWF0OXC628TWkY05gcvdrEWS3pHTDYkdJyg5IUGKERM2sxmr73NPKFvS6Pexrkwvd2AbO11NepGulFxRhtGYOWMdVw5yRiKwTUCvB+Xzum6l1TpsLN9Thng5q0B+kqSIU1VmBQ1sE6n+sV2IBWEJO1ryRDeglR4x7JRu2KhUDa/yD1ude/rfLrqjyEEajN7OEd2hudp9X6FDNrZeCOkGYpU15RBD2FcGTiUynd0LWazZkyf63EvBH71tTAQ0BDt6Pvqgpf61WLuBX5JsCnNRZMreyTTt3taIMWPDHxBaWUgxTdwtC3NDOTnypoz/zeM0Ews78zs0XeIs6tA5XozOqRe5/zQ5I3S5yIHrwdaiQiaUGNw1Vs0pjfUwGflbRU3sO1XxtoG5Ot5wu1mb0V+AHgnSQqnJCUyqhmXs2DSHFBHSbhYC/4wfQNBHuy2xAIbTGIBggYKV6qgX+nLfzscv39LWYG65BH4HqjuY4TBPx2PvrW/5hv3J7qSmpnzsEUv3RwwK0HHwSezLfpVEsyiwGt6CMZaRmp8bcaGrrrrotGrZJzg9ruPIT1SbTesW2Cpbo2btkXt104Yn/6zMi6i53Hl220trTJ0T8V1kXj83Fqbc51hlr7o6nHHXsUUury9kPj0oGQnk610OTahrPRRrc8Nvm0Jv4n7aKeTRfvjOKbBWrSerm0DqtEPzrwzW5Yj8OntQh2iahLmEXcdyllHXgOWSm1ml/Sf+B+hWU0i+0ucjcd1Jj115+uy7zTZty9JObfnmXaWSjPiiun/ruSo/+PWkasiXjTrbMbpA5uAqgZbne5Zoz2ZfRg+RR0OlqCZXyEUle46yC7+sCC9MIBUdIXLDoqkRMGrl7bPV8/d65Qm1UaMSGAgijT6rWWUMzMDvbSfe7PvSLKGCK9Al7IKyxT51LVWMsjg9rpGwg7FK/AmmQsECzt5lOFCWYP0FHSWaCThcMS/C92d1iKCVi3fKJUh53juu1RaDfiNnVHH7axh5mlAvIqHJL+08MZh7PWeNEUc5IR3fkxecOvPsK85YSzvfVaQruYYVMnxs4PWGdSGVW4Hbi8gfo2TIFWv3TU5/pfk75OWj3VGdgrFkGhxhsqA8uXNsY3QoGyLvYHOWQdzCwEqC2A7scsYPId/I9tUNTSP+MyNiSz+4pjU8L7vCBAh5ixrFf/dy/Ckp/OLGyW3LfNyNs0ypEAKA58Wu6p/Lilz+7WUhV7Iz2Qti/9H6fJkhJGD1iKhgQTITjGm66S7kZ8bYTrH9L2eyp72Fy7COg1hjWPYXUNyKbrMlBageSYPbR62ym/x6B/z5dwOT0bsA9uVx0CvOZwqsu1uvFO32YMZRMH8RzrCZ2+SbJttKvIPTHp00SPXX31ygM3WO71YRSBOwVQQrsd5oNI9Qb5t4sDO5SDrhfzDpphTYmMJ+NvKAwQuGvkKf1/grRyklTF+VK+pJXP02B4v9kVM/uEyv8wyVsG5O1YRu3UGw2jFLhNvuSNjyj/zM7EEfBjJM+h316f+rbNTGH3bwG/AHygrRrt++E3GeIK/D/1R7dpRZ4HDAAAAABJRU5ErkJggg==",c9="_antistockLogoWrapper_ax6a6_1",u9="_applePayGooglePay_ax6a6_13",d9="_debitCreditCard_ax6a6_20",h9="_cryptocurrency_ax6a6_27",ul={antistockLogoWrapper:c9,applePayGooglePay:u9,debitCreditCard:d9,cryptocurrency:h9},f9="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%20-34.55%20120.3%20120.3'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8%206.6c1.4-1.8%202.4-4.2%202.1-6.6-2.1.1-4.6%201.4-6.1%203.1-1.3%201.5-2.5%204-2.2%206.3%202.4.3%204.7-1%206.2-2.8M24.9%2010c-3.4-.2-6.3%201.9-7.9%201.9-1.6%200-4.1-1.8-6.8-1.8-3.5.1-6.7%202-8.5%205.2-3.6%206.3-1%2015.6%202.6%2020.7%201.7%202.5%203.8%205.3%206.5%205.2%202.6-.1%203.6-1.7%206.7-1.7s4%201.7%206.8%201.6%204.6-2.5%206.3-5.1c2-2.9%202.8-5.7%202.8-5.8-.1-.1-5.5-2.1-5.5-8.3-.1-5.2%204.2-7.7%204.4-7.8-2.3-3.6-6.1-4-7.4-4.1'/%3e%3cg%3e%3cpath%20d='M54.3%202.9c7.4%200%2012.5%205.1%2012.5%2012.4%200%207.4-5.2%2012.5-12.7%2012.5H46v12.9h-5.9V2.9h14.2zm-8.3%2020h6.7c5.1%200%208-2.8%208-7.5%200-4.8-2.9-7.5-8-7.5h-6.8v15h.1zM68.3%2033c0-4.8%203.7-7.8%2010.3-8.2l7.6-.4v-2.1c0-3.1-2.1-4.9-5.5-4.9-3.3%200-5.3%201.6-5.8%204h-5.4c.3-5%204.6-8.7%2011.4-8.7%206.7%200%2011%203.5%2011%209.1v19h-5.4v-4.5h-.1c-1.6%203.1-5.1%205-8.7%205-5.6%200-9.4-3.4-9.4-8.3zm17.9-2.5v-2.2l-6.8.4c-3.4.2-5.3%201.7-5.3%204.1%200%202.4%202%204%205%204%204%200%207.1-2.7%207.1-6.3zM96.9%2051v-4.6c.4.1%201.4.1%201.8.1%202.6%200%204-1.1%204.9-3.9%200-.1.5-1.7.5-1.7l-10-27.6h6.1l7%2022.5h.1l7-22.5h6L110%2042.4c-2.4%206.7-5.1%208.8-10.8%208.8-.4-.1-1.8-.1-2.3-.2z'/%3e%3c/g%3e%3c/svg%3e",p9=()=>d.jsx("svg",{width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M20.9852 9.72294L16.7571 13.4129L18.0236 18.9067C18.0906 19.1939 18.0715 19.4945 17.9686 19.7709C17.8658 20.0472 17.6837 20.2872 17.4452 20.4606C17.2067 20.6341 16.9223 20.7334 16.6277 20.7462C16.3331 20.7589 16.0412 20.6845 15.7886 20.5323L10.9971 17.6261L6.2158 20.5323C5.96321 20.6845 5.67135 20.7589 5.37671 20.7462C5.08208 20.7334 4.79773 20.6341 4.55923 20.4606C4.32074 20.2872 4.13866 20.0472 4.03578 19.7709C3.9329 19.4945 3.91378 19.1939 3.9808 18.9067L5.24549 13.4186L1.01643 9.72294C0.792748 9.53002 0.631004 9.27536 0.55148 8.99089C0.471955 8.70642 0.478189 8.4048 0.569401 8.12385C0.660612 7.84291 0.832741 7.59515 1.0642 7.41164C1.29566 7.22813 1.57615 7.11705 1.87049 7.09231L7.44486 6.6095L9.6208 1.4195C9.73443 1.14717 9.9261 0.914551 10.1717 0.750929C10.4172 0.587308 10.7057 0.5 11.0008 0.5C11.2959 0.5 11.5844 0.587308 11.8299 0.750929C12.0755 0.914551 12.2672 1.14717 12.3808 1.4195L14.5633 6.6095L20.1358 7.09231C20.4301 7.11705 20.7106 7.22813 20.9421 7.41164C21.1736 7.59515 21.3457 7.84291 21.4369 8.12385C21.5281 8.4048 21.5343 8.70642 21.4548 8.99089C21.3753 9.27536 21.2135 9.53002 20.9899 9.72294H20.9852Z",fill:"currentColor"})}),A0=({isAntistock:e=!1})=>e?d.jsxs("div",{className:ul.cryptocurrency,children:[d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})})}),d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.3837 16.4017C13.6027 16.4483 15.781 16.4937 18 16.5857C17.9187 16.9525 17.8362 17.2727 17.7956 17.5941C17.6712 18.0529 17.5481 18.4664 17.4668 18.9252C17.4249 19.1546 17.3424 19.2 17.138 19.2H6.53438C6.90513 17.5941 7.27452 16.0815 7.64386 14.4756C7.06883 14.705 6.57507 14.9344 6 15.2092C6.16497 14.5223 6.32877 13.9261 6.53438 13.2832C6.53438 13.1924 6.65762 13.1458 6.74007 13.1458C7.11071 12.963 7.52084 12.8243 7.89018 12.6403C8.01344 12.5962 8.13773 12.4588 8.13773 12.3201L9.86171 5.16681C9.90358 4.89203 9.98489 4.8 10.273 4.8H14.0128C13.5608 6.67939 13.1495 8.56137 12.6976 10.5328C13.3552 10.2126 13.9721 9.93657 14.6703 9.66179C14.5878 10.0286 14.4647 10.3487 14.424 10.6702C14.3415 11.4051 13.9721 11.8172 13.3145 12.0013C13.0276 12.092 12.7383 12.2294 12.4513 12.3681C12.3494 12.436 12.2648 12.5305 12.205 12.6429C11.9169 13.8807 11.6288 15.0731 11.3825 16.3109V16.403L11.3837 16.4017Z",fill:"#345D9D"})})}),d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M19.9946 3.6L19.8636 3.98284V15.0909L19.9946 15.2034L25.9879 12.1555L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9946 3.6L14 12.1555L19.9946 15.2034L19.9934 9.81181L19.9946 3.6Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 16.1802L19.9209 16.2577V20.2146L19.9948 20.4L25.9917 13.134L19.9948 16.1802Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M19.9948 20.4V16.1802L14 13.134L19.9948 20.4Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M20.0067 15.2052L26 12.1574L20.0067 9.81369V15.2052Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}}),d.jsx("path",{d:"M14 12.1555L19.9934 15.2044V9.81181L14 12.1555Z",fill:"#ffffff",style:{transform:"translateX(-8px)"}})]})}),d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M7.4623 17V13.962H4.6763V12.898H7.4623V9.846H8.5123V12.898H11.2843V13.962H8.5123V17H7.4623ZM16.3943 17.168C15.6476 17.168 15.0176 17.056 14.5043 16.832C13.991 16.5987 13.6036 16.272 13.3423 15.852C13.081 15.432 12.9503 14.9327 12.9503 14.354V14.172H14.1963V14.354C14.1963 14.9327 14.3783 15.376 14.7423 15.684C15.1156 15.9827 15.629 16.132 16.2823 16.132C16.9356 16.132 17.463 15.992 17.8643 15.712C18.2656 15.4227 18.4663 14.9653 18.4663 14.34C18.4663 13.8827 18.359 13.5327 18.1443 13.29C17.9296 13.0473 17.6496 12.8793 17.3043 12.786C16.9683 12.6833 16.609 12.632 16.2263 12.632H15.2183V11.596H16.2683C16.623 11.596 16.9496 11.54 17.2483 11.428C17.547 11.316 17.785 11.134 17.9623 10.882C18.149 10.6207 18.2423 10.2847 18.2423 9.874C18.2423 9.50067 18.1583 9.19733 17.9903 8.964C17.8316 8.73067 17.6123 8.558 17.3323 8.446C17.0523 8.32467 16.7443 8.264 16.4083 8.264C16.035 8.264 15.699 8.32933 15.4003 8.46C15.1016 8.58133 14.8636 8.768 14.6863 9.02C14.5183 9.272 14.4343 9.58933 14.4343 9.972V10.154H13.1743V9.902C13.1743 9.37 13.3096 8.90333 13.5803 8.502C13.8603 8.10067 14.2383 7.788 14.7143 7.564C15.1996 7.34 15.755 7.228 16.3803 7.228C16.9963 7.228 17.5376 7.326 18.0043 7.522C18.4803 7.718 18.8536 8.00733 19.1243 8.39C19.395 8.77267 19.5303 9.244 19.5303 9.804C19.5303 10.2147 19.4556 10.5647 19.3063 10.854C19.157 11.134 18.961 11.3673 18.7183 11.554C18.4756 11.7407 18.2143 11.8947 17.9343 12.016V12.072C18.4476 12.2213 18.877 12.492 19.2223 12.884C19.5676 13.276 19.7403 13.7893 19.7403 14.424C19.7403 14.9933 19.5956 15.4833 19.3063 15.894C19.0263 16.3047 18.6296 16.622 18.1163 16.846C17.6123 17.0607 17.0383 17.168 16.3943 17.168Z",fill:"#757575"})})})]}):d.jsxs("svg",{width:"72",height:"24",viewBox:"0 0 72 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4561)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4561)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M27.3837 16.4017C29.6027 16.4483 31.781 16.4937 34 16.5857C33.9187 16.9525 33.8362 17.2727 33.7956 17.5941C33.6712 18.0529 33.5481 18.4664 33.4668 18.9252C33.4249 19.1546 33.3424 19.2 33.138 19.2H22.5344C22.9051 17.5941 23.2745 16.0815 23.6439 14.4756C23.0688 14.705 22.5751 14.9344 22 15.2092C22.165 14.5223 22.3288 13.9261 22.5344 13.2832C22.5344 13.1924 22.6576 13.1458 22.7401 13.1458C23.1107 12.963 23.5208 12.8243 23.8902 12.6403C24.0134 12.5962 24.1377 12.4588 24.1377 12.3201L25.8617 5.16681C25.9036 4.89203 25.9849 4.8 26.273 4.8H30.0128C29.5608 6.67939 29.1495 8.56137 28.6976 10.5328C29.3552 10.2126 29.9721 9.93657 30.6703 9.66179C30.5878 10.0286 30.4647 10.3487 30.424 10.6702C30.3415 11.4051 29.9721 11.8172 29.3145 12.0013C29.0276 12.092 28.7383 12.2294 28.4513 12.3681C28.3494 12.436 28.2648 12.5305 28.205 12.6429C27.9169 13.8807 27.6288 15.0731 27.3825 16.3109V16.403L27.3837 16.4017Z",fill:"#345D9D"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4561)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M43.9946 3.59961L43.8636 3.98245V15.0905L43.9946 15.203L49.9879 12.1551L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9946 3.59961L38 12.1551L43.9946 15.203L43.9934 9.81142L43.9946 3.59961Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 16.1798L43.9209 16.2573V20.2142L43.9948 20.3996L49.9917 13.1336L43.9948 16.1798Z",fill:"#252525"}),d.jsx("path",{d:"M43.9948 20.3996V16.1798L38 13.1336L43.9948 20.3996Z",fill:"#252525"}),d.jsx("path",{d:"M44.0067 15.2049L50 12.157L44.0067 9.8133V15.2049Z",fill:"#252525"}),d.jsx("path",{d:"M38 12.1551L43.9934 15.204V9.81142L38 12.1551Z",fill:"#252525"})]}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{x:"48",width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M55.4623 17V13.962H52.6763V12.898H55.4623V9.846H56.5123V12.898H59.2843V13.962H56.5123V17H55.4623ZM64.3943 17.168C63.6476 17.168 63.0176 17.056 62.5043 16.832C61.991 16.5987 61.6036 16.272 61.3423 15.852C61.081 15.432 60.9503 14.9327 60.9503 14.354V14.172H62.1963V14.354C62.1963 14.9327 62.3783 15.376 62.7423 15.684C63.1156 15.9827 63.629 16.132 64.2823 16.132C64.9356 16.132 65.463 15.992 65.8643 15.712C66.2656 15.4227 66.4663 14.9653 66.4663 14.34C66.4663 13.8827 66.359 13.5327 66.1443 13.29C65.9296 13.0473 65.6496 12.8793 65.3043 12.786C64.9683 12.6833 64.609 12.632 64.2263 12.632H63.2183V11.596H64.2683C64.623 11.596 64.9496 11.54 65.2483 11.428C65.547 11.316 65.785 11.134 65.9623 10.882C66.149 10.6207 66.2423 10.2847 66.2423 9.874C66.2423 9.50067 66.1583 9.19733 65.9903 8.964C65.8316 8.73067 65.6123 8.558 65.3323 8.446C65.0523 8.32467 64.7443 8.264 64.4083 8.264C64.035 8.264 63.699 8.32933 63.4003 8.46C63.1016 8.58133 62.8636 8.768 62.6863 9.02C62.5183 9.272 62.4343 9.58933 62.4343 9.972V10.154H61.1743V9.902C61.1743 9.37 61.3096 8.90333 61.5803 8.502C61.8603 8.10067 62.2383 7.788 62.7143 7.564C63.1996 7.34 63.755 7.228 64.3803 7.228C64.9963 7.228 65.5376 7.326 66.0043 7.522C66.4803 7.718 66.8536 8.00733 67.1243 8.39C67.395 8.77267 67.5303 9.244 67.5303 9.804C67.5303 10.2147 67.4556 10.5647 67.3063 10.854C67.157 11.134 66.961 11.3673 66.7183 11.554C66.4756 11.7407 66.2143 11.8947 65.9343 12.016V12.072C66.4476 12.2213 66.877 12.492 67.2223 12.884C67.5676 13.276 67.7403 13.7893 67.7403 14.424C67.7403 14.9933 67.5956 15.4833 67.3063 15.894C67.0263 16.3047 66.6296 16.622 66.1163 16.846C65.6123 17.0607 65.0383 17.168 64.3943 17.168Z",fill:"#757575"}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4561",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4561",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4561",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),k0=()=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9656 10.3538C18.2402 8.58846 16.8424 7.63956 14.9309 7.00654L15.551 4.6153L14.0371 4.2526L13.4335 6.58088C13.0355 6.48543 12.6267 6.3955 12.2205 6.30635L12.8285 3.9627L11.3155 3.6L10.6951 5.99046C10.3657 5.91836 10.0422 5.8471 9.7284 5.77202L9.73015 5.7645L7.64241 5.26323L7.23968 6.81792C7.23968 6.81792 8.36289 7.06548 8.33922 7.08071C8.95228 7.22783 9.06315 7.61803 9.04474 7.92731L8.33841 10.6515C8.38063 10.6618 8.43538 10.6767 8.49581 10.7001L8.45182 10.6895C8.41447 10.6805 8.37564 10.6712 8.33578 10.662L7.34575 14.4782C7.27083 14.6573 7.08066 14.926 6.65204 14.824C6.66721 14.8451 5.55169 14.5599 5.55169 14.5599L4.80005 16.2262L6.77019 16.6984C6.98594 16.7504 7.19915 16.8038 7.41019 16.8567C7.55766 16.8937 7.70408 16.9304 7.84957 16.9662L7.22309 19.3848L8.73527 19.7475L9.35568 17.3545C9.76879 17.4624 10.1697 17.5618 10.5622 17.6556L9.94386 20.0373L11.4579 20.4L12.0843 17.9859C14.6659 18.4556 16.607 18.2662 17.4241 16.0211C18.0824 14.2136 17.3913 13.171 16.0331 12.4911C17.0223 12.2717 17.7674 11.6462 17.9661 10.3539L17.9656 10.3536L17.9656 10.3538ZM14.5079 15.0208C14.0786 16.6792 11.3788 15.9936 10.1436 15.6799C10.0325 15.6517 9.93318 15.6265 9.84849 15.6063L10.6798 12.402C10.7831 12.4267 10.9092 12.4539 11.0521 12.4848L11.0521 12.4848C12.3298 12.7605 14.9477 13.3254 14.508 15.0208H14.5079ZM11.3014 10.9928C12.3312 11.2571 14.5778 11.8336 14.9691 10.3263H14.9692C15.3688 8.78475 13.1854 8.31998 12.1191 8.09299C11.9992 8.06746 11.8933 8.04493 11.8069 8.02422L11.0532 10.9303C11.1243 10.9474 11.2078 10.9688 11.3014 10.9928Z",fill:"#F7931A"})}),L0=({isAntistock:e=!1})=>e?d.jsxs("div",{className:ul.debitCreditCard,children:[d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})})}),d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M14.5901 7.2835H9.39431V16.7165H14.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M9.74021 12C9.74021 10.0835 10.6318 8.38252 11.9999 7.2835C10.993 6.4835 9.72288 6 8.33751 6C5.05551 6 2.39991 8.6835 2.39991 12C2.39991 15.3165 5.05551 18 8.33751 18C9.72288 18 10.993 17.5165 11.9999 16.7165C10.6298 15.633 9.74021 13.9165 9.74021 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M21.5999 12C21.5999 15.3165 18.9443 18 15.6624 18C14.2769 18 13.0068 17.5165 11.9999 16.7165C13.3853 15.6155 14.2596 13.9165 14.2596 12C14.2596 10.0835 13.368 8.38252 11.9999 7.2835C13.0049 6.4835 14.275 6 15.6604 6C18.9443 6 21.5999 8.70097 21.5999 12Z",fill:"#F79E1B"})]})}),d.jsx(tr,{children:d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.6377 9.6L9.2 15.5923H12.1183L12.48 14.6369H13.307L13.6688 15.5923H16.881V14.8631L17.1673 15.5923H18.8289L19.1151 14.8477V15.5923H25.7957L26.608 14.6617L27.3687 15.5923L30.7999 15.6L28.3545 12.6129L30.7999 9.6H27.4219L26.6311 10.5134L25.8944 9.6H18.6268L18.0028 11.1467L17.3641 9.6H14.4518V10.3044L14.1279 9.6H11.6377ZM12.2024 10.4509H13.6249L15.2418 14.5143V10.4509H16.8001L18.0491 13.3644L19.2001 10.4509H20.7506V14.7508H19.8071L19.7994 11.3814L18.424 14.7508H17.58L16.1968 11.3814V14.7508H14.2559L13.8879 13.7868H11.9L11.5328 14.7499H10.4929L12.2024 10.4509ZM21.6138 10.4509H25.4501L26.6234 11.8588L27.8346 10.4509H29.0079L27.2252 12.612L29.0079 14.7482H27.7814L26.608 13.324L25.3907 14.7482H21.6138V10.4509ZM12.8944 11.1784L12.2394 12.8957H13.5486L12.8944 11.1784ZM22.5611 12.1261H24.654V13.001H22.5611V13.8579H24.9086L25.9994 12.5958L24.9549 11.3405H22.5611V12.1261Z",fill:"#26A6D1",style:{transform:"translateX(-8px)"}})})})]}):d.jsxs("svg",{width:"56",height:"24",viewBox:"0 0 56 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsxs("g",{clipPath:"url(#clip0_1466_4573)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M12.371 10.7018C12.3586 11.7047 13.2368 12.2645 13.8984 12.5972C14.5782 12.9387 14.8065 13.1576 14.8039 13.4629C14.7987 13.9302 14.2616 14.1364 13.759 14.1445C12.8821 14.1585 12.3722 13.9001 11.9669 13.7046L11.651 15.2304C12.0577 15.4239 12.8107 15.5926 13.5916 15.6C15.4246 15.6 16.6239 14.666 16.6304 13.2179C16.6375 11.38 14.1676 11.2783 14.1845 10.4568C14.1903 10.2077 14.4206 9.9419 14.9252 9.87428C15.1749 9.84013 15.8644 9.81402 16.6459 10.1856L16.9527 8.70932C16.5324 8.55131 15.9921 8.4 15.3195 8.4C13.5942 8.4 12.3807 9.3467 12.371 10.7018ZM19.9007 8.52721C19.566 8.52721 19.2838 8.72873 19.158 9.03805L16.5396 15.4915H18.3712L18.7358 14.4518H20.9741L21.1856 15.4915H22.7999L21.3912 8.52721H19.9007ZM20.1569 10.4086L20.6855 13.0237H19.2378L20.1569 10.4086ZM10.1501 8.52721L8.70631 15.4915H10.4517L11.8949 8.52721H10.1501ZM7.568 8.52721L5.75124 13.2674L5.01637 9.2369C4.93011 8.78698 4.58959 8.52721 4.21145 8.52721H1.24147L1.19995 8.7294C1.80964 8.86598 2.50236 9.08626 2.92201 9.32193C3.17886 9.46587 3.25215 9.59174 3.33647 9.93386L4.72839 15.4915H6.57303L9.40097 8.52721H7.568Z",fill:"#254AA5"})]}),d.jsxs("g",{clipPath:"url(#clip1_1466_4573)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M30.5901 7.2835H25.3943V16.7165H30.5901V7.2835Z",fill:"#FF5A00"}),d.jsx("path",{d:"M25.7402 12C25.7402 10.0835 26.6318 8.38252 27.9999 7.2835C26.993 6.4835 25.7229 6 24.3375 6C21.0555 6 18.3999 8.6835 18.3999 12C18.3999 15.3165 21.0555 18 24.3375 18C25.7229 18 26.993 17.5165 27.9999 16.7165C26.6298 15.633 25.7402 13.9165 25.7402 12Z",fill:"#EB001B"}),d.jsx("path",{d:"M37.5999 12C37.5999 15.3165 34.9443 18 31.6624 18C30.2769 18 29.0068 17.5165 27.9999 16.7165C29.3853 15.6155 30.2596 13.9165 30.2596 12C30.2596 10.0835 29.368 8.38252 27.9999 7.2835C29.0049 6.4835 30.275 6 31.6604 6C34.9443 6 37.5999 8.70097 37.5999 12Z",fill:"#F79E1B"})]}),d.jsxs("g",{clipPath:"url(#clip2_1466_4573)",children:[d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M35.6377 9.6L33.2 15.5923H36.1183L36.48 14.6369H37.307L37.6688 15.5923H40.881V14.8631L41.1673 15.5923H42.8289L43.1151 14.8477V15.5923H49.7957L50.608 14.6617L51.3687 15.5923L54.7999 15.6L52.3545 12.6129L54.7999 9.6H51.4219L50.6311 10.5134L49.8944 9.6H42.6268L42.0028 11.1467L41.3641 9.6H38.4518V10.3044L38.1279 9.6H35.6377ZM36.2024 10.4509H37.6249L39.2418 14.5143V10.4509H40.8001L42.0491 13.3644L43.2001 10.4509H44.7506V14.7508H43.8071L43.7994 11.3814L42.424 14.7508H41.58L40.1968 11.3814V14.7508H38.2559L37.8879 13.7868H35.9L35.5328 14.7499H34.4929L36.2024 10.4509ZM45.6138 10.4509H49.4501L50.6234 11.8588L51.8346 10.4509H53.0079L51.2252 12.612L53.0079 14.7482H51.7814L50.608 13.324L49.3907 14.7482H45.6138V10.4509ZM36.8944 11.1784L36.2394 12.8957H37.5486L36.8944 11.1784ZM46.5611 12.1261H48.654V13.001H46.5611V13.8579H48.9086L49.9994 12.5958L48.9549 11.3405H46.5611V12.1261Z",fill:"#26A6D1"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_1466_4573",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_1466_4573",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip2_1466_4573",children:d.jsx("rect",{x:"32",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),N0=({isAntistock:e=!1})=>e?d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("g",{clipPath:"url(#clip0_13_4480)",children:d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_13_4480)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M15.1258 8.86178C15.3047 9.05256 15.6016 9.05256 15.7698 8.86178L16.6642 7.86973C16.8539 7.67895 16.8431 7.33555 16.6428 7.12951C15.9399 6.47662 15.1228 5.97865 14.2385 5.66433L14.5211 4.21441C14.582 3.89771 14.3601 3.6001 14.0632 3.6001H12.3315C12.2233 3.60134 12.1187 3.64219 12.0354 3.71581C11.952 3.78944 11.8949 3.89137 11.8736 4.00455L11.6231 5.29421C9.31901 5.42013 7.36553 6.66782 7.36553 9.22426C7.36553 11.4373 8.97912 12.3874 10.6857 13.0398C12.2993 13.6961 13.1544 13.9403 13.1544 14.8637C13.1544 15.8138 12.3029 16.3708 11.0435 16.3708C9.89861 16.3708 8.69647 15.9626 7.76624 14.9667C7.72304 14.9206 7.67174 14.8839 7.61526 14.859C7.55878 14.834 7.49823 14.8211 7.43709 14.8211C7.37594 14.8211 7.3154 14.834 7.25892 14.859C7.20244 14.8839 7.15113 14.9206 7.10793 14.9667L6.14192 15.9969C6.05103 16.0942 6 16.2259 6 16.3632C6 16.5005 6.05103 16.6322 6.14192 16.7295C6.89326 17.5193 7.84496 18.0917 8.92975 18.4084L8.66499 19.7705C8.60417 20.0872 8.82241 20.381 9.11937 20.3848L10.8546 20.4001C10.9641 20.4006 11.0703 20.3606 11.1551 20.2868C11.24 20.213 11.2982 20.1101 11.3197 19.9956L11.5702 18.7022C14.3422 18.5037 16.031 16.8745 16.031 14.4974C16.031 12.3072 14.3494 11.3839 12.3101 10.6322C11.1437 10.1705 10.1347 9.85383 10.1347 8.90375C10.1347 7.98038 11.0757 7.61409 12.0203 7.61409C13.2224 7.61409 14.378 8.14445 15.1329 8.86941L15.1258 8.86178Z",fill:"#00D249"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_13_4480",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]}),P0=({isAntistock:e=!1})=>e?d.jsx(tr,{children:d.jsx("img",{src:W1,alt:"PayPal",width:14,height:18})}):d.jsx("img",{src:W1,alt:"PayPal",height:24}),tr=({children:e})=>d.jsx("div",{className:ul.antistockLogoWrapper,children:e}),R0=({isAntistock:e=!1})=>e?d.jsxs("div",{className:ul.applePayGooglePay,children:[d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})})})]})}),d.jsx(tr,{children:d.jsx("img",{src:f9,alt:"Apple Pay",width:18,height:24})})]}):d.jsxs("svg",{width:"40",height:"24",viewBox:"0 0 40 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_12_1508)",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M11.4098 12.495V14.9512H10.6V8.87671H12.7053C13.2182 8.87671 13.704 9.06159 14.0819 9.40493C14.4598 9.72185 14.6487 10.1972 14.6487 10.699C14.6487 11.2008 14.4598 11.6498 14.0819 11.9932C13.704 12.3365 13.2452 12.5214 12.7053 12.5214L11.4098 12.495ZM11.4098 9.61621V11.7291H12.7593C13.0562 11.7291 13.3531 11.6234 13.5421 11.4121C13.974 11.016 13.974 10.3557 13.5691 9.95955L13.5421 9.93314C13.3262 9.72185 13.0562 9.5898 12.7593 9.61621H11.4098Z",fill:"#5F6368"}),d.jsx("path",{d:"M16.5112 10.6726C17.105 10.6726 17.5638 10.8311 17.9147 11.148C18.2656 11.465 18.4276 11.8875 18.4276 12.4157V14.9512H17.6718V14.3701H17.6448C17.3209 14.8455 16.8621 15.0832 16.3222 15.0832C15.8634 15.0832 15.4585 14.9512 15.1346 14.6871C14.8377 14.4229 14.6487 14.0532 14.6487 13.657C14.6487 13.2345 14.8107 12.8911 15.1346 12.627C15.4585 12.3629 15.9173 12.2573 16.4572 12.2573C16.943 12.2573 17.3209 12.3365 17.6178 12.5214V12.3365C17.6178 12.0724 17.5098 11.8083 17.2939 11.6498C17.078 11.465 16.8081 11.3593 16.5112 11.3593C16.0523 11.3593 15.7014 11.5442 15.4585 11.9139L14.7567 11.4914C15.1886 10.9367 15.7554 10.6726 16.5112 10.6726ZM15.4855 13.6834C15.4855 13.8947 15.5934 14.0796 15.7554 14.1852C15.9443 14.3173 16.1603 14.3965 16.3762 14.3965C16.7001 14.3965 17.024 14.2645 17.2669 14.0268C17.5368 13.7891 17.6718 13.4986 17.6718 13.1816C17.4289 12.9968 17.078 12.8911 16.6191 12.8911C16.2952 12.8911 16.0253 12.9704 15.8094 13.1288C15.5934 13.2609 15.4855 13.4458 15.4855 13.6834Z",fill:"#5F6368"}),d.jsx("path",{d:"M22.8002 10.8047L20.128 16.7999H19.3183L20.317 14.7135L18.5625 10.8311H19.4262L20.6949 13.8155H20.7218L21.9635 10.8311H22.8002V10.8047Z",fill:"#5F6368"}),d.jsx("path",{d:"M8.19776 11.9668C8.19776 11.7291 8.17077 11.4914 8.14378 11.2537H4.76983V12.6006H6.68623C6.60526 13.0232 6.36233 13.4193 5.98445 13.657V14.5286H7.14509C7.81988 13.9211 8.19776 13.0232 8.19776 11.9668Z",fill:"#4285F4"}),d.jsx("path",{d:"M4.76983 15.3737C5.74153 15.3737 6.55127 15.0568 7.14509 14.5286L5.98445 13.657C5.66055 13.8683 5.25568 14.0004 4.76983 14.0004C3.85212 14.0004 3.04237 13.3929 2.77245 12.5478H1.58483V13.4458C2.20563 14.6342 3.42025 15.3737 4.76983 15.3737Z",fill:"#34A853"}),d.jsx("path",{d:"M2.77245 12.5478C2.6105 12.1252 2.6105 11.6498 2.77245 11.2008V10.3029H1.58483C1.07199 11.2801 1.07199 12.4421 1.58483 13.4458L2.77245 12.5478Z",fill:"#FBBC04"}),d.jsx("path",{d:"M4.76983 9.77468C5.28267 9.77468 5.76852 9.95955 6.1464 10.3029L7.17208 9.29928C6.52428 8.71825 5.66055 8.37491 4.79682 8.40132C3.44724 8.40132 2.20563 9.14082 1.61182 10.3293L2.79945 11.2273C3.04237 10.3821 3.85212 9.77468 4.76983 9.77468Z",fill:"#EA4335"})]}),d.jsxs("g",{clipPath:"url(#clip1_12_1508)",children:[d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M21.1469 9.48287C20.8938 9.7666 20.4887 9.99039 20.0837 9.95842C20.033 9.57478 20.2313 9.16717 20.4634 8.91541C20.7166 8.62369 21.1596 8.41589 21.5182 8.3999C21.5604 8.79952 21.3959 9.19115 21.1469 9.48287ZM21.514 10.0343C20.9275 10.0024 20.4254 10.35 20.147 10.35C19.8643 10.35 19.4381 10.0503 18.974 10.0583C18.3707 10.0663 17.8095 10.39 17.5015 10.9055C16.8686 11.9365 17.337 13.4631 17.9487 14.3023C18.2483 14.7179 18.6069 15.1735 19.0795 15.1575C19.5267 15.1415 19.7039 14.8817 20.244 14.8817C20.7883 14.8817 20.9444 15.1575 21.417 15.1495C21.9064 15.1415 22.2144 14.7339 22.514 14.3183C22.8557 13.8467 22.9949 13.3872 23.0034 13.3632C22.9949 13.3552 22.0583 13.0155 22.0498 11.9925C22.0414 11.1373 22.7882 10.7297 22.822 10.7057C22.4 10.1143 21.7418 10.0503 21.514 10.0343ZM24.902 8.87545V15.1055H25.9231V12.9755H27.3365C28.6276 12.9755 29.5348 12.1363 29.5348 10.9215C29.5348 9.70666 28.6445 8.87545 27.3703 8.87545H24.902ZM25.9231 9.69067H27.1003C27.9863 9.69067 28.4926 10.1382 28.4926 10.9255C28.4926 11.7127 27.9863 12.1643 27.096 12.1643H25.9231V9.69067ZM31.3997 15.1535C32.041 15.1535 32.6359 14.8458 32.9059 14.3582H32.927V15.1055H33.8721V12.0045C33.8721 11.1053 33.1127 10.5259 31.9439 10.5259C30.8596 10.5259 30.0579 11.1133 30.0284 11.9205H30.9482C31.0241 11.5369 31.3997 11.2852 31.9144 11.2852C32.5389 11.2852 32.889 11.5609 32.889 12.0684V12.4121L31.6148 12.484C30.4292 12.5519 29.7879 13.0115 29.7879 13.8107C29.7879 14.618 30.4503 15.1535 31.3997 15.1535ZM31.6739 14.4142C31.1296 14.4142 30.7837 14.1664 30.7837 13.7868C30.7837 13.3951 31.117 13.1674 31.7541 13.1314L32.889 13.0635V13.4151C32.889 13.9986 32.3659 14.4142 31.6739 14.4142ZM35.1337 16.7999C36.1294 16.7999 36.5978 16.4402 37.007 15.3493L38.8002 10.5858H37.7623L36.5598 14.2663H36.5387L35.3362 10.5858H34.2687L35.9986 15.1215L35.9058 15.3972C35.7497 15.8648 35.4965 16.0446 35.0451 16.0446C34.9649 16.0446 34.8088 16.0366 34.7455 16.0286V16.7759C34.8046 16.7919 35.0577 16.7999 35.1337 16.7999Z",fill:"black"})]}),d.jsxs("defs",{children:[d.jsx("clipPath",{id:"clip0_12_1508",children:d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"white"})}),d.jsx("clipPath",{id:"clip1_12_1508",children:d.jsx("rect",{x:"16",width:"24",height:"24",rx:"12",fill:"white"})})]})]}),D0=({isAntistock:e=!1})=>e?d.jsx(tr,{children:d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]})}):d.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("rect",{width:"24",height:"24",rx:"12",fill:"#F8F8F8"}),d.jsx("rect",{width:"24",height:"24",rx:"12",stroke:"#F0F0F0"}),d.jsx("path",{d:"M18.6917 16.192L16.1917 18.692C16.0744 18.8093 15.9154 18.8752 15.7495 18.8752C15.5837 18.8752 15.4246 18.8093 15.3073 18.692C15.1901 18.5748 15.1242 18.4157 15.1242 18.2499C15.1242 18.084 15.1901 17.9249 15.3073 17.8077L16.7409 16.3749H5.74952C5.58375 16.3749 5.42478 16.309 5.30757 16.1918C5.19036 16.0746 5.12452 15.9156 5.12452 15.7499C5.12452 15.5841 5.19036 15.4251 5.30757 15.3079C5.42478 15.1907 5.58375 15.1249 5.74952 15.1249H16.7409L15.3073 13.692C15.1901 13.5748 15.1242 13.4157 15.1242 13.2499C15.1242 13.084 15.1901 12.9249 15.3073 12.8077C15.4246 12.6904 15.5837 12.6245 15.7495 12.6245C15.9154 12.6245 16.0744 12.6904 16.1917 12.8077L18.6917 15.3077C18.7498 15.3657 18.7959 15.4346 18.8274 15.5105C18.8588 15.5864 18.875 15.6677 18.875 15.7499C18.875 15.832 18.8588 15.9133 18.8274 15.9892C18.7959 16.0651 18.7498 16.134 18.6917 16.192ZM7.80733 11.192C7.9246 11.3093 8.08366 11.3752 8.24952 11.3752C8.41537 11.3752 8.57443 11.3093 8.6917 11.192C8.80898 11.0748 8.87486 10.9157 8.87486 10.7499C8.87486 10.584 8.80898 10.4249 8.6917 10.3077L7.25811 8.87486H18.2495C18.4153 8.87486 18.5742 8.80901 18.6915 8.6918C18.8087 8.57459 18.8745 8.41562 18.8745 8.24986C18.8745 8.0841 18.8087 7.92513 18.6915 7.80792C18.5742 7.69071 18.4153 7.62486 18.2495 7.62486H7.25811L8.6917 6.19205C8.80898 6.07477 8.87486 5.91571 8.87486 5.74986C8.87486 5.58401 8.80898 5.42495 8.6917 5.30767C8.57443 5.1904 8.41537 5.12451 8.24952 5.12451C8.08366 5.12451 7.9246 5.1904 7.80733 5.30767L5.30733 7.80767C5.24922 7.86572 5.20312 7.93465 5.17167 8.01052C5.14021 8.0864 5.12402 8.16772 5.12402 8.24986C5.12402 8.33199 5.14021 8.41332 5.17167 8.4892C5.20312 8.56507 5.24922 8.634 5.30733 8.69205L7.80733 11.192Z",fill:"#252525"})]}),m9=()=>d.jsx("svg",{width:"22",height:"8",viewBox:"0 0 22 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d.jsx("path",{d:"M11.3712 2.7019C11.3589 3.70484 12.2371 4.26456 12.8987 4.59731C13.5784 4.93876 13.8067 5.15769 13.8041 5.46299C13.7989 5.93032 13.2619 6.13653 12.7592 6.14456C11.8823 6.15862 11.3725 5.90019 10.9671 5.70469L10.6512 7.23052C11.0579 7.42401 11.811 7.59273 12.5919 7.6001C14.4249 7.6001 15.6241 6.66612 15.6306 5.21795C15.6378 3.38012 13.1678 3.27836 13.1847 2.45686C13.1905 2.2078 13.4208 1.942 13.9254 1.87438C14.1751 1.84023 14.8646 1.81412 15.6462 2.1857L15.953 0.709415C15.5327 0.551409 14.9924 0.400097 14.3198 0.400097C12.5945 0.400097 11.3809 1.3468 11.3712 2.7019ZM18.9009 0.527306C18.5662 0.527306 18.2841 0.728831 18.1583 1.03815L15.5398 7.49164H17.3715L17.736 6.45187H19.9744L20.1858 7.49164H21.8002L20.3914 0.527306H18.9009ZM19.1571 2.40865L19.6857 5.02379H18.238L19.1571 2.40865ZM9.15036 0.527306L7.70655 7.49164H9.45196L10.8951 0.527306H9.15036ZM6.56825 0.527306L4.75149 5.26749L4.01662 1.237C3.93035 0.787079 3.58983 0.527306 3.21169 0.527306H0.24171L0.200195 0.7295C0.80964 0.865981 1.50236 1.08626 1.92201 1.32193C2.17886 1.46587 2.25215 1.59174 2.33647 1.93386L3.72839 7.49164H5.57303L8.40122 0.527306H6.56825Z",fill:"#254AA5"})}),g9=({enterAnother:e,bonusPercent:t,currency:n})=>d.jsxs("div",{className:Ye.bonusBlock,children:[d.jsx(ie,{name:"Fire"}),d.jsx("div",{children:e>0?`Enter another ${Rn({amount:e,currency:n})} and receive an additional bonus of ${t}%`:`You will receive an additional bonus of ${t}%`})]}),O0=({setIsOpen:e,isModal:t=!0})=>{const[n,o]=_.useState({amount:"",gateway:""}),[i,a]=_.useState({}),[s,l]=_.useState(!1),{isAntistock:c}=mt(),{gatewaysDetail:u,setGatewaysDetail:h,dashInfo:f,balanceSettings:g}=rr(),m=Vr(),{notifications:C,setNotifications:I}=cn(),{setIsOpen:b}=$r();_.useEffect(()=>{u||(async()=>{var H;const w=g!=null&&g.isEnabled?(H=g==null?void 0:g.topUpSettings)==null?void 0:H.gateways:[],V=await ka(w);h(V)})()},[g,u]);const S=()=>{const B={};return(!n.amount||Number(n.amount)<1)&&(B.amount="The balance field cannot be empty."),n.gateway||(B.gateway="Select pay method"),a(B),Object.keys(B).length===0},y=async B=>{if(B.preventDefault(),!!S()){l(!0);try{const{data:w}=await l9({price:{amount:Number(n.amount),currency:g!=null&&g.isEnabled?g.topUpSettings.currency:"USD"},gateway:n.gateway,customerEmail:(f==null?void 0:f.email)||"",tsId:so()});I([...C,{message:"Order created successfully",status:"success",id:pt()}]),m(`/charges/${w.data.chargeId}`)}catch(w){const V=w;I([...C,{message:`Order creation failed: ${V.message}`,status:"error",id:pt()}])}finally{e(!1),l(!1)}}};if(!g||!g.isEnabled)return null;const{topUpSettings:{currency:T,topUpBonusEnabled:k,bonusPercent:A,minimumTopUpForBonus:P}}=g,E=Number(n.amount),M=k&&!Number.isNaN(E)?P-E:P;return d.jsx(d.Fragment,{children:s?d.jsx(l2,{}):d.jsxs("div",{className:Ye.modal,onClick:B=>B.stopPropagation(),children:[d.jsxs("div",{className:Ye.header,children:[d.jsx("h2",{id:"h3",className:Ye.headerTitle,children:"Top Up Account Balance"}),t&&d.jsx(ie,{name:"X",onClick:()=>{b(!1),setTimeout(()=>{e(!1)},300)},className:Ye.closeIcon,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("form",{onSubmit:y,className:Ye.form,children:[d.jsxs("label",{className:Ye.label,children:[d.jsx(Ro,{label:"Enter Amount",type:"number",placeholder:"1000",value:n.amount,onChange:B=>o(w=>({...w,amount:B})),leftIcon:d.jsx(ie,{name:"CurrencyDollarSimple",fill:"var(--text-secondary)"}),required:!0}),i.amount&&d.jsx("span",{className:Ye.error,children:i.amount})]}),k&&M!==void 0&&d.jsx(g9,{enterAnother:M,bonusPercent:A,currency:T}),u&&d.jsx("div",{className:Ye.gatewayList,children:u.length>0?u.map(B=>d.jsxs("div",{className:ge(Ye.gatewayButton,{[Ye.selected]:n.gateway===B.name}),onClick:()=>o(w=>({...w,gateway:B.name})),children:[B.name==="ForebitPayments"?d.jsx(k0,{}):d.jsx("img",{alt:B.displayName,src:er(B.logoCfImageId),className:Ye.gatewayIcon}),d.jsx("div",{className:Ye.gatewayName,children:B.displayName})]},B.name)):d.jsx("span",{children:"Gateways not found"})}),!u&&(c?d.jsx(An,{}):d.jsx(pi,{speed:2,width:"100%",height:"220px",viewBox:"0 0 600 220",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"100%",height:"100%"})})),i.gateway&&d.jsx("span",{className:Ye.error,children:i.gateway}),d.jsx(_t,{type:"Primary",disabled:!n.gateway||s,className:Ye.submitButton,children:"Continue to Checkout"}),d.jsxs("div",{children:[d.jsx(i2,{}),d.jsx(a2,{isAntistock:c})]})]})]})})},M0=()=>{const[e,t]=_.useState([]),{balanceSettings:n,balance:o}=rr(),{page:i,setPage:a}=xa(),{setIsOpen:s}=$r(),[l,c]=_.useState(!0),[u,h]=_.useState(0),[f,g]=_.useState(!1),[m,C]=_.useState("Newest");_.useEffect(()=>{a(1)},[]),_.useEffect(()=>{(async()=>{c(!0);const{list:T,totalCount:k}=await s9(i);t(T),h(k),c(!1)})()},[i]);const I=(y,T)=>{var E;const k={},A=new Date,P=[...y].sort((M,B)=>{const w=new Date(M.createdAt).getTime(),V=new Date(B.createdAt).getTime();return T==="Newest"?V-w:w-V});for(const M of P){const B=new Date(M.createdAt),w=B.toDateString()===A.toDateString()?"Today":B.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});k[w]||(k[w]=[]),(E=k[w])==null||E.push(M)}return k},b=({id:y,price:T,status:k,description:A})=>{const P=Rn({amount:Math.abs(T.amount),currency:T.currency});return d.jsxs("div",{className:Ye.transactionItem,children:[d.jsxs("div",{className:Ye.transactionDetails,children:[d.jsx(ie,{className:Ye.iconWrapper,name:k===Wi.ADDED?"Plus":"Minus",width:20,height:20}),d.jsxs("div",{className:Ye.transactionInfo,children:[d.jsx("div",{className:Ye.transactionTitle,id:"h4",children:A}),d.jsxs("div",{className:Ye.transactionId,id:"md",children:["ID: ",y]})]})]}),d.jsxs("div",{className:ge(Ye.transactionAmount,{[Ye.added]:k===Wi.ADDED,[Ye.removed]:k===Wi.REMOVED}),id:"lg",children:[k===Wi.ADDED?"+":"-"," ",P]})]},y)},S=()=>{if(e!=null&&e.length){const y=I(e,m);return d.jsxs("div",{className:Ye.transactionsContainer,children:[d.jsx("div",{className:Ye.transactionsContent,children:Object.entries(y).map(([T,k])=>d.jsxs("div",{id:"lg",children:[d.jsx("div",{className:Ye.transactionDate,id:"md",children:T}),k.map(b)]},T))}),d.jsx(hl,{className:Ye.pagination,currentPage:i,totalCount:u,onPageChange:a})]})}return d.jsx(Na,{title:"Transaction History",description:"When you top up your account balance or receive a refund from our team, you'll see a history of transactions here.",className:Ye.noItemsBlock})};return d.jsxs(d.Fragment,{children:[(n==null?void 0:n.isEnabled)&&d.jsx("div",{className:Ye.balanceContainer,children:d.jsxs("div",{className:Ye.balanceHeader,children:[o&&d.jsxs("div",{className:Ye.balanceAmount,children:[d.jsx("span",{className:Ye.balanceAmountTitle,id:"lg",children:"Your balance"}),d.jsx("span",{className:Ye.balanceAmountValue,id:"h4",children:Rn(o)})]}),d.jsxs(_t,{onClick:y=>{y.stopPropagation(),g(!0),s(!0)},className:Ye.addBalanceButton,children:[d.jsx(ie,{name:"Plus"}),d.jsx("span",{children:"Add balance"})]})]})}),d.jsxs("div",{className:Ye.transactionsHeader,children:[(e==null?void 0:e.length)>0?d.jsx(La,{title:"Transactions"}):null,(e==null?void 0:e.length)>0&&d.jsx(w0,{options:["Newest","Oldest"],value:m,onChange:y=>{C(y)},style:{width:"110px"}})]}),l?d.jsx("div",{className:Ye.loaderContainer,children:d.jsx(An,{})}):d.jsx("div",{children:S()}),f&&(n==null?void 0:n.isEnabled)&&d.jsx(cl,{close:()=>g(!1),children:d.jsx(O0,{setIsOpen:g})})]})},I9="_home_1uch5_1",C9="_content_1uch5_13",b9="_tablet_1uch5_28",S9="_mobile_1uch5_31",y9="_statContainer_1uch5_35",E9="_text_1uch5_47",T9="_iconWrapper_1uch5_53",x9="_loader_1uch5_57",_9="_title_1uch5_65",yr={home:I9,content:C9,tablet:b9,mobile:S9,statContainer:y9,text:E9,iconWrapper:T9,loader:x9,title:_9},w9="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17%202V9.85233L13.5806%2010.9427V6.58116L6.41169%208.82252V4.89257L17%202Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M13.5806%2010.9427L13.5805%2014.691L3%2018V9.79935L6.41169%208.82252L6.41152%2013.2598L13.5806%2010.9427Z'%20fill='%23FF3F19'/%3e%3c/svg%3e",B0=e=>z.createElement("svg",{width:20,height:20,viewBox:"0 0 19 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},z.createElement("path",{d:"M0.0103662 23.5362C0.0538052 22.4425 0.370173 21.4309 1.08058 20.6127C1.92699 19.6379 2.91375 19.2329 4.14841 19.1732C4.162 20.1401 4.15111 21.1085 4.15091 22.0756L4.70583 22.0747L7.42027 22.0755C7.95952 22.0752 8.50027 22.0844 9.03933 22.0742L9.17755 22.0731L10.6132 22.0759C10.8265 22.0759 11.0767 22.1021 11.2852 22.0658C11.3052 22.0703 11.3534 22.0735 11.3625 22.0928C11.3917 22.1543 11.3688 31.0517 11.3725 31.9631C11.1563 32.0856 10.2676 31.8701 10.0303 31.7947C9.89866 31.7528 9.644 31.6914 9.54946 31.5874L9.51914 31.584C9.46943 31.5736 9.44171 31.5537 9.40126 31.5222C9.30218 31.5131 9.14954 31.4132 9.07718 31.343C9.00129 31.3163 8.92757 31.2576 8.85921 31.2134L8.85617 31.2002C8.5748 31.0715 8.14929 30.6244 7.94318 30.376C7.35205 29.6639 6.93892 28.7659 6.83493 27.8203C6.78763 27.3904 6.7994 26.9595 6.80055 26.5277C6.80084 26.4202 6.82996 26.126 6.78242 26.0387L6.71237 26.023C6.54382 26.0528 6.34316 26.0328 6.17124 26.0324L1.0194 26.0325L0.942306 26.0307C0.74237 26.0326 0.173082 26.0689 0.0224192 26.0192L0.00848581 26.0029C0.022853 25.8597 0.0136924 25.7065 0.013837 25.562L0.0113299 24.6651L0.0117161 24.5253C0.0150266 24.1956 0.0145767 23.8659 0.0103662 23.5362Z",fill:"currentColor"}),z.createElement("path",{d:"M6.79824 0.00127802C6.88001 -0.000781892 6.96176 -0.000351703 7.04349 0.00256876C7.12523 0.00549261 7.20682 0.0108998 7.28827 0.0187905C7.36968 0.0266845 7.45082 0.0370518 7.53169 0.0498924C7.61259 0.0627296 7.69305 0.078018 7.77309 0.0957576C7.85312 0.113501 7.93259 0.133663 8.0115 0.156244C8.09044 0.178828 8.16868 0.203796 8.24624 0.231148C8.3238 0.258499 8.40053 0.28819 8.47645 0.32022C8.55237 0.352247 8.62736 0.386559 8.70141 0.423156L8.71428 0.423492C8.76476 0.450874 8.815 0.479135 8.8661 0.50516C8.947 0.550491 9.03065 0.593185 9.10687 0.646856L9.24939 0.733144C9.31674 0.78126 9.38361 0.83049 9.45202 0.87695C10.462 1.67615 11.1434 2.77146 11.325 4.10211C11.4076 4.70784 11.3729 5.34243 11.372 5.9541C11.4625 5.96599 11.5526 5.9664 11.6436 5.96762C12.6033 5.93794 13.5708 5.96289 14.5314 5.96294C15.459 5.96305 16.3927 5.93758 17.3195 5.9633C17.5874 5.96523 17.9062 6.00101 18.1677 5.95273C18.1496 6.13096 18.1583 6.31472 18.1585 6.49401L18.1598 7.38388L18.1595 7.51855C18.1591 7.83084 18.14 8.15609 18.1607 8.46685C18.109 9.73893 17.6972 10.8198 16.8003 11.6891C15.9969 12.4676 15.0894 12.76 14.0228 12.8194L14.021 10.9083C14.0209 10.5892 14.0389 10.2573 14.0163 9.93952C14.0002 9.92849 13.9879 9.91884 13.9692 9.9133C13.7941 9.93418 13.6055 9.92148 13.4293 9.92133H9.15258L9.04077 9.92082L7.56664 9.92209C7.31676 9.92224 7.04528 9.94526 6.79858 9.90893L6.79824 0.00127802Z",fill:"currentColor"}),z.createElement("path",{d:"M4.13987 5.96279C4.65941 5.9653 5.17894 5.96467 5.69847 5.96091C5.70059 7.27995 5.71757 8.60219 5.69833 9.92082L4.15072 9.92046L4.15106 11.4065C4.15096 11.6783 4.1406 11.9555 4.15443 12.2266C4.73799 12.8393 5.31307 13.4655 5.90921 14.0644L5.98321 14.0407C6.25311 14.0833 6.6928 14.0501 6.97981 14.0499L12.7386 14.0492L13.5943 14.0482C13.7363 14.0479 13.9068 14.0286 14.0457 14.0577L15.8019 15.9078L15.8915 15.997L15.9615 16.0784L15.9955 16.1093L17.4221 17.6163C17.6528 17.8599 17.9077 18.0979 18.1211 18.3569C18.1463 18.3875 18.1599 18.4086 18.1691 18.4477C18.1415 18.6757 18.1577 18.9211 18.1579 19.1514L18.1594 20.4531C18.1597 21.8112 18.142 23.1721 18.1599 24.5297L18.1589 24.6625L18.158 25.5556C18.158 25.7089 18.1437 25.8808 18.1676 26.0315L18.0995 26.031L17.2568 26.0329L17.2101 26.0308C16.2512 26.0486 15.2892 26.0305 14.3299 26.0308C13.7488 26.031 13.0694 26.064 12.4959 26.0258L12.4831 26.0202C12.4481 25.9239 12.4717 22.4806 12.47 22.075L14.0216 22.0744C14.0024 21.3241 14.0324 20.5711 14.0173 19.8203C13.4629 19.2116 12.887 18.6041 12.3052 18.0244L12.293 17.9978C12.0554 18.0392 11.5401 18.0054 11.2777 18.0053L8.9362 18.0074C7.75375 17.9793 6.56306 18.0065 5.37994 18.0069C5.13497 18.007 4.32737 18.0401 4.13472 17.9962L2.36331 16.1262L2.29219 16.0566L2.21959 15.9758L2.15074 15.9102C1.93803 15.6694 1.70849 15.441 1.48797 15.2079L0 13.631C0.0383768 13.4512 0.014078 13.2231 0.013837 13.0369L0.0121494 11.9198L0.0113299 7.52017L0.0122943 7.34622C0.0134032 6.9143 0.0453199 6.37479 0.00371286 5.95329C0.115854 5.96772 0.229056 5.9664 0.341872 5.96777C0.589393 5.96198 0.836946 5.96042 1.08453 5.9631L3.10905 5.96548C3.44789 5.96554 3.80282 5.98825 4.13987 5.96279Z",fill:"currentColor"})),q1=({children:e})=>d.jsx("div",{className:yr.statContainer,children:e}),F0=({adaptiveStyles:e})=>{var h,f;const[t,n]=_.useState(null),{setBalanceSettings:o}=rr(),{pageContext:i}=zr(),{general:a,isAntistock:s}=mt(),{header:l}=Hr(),c=s?"Antistock":"Billgang";function u(g){var I,b;const m=g==null?void 0:g.name,C=(b=(I=i==null?void 0:i.listings)==null?void 0:I.filter(S=>S.type==="PRODUCT"))==null?void 0:b.find(S=>S.productData.name===m);return C==null?void 0:C.link.to}return _.useEffect(()=>{const g=async()=>{const{data:C}=await wy();n(C)},m=async()=>{const C=await v0();o(C)};g(),m()},[]),t?d.jsxs("div",{className:yr.home,children:[d.jsx(hw,{adaptiveStyles:e}),d.jsx("h3",{id:"h3",className:yr.title,children:s?"Home":"Your Statistics"}),d.jsxs("div",{className:ge(yr.content,{[yr.desktop]:e==="desktop",[yr.tablet]:e==="tablet",[yr.mobile]:e==="mobile"}),children:[d.jsxs(q1,{children:[d.jsx(Zn,{iconName:"Calendar",title:"Customer since",value:MC(t.createdAt)}),d.jsx(Zn,{iconName:"CurrencyCircleDollar",title:"Total spent",value:Rn({amount:t.totalSpent})}),d.jsx(Zn,{iconName:"Medal",title:"Top",value:`#${t.ratingPlacement}`,children:t.ratingPlacement>1&&d.jsxs("div",{className:yr.text,id:"md-bold",children:[d.jsx(ie,{name:"ArrowUp",className:yr.iconWrapper,width:16,height:16,fill:"var(--text-secondary)"}),"Spend"," ",Rn({amount:t.spendMoreDefaultCurrencyForNextPlace,currency:(h=t.balance)==null?void 0:h.currency})," ","more to be #",t.ratingPlacement-1]})}),s?null:d.jsx(Zn,{iconName:"Star",title:"Average review",value:t.averageReview})]}),t.topSpenderProduct?d.jsx(Zn,{image:er(t.topSpenderProduct.image.cfId),imageName:t.topSpenderProduct.name,iconName:"Crown",title:"Top spent",value:`${Rn({amount:t.topSpenderProduct.amountSpentUsd||0})} spent`,productSlug:u(t.topSpenderProduct)}):d.jsx(Zn,{image:"empty",iconName:"Crown",title:"Top spent",value:`${Rn({amount:0})} spent`}),d.jsxs(q1,{children:[d.jsx(Zn,{iconName:"Bag",title:"Purchases",value:t.totalPurchases}),d.jsx(Zn,{iconName:"Eye",title:"Visits",value:t.visits}),d.jsx(Zn,{title:"Powered by",value:c,logo:s?void 0:w9,customLogo:s?d.jsx("div",{style:{width:"48px",height:"48px",padding:"10px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--border-radius)",backgroundColor:"var(--surface-secondary)"},children:d.jsx(B0,{width:22,height:22})}):void 0}),s?null:d.jsx(Zn,{title:"Store",value:(a==null?void 0:a.info.name)||"",logo:er((l==null?void 0:l.blockSettings.logo.url)||((f=a==null?void 0:a.info.logo)==null?void 0:f.cfId)||"A5gbiev6F8AaBvp6M146Kw/4ecd0fb9-8ebc-44e9-fa1c-c36f61f4bd00")})]}),t.favoriteProduct?d.jsx(Zn,{image:er(t.favoriteProduct.image.cfId),imageName:t.favoriteProduct.name,iconName:"Heart",title:"Favorite product",value:`bought ${t.favoriteProduct.purchasedTimes} times`,productSlug:u(t.favoriteProduct)}):d.jsx(Zn,{image:"empty",iconName:"Heart",title:"Favorite product",value:"bought 0 times"})]})]}):d.jsx("div",{className:yr.loader,children:d.jsx(An,{})})},v9=async(e=1)=>await Py({PageNumber:e}),H0=()=>{const[e,t]=_.useState(null),[n,o]=_.useState(null),[i,a]=_.useState(0),{page:s}=xa(),[l,c]=_.useState(!0);async function u(){c(!0);const{list:f,totalCount:g}=await v9(s);t(f),a(g),o(null),c(!1)}async function h(){const f=(e==null?void 0:e.map(m=>m.gatewayName))||[],g=await ka(f);o(g)}return _.useEffect(()=>{!n&&e&&h()},[e,n]),_.useEffect(()=>{u()},[s]),d.jsx(d.Fragment,{children:e!=null&&e.length&&e.length===0?d.jsx(Na,{title:"No Orders",description:"When you purchase products from our website, you'll see a history of orders here."}):d.jsxs(d.Fragment,{children:[d.jsx(La,{title:"Orders"}),d.jsx(Ow,{orders:e,gatewaysDetail:n,totalCount:i,isLoading:l})]})})},A9="_container_caax0_1",k9="_tablet_caax0_15",L9="_mobile_caax0_18",N9="_progress_caax0_22",P9="_status_caax0_26",R9="_name_caax0_37",D9="_completed_caax0_44",O9="_title_caax0_50",M9="_description_caax0_58",B9="_button_caax0_65",F9="_achievement_caax0_73",H9="_progressText_caax0_92",j9="_progressTextStart_caax0_99",U9="_progressBackground_caax0_103",V9="_progressForeground_caax0_107",z9="_icon_caax0_111",In={container:A9,tablet:k9,mobile:L9,progress:N9,status:P9,name:R9,completed:D9,title:O9,description:M9,button:B9,achievement:F9,progressText:H9,progressTextStart:j9,progressBackground:U9,progressForeground:V9,icon:z9},j0=({adaptiveStyles:e})=>{const{notifications:t,setNotifications:n}=cn(),{setBalance:o}=rr(),[i,a]=_.useState(null),s=async()=>{const f=(await bT()).map(g=>({...g,isClaimed:!1}));a(f)};_.useEffect(()=>{s()},[]);async function l(h){try{if(await Qy(h),i){const g=i==null?void 0:i.map(m=>m.id===h.id?{...m,isClaimed:!0}:m);a(g)}n([...t,{message:"Reward claimed successfully",status:"success",id:pt()}]);const f=await qu();a(null),o(f),s()}catch{n([...t,{message:"Failed to claim reward",status:"error",id:pt()}])}}const c=i&&i.length===0,u=i&&i.length>0;return d.jsx(d.Fragment,{children:c?d.jsx(Na,{title:"Rewards Unavailable",description:"Check back in the future to join our reward program."}):d.jsxs(d.Fragment,{children:[d.jsx(La,{title:"Rewards",description:"To unlock an exclusive reward, complete everything on this checklist"}),d.jsxs("div",{className:ge(In.container,{[In.tablet]:e==="tablet",[In.mobile]:e==="mobile"}),children:[u&&i.map(h=>d.jsx($9,{achievement:h,onClick:f=>l(f)},h.id)),!u&&[...new Array(6)].map((h,f)=>d.jsx(pi,{speed:2,width:"100%",height:400,viewBox:"0 0 300 300",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",style:{borderRadius:"var(--border-radius)"},children:d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"100%",height:"300px"})},f))]})]})})},$9=({achievement:e,onClick:t})=>{const[n,o]=Y9(e),[i,a,s]=Z9(e),[l,c]=_.useState(!1),u=a>=s;return d.jsxs("div",{className:In.achievement,children:[d.jsx(W9,{percentage:Math.min(i,100)}),d.jsx("div",{className:`${In.status} ${u?In.completed:""}`,id:"md",children:u?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"Confetti"}),d.jsx("span",{id:"md",children:"Completed!"})]}):`Done: ${a} / ${s}`}),d.jsxs("div",{className:In.title,children:[d.jsx(ie,{name:"Bag",className:In.icon,fill:"var(--text-action)",width:18,height:18}),d.jsx("div",{className:In.name,id:"h5",children:n})]}),d.jsx("span",{className:In.description,id:"md",children:o}),d.jsx(_t,{type:u&&!e.isClaimed?"Primary":"Secondary",className:In.button,disabled:!u,onClick:async()=>{c(!0),await t(e),c(!1)},children:e.isClaimed?d.jsxs(d.Fragment,{children:[d.jsx(ie,{name:"CheckCircle",fill:"var(--text-secondary)"}),d.jsxs("span",{children:["Your claimed ",G1(e)," bonus"]})]}):d.jsxs(d.Fragment,{children:[!l&&(u?d.jsx("span",{children:"Claim"}):G1(e)),l&&d.jsx(An,{})]})})]})},W9=({percentage:e,radius:t=40,strokeWidth:n=8})=>{const o=t+n/2,i=o*2,a=2*Math.PI*t,s=a-e/100*a;return d.jsxs("div",{style:{width:i,height:i},className:In.progress,children:[d.jsxs("svg",{"aria-hidden":"true",width:i,height:i,children:[d.jsx("circle",{cx:o,cy:o,r:t,fill:"transparent",className:In.progressBackground,strokeWidth:n}),d.jsx("circle",{cx:o,cy:o,r:t,fill:"transparent",strokeWidth:n,strokeDasharray:`${a} ${a}`,strokeDashoffset:s,className:In.progressForeground})]}),d.jsxs("span",{className:ge(In.progressText,{[In.progressTextStart]:e!==0}),id:"md",children:[Math.min(e,100),"%"]})]})},Ka=e=>{switch(e.rewardRule.rewardType){case fa.Balance:return`${Rn(e.rewardRule.rewardOptions.balance)} on the balance`;case fa.Product:return`products: ${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},G1=e=>{switch(e.rewardRule.rewardType){case fa.Balance:return Rn(e.rewardRule.rewardOptions.balance);case fa.Product:return`${e.rewardRule.rewardOptions.productsWithVariants.map(t=>`${t.quantity} ${t.productName} (${t.variantName})`).join()}`}},q9=e=>{switch(e.rewardRule.ruleType){case $n.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} in total purchases at our store to receive a reward of ${Ka(e)}. You've spent $${e.progress} so far.`;case $n.Order:return`Place ${e.rewardRule.ruleOptions.ordersCount} orders to receive a reward of ${Ka(e)}. You've made ${e.progress} orders so far.`;case $n.Referral:return`On your referral link should sign up ${e.rewardRule.ruleOptions.minReferrals} people and make at least ${e.rewardRule.ruleOptions.minCompletedOrders} purchase to receive a reward of ${Ka(e)}. You've referred ${e.progress} friends so far.`;case $n.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars} to receive a reward of ${Ka(e)}. You've left ${e.progress} reviews so far.`}},G9=e=>{switch(e.rewardRule.ruleType){case $n.Spend:return`Spend $${e.rewardRule.ruleOptions.forEach} at our store`;case $n.Order:return`Make ${e.rewardRule.ruleOptions.ordersCount} orders`;case $n.Referral:return`Refer ${e.rewardRule.ruleOptions.minReferrals} friends to our store`;case $n.Review:return`Leave ${e.rewardRule.ruleOptions.minReviews} reviews with a minimum rating of ${e.rewardRule.ruleOptions.minStars}`}},Y9=e=>[G9(e),q9(e)],Z9=e=>{let t;switch(e.rewardRule.ruleType){case $n.Spend:t=e.rewardRule.ruleOptions.forEach;break;case $n.Order:t=e.rewardRule.ruleOptions.ordersCount;break;case $n.Referral:t=e.rewardRule.ruleOptions.minReferrals;break;case $n.Review:t=e.rewardRule.ruleOptions.minReviews;break}return[Math.round((e.progress/t*100+Number.EPSILON)*100)/100,e.progress,t]},X9="_appContainer_1bj0v_1",K9="_noAnimation_1bj0v_11",Q9="_mobile_1bj0v_19",J9="_appContainerAntistock_1bj0v_28",ex="_contentContainer_1bj0v_44",tx="_contentContainerAntistock_1bj0v_64",go={appContainer:X9,noAnimation:K9,mobile:Q9,appContainerAntistock:J9,contentContainer:ex,contentContainerAntistock:tx},nx="_wrapper_1dai9_2",rx="_tableContainer_1dai9_7",ox="_ticketsTable_1dai9_23",ix="_tableBody_1dai9_29",ax="_hoverable_1dai9_37",sx="_scrollContainer_1dai9_42",lx="_tableItem_1dai9_50",cx="_tableLoader_1dai9_57",Xn={wrapper:nx,tableContainer:rx,ticketsTable:ox,tableBody:ix,hoverable:ax,scrollContainer:sx,tableItem:lx,tableLoader:cx},ux=async(e=1)=>{try{return await Wy({PageNumber:e})}catch(t){return console.error("Failed to fetch tickets:",t),{list:[],totalCount:0}}},U0=()=>{const[e,t]=_.useState(null),{page:n,setPage:o}=xa(),[i,a]=_.useState(!0),[s,l]=_.useState(0);_.useEffect(()=>{(async()=>{a(!0);const{list:h,totalCount:f}=await ux(n);t(h),l(f),a(!1)})()},[n]);const c=!i&&e;return c&&e.length===0?d.jsx(Na,{title:"Tickets",description:"You don't have any tickets yet. If you contact support, tickets will be displayed here.",centered:!0}):d.jsxs("div",{className:Xn.wrapper,children:[d.jsx(La,{title:"Tickets"}),d.jsxs("div",{className:Xn.tableContainer,children:[d.jsxs("div",{className:Xn.scrollContainer,children:[d.jsxs(Qu,{className:Xn.ticketsTable,children:[d.jsx(Cn,{className:Xn.tableItem,children:"TICKET ID"}),d.jsx(Cn,{className:Xn.tableItem,children:"LAST MESSAGE"}),d.jsx(Cn,{className:Xn.tableItem,children:"DATE"}),d.jsx(Cn,{className:Xn.tableItem,children:"STATUS"})]}),c&&d.jsx("div",{className:ge(Xn.tableBody,Xn.hoverable),children:e==null?void 0:e.map(u=>d.jsx(GF,{item:u},u.id))}),!c&&d.jsx("div",{className:Xn.tableBody,children:d.jsx("div",{className:Xn.tableLoader,children:d.jsx(An,{})})})]}),c&&d.jsx(hl,{currentPage:n,totalCount:s,onPageChange:o})]})]})};var Yc={exports:{}},Qa={exports:{}},et={};/** @license React v16.13.1
|
|
87
87
|
* react-is.production.min.js
|
|
88
88
|
*
|
|
89
89
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -102,7 +102,7 @@ object-assign
|
|
|
102
102
|
(c) Sindre Sorhus
|
|
103
103
|
@license MIT
|
|
104
104
|
*/var ql,K1;function fx(){if(K1)return ql;K1=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(s).map(function(h){return s[h]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(h){u[h]=h}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ql=i()?Object.assign:function(a,s){for(var l,c=o(a),u,h=1;h<arguments.length;h++){l=Object(arguments[h]);for(var f in l)t.call(l,f)&&(c[f]=l[f]);if(e){u=e(l);for(var g=0;g<u.length;g++)n.call(l,u[g])&&(c[u[g]]=l[u[g]])}}return c},ql}var Gl,Q1;function Yu(){if(Q1)return Gl;Q1=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Gl=e,Gl}var Yl,J1;function V0(){return J1||(J1=1,Yl=Function.call.bind(Object.prototype.hasOwnProperty)),Yl}var Zl,eh;function px(){if(eh)return Zl;eh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Yu(),n={},o=V0();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(a,s,l,c,u){if(process.env.NODE_ENV!=="production"){for(var h in a)if(o(a,h)){var f;try{if(typeof a[h]!="function"){var g=Error((c||"React class")+": "+l+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}f=a[h](s,h,c,l,null,t)}catch(C){f=C}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var m=u?u():"";e("Failed "+l+" type: "+f.message+(m??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Zl=i,Zl}var Xl,th;function mx(){if(th)return Xl;th=1;var e=Gu(),t=fx(),n=Yu(),o=V0(),i=px(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return Xl=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function f(x){var ne=x&&(u&&x[u]||x[h]);if(typeof ne=="function")return ne}var g="<<anonymous>>",m={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:y(),arrayOf:T,element:k(),elementType:A(),instanceOf:P,node:w(),objectOf:M,oneOf:E,oneOfType:B,shape:H,exact:X};function C(x,ne){return x===ne?x!==0||1/x===1/ne:x!==x&&ne!==ne}function I(x,ne){this.message=x,this.data=ne&&typeof ne=="object"?ne:{},this.stack=""}I.prototype=Error.prototype;function b(x){if(process.env.NODE_ENV!=="production")var ne={},pe=0;function L(le,ee,Ie,Se,ae,ce,Ue){if(Se=Se||g,ce=ce||Ie,Ue!==n){if(c){var Q=new 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 Q.name="Invariant Violation",Q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ve=Se+":"+Ie;!ne[Ve]&&pe<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ce+"` prop on `"+Se+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),ne[Ve]=!0,pe++)}}return ee[Ie]==null?le?ee[Ie]===null?new I("The "+ae+" `"+ce+"` is marked as required "+("in `"+Se+"`, but its value is `null`.")):new I("The "+ae+" `"+ce+"` is marked as required in "+("`"+Se+"`, but its value is `undefined`.")):null:x(ee,Ie,Se,ae,ce)}var Z=L.bind(null,!1);return Z.isRequired=L.bind(null,!0),Z}function S(x){function ne(pe,L,Z,le,ee,Ie){var Se=pe[L],ae=Ce(Se);if(ae!==x){var ce=be(Se);return new I("Invalid "+le+" `"+ee+"` of type "+("`"+ce+"` supplied to `"+Z+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return b(ne)}function y(){return b(s)}function T(x){function ne(pe,L,Z,le,ee){if(typeof x!="function")return new I("Property `"+ee+"` of component `"+Z+"` has invalid PropType notation inside arrayOf.");var Ie=pe[L];if(!Array.isArray(Ie)){var Se=Ce(Ie);return new I("Invalid "+le+" `"+ee+"` of type "+("`"+Se+"` supplied to `"+Z+"`, expected an array."))}for(var ae=0;ae<Ie.length;ae++){var ce=x(Ie,ae,Z,le,ee+"["+ae+"]",n);if(ce instanceof Error)return ce}return null}return b(ne)}function k(){function x(ne,pe,L,Z,le){var ee=ne[pe];if(!l(ee)){var Ie=Ce(ee);return new I("Invalid "+Z+" `"+le+"` of type "+("`"+Ie+"` supplied to `"+L+"`, expected a single ReactElement."))}return null}return b(x)}function A(){function x(ne,pe,L,Z,le){var ee=ne[pe];if(!e.isValidElementType(ee)){var Ie=Ce(ee);return new I("Invalid "+Z+" `"+le+"` of type "+("`"+Ie+"` supplied to `"+L+"`, expected a single ReactElement type."))}return null}return b(x)}function P(x){function ne(pe,L,Z,le,ee){if(!(pe[L]instanceof x)){var Ie=x.name||g,Se=Le(pe[L]);return new I("Invalid "+le+" `"+ee+"` of type "+("`"+Se+"` supplied to `"+Z+"`, expected ")+("instance of `"+Ie+"`."))}return null}return b(ne)}function E(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function ne(pe,L,Z,le,ee){for(var Ie=pe[L],Se=0;Se<x.length;Se++)if(C(Ie,x[Se]))return null;var ae=JSON.stringify(x,function(Ue,Q){var Ve=be(Q);return Ve==="symbol"?String(Q):Q});return new I("Invalid "+le+" `"+ee+"` of value `"+String(Ie)+"` "+("supplied to `"+Z+"`, expected one of "+ae+"."))}return b(ne)}function M(x){function ne(pe,L,Z,le,ee){if(typeof x!="function")return new I("Property `"+ee+"` of component `"+Z+"` has invalid PropType notation inside objectOf.");var Ie=pe[L],Se=Ce(Ie);if(Se!=="object")return new I("Invalid "+le+" `"+ee+"` of type "+("`"+Se+"` supplied to `"+Z+"`, expected an object."));for(var ae in Ie)if(o(Ie,ae)){var ce=x(Ie,ae,Z,le,ee+"."+ae,n);if(ce instanceof Error)return ce}return null}return b(ne)}function B(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var ne=0;ne<x.length;ne++){var pe=x[ne];if(typeof pe!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(pe)+" at index "+ne+"."),s}function L(Z,le,ee,Ie,Se){for(var ae=[],ce=0;ce<x.length;ce++){var Ue=x[ce],Q=Ue(Z,le,ee,Ie,Se,n);if(Q==null)return null;Q.data&&o(Q.data,"expectedType")&&ae.push(Q.data.expectedType)}var Ve=ae.length>0?", expected one of type ["+ae.join(", ")+"]":"";return new I("Invalid "+Ie+" `"+Se+"` supplied to "+("`"+ee+"`"+Ve+"."))}return b(L)}function w(){function x(ne,pe,L,Z,le){return W(ne[pe])?null:new I("Invalid "+Z+" `"+le+"` supplied to "+("`"+L+"`, expected a ReactNode."))}return b(x)}function V(x,ne,pe,L,Z){return new I((x||"React class")+": "+ne+" type `"+pe+"."+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Z+"`.")}function H(x){function ne(pe,L,Z,le,ee){var Ie=pe[L],Se=Ce(Ie);if(Se!=="object")return new I("Invalid "+le+" `"+ee+"` of type `"+Se+"` "+("supplied to `"+Z+"`, expected `object`."));for(var ae in x){var ce=x[ae];if(typeof ce!="function")return V(Z,le,ee,ae,be(ce));var Ue=ce(Ie,ae,Z,le,ee+"."+ae,n);if(Ue)return Ue}return null}return b(ne)}function X(x){function ne(pe,L,Z,le,ee){var Ie=pe[L],Se=Ce(Ie);if(Se!=="object")return new I("Invalid "+le+" `"+ee+"` of type `"+Se+"` "+("supplied to `"+Z+"`, expected `object`."));var ae=t({},pe[L],x);for(var ce in ae){var Ue=x[ce];if(o(x,ce)&&typeof Ue!="function")return V(Z,le,ee,ce,be(Ue));if(!Ue)return new I("Invalid "+le+" `"+ee+"` key `"+ce+"` supplied to `"+Z+"`.\nBad object: "+JSON.stringify(pe[L],null," ")+`
|
|
105
|
-
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var Q=Ue(Ie,ce,Z,le,ee+"."+ce,n);if(Q)return Q}return null}return b(ne)}function W(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(W);if(x===null||l(x))return!0;var ne=f(x);if(ne){var pe=ne.call(x),L;if(ne!==x.entries){for(;!(L=pe.next()).done;)if(!W(L.value))return!1}else for(;!(L=pe.next()).done;){var Z=L.value;if(Z&&!W(Z[1]))return!1}}else return!1;return!0;default:return!1}}function se(x,ne){return x==="symbol"?!0:ne?ne["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ne instanceof Symbol:!1}function Ce(x){var ne=typeof x;return Array.isArray(x)?"array":x instanceof RegExp?"object":se(ne,x)?"symbol":ne}function be(x){if(typeof x>"u"||x===null)return""+x;var ne=Ce(x);if(ne==="object"){if(x instanceof Date)return"date";if(x instanceof RegExp)return"regexp"}return ne}function ve(x){var ne=be(x);switch(ne){case"array":case"object":return"an "+ne;case"boolean":case"date":case"regexp":return"a "+ne;default:return ne}}function Le(x){return!x.constructor||!x.constructor.name?g:x.constructor.name}return m.checkPropTypes=i,m.resetWarningCache=i.resetWarningCache,m.PropTypes=m,m},Xl}var Kl,nh;function gx(){if(nh)return Kl;nh=1;var e=Yu();function t(){}function n(){}return n.resetWarningCache=t,Kl=function(){function o(s,l,c,u,h,f){if(f!==e){var g=new 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 g.name="Invariant Violation",g}}o.isRequired=o;function i(){return o}var a={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Kl}if(process.env.NODE_ENV!=="production"){var Ix=Gu(),Cx=!0;Yc.exports=mx()(Ix.isElement,Cx)}else Yc.exports=gx()();var bx=Yc.exports;const kn=Ws(bx);var Sx=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function Zc(){return Zc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Zc.apply(this,arguments)}function yx(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ja(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ex(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xc(e,t)}function Xc(e,t){return Xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Xc(e,t)}var dl=function(e){Ex(t,e);function t(){var o;return o=e.call(this)||this,o.handleExpired=o.handleExpired.bind(Ja(o)),o.handleErrored=o.handleErrored.bind(Ja(o)),o.handleChange=o.handleChange.bind(Ja(o)),o.handleRecaptchaRef=o.handleRecaptchaRef.bind(Ja(o)),o}var n=t.prototype;return n.getCaptchaFunction=function(i){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[i]:this.props.grecaptcha[i]:null},n.getValue=function(){var i=this.getCaptchaFunction("getResponse");return i&&this._widgetId!==void 0?i(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},n.execute=function(){var i=this.getCaptchaFunction("execute");if(i&&this._widgetId!==void 0)return i(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var i=this;return new Promise(function(a,s){i.executionResolve=a,i.executionReject=s,i.execute()})},n.reset=function(){var i=this.getCaptchaFunction("reset");i&&this._widgetId!==void 0&&i(this._widgetId)},n.forceReset=function(){var i=this.getCaptchaFunction("reset");i&&i()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(i){this.props.onChange&&this.props.onChange(i),this.executionResolve&&(this.executionResolve(i),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var i=this.getCaptchaFunction("render");if(i&&this._widgetId===void 0){var a=document.createElement("div");this._widgetId=i(a,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(a)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(i){this.captcha=i},n.render=function(){var i=this.props;i.sitekey,i.onChange,i.theme,i.type,i.tabindex,i.onExpired,i.onErrored,i.size,i.stoken,i.grecaptcha,i.badge,i.hl,i.isolated;var a=yx(i,Sx);return z.createElement("div",Zc({},a,{ref:this.handleRecaptchaRef}))},t}(z.Component);dl.displayName="ReCAPTCHA";dl.propTypes={sitekey:kn.string.isRequired,onChange:kn.func,grecaptcha:kn.object,theme:kn.oneOf(["dark","light"]),type:kn.oneOf(["image","audio"]),tabindex:kn.number,onExpired:kn.func,onErrored:kn.func,size:kn.oneOf(["compact","normal","invisible"]),stoken:kn.string,hl:kn.string,badge:kn.oneOf(["bottomright","bottomleft","inline"]),isolated:kn.bool};dl.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var Zu=Gu(),Tx={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_x={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xu={};Xu[Zu.ForwardRef]=_x;Xu[Zu.Memo]=z0;function rh(e){return Zu.isMemo(e)?z0:Xu[e.$$typeof]||Tx}var wx=Object.defineProperty,vx=Object.getOwnPropertyNames,oh=Object.getOwnPropertySymbols,Ax=Object.getOwnPropertyDescriptor,kx=Object.getPrototypeOf,ih=Object.prototype;function $0(e,t,n){if(typeof t!="string"){if(ih){var o=kx(t);o&&o!==ih&&$0(e,o,n)}var i=vx(t);oh&&(i=i.concat(oh(t)));for(var a=rh(e),s=rh(t),l=0;l<i.length;++l){var c=i[l];if(!xx[c]&&!(n&&n[c])&&!(s&&s[c])&&!(a&&a[c])){var u=Ax(t,c);try{wx(e,c,u)}catch{}}}}return e}var Lx=$0;const Nx=Ws(Lx);function Kc(){return Kc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Kc.apply(this,arguments)}function Px(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Rx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var sr={},Dx=0;function Ox(e,t){return t=t||{},function(o){var i=o.displayName||o.name||"Component",a=function(l){Rx(c,l);function c(h,f){var g;return g=l.call(this,h,f)||this,g.state={},g.__scriptURL="",g}var u=c.prototype;return u.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+Dx++),this.__scriptLoaderID},u.setupScriptURL=function(){return this.__scriptURL=typeof e=="function"?e():e,this.__scriptURL},u.asyncScriptLoaderHandleLoad=function(f){var g=this;this.setState(f,function(){return g.props.asyncScriptOnLoad&&g.props.asyncScriptOnLoad(g.state)})},u.asyncScriptLoaderTriggerOnScriptLoaded=function(){var f=sr[this.__scriptURL];if(!f||!f.loaded)throw new Error("Script is not loaded.");for(var g in f.observers)f.observers[g](f);delete window[t.callbackName]},u.componentDidMount=function(){var f=this,g=this.setupScriptURL(),m=this.asyncScriptLoaderGetScriptLoaderID(),C=t,I=C.globalName,b=C.callbackName,S=C.scriptId;if(I&&typeof window[I]<"u"&&(sr[g]={loaded:!0,observers:{}}),sr[g]){var y=sr[g];if(y&&(y.loaded||y.errored)){this.asyncScriptLoaderHandleLoad(y);return}y.observers[m]=function(E){return f.asyncScriptLoaderHandleLoad(E)};return}var T={};T[m]=function(E){return f.asyncScriptLoaderHandleLoad(E)},sr[g]={loaded:!1,observers:T};var k=document.createElement("script");k.src=g,k.async=!0;for(var A in t.attributes)k.setAttribute(A,t.attributes[A]);S&&(k.id=S);var P=function(M){if(sr[g]){var B=sr[g],w=B.observers;for(var V in w)M(w[V])&&delete w[V]}};b&&typeof window<"u"&&(window[b]=function(){return f.asyncScriptLoaderTriggerOnScriptLoaded()}),k.onload=function(){var E=sr[g];E&&(E.loaded=!0,P(function(M){return b?!1:(M(E),!0)}))},k.onerror=function(){var E=sr[g];E&&(E.errored=!0,P(function(M){return M(E),!0}))},document.body.appendChild(k)},u.componentWillUnmount=function(){var f=this.__scriptURL;if(t.removeOnUnmount===!0)for(var g=document.getElementsByTagName("script"),m=0;m<g.length;m+=1)g[m].src.indexOf(f)>-1&&g[m].parentNode&&g[m].parentNode.removeChild(g[m]);var C=sr[f];C&&(delete C.observers[this.asyncScriptLoaderGetScriptLoaderID()],t.removeOnUnmount===!0&&delete sr[f])},u.render=function(){var f=t.globalName,g=this.props;g.asyncScriptOnLoad;var m=g.forwardedRef,C=Px(g,["asyncScriptOnLoad","forwardedRef"]);return f&&typeof window<"u"&&(C[f]=typeof window[f]<"u"?window[f]:void 0),C.ref=m,_.createElement(o,C)},c}(_.Component),s=_.forwardRef(function(l,c){return _.createElement(a,Kc({},l,{forwardedRef:c}))});return s.displayName="AsyncScriptLoader("+i+")",s.propTypes={asyncScriptOnLoad:kn.func},Nx(s,o)}}var Qc="onloadcallback",Mx="grecaptcha";function Jc(){return typeof window<"u"&&window.recaptchaOptions||{}}function Bx(){var e=Jc(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+Qc+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+Qc+"&render=explicit"}const Fx=Ox(Bx,{callbackName:Qc,globalName:Mx,attributes:Jc().nonce?{nonce:Jc().nonce}:{}})(dl),W0=()=>{const{isAntistock:e,general:t}=mt();return{isAntistock:e,general:t}},Hx="6LdQiIIpAAAAAAkhvhS9zuo5WNS5mAzZrALD9cCa",jx="6Ld0EgYrAAAAAF5_Zqm8S4ZrbCZu6s1u7evUlL3l",q0=_.createContext(void 0),G0=({children:e})=>{const t=_.useRef(null),{isAntistock:n}=W0(),{notifications:o,setNotifications:i}=cn();_.useEffect(()=>{typeof window<"u"&&Ux()},[]);const a=async()=>{try{if(!t.current)return i([...o,{message:"[ReCAPTCHA] executeRecaptcha called before ref is ready",status:"error",id:pt()}]),null;const s=await t.current.executeAsync();return t.current.reset(),s||(i([...o,{message:"[ReCAPTCHA] Received empty token",status:"error",id:pt()}]),null)}catch{return i([...o,{message:"[ReCAPTCHA] executeRecaptcha error",status:"error",id:pt()}]),null}};return d.jsxs(q0.Provider,{value:{recaptchaRef:t,executeRecaptcha:a},children:[e,d.jsx("div",{style:{visibility:"hidden",opacity:0},children:d.jsx(Fx,{sitekey:n?jx:Hx,size:"invisible",ref:t,badge:"inline"})})]})},Ku=()=>{const e=_.useContext(q0);if(e===void 0)throw new Error("useReCaptcha must be used within a ReCaptchaProvider");return e};function Ux(){var t,n;if(typeof window>"u")return;const e=(n=(t=[...document.getElementsByTagName("iframe")].find(o=>o.src.includes("google.com/recaptcha/api2/bframe")))==null?void 0:t.parentNode)==null?void 0:n.parentNode;e&&new MutationObserver(()=>{(e.style.visibility!=="visible"||e.style.opacity!=="1")&&(e.style.opacity="1",e.style.visibility="visible")}).observe(e,{attributeFilter:["style"]})}var Vx=Object.defineProperty,zx=Object.defineProperties,$x=Object.getOwnPropertyDescriptors,Fs=Object.getOwnPropertySymbols,Y0=Object.prototype.hasOwnProperty,Z0=Object.prototype.propertyIsEnumerable,ah=(e,t,n)=>t in e?Vx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wx=(e,t)=>{for(var n in t||(t={}))Y0.call(t,n)&&ah(e,n,t[n]);if(Fs)for(var n of Fs(t))Z0.call(t,n)&&ah(e,n,t[n]);return e},qx=(e,t)=>zx(e,$x(t)),Gx=(e,t)=>{var n={};for(var o in e)Y0.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Fs)for(var o of Fs(e))t.indexOf(o)<0&&Z0.call(e,o)&&(n[o]=e[o]);return n};function Yx(e){let t=setTimeout(e,0),n=setTimeout(e,10),o=setTimeout(e,50);return[t,n,o]}function Zx(e){let t=z.useRef();return z.useEffect(()=>{t.current=e}),t.current}var Xx=18,X0=40,Kx=`${X0}px`,Qx=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");function Jx({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:o}){let[i,a]=z.useState(!1),[s,l]=z.useState(!1),[c,u]=z.useState(!1),h=z.useMemo(()=>n==="none"?!1:(n==="increase-width"||n==="experimental-no-flickering")&&i&&s,[i,s,n]),f=z.useCallback(()=>{let g=e.current,m=t.current;if(!g||!m||c||n==="none")return;let C=g,I=C.getBoundingClientRect().left+C.offsetWidth,b=C.getBoundingClientRect().top+C.offsetHeight/2,S=I-Xx,y=b;document.querySelectorAll(Qx).length===0&&document.elementFromPoint(S,y)===g||(a(!0),u(!0))},[e,t,c,n]);return z.useEffect(()=>{let g=e.current;if(!g||n==="none")return;function m(){let I=window.innerWidth-g.getBoundingClientRect().right;l(I>=X0)}m();let C=setInterval(m,1e3);return()=>{clearInterval(C)}},[e,n]),z.useEffect(()=>{let g=o||document.activeElement===t.current;if(n==="none"||!g)return;let m=setTimeout(f,0),C=setTimeout(f,2e3),I=setTimeout(f,5e3),b=setTimeout(()=>{u(!0)},6e3);return()=>{clearTimeout(m),clearTimeout(C),clearTimeout(I),clearTimeout(b)}},[t,o,n,f]),{hasPWMBadge:i,willPushPWMBadge:h,PWM_BADGE_SPACE_WIDTH:Kx}}var e_=z.createContext({}),K0=z.forwardRef((e,t)=>{var n=e,{value:o,onChange:i,maxLength:a,textAlign:s="left",pattern:l,placeholder:c,inputMode:u="numeric",onComplete:h,pushPasswordManagerStrategy:f="increase-width",pasteTransformer:g,containerClassName:m,noScriptCSSFallback:C=t_,render:I,children:b}=n,S=Gx(n,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]),y,T,k,A,P;let[E,M]=z.useState(typeof S.defaultValue=="string"?S.defaultValue:""),B=o??E,w=Zx(B),V=z.useCallback(Te=>{i==null||i(Te),M(Te)},[i]),H=z.useMemo(()=>l?typeof l=="string"?new RegExp(l):l:null,[l]),X=z.useRef(null),W=z.useRef(null),se=z.useRef({value:B,onChange:V,isIOS:typeof window<"u"&&((T=(y=window==null?void 0:window.CSS)==null?void 0:y.supports)==null?void 0:T.call(y,"-webkit-touch-callout","none"))}),Ce=z.useRef({prev:[(k=X.current)==null?void 0:k.selectionStart,(A=X.current)==null?void 0:A.selectionEnd,(P=X.current)==null?void 0:P.selectionDirection]});z.useImperativeHandle(t,()=>X.current,[]),z.useEffect(()=>{let Te=X.current,we=W.current;if(!Te||!we)return;se.current.value!==Te.value&&se.current.onChange(Te.value),Ce.current.prev=[Te.selectionStart,Te.selectionEnd,Te.selectionDirection];function ze(){if(document.activeElement!==Te){pe(null),Z(null);return}let $e=Te.selectionStart,nt=Te.selectionEnd,Tn=Te.selectionDirection,gt=Te.maxLength,dn=Te.value,It=Ce.current.prev,Lt=-1,q=-1,oe;if(dn.length!==0&&$e!==null&&nt!==null){let rt=$e===nt,hn=$e===dn.length&&dn.length<gt;if(rt&&!hn){let Je=$e;if(Je===0)Lt=0,q=1,oe="forward";else if(Je===gt)Lt=Je-1,q=Je,oe="backward";else if(gt>1&&dn.length>1){let fn=0;if(It[0]!==null&&It[1]!==null){oe=Je<It[1]?"backward":"forward";let pn=It[0]===It[1]&&It[0]<gt;oe==="backward"&&!pn&&(fn=-1)}Lt=fn+Je,q=fn+Je+1}}Lt!==-1&&q!==-1&&Lt!==q&&X.current.setSelectionRange(Lt,q,oe)}let _e=Lt!==-1?Lt:$e,Ae=q!==-1?q:nt,We=oe??Tn;pe(_e),Z(Ae),Ce.current.prev=[_e,Ae,We]}if(document.addEventListener("selectionchange",ze,{capture:!0}),ze(),document.activeElement===Te&&x(!0),!document.getElementById("input-otp-style")){let $e=document.createElement("style");if($e.id="input-otp-style",document.head.appendChild($e),$e.sheet){let nt="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";Ni($e.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),Ni($e.sheet,`[data-input-otp]:autofill { ${nt} }`),Ni($e.sheet,`[data-input-otp]:-webkit-autofill { ${nt} }`),Ni($e.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),Ni($e.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let Tt=()=>{we&&we.style.setProperty("--root-height",`${Te.clientHeight}px`)};Tt();let wt=new ResizeObserver(Tt);return wt.observe(Te),()=>{document.removeEventListener("selectionchange",ze,{capture:!0}),wt.disconnect()}},[]);let[be,ve]=z.useState(!1),[Le,x]=z.useState(!1),[ne,pe]=z.useState(null),[L,Z]=z.useState(null);z.useEffect(()=>{Yx(()=>{var Te,we,ze,Tt;(Te=X.current)==null||Te.dispatchEvent(new Event("input"));let wt=(we=X.current)==null?void 0:we.selectionStart,$e=(ze=X.current)==null?void 0:ze.selectionEnd,nt=(Tt=X.current)==null?void 0:Tt.selectionDirection;wt!==null&&$e!==null&&(pe(wt),Z($e),Ce.current.prev=[wt,$e,nt])})},[B,Le]),z.useEffect(()=>{w!==void 0&&B!==w&&w.length<a&&B.length===a&&(h==null||h(B))},[a,h,w,B]);let le=Jx({containerRef:W,inputRef:X,pushPasswordManagerStrategy:f,isFocused:Le}),ee=z.useCallback(Te=>{let we=Te.currentTarget.value.slice(0,a);if(we.length>0&&H&&!H.test(we)){Te.preventDefault();return}typeof w=="string"&&we.length<w.length&&document.dispatchEvent(new Event("selectionchange")),V(we)},[a,V,w,H]),Ie=z.useCallback(()=>{var Te;if(X.current){let we=Math.min(X.current.value.length,a-1),ze=X.current.value.length;(Te=X.current)==null||Te.setSelectionRange(we,ze),pe(we),Z(ze)}x(!0)},[a]),Se=z.useCallback(Te=>{var we,ze;let Tt=X.current;if(!g&&(!se.current.isIOS||!Te.clipboardData||!Tt))return;let wt=Te.clipboardData.getData("text/plain"),$e=g?g(wt):wt;Te.preventDefault();let nt=(we=X.current)==null?void 0:we.selectionStart,Tn=(ze=X.current)==null?void 0:ze.selectionEnd,gt=(nt!==Tn?B.slice(0,nt)+$e+B.slice(Tn):B.slice(0,nt)+$e+B.slice(nt)).slice(0,a);if(gt.length>0&&H&&!H.test(gt))return;Tt.value=gt,V(gt);let dn=Math.min(gt.length,a-1),It=gt.length;Tt.setSelectionRange(dn,It),pe(dn),Z(It)},[a,V,H,B]),ae=z.useMemo(()=>({position:"relative",cursor:S.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"}),[S.disabled]),ce=z.useMemo(()=>({position:"absolute",inset:0,width:le.willPushPWMBadge?`calc(100% + ${le.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:le.willPushPWMBadge?`inset(0 ${le.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:s,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}),[le.PWM_BADGE_SPACE_WIDTH,le.willPushPWMBadge,s]),Ue=z.useMemo(()=>z.createElement("input",qx(Wx({autoComplete:S.autoComplete||"one-time-code"},S),{"data-input-otp":!0,"data-input-otp-placeholder-shown":B.length===0||void 0,"data-input-otp-mss":ne,"data-input-otp-mse":L,inputMode:u,pattern:H==null?void 0:H.source,"aria-placeholder":c,style:ce,maxLength:a,value:B,ref:X,onPaste:Te=>{var we;Se(Te),(we=S.onPaste)==null||we.call(S,Te)},onChange:ee,onMouseOver:Te=>{var we;ve(!0),(we=S.onMouseOver)==null||we.call(S,Te)},onMouseLeave:Te=>{var we;ve(!1),(we=S.onMouseLeave)==null||we.call(S,Te)},onFocus:Te=>{var we;Ie(),(we=S.onFocus)==null||we.call(S,Te)},onBlur:Te=>{var we;x(!1),(we=S.onBlur)==null||we.call(S,Te)}})),[ee,Ie,Se,u,ce,a,L,ne,S,H==null?void 0:H.source,B]),Q=z.useMemo(()=>({slots:Array.from({length:a}).map((Te,we)=>{var ze;let Tt=Le&&ne!==null&&L!==null&&(ne===L&&we===ne||we>=ne&&we<L),wt=B[we]!==void 0?B[we]:null,$e=B[0]!==void 0?null:(ze=c==null?void 0:c[we])!=null?ze:null;return{char:wt,placeholderChar:$e,isActive:Tt,hasFakeCaret:Tt&&wt===null}}),isFocused:Le,isHovering:!S.disabled&&be}),[Le,be,a,L,ne,S.disabled,B]),Ve=z.useMemo(()=>I?I(Q):z.createElement(e_.Provider,{value:Q},b),[b,Q,I]);return z.createElement(z.Fragment,null,C!==null&&z.createElement("noscript",null,z.createElement("style",null,C)),z.createElement("div",{ref:W,"data-input-otp-container":!0,style:ae,className:m},Ve,z.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},Ue)))});K0.displayName="Input";function Ni(e,t){try{e.insertRule(t)}catch{console.error("input-otp could not insert CSS rule:",t)}}var t_=`
|
|
105
|
+
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var Q=Ue(Ie,ce,Z,le,ee+"."+ce,n);if(Q)return Q}return null}return b(ne)}function W(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(W);if(x===null||l(x))return!0;var ne=f(x);if(ne){var pe=ne.call(x),L;if(ne!==x.entries){for(;!(L=pe.next()).done;)if(!W(L.value))return!1}else for(;!(L=pe.next()).done;){var Z=L.value;if(Z&&!W(Z[1]))return!1}}else return!1;return!0;default:return!1}}function se(x,ne){return x==="symbol"?!0:ne?ne["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ne instanceof Symbol:!1}function Ce(x){var ne=typeof x;return Array.isArray(x)?"array":x instanceof RegExp?"object":se(ne,x)?"symbol":ne}function be(x){if(typeof x>"u"||x===null)return""+x;var ne=Ce(x);if(ne==="object"){if(x instanceof Date)return"date";if(x instanceof RegExp)return"regexp"}return ne}function ve(x){var ne=be(x);switch(ne){case"array":case"object":return"an "+ne;case"boolean":case"date":case"regexp":return"a "+ne;default:return ne}}function Le(x){return!x.constructor||!x.constructor.name?g:x.constructor.name}return m.checkPropTypes=i,m.resetWarningCache=i.resetWarningCache,m.PropTypes=m,m},Xl}var Kl,nh;function gx(){if(nh)return Kl;nh=1;var e=Yu();function t(){}function n(){}return n.resetWarningCache=t,Kl=function(){function o(s,l,c,u,h,f){if(f!==e){var g=new 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 g.name="Invariant Violation",g}}o.isRequired=o;function i(){return o}var a={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},Kl}if(process.env.NODE_ENV!=="production"){var Ix=Gu(),Cx=!0;Yc.exports=mx()(Ix.isElement,Cx)}else Yc.exports=gx()();var bx=Yc.exports;const Ln=Ws(bx);var Sx=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function Zc(){return Zc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Zc.apply(this,arguments)}function yx(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ja(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ex(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xc(e,t)}function Xc(e,t){return Xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Xc(e,t)}var dl=function(e){Ex(t,e);function t(){var o;return o=e.call(this)||this,o.handleExpired=o.handleExpired.bind(Ja(o)),o.handleErrored=o.handleErrored.bind(Ja(o)),o.handleChange=o.handleChange.bind(Ja(o)),o.handleRecaptchaRef=o.handleRecaptchaRef.bind(Ja(o)),o}var n=t.prototype;return n.getCaptchaFunction=function(i){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[i]:this.props.grecaptcha[i]:null},n.getValue=function(){var i=this.getCaptchaFunction("getResponse");return i&&this._widgetId!==void 0?i(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},n.execute=function(){var i=this.getCaptchaFunction("execute");if(i&&this._widgetId!==void 0)return i(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var i=this;return new Promise(function(a,s){i.executionResolve=a,i.executionReject=s,i.execute()})},n.reset=function(){var i=this.getCaptchaFunction("reset");i&&this._widgetId!==void 0&&i(this._widgetId)},n.forceReset=function(){var i=this.getCaptchaFunction("reset");i&&i()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(i){this.props.onChange&&this.props.onChange(i),this.executionResolve&&(this.executionResolve(i),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var i=this.getCaptchaFunction("render");if(i&&this._widgetId===void 0){var a=document.createElement("div");this._widgetId=i(a,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(a)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(i){this.captcha=i},n.render=function(){var i=this.props;i.sitekey,i.onChange,i.theme,i.type,i.tabindex,i.onExpired,i.onErrored,i.size,i.stoken,i.grecaptcha,i.badge,i.hl,i.isolated;var a=yx(i,Sx);return z.createElement("div",Zc({},a,{ref:this.handleRecaptchaRef}))},t}(z.Component);dl.displayName="ReCAPTCHA";dl.propTypes={sitekey:Ln.string.isRequired,onChange:Ln.func,grecaptcha:Ln.object,theme:Ln.oneOf(["dark","light"]),type:Ln.oneOf(["image","audio"]),tabindex:Ln.number,onExpired:Ln.func,onErrored:Ln.func,size:Ln.oneOf(["compact","normal","invisible"]),stoken:Ln.string,hl:Ln.string,badge:Ln.oneOf(["bottomright","bottomleft","inline"]),isolated:Ln.bool};dl.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var Zu=Gu(),Tx={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_x={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xu={};Xu[Zu.ForwardRef]=_x;Xu[Zu.Memo]=z0;function rh(e){return Zu.isMemo(e)?z0:Xu[e.$$typeof]||Tx}var wx=Object.defineProperty,vx=Object.getOwnPropertyNames,oh=Object.getOwnPropertySymbols,Ax=Object.getOwnPropertyDescriptor,kx=Object.getPrototypeOf,ih=Object.prototype;function $0(e,t,n){if(typeof t!="string"){if(ih){var o=kx(t);o&&o!==ih&&$0(e,o,n)}var i=vx(t);oh&&(i=i.concat(oh(t)));for(var a=rh(e),s=rh(t),l=0;l<i.length;++l){var c=i[l];if(!xx[c]&&!(n&&n[c])&&!(s&&s[c])&&!(a&&a[c])){var u=Ax(t,c);try{wx(e,c,u)}catch{}}}}return e}var Lx=$0;const Nx=Ws(Lx);function Kc(){return Kc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Kc.apply(this,arguments)}function Px(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Rx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var sr={},Dx=0;function Ox(e,t){return t=t||{},function(o){var i=o.displayName||o.name||"Component",a=function(l){Rx(c,l);function c(h,f){var g;return g=l.call(this,h,f)||this,g.state={},g.__scriptURL="",g}var u=c.prototype;return u.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+Dx++),this.__scriptLoaderID},u.setupScriptURL=function(){return this.__scriptURL=typeof e=="function"?e():e,this.__scriptURL},u.asyncScriptLoaderHandleLoad=function(f){var g=this;this.setState(f,function(){return g.props.asyncScriptOnLoad&&g.props.asyncScriptOnLoad(g.state)})},u.asyncScriptLoaderTriggerOnScriptLoaded=function(){var f=sr[this.__scriptURL];if(!f||!f.loaded)throw new Error("Script is not loaded.");for(var g in f.observers)f.observers[g](f);delete window[t.callbackName]},u.componentDidMount=function(){var f=this,g=this.setupScriptURL(),m=this.asyncScriptLoaderGetScriptLoaderID(),C=t,I=C.globalName,b=C.callbackName,S=C.scriptId;if(I&&typeof window[I]<"u"&&(sr[g]={loaded:!0,observers:{}}),sr[g]){var y=sr[g];if(y&&(y.loaded||y.errored)){this.asyncScriptLoaderHandleLoad(y);return}y.observers[m]=function(E){return f.asyncScriptLoaderHandleLoad(E)};return}var T={};T[m]=function(E){return f.asyncScriptLoaderHandleLoad(E)},sr[g]={loaded:!1,observers:T};var k=document.createElement("script");k.src=g,k.async=!0;for(var A in t.attributes)k.setAttribute(A,t.attributes[A]);S&&(k.id=S);var P=function(M){if(sr[g]){var B=sr[g],w=B.observers;for(var V in w)M(w[V])&&delete w[V]}};b&&typeof window<"u"&&(window[b]=function(){return f.asyncScriptLoaderTriggerOnScriptLoaded()}),k.onload=function(){var E=sr[g];E&&(E.loaded=!0,P(function(M){return b?!1:(M(E),!0)}))},k.onerror=function(){var E=sr[g];E&&(E.errored=!0,P(function(M){return M(E),!0}))},document.body.appendChild(k)},u.componentWillUnmount=function(){var f=this.__scriptURL;if(t.removeOnUnmount===!0)for(var g=document.getElementsByTagName("script"),m=0;m<g.length;m+=1)g[m].src.indexOf(f)>-1&&g[m].parentNode&&g[m].parentNode.removeChild(g[m]);var C=sr[f];C&&(delete C.observers[this.asyncScriptLoaderGetScriptLoaderID()],t.removeOnUnmount===!0&&delete sr[f])},u.render=function(){var f=t.globalName,g=this.props;g.asyncScriptOnLoad;var m=g.forwardedRef,C=Px(g,["asyncScriptOnLoad","forwardedRef"]);return f&&typeof window<"u"&&(C[f]=typeof window[f]<"u"?window[f]:void 0),C.ref=m,_.createElement(o,C)},c}(_.Component),s=_.forwardRef(function(l,c){return _.createElement(a,Kc({},l,{forwardedRef:c}))});return s.displayName="AsyncScriptLoader("+i+")",s.propTypes={asyncScriptOnLoad:Ln.func},Nx(s,o)}}var Qc="onloadcallback",Mx="grecaptcha";function Jc(){return typeof window<"u"&&window.recaptchaOptions||{}}function Bx(){var e=Jc(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+Qc+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+Qc+"&render=explicit"}const Fx=Ox(Bx,{callbackName:Qc,globalName:Mx,attributes:Jc().nonce?{nonce:Jc().nonce}:{}})(dl),W0=()=>{const{isAntistock:e,general:t}=mt();return{isAntistock:e,general:t}},Hx="6LdQiIIpAAAAAAkhvhS9zuo5WNS5mAzZrALD9cCa",jx="6Ld0EgYrAAAAAF5_Zqm8S4ZrbCZu6s1u7evUlL3l",q0=_.createContext(void 0),G0=({children:e})=>{const t=_.useRef(null),{isAntistock:n}=W0(),{notifications:o,setNotifications:i}=cn();_.useEffect(()=>{typeof window<"u"&&Ux()},[]);const a=async()=>{try{if(!t.current)return i([...o,{message:"[ReCAPTCHA] executeRecaptcha called before ref is ready",status:"error",id:pt()}]),null;const s=await t.current.executeAsync();return t.current.reset(),s||(i([...o,{message:"[ReCAPTCHA] Received empty token",status:"error",id:pt()}]),null)}catch{return i([...o,{message:"[ReCAPTCHA] executeRecaptcha error",status:"error",id:pt()}]),null}};return d.jsxs(q0.Provider,{value:{recaptchaRef:t,executeRecaptcha:a},children:[e,d.jsx("div",{style:{visibility:"hidden",opacity:0},children:d.jsx(Fx,{sitekey:n?jx:Hx,size:"invisible",ref:t,badge:"inline"})})]})},Ku=()=>{const e=_.useContext(q0);if(e===void 0)throw new Error("useReCaptcha must be used within a ReCaptchaProvider");return e};function Ux(){var t,n;if(typeof window>"u")return;const e=(n=(t=[...document.getElementsByTagName("iframe")].find(o=>o.src.includes("google.com/recaptcha/api2/bframe")))==null?void 0:t.parentNode)==null?void 0:n.parentNode;e&&new MutationObserver(()=>{(e.style.visibility!=="visible"||e.style.opacity!=="1")&&(e.style.opacity="1",e.style.visibility="visible")}).observe(e,{attributeFilter:["style"]})}var Vx=Object.defineProperty,zx=Object.defineProperties,$x=Object.getOwnPropertyDescriptors,Fs=Object.getOwnPropertySymbols,Y0=Object.prototype.hasOwnProperty,Z0=Object.prototype.propertyIsEnumerable,ah=(e,t,n)=>t in e?Vx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wx=(e,t)=>{for(var n in t||(t={}))Y0.call(t,n)&&ah(e,n,t[n]);if(Fs)for(var n of Fs(t))Z0.call(t,n)&&ah(e,n,t[n]);return e},qx=(e,t)=>zx(e,$x(t)),Gx=(e,t)=>{var n={};for(var o in e)Y0.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Fs)for(var o of Fs(e))t.indexOf(o)<0&&Z0.call(e,o)&&(n[o]=e[o]);return n};function Yx(e){let t=setTimeout(e,0),n=setTimeout(e,10),o=setTimeout(e,50);return[t,n,o]}function Zx(e){let t=z.useRef();return z.useEffect(()=>{t.current=e}),t.current}var Xx=18,X0=40,Kx=`${X0}px`,Qx=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");function Jx({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:o}){let[i,a]=z.useState(!1),[s,l]=z.useState(!1),[c,u]=z.useState(!1),h=z.useMemo(()=>n==="none"?!1:(n==="increase-width"||n==="experimental-no-flickering")&&i&&s,[i,s,n]),f=z.useCallback(()=>{let g=e.current,m=t.current;if(!g||!m||c||n==="none")return;let C=g,I=C.getBoundingClientRect().left+C.offsetWidth,b=C.getBoundingClientRect().top+C.offsetHeight/2,S=I-Xx,y=b;document.querySelectorAll(Qx).length===0&&document.elementFromPoint(S,y)===g||(a(!0),u(!0))},[e,t,c,n]);return z.useEffect(()=>{let g=e.current;if(!g||n==="none")return;function m(){let I=window.innerWidth-g.getBoundingClientRect().right;l(I>=X0)}m();let C=setInterval(m,1e3);return()=>{clearInterval(C)}},[e,n]),z.useEffect(()=>{let g=o||document.activeElement===t.current;if(n==="none"||!g)return;let m=setTimeout(f,0),C=setTimeout(f,2e3),I=setTimeout(f,5e3),b=setTimeout(()=>{u(!0)},6e3);return()=>{clearTimeout(m),clearTimeout(C),clearTimeout(I),clearTimeout(b)}},[t,o,n,f]),{hasPWMBadge:i,willPushPWMBadge:h,PWM_BADGE_SPACE_WIDTH:Kx}}var e_=z.createContext({}),K0=z.forwardRef((e,t)=>{var n=e,{value:o,onChange:i,maxLength:a,textAlign:s="left",pattern:l,placeholder:c,inputMode:u="numeric",onComplete:h,pushPasswordManagerStrategy:f="increase-width",pasteTransformer:g,containerClassName:m,noScriptCSSFallback:C=t_,render:I,children:b}=n,S=Gx(n,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]),y,T,k,A,P;let[E,M]=z.useState(typeof S.defaultValue=="string"?S.defaultValue:""),B=o??E,w=Zx(B),V=z.useCallback(Te=>{i==null||i(Te),M(Te)},[i]),H=z.useMemo(()=>l?typeof l=="string"?new RegExp(l):l:null,[l]),X=z.useRef(null),W=z.useRef(null),se=z.useRef({value:B,onChange:V,isIOS:typeof window<"u"&&((T=(y=window==null?void 0:window.CSS)==null?void 0:y.supports)==null?void 0:T.call(y,"-webkit-touch-callout","none"))}),Ce=z.useRef({prev:[(k=X.current)==null?void 0:k.selectionStart,(A=X.current)==null?void 0:A.selectionEnd,(P=X.current)==null?void 0:P.selectionDirection]});z.useImperativeHandle(t,()=>X.current,[]),z.useEffect(()=>{let Te=X.current,we=W.current;if(!Te||!we)return;se.current.value!==Te.value&&se.current.onChange(Te.value),Ce.current.prev=[Te.selectionStart,Te.selectionEnd,Te.selectionDirection];function ze(){if(document.activeElement!==Te){pe(null),Z(null);return}let $e=Te.selectionStart,nt=Te.selectionEnd,Tn=Te.selectionDirection,gt=Te.maxLength,dn=Te.value,It=Ce.current.prev,Lt=-1,q=-1,oe;if(dn.length!==0&&$e!==null&&nt!==null){let rt=$e===nt,hn=$e===dn.length&&dn.length<gt;if(rt&&!hn){let Je=$e;if(Je===0)Lt=0,q=1,oe="forward";else if(Je===gt)Lt=Je-1,q=Je,oe="backward";else if(gt>1&&dn.length>1){let fn=0;if(It[0]!==null&&It[1]!==null){oe=Je<It[1]?"backward":"forward";let pn=It[0]===It[1]&&It[0]<gt;oe==="backward"&&!pn&&(fn=-1)}Lt=fn+Je,q=fn+Je+1}}Lt!==-1&&q!==-1&&Lt!==q&&X.current.setSelectionRange(Lt,q,oe)}let _e=Lt!==-1?Lt:$e,Ae=q!==-1?q:nt,We=oe??Tn;pe(_e),Z(Ae),Ce.current.prev=[_e,Ae,We]}if(document.addEventListener("selectionchange",ze,{capture:!0}),ze(),document.activeElement===Te&&x(!0),!document.getElementById("input-otp-style")){let $e=document.createElement("style");if($e.id="input-otp-style",document.head.appendChild($e),$e.sheet){let nt="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";Pi($e.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),Pi($e.sheet,`[data-input-otp]:autofill { ${nt} }`),Pi($e.sheet,`[data-input-otp]:-webkit-autofill { ${nt} }`),Pi($e.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),Pi($e.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let Tt=()=>{we&&we.style.setProperty("--root-height",`${Te.clientHeight}px`)};Tt();let wt=new ResizeObserver(Tt);return wt.observe(Te),()=>{document.removeEventListener("selectionchange",ze,{capture:!0}),wt.disconnect()}},[]);let[be,ve]=z.useState(!1),[Le,x]=z.useState(!1),[ne,pe]=z.useState(null),[L,Z]=z.useState(null);z.useEffect(()=>{Yx(()=>{var Te,we,ze,Tt;(Te=X.current)==null||Te.dispatchEvent(new Event("input"));let wt=(we=X.current)==null?void 0:we.selectionStart,$e=(ze=X.current)==null?void 0:ze.selectionEnd,nt=(Tt=X.current)==null?void 0:Tt.selectionDirection;wt!==null&&$e!==null&&(pe(wt),Z($e),Ce.current.prev=[wt,$e,nt])})},[B,Le]),z.useEffect(()=>{w!==void 0&&B!==w&&w.length<a&&B.length===a&&(h==null||h(B))},[a,h,w,B]);let le=Jx({containerRef:W,inputRef:X,pushPasswordManagerStrategy:f,isFocused:Le}),ee=z.useCallback(Te=>{let we=Te.currentTarget.value.slice(0,a);if(we.length>0&&H&&!H.test(we)){Te.preventDefault();return}typeof w=="string"&&we.length<w.length&&document.dispatchEvent(new Event("selectionchange")),V(we)},[a,V,w,H]),Ie=z.useCallback(()=>{var Te;if(X.current){let we=Math.min(X.current.value.length,a-1),ze=X.current.value.length;(Te=X.current)==null||Te.setSelectionRange(we,ze),pe(we),Z(ze)}x(!0)},[a]),Se=z.useCallback(Te=>{var we,ze;let Tt=X.current;if(!g&&(!se.current.isIOS||!Te.clipboardData||!Tt))return;let wt=Te.clipboardData.getData("text/plain"),$e=g?g(wt):wt;Te.preventDefault();let nt=(we=X.current)==null?void 0:we.selectionStart,Tn=(ze=X.current)==null?void 0:ze.selectionEnd,gt=(nt!==Tn?B.slice(0,nt)+$e+B.slice(Tn):B.slice(0,nt)+$e+B.slice(nt)).slice(0,a);if(gt.length>0&&H&&!H.test(gt))return;Tt.value=gt,V(gt);let dn=Math.min(gt.length,a-1),It=gt.length;Tt.setSelectionRange(dn,It),pe(dn),Z(It)},[a,V,H,B]),ae=z.useMemo(()=>({position:"relative",cursor:S.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"}),[S.disabled]),ce=z.useMemo(()=>({position:"absolute",inset:0,width:le.willPushPWMBadge?`calc(100% + ${le.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:le.willPushPWMBadge?`inset(0 ${le.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:s,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}),[le.PWM_BADGE_SPACE_WIDTH,le.willPushPWMBadge,s]),Ue=z.useMemo(()=>z.createElement("input",qx(Wx({autoComplete:S.autoComplete||"one-time-code"},S),{"data-input-otp":!0,"data-input-otp-placeholder-shown":B.length===0||void 0,"data-input-otp-mss":ne,"data-input-otp-mse":L,inputMode:u,pattern:H==null?void 0:H.source,"aria-placeholder":c,style:ce,maxLength:a,value:B,ref:X,onPaste:Te=>{var we;Se(Te),(we=S.onPaste)==null||we.call(S,Te)},onChange:ee,onMouseOver:Te=>{var we;ve(!0),(we=S.onMouseOver)==null||we.call(S,Te)},onMouseLeave:Te=>{var we;ve(!1),(we=S.onMouseLeave)==null||we.call(S,Te)},onFocus:Te=>{var we;Ie(),(we=S.onFocus)==null||we.call(S,Te)},onBlur:Te=>{var we;x(!1),(we=S.onBlur)==null||we.call(S,Te)}})),[ee,Ie,Se,u,ce,a,L,ne,S,H==null?void 0:H.source,B]),Q=z.useMemo(()=>({slots:Array.from({length:a}).map((Te,we)=>{var ze;let Tt=Le&&ne!==null&&L!==null&&(ne===L&&we===ne||we>=ne&&we<L),wt=B[we]!==void 0?B[we]:null,$e=B[0]!==void 0?null:(ze=c==null?void 0:c[we])!=null?ze:null;return{char:wt,placeholderChar:$e,isActive:Tt,hasFakeCaret:Tt&&wt===null}}),isFocused:Le,isHovering:!S.disabled&&be}),[Le,be,a,L,ne,S.disabled,B]),Ve=z.useMemo(()=>I?I(Q):z.createElement(e_.Provider,{value:Q},b),[b,Q,I]);return z.createElement(z.Fragment,null,C!==null&&z.createElement("noscript",null,z.createElement("style",null,C)),z.createElement("div",{ref:W,"data-input-otp-container":!0,style:ae,className:m},Ve,z.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},Ue)))});K0.displayName="Input";function Pi(e,t){try{e.insertRule(t)}catch{console.error("input-otp could not insert CSS rule:",t)}}var t_=`
|
|
106
106
|
[data-input-otp] {
|
|
107
107
|
--nojs-bg: white !important;
|
|
108
108
|
--nojs-fg: black !important;
|
|
@@ -121,14 +121,14 @@ Valid keys: `+JSON.stringify(Object.keys(x),null," "));var Q=Ue(Ie,ce,Z,le,ee+"
|
|
|
121
121
|
--nojs-bg: black !important;
|
|
122
122
|
--nojs-fg: white !important;
|
|
123
123
|
}
|
|
124
|
-
}`;const n_="_authContainer_1uyf7_2",r_="_authWrapper_1uyf7_12",o_="_inModal_1uyf7_19",i_="_formHeaderTitle_1uyf7_26",a_="_formHeaderSubtitle_1uyf7_33",s_="_formLabel_1uyf7_39",l_="_formError_1uyf7_51",c_="_submitButton_1uyf7_57",u_="_submitButtonAntistock_1uyf7_57",d_="_backButton_1uyf7_67",h_="_otpContainer_1uyf7_78",f_="_otpSlots_1uyf7_85",p_="_otpSlot_1uyf7_85",m_="_active_1uyf7_108",g_="_otpSlotEmpty_1uyf7_113",I_="_actionRow_1uyf7_117",C_="_authForm_1uyf7_124",b_="_formHeader_1uyf7_26",S_="_input_1uyf7_135",At={authContainer:n_,authWrapper:r_,inModal:o_,formHeaderTitle:i_,formHeaderSubtitle:a_,formLabel:s_,formError:l_,submitButton:c_,submitButtonAntistock:u_,backButton:d_,otpContainer:h_,otpSlots:f_,otpSlot:p_,active:m_,otpSlotEmpty:g_,actionRow:I_,authForm:C_,formHeader:b_,input:S_},y_=_.forwardRef(({value:e,onChange:t,onComplete:n},o)=>d.jsx(K0,{ref:o,value:e,onChange:t,onComplete:n,maxLength:6,containerClassName:At.otpContainer,render:({slots:i})=>d.jsx("div",{className:At.otpSlots,children:i.map(a=>d.jsx(E_,{...a},crypto.randomUUID()))})}));function E_({char:e,isActive:t}){return d.jsx("div",{className:ge(At.otpSlot,{[At.active]:t}),children:e?d.jsx("div",{children:e}):d.jsx("div",{className:At.otpSlotEmpty,children:"0"})})}const T_=e=>{const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return e.trim()?t.test(e)?null:"Please enter a valid email.":"The email field cannot be empty."},x_=e=>/^[0-9]{6}$/.test(e)?null:"Invalid verification code. The code should be a six-digit number. Please try again",Q0=({title:e,subtitle:t,isAntistock:n})=>d.jsxs("div",{className:At.formHeader,style:{textAlign:n?"center":void 0},children:[d.jsx("h3",{id:"h3",className:At.formHeaderTitle,children:e}),t?d.jsx("div",{className:At.formHeaderSubtitle,children:t}):null]}),J0=({error:e})=>e?d.jsx("div",{className:At.formError,children:e}):null,__=()=>{const[e,t]=_.useState(""),[n,o]=_.useState(null),[i,a]=_.useState(!1),{executeRecaptcha:s}=Ku(),{setOtpRequest:l}=rr(),{isAntistock:c}=mt(),u=async h=>{h.preventDefault(),o(null);const f=T_(e);if(f){o(f);return}a(!0);try{const g=await s();if(!g)throw new Error("ReCaptcha verification failed");await S0({email:e,recaptcha:g,tsId:so()}),l({requested:!0,email:e})}catch{o("Failed to request OTP. Please try again.")}finally{a(!1)}};return d.jsxs("form",{onSubmit:u,className:At.authForm,children:[d.jsx(Q0,{title:c?"My Account":"Sign In",subtitle:c?"":"To continue, enter your email address below.",isAntistock:c}),d.jsxs("div",{className:At.input,children:[d.jsx(Ro,{label:c?"Email":"Email Address",placeholder:"your@email.com",value:e,onChange:h=>{t(h),o(null)}}),d.jsx(J0,{error:n})]}),d.jsx(_t,{type:"Primary",className:c?At.submitButtonAntistock:At.submitButton,disabled:i,children:i?c?d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[d.jsx(qn,{}),d.jsx("span",{children:"Continue"})]}):d.jsx(qn,{}):c?"Continue":"Sign In"}),d.jsx("span",{style:{color:"var(--text-secondary)",paddingTop:"8px",fontSize:"var(--font-body-md-size)",textAlign:"center"},children:"You will receive a 6-digit account code via email."})]})},w_=({onSignIn:e})=>{const{otpRequest:t,setOtpRequest:n}=rr(),{isAntistock:o}=mt(),[i,a]=_.useState(""),[s,l]=_.useState(null),[c,u]=_.useState(!1),{executeRecaptcha:h}=Ku(),f=async()=>{l(null);const m=x_(i);if(m){l(m);return}u(!0);try{const C=await h();if(!C)throw new Error("ReCaptcha verification failed");await y0({email:t.email,otp:i,recaptcha:C||"",tsId:so()}),e&&e()}catch{l("Invalid OTP. Please try again.")}finally{u(!1)}},g=()=>n({requested:!1,email:""});return d.jsxs("form",{onSubmit:f,className:At.authForm,children:[d.jsx(Q0,{title:"Check Your Email",subtitle:`Enter the 6-digit code we sent to ${t.email}`,isAntistock:o}),d.jsxs("label",{className:At.formLabel,children:["Code",d.jsx(y_,{onChange:m=>{a(m),l(null)},value:i,onComplete:f})]}),d.jsx(J0,{error:s}),d.jsxs("div",{className:At.actionRow,children:[d.jsx(_t,{onClick:g,type:"Secondary",className:At.backButton,children:"Back"}),d.jsx(_t,{type:"Primary",className:o?At.submitButtonAntistock:At.submitButton,disabled:c,children:c?d.jsx(qn,{}):o?"Continue":"Sign In"})]})]})},em=({inModal:e,onSignIn:t})=>{const{otpRequest:n,setOtpRequest:o}=rr();return _.useEffect(()=>{n.requested&&o({requested:!1,email:""})},[]),d.jsx("div",{className:At.authContainer,children:n?d.jsx("div",{className:ge(At.authWrapper,e&&At.inModal),children:n.requested?d.jsx(w_,{onSignIn:t}):d.jsx(__,{})}):d.jsx(qn,{})})},v_=async(e=1)=>await jy({PageNumber:e}),A_=()=>{const[e,t]=_.useState(null),[n,o]=_.useState(0),{page:i,setPage:a}=Ta(),{gatewaysDetail:s,setGatewaysDetail:l,balanceSettings:c}=rr();return _.useEffect(()=>{const u=async()=>{const{list:f,totalCount:g}=await v_(i);t(f),o(g)},h=async()=>{const f=await Aa(c!=null&&c.isEnabled?(c==null?void 0:c.topUpSettings.gateways)||[]:[]);l(f)};u(),s||h()},[i]),d.jsx(d.Fragment,{children:e&&e.length===0?d.jsx(Na,{title:"Subscriptions History",description:"When you subscribe to a product on our website, you'll see a history of your subscriptions here."}):d.jsxs(d.Fragment,{children:[d.jsx(La,{title:"Subscriptions"}),d.jsx(bH,{subscriptions:e,gatewaysDetail:s,totalCount:n,page:i,setPage:a})]})})},k_={[Ut.Home]:F0,[Ut.Orders]:H0,[Ut.Rewards]:j0,[Ut.Balance]:M0,[Ut.Subscriptions]:A_,[Ut.Tickets]:U0},L_={[Ut.Home]:F0,[Ut.Orders]:H0,[Ut.Rewards]:j0,[Ut.Balance]:M0,[Ut.Tickets]:U0},N_=()=>{const{route:e,setRoute:t}=rr(),{token:n}=uo(),{isAntistock:o}=mt(),i=o?L_[e]:k_[e];return _.useEffect(()=>{window.location.pathname.includes("/ticket")&&t(Ut.Tickets)},[window.location.pathname]),n?d.jsx("div",{style:{maxWidth:"var(--max-width-store)",margin:"0 auto",height:"100%"},children:d.jsx(_0,{notPadding:!0,style:{height:"100%"},maxWidth:"var(--max-width-store)",children:a=>d.jsxs("main",{className:ge(go.appContainer,{[go.mobile]:a!=="desktop",[go.noAnimation]:o,[go.appContainerAntistock]:o}),children:[d.jsx(xT,{adaptiveStyles:a}),d.jsx("div",{className:ge(go.contentContainer,{[go.mobile]:a!=="desktop",[go.contentContainerAntistock]:o}),children:d.jsx(i,{adaptiveStyles:a})})]})})}):d.jsx(em,{})},P_=()=>d.jsx(G0,{children:d.jsx(N_,{})}),R_="_referralBlock_kla2r_2",D_="_skeleton_kla2r_3",O_="_mobile_kla2r_13",M_="_referralContainer_kla2r_18",B_="_title_kla2r_30",F_="_description_kla2r_36",H_="_linkContainer_kla2r_56",j_="_modalContainer_kla2r_77",U_="_steps_kla2r_86",V_="_joinButton_kla2r_92",z_="_stepItem_kla2r_97",$_="_iconContainer_kla2r_103",W_="_index_kla2r_111",q_="_bar_kla2r_123",G_="_content_kla2r_130",Y_="_caption_kla2r_135",Z_="_descriptionStep_kla2r_141",X_="_error_kla2r_151",K_="_infoBlock_kla2r_155",Q_="_infoIcon_kla2r_164",J_="_infoText_kla2r_173",ew="_actions_kla2r_178",tw="_cancelButton_kla2r_183",nw="_referralStats_kla2r_187",rw="_referralInfo_kla2r_204",ow="_referralStatsItem_kla2r_210",iw="_referralStatsItemValue_kla2r_220",aw="_referralStatsItemLabel_kla2r_225",sw="_referral_kla2r_2",lw="_header_kla2r_244",cw="_contentModal_kla2r_254",Oe={referralBlock:R_,skeleton:D_,mobile:O_,referralContainer:M_,title:B_,description:F_,linkContainer:H_,modalContainer:j_,steps:U_,joinButton:V_,stepItem:z_,iconContainer:$_,index:W_,bar:q_,content:G_,caption:Y_,descriptionStep:Z_,error:X_,infoBlock:K_,infoIcon:Q_,infoText:J_,actions:ew,cancelButton:tw,referralStats:nw,referralInfo:rw,referralStatsItem:ow,referralStatsItemValue:iw,referralStatsItemLabel:aw,referral:sw,header:lw,contentModal:cw},uw=({caption:e,description:t,index:n,bar:o=!0})=>d.jsxs("div",{className:Oe.stepItem,children:[d.jsxs("div",{className:Oe.iconContainer,children:[d.jsx("div",{className:Oe.index,children:n}),o&&d.jsx("div",{className:Oe.bar})]}),d.jsxs("div",{className:Oe.content,children:[d.jsx("div",{className:Oe.caption,children:e}),d.jsx("div",{className:Oe.descriptionStep,children:t})]})]}),dw=({setIsOpen:e,setIsLoading:t})=>{const[n,o]=_.useState(""),[i,a]=_.useState(""),{notifications:s,setNotifications:l}=cn(),{setIsOpen:c}=$r(),u=async f=>{if(f.preventDefault(),n.length<3){a("Referral Code should have minimum length of 3");return}t(!0),h();try{await Ky({referralCode:n}),l([...s,{message:"Referral Code has been applied",status:"success",id:pt()}])}catch(g){const m=g;l([...s,{message:m.message,status:"error",id:pt()}])}t(!1),e(!1),o(""),a("")},h=()=>{c(!1),setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{onClick:f=>f.stopPropagation(),className:Oe.modalContainer,children:[d.jsxs("div",{className:Oe.header,children:[d.jsx("div",{id:"h3",children:"Create an affiliate code"}),d.jsx(ie,{name:"X",onClick:h,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:Oe.contentModal,children:[d.jsx(Ro,{value:n,onChange:f=>o(f),placeholder:"Enter code here (e.g., Join)",label:"Affiliate Code"}),i&&d.jsx("div",{className:Oe.error,children:i}),d.jsxs("div",{className:Oe.infoBlock,children:[d.jsx("div",{className:Oe.infoIcon,children:d.jsx(ie,{name:"Info"})}),d.jsx("div",{className:Oe.infoText,children:"Once you join our referral program, you'll gain access to special deals, rewards, and potentially earn a percentage (%) of revenue."})]}),d.jsxs("div",{className:Oe.actions,children:[d.jsx(_t,{type:"Secondary",className:Oe.cancelButton,onClick:h,children:"Cancel"}),d.jsx(_t,{type:"Primary",onClick:u,children:"Create"})]})]})]})},es=()=>d.jsx("div",{style:{display:"flex",alignItems:"center",width:"100%"},children:d.jsxs("svg",{width:"100%",height:"64",viewBox:"0 0 208 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_2098_5511)",children:[d.jsx("mask",{id:"path-1-inside-1_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 0H208V16H0V0Z"})}),d.jsx("path",{d:"M208 16.5C208.276 16.5 208.5 16.2761 208.5 16C208.5 15.7239 208.276 15.5 208 15.5V16.5ZM0 15.5C-0.276142 15.5 -0.5 15.7239 -0.5 16C-0.5 16.2761 -0.276142 16.5 0 16.5V15.5ZM4 16.5C4.27614 16.5 4.5 16.2761 4.5 16C4.5 15.7239 4.27614 15.5 4 15.5V16.5ZM12 15.5C11.7239 15.5 11.5 15.7239 11.5 16C11.5 16.2761 11.7239 16.5 12 16.5V15.5ZM20 16.5C20.2761 16.5 20.5 16.2761 20.5 16C20.5 15.7239 20.2761 15.5 20 15.5V16.5ZM28 15.5C27.7239 15.5 27.5 15.7239 27.5 16C27.5 16.2761 27.7239 16.5 28 16.5V15.5ZM36 16.5C36.2761 16.5 36.5 16.2761 36.5 16C36.5 15.7239 36.2761 15.5 36 15.5V16.5ZM44 15.5C43.7239 15.5 43.5 15.7239 43.5 16C43.5 16.2761 43.7239 16.5 44 16.5V15.5ZM52 16.5C52.2761 16.5 52.5 16.2761 52.5 16C52.5 15.7239 52.2761 15.5 52 15.5V16.5ZM60 15.5C59.7239 15.5 59.5 15.7239 59.5 16C59.5 16.2761 59.7239 16.5 60 16.5V15.5ZM68 16.5C68.2761 16.5 68.5 16.2761 68.5 16C68.5 15.7239 68.2761 15.5 68 15.5V16.5ZM76 15.5C75.7239 15.5 75.5 15.7239 75.5 16C75.5 16.2761 75.7239 16.5 76 16.5V15.5ZM84 16.5C84.2761 16.5 84.5 16.2761 84.5 16C84.5 15.7239 84.2761 15.5 84 15.5V16.5ZM92 15.5C91.7239 15.5 91.5 15.7239 91.5 16C91.5 16.2761 91.7239 16.5 92 16.5V15.5ZM100 16.5C100.276 16.5 100.5 16.2761 100.5 16C100.5 15.7239 100.276 15.5 100 15.5V16.5ZM108 15.5C107.724 15.5 107.5 15.7239 107.5 16C107.5 16.2761 107.724 16.5 108 16.5V15.5ZM116 16.5C116.276 16.5 116.5 16.2761 116.5 16C116.5 15.7239 116.276 15.5 116 15.5V16.5ZM124 15.5C123.724 15.5 123.5 15.7239 123.5 16C123.5 16.2761 123.724 16.5 124 16.5V15.5ZM132 16.5C132.276 16.5 132.5 16.2761 132.5 16C132.5 15.7239 132.276 15.5 132 15.5V16.5ZM140 15.5C139.724 15.5 139.5 15.7239 139.5 16C139.5 16.2761 139.724 16.5 140 16.5V15.5ZM148 16.5C148.276 16.5 148.5 16.2761 148.5 16C148.5 15.7239 148.276 15.5 148 15.5V16.5ZM156 15.5C155.724 15.5 155.5 15.7239 155.5 16C155.5 16.2761 155.724 16.5 156 16.5V15.5ZM164 16.5C164.276 16.5 164.5 16.2761 164.5 16C164.5 15.7239 164.276 15.5 164 15.5V16.5ZM172 15.5C171.724 15.5 171.5 15.7239 171.5 16C171.5 16.2761 171.724 16.5 172 16.5V15.5ZM180 16.5C180.276 16.5 180.5 16.2761 180.5 16C180.5 15.7239 180.276 15.5 180 15.5V16.5ZM188 15.5C187.724 15.5 187.5 15.7239 187.5 16C187.5 16.2761 187.724 16.5 188 16.5V15.5ZM196 16.5C196.276 16.5 196.5 16.2761 196.5 16C196.5 15.7239 196.276 15.5 196 15.5V16.5ZM204 15.5C203.724 15.5 203.5 15.7239 203.5 16C203.5 16.2761 203.724 16.5 204 16.5V15.5ZM0 16.5H4V15.5H0V16.5ZM12 16.5H20V15.5H12V16.5ZM28 16.5H36V15.5H28V16.5ZM44 16.5H52V15.5H44V16.5ZM60 16.5H68V15.5H60V16.5ZM76 16.5H84V15.5H76V16.5ZM92 16.5H100V15.5H92V16.5ZM108 16.5H116V15.5H108V16.5ZM124 16.5H132V15.5H124V16.5ZM140 16.5H148V15.5H140V16.5ZM156 16.5H164V15.5H156V16.5ZM172 16.5H180V15.5H172V16.5ZM188 16.5H196V15.5H188V16.5ZM204 16.5H208V15.5H204V16.5ZM208 17C208.552 17 209 16.5523 209 16C209 15.4477 208.552 15 208 15V17ZM0 15C-0.552285 15 -1 15.4477 -1 16C-1 16.5523 -0.552285 17 0 17V15ZM4 17C4.55228 17 5 16.5523 5 16C5 15.4477 4.55228 15 4 15V17ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17V15ZM20 17C20.5523 17 21 16.5523 21 16C21 15.4477 20.5523 15 20 15V17ZM28 15C27.4477 15 27 15.4477 27 16C27 16.5523 27.4477 17 28 17V15ZM36 17C36.5523 17 37 16.5523 37 16C37 15.4477 36.5523 15 36 15V17ZM44 15C43.4477 15 43 15.4477 43 16C43 16.5523 43.4477 17 44 17V15ZM52 17C52.5523 17 53 16.5523 53 16C53 15.4477 52.5523 15 52 15V17ZM60 15C59.4477 15 59 15.4477 59 16C59 16.5523 59.4477 17 60 17V15ZM68 17C68.5523 17 69 16.5523 69 16C69 15.4477 68.5523 15 68 15V17ZM76 15C75.4477 15 75 15.4477 75 16C75 16.5523 75.4477 17 76 17V15ZM84 17C84.5523 17 85 16.5523 85 16C85 15.4477 84.5523 15 84 15V17ZM92 15C91.4477 15 91 15.4477 91 16C91 16.5523 91.4477 17 92 17V15ZM100 17C100.552 17 101 16.5523 101 16C101 15.4477 100.552 15 100 15V17ZM108 15C107.448 15 107 15.4477 107 16C107 16.5523 107.448 17 108 17V15ZM116 17C116.552 17 117 16.5523 117 16C117 15.4477 116.552 15 116 15V17ZM124 15C123.448 15 123 15.4477 123 16C123 16.5523 123.448 17 124 17V15ZM132 17C132.552 17 133 16.5523 133 16C133 15.4477 132.552 15 132 15V17ZM140 15C139.448 15 139 15.4477 139 16C139 16.5523 139.448 17 140 17V15ZM148 17C148.552 17 149 16.5523 149 16C149 15.4477 148.552 15 148 15V17ZM156 15C155.448 15 155 15.4477 155 16C155 16.5523 155.448 17 156 17V15ZM164 17C164.552 17 165 16.5523 165 16C165 15.4477 164.552 15 164 15V17ZM172 15C171.448 15 171 15.4477 171 16C171 16.5523 171.448 17 172 17V15ZM180 17C180.552 17 181 16.5523 181 16C181 15.4477 180.552 15 180 15V17ZM188 15C187.448 15 187 15.4477 187 16C187 16.5523 187.448 17 188 17V15ZM196 17C196.552 17 197 16.5523 197 16C197 15.4477 196.552 15 196 15V17ZM204 15C203.448 15 203 15.4477 203 16C203 16.5523 203.448 17 204 17V15ZM0 17H4V15H0V17ZM12 17H20V15H12V17ZM28 17H36V15H28V17ZM44 17H52V15H44V17ZM60 17H68V15H60V17ZM76 17H84V15H76V17ZM92 17H100V15H92V17ZM108 17H116V15H108V17ZM124 17H132V15H124V17ZM140 17H148V15H140V17ZM156 17H164V15H156V17ZM172 17H180V15H172V17ZM188 17H196V15H188V17ZM204 17H208V15H204V17Z",fill:"#F8F8F8",mask:"url(#path-1-inside-1_2098_5511)"}),d.jsx("mask",{id:"path-3-inside-2_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 16H208V32H0V16Z"})}),d.jsx("path",{d:"M208 32.5C208.276 32.5 208.5 32.2761 208.5 32C208.5 31.7239 208.276 31.5 208 31.5V32.5ZM0 31.5C-0.276142 31.5 -0.5 31.7239 -0.5 32C-0.5 32.2761 -0.276142 32.5 0 32.5V31.5ZM4 32.5C4.27614 32.5 4.5 32.2761 4.5 32C4.5 31.7239 4.27614 31.5 4 31.5V32.5ZM12 31.5C11.7239 31.5 11.5 31.7239 11.5 32C11.5 32.2761 11.7239 32.5 12 32.5V31.5ZM20 32.5C20.2761 32.5 20.5 32.2761 20.5 32C20.5 31.7239 20.2761 31.5 20 31.5V32.5ZM28 31.5C27.7239 31.5 27.5 31.7239 27.5 32C27.5 32.2761 27.7239 32.5 28 32.5V31.5ZM36 32.5C36.2761 32.5 36.5 32.2761 36.5 32C36.5 31.7239 36.2761 31.5 36 31.5V32.5ZM44 31.5C43.7239 31.5 43.5 31.7239 43.5 32C43.5 32.2761 43.7239 32.5 44 32.5V31.5ZM52 32.5C52.2761 32.5 52.5 32.2761 52.5 32C52.5 31.7239 52.2761 31.5 52 31.5V32.5ZM60 31.5C59.7239 31.5 59.5 31.7239 59.5 32C59.5 32.2761 59.7239 32.5 60 32.5V31.5ZM68 32.5C68.2761 32.5 68.5 32.2761 68.5 32C68.5 31.7239 68.2761 31.5 68 31.5V32.5ZM76 31.5C75.7239 31.5 75.5 31.7239 75.5 32C75.5 32.2761 75.7239 32.5 76 32.5V31.5ZM84 32.5C84.2761 32.5 84.5 32.2761 84.5 32C84.5 31.7239 84.2761 31.5 84 31.5V32.5ZM92 31.5C91.7239 31.5 91.5 31.7239 91.5 32C91.5 32.2761 91.7239 32.5 92 32.5V31.5ZM100 32.5C100.276 32.5 100.5 32.2761 100.5 32C100.5 31.7239 100.276 31.5 100 31.5V32.5ZM108 31.5C107.724 31.5 107.5 31.7239 107.5 32C107.5 32.2761 107.724 32.5 108 32.5V31.5ZM116 32.5C116.276 32.5 116.5 32.2761 116.5 32C116.5 31.7239 116.276 31.5 116 31.5V32.5ZM124 31.5C123.724 31.5 123.5 31.7239 123.5 32C123.5 32.2761 123.724 32.5 124 32.5V31.5ZM132 32.5C132.276 32.5 132.5 32.2761 132.5 32C132.5 31.7239 132.276 31.5 132 31.5V32.5ZM140 31.5C139.724 31.5 139.5 31.7239 139.5 32C139.5 32.2761 139.724 32.5 140 32.5V31.5ZM148 32.5C148.276 32.5 148.5 32.2761 148.5 32C148.5 31.7239 148.276 31.5 148 31.5V32.5ZM156 31.5C155.724 31.5 155.5 31.7239 155.5 32C155.5 32.2761 155.724 32.5 156 32.5V31.5ZM164 32.5C164.276 32.5 164.5 32.2761 164.5 32C164.5 31.7239 164.276 31.5 164 31.5V32.5ZM172 31.5C171.724 31.5 171.5 31.7239 171.5 32C171.5 32.2761 171.724 32.5 172 32.5V31.5ZM180 32.5C180.276 32.5 180.5 32.2761 180.5 32C180.5 31.7239 180.276 31.5 180 31.5V32.5ZM188 31.5C187.724 31.5 187.5 31.7239 187.5 32C187.5 32.2761 187.724 32.5 188 32.5V31.5ZM196 32.5C196.276 32.5 196.5 32.2761 196.5 32C196.5 31.7239 196.276 31.5 196 31.5V32.5ZM204 31.5C203.724 31.5 203.5 31.7239 203.5 32C203.5 32.2761 203.724 32.5 204 32.5V31.5ZM0 32.5H4V31.5H0V32.5ZM12 32.5H20V31.5H12V32.5ZM28 32.5H36V31.5H28V32.5ZM44 32.5H52V31.5H44V32.5ZM60 32.5H68V31.5H60V32.5ZM76 32.5H84V31.5H76V32.5ZM92 32.5H100V31.5H92V32.5ZM108 32.5H116V31.5H108V32.5ZM124 32.5H132V31.5H124V32.5ZM140 32.5H148V31.5H140V32.5ZM156 32.5H164V31.5H156V32.5ZM172 32.5H180V31.5H172V32.5ZM188 32.5H196V31.5H188V32.5ZM204 32.5H208V31.5H204V32.5ZM208 33C208.552 33 209 32.5523 209 32C209 31.4477 208.552 31 208 31V33ZM0 31C-0.552285 31 -1 31.4477 -1 32C-1 32.5523 -0.552285 33 0 33V31ZM4 33C4.55228 33 5 32.5523 5 32C5 31.4477 4.55228 31 4 31V33ZM12 31C11.4477 31 11 31.4477 11 32C11 32.5523 11.4477 33 12 33V31ZM20 33C20.5523 33 21 32.5523 21 32C21 31.4477 20.5523 31 20 31V33ZM28 31C27.4477 31 27 31.4477 27 32C27 32.5523 27.4477 33 28 33V31ZM36 33C36.5523 33 37 32.5523 37 32C37 31.4477 36.5523 31 36 31V33ZM44 31C43.4477 31 43 31.4477 43 32C43 32.5523 43.4477 33 44 33V31ZM52 33C52.5523 33 53 32.5523 53 32C53 31.4477 52.5523 31 52 31V33ZM60 31C59.4477 31 59 31.4477 59 32C59 32.5523 59.4477 33 60 33V31ZM68 33C68.5523 33 69 32.5523 69 32C69 31.4477 68.5523 31 68 31V33ZM76 31C75.4477 31 75 31.4477 75 32C75 32.5523 75.4477 33 76 33V31ZM84 33C84.5523 33 85 32.5523 85 32C85 31.4477 84.5523 31 84 31V33ZM92 31C91.4477 31 91 31.4477 91 32C91 32.5523 91.4477 33 92 33V31ZM100 33C100.552 33 101 32.5523 101 32C101 31.4477 100.552 31 100 31V33ZM108 31C107.448 31 107 31.4477 107 32C107 32.5523 107.448 33 108 33V31ZM116 33C116.552 33 117 32.5523 117 32C117 31.4477 116.552 31 116 31V33ZM124 31C123.448 31 123 31.4477 123 32C123 32.5523 123.448 33 124 33V31ZM132 33C132.552 33 133 32.5523 133 32C133 31.4477 132.552 31 132 31V33ZM140 31C139.448 31 139 31.4477 139 32C139 32.5523 139.448 33 140 33V31ZM148 33C148.552 33 149 32.5523 149 32C149 31.4477 148.552 31 148 31V33ZM156 31C155.448 31 155 31.4477 155 32C155 32.5523 155.448 33 156 33V31ZM164 33C164.552 33 165 32.5523 165 32C165 31.4477 164.552 31 164 31V33ZM172 31C171.448 31 171 31.4477 171 32C171 32.5523 171.448 33 172 33V31ZM180 33C180.552 33 181 32.5523 181 32C181 31.4477 180.552 31 180 31V33ZM188 31C187.448 31 187 31.4477 187 32C187 32.5523 187.448 33 188 33V31ZM196 33C196.552 33 197 32.5523 197 32C197 31.4477 196.552 31 196 31V33ZM204 31C203.448 31 203 31.4477 203 32C203 32.5523 203.448 33 204 33V31ZM0 33H4V31H0V33ZM12 33H20V31H12V33ZM28 33H36V31H28V33ZM44 33H52V31H44V33ZM60 33H68V31H60V33ZM76 33H84V31H76V33ZM92 33H100V31H92V33ZM108 33H116V31H108V33ZM124 33H132V31H124V33ZM140 33H148V31H140V33ZM156 33H164V31H156V33ZM172 33H180V31H172V33ZM188 33H196V31H188V33ZM204 33H208V31H204V33Z",fill:"#F8F8F8",mask:"url(#path-3-inside-2_2098_5511)"}),d.jsx("mask",{id:"path-5-inside-3_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 32H208V48H0V32Z"})}),d.jsx("path",{d:"M208 48.5C208.276 48.5 208.5 48.2761 208.5 48C208.5 47.7239 208.276 47.5 208 47.5V48.5ZM0 47.5C-0.276142 47.5 -0.5 47.7239 -0.5 48C-0.5 48.2761 -0.276142 48.5 0 48.5V47.5ZM4 48.5C4.27614 48.5 4.5 48.2761 4.5 48C4.5 47.7239 4.27614 47.5 4 47.5V48.5ZM12 47.5C11.7239 47.5 11.5 47.7239 11.5 48C11.5 48.2761 11.7239 48.5 12 48.5V47.5ZM20 48.5C20.2761 48.5 20.5 48.2761 20.5 48C20.5 47.7239 20.2761 47.5 20 47.5V48.5ZM28 47.5C27.7239 47.5 27.5 47.7239 27.5 48C27.5 48.2761 27.7239 48.5 28 48.5V47.5ZM36 48.5C36.2761 48.5 36.5 48.2761 36.5 48C36.5 47.7239 36.2761 47.5 36 47.5V48.5ZM44 47.5C43.7239 47.5 43.5 47.7239 43.5 48C43.5 48.2761 43.7239 48.5 44 48.5V47.5ZM52 48.5C52.2761 48.5 52.5 48.2761 52.5 48C52.5 47.7239 52.2761 47.5 52 47.5V48.5ZM60 47.5C59.7239 47.5 59.5 47.7239 59.5 48C59.5 48.2761 59.7239 48.5 60 48.5V47.5ZM68 48.5C68.2761 48.5 68.5 48.2761 68.5 48C68.5 47.7239 68.2761 47.5 68 47.5V48.5ZM76 47.5C75.7239 47.5 75.5 47.7239 75.5 48C75.5 48.2761 75.7239 48.5 76 48.5V47.5ZM84 48.5C84.2761 48.5 84.5 48.2761 84.5 48C84.5 47.7239 84.2761 47.5 84 47.5V48.5ZM92 47.5C91.7239 47.5 91.5 47.7239 91.5 48C91.5 48.2761 91.7239 48.5 92 48.5V47.5ZM100 48.5C100.276 48.5 100.5 48.2761 100.5 48C100.5 47.7239 100.276 47.5 100 47.5V48.5ZM108 47.5C107.724 47.5 107.5 47.7239 107.5 48C107.5 48.2761 107.724 48.5 108 48.5V47.5ZM116 48.5C116.276 48.5 116.5 48.2761 116.5 48C116.5 47.7239 116.276 47.5 116 47.5V48.5ZM124 47.5C123.724 47.5 123.5 47.7239 123.5 48C123.5 48.2761 123.724 48.5 124 48.5V47.5ZM132 48.5C132.276 48.5 132.5 48.2761 132.5 48C132.5 47.7239 132.276 47.5 132 47.5V48.5ZM140 47.5C139.724 47.5 139.5 47.7239 139.5 48C139.5 48.2761 139.724 48.5 140 48.5V47.5ZM148 48.5C148.276 48.5 148.5 48.2761 148.5 48C148.5 47.7239 148.276 47.5 148 47.5V48.5ZM156 47.5C155.724 47.5 155.5 47.7239 155.5 48C155.5 48.2761 155.724 48.5 156 48.5V47.5ZM164 48.5C164.276 48.5 164.5 48.2761 164.5 48C164.5 47.7239 164.276 47.5 164 47.5V48.5ZM172 47.5C171.724 47.5 171.5 47.7239 171.5 48C171.5 48.2761 171.724 48.5 172 48.5V47.5ZM180 48.5C180.276 48.5 180.5 48.2761 180.5 48C180.5 47.7239 180.276 47.5 180 47.5V48.5ZM188 47.5C187.724 47.5 187.5 47.7239 187.5 48C187.5 48.2761 187.724 48.5 188 48.5V47.5ZM196 48.5C196.276 48.5 196.5 48.2761 196.5 48C196.5 47.7239 196.276 47.5 196 47.5V48.5ZM204 47.5C203.724 47.5 203.5 47.7239 203.5 48C203.5 48.2761 203.724 48.5 204 48.5V47.5ZM0 48.5H4V47.5H0V48.5ZM12 48.5H20V47.5H12V48.5ZM28 48.5H36V47.5H28V48.5ZM44 48.5H52V47.5H44V48.5ZM60 48.5H68V47.5H60V48.5ZM76 48.5H84V47.5H76V48.5ZM92 48.5H100V47.5H92V48.5ZM108 48.5H116V47.5H108V48.5ZM124 48.5H132V47.5H124V48.5ZM140 48.5H148V47.5H140V48.5ZM156 48.5H164V47.5H156V48.5ZM172 48.5H180V47.5H172V48.5ZM188 48.5H196V47.5H188V48.5ZM204 48.5H208V47.5H204V48.5ZM208 49C208.552 49 209 48.5523 209 48C209 47.4477 208.552 47 208 47V49ZM0 47C-0.552285 47 -1 47.4477 -1 48C-1 48.5523 -0.552285 49 0 49V47ZM4 49C4.55228 49 5 48.5523 5 48C5 47.4477 4.55228 47 4 47V49ZM12 47C11.4477 47 11 47.4477 11 48C11 48.5523 11.4477 49 12 49V47ZM20 49C20.5523 49 21 48.5523 21 48C21 47.4477 20.5523 47 20 47V49ZM28 47C27.4477 47 27 47.4477 27 48C27 48.5523 27.4477 49 28 49V47ZM36 49C36.5523 49 37 48.5523 37 48C37 47.4477 36.5523 47 36 47V49ZM44 47C43.4477 47 43 47.4477 43 48C43 48.5523 43.4477 49 44 49V47ZM52 49C52.5523 49 53 48.5523 53 48C53 47.4477 52.5523 47 52 47V49ZM60 47C59.4477 47 59 47.4477 59 48C59 48.5523 59.4477 49 60 49V47ZM68 49C68.5523 49 69 48.5523 69 48C69 47.4477 68.5523 47 68 47V49ZM76 47C75.4477 47 75 47.4477 75 48C75 48.5523 75.4477 49 76 49V47ZM84 49C84.5523 49 85 48.5523 85 48C85 47.4477 84.5523 47 84 47V49ZM92 47C91.4477 47 91 47.4477 91 48C91 48.5523 91.4477 49 92 49V47ZM100 49C100.552 49 101 48.5523 101 48C101 47.4477 100.552 47 100 47V49ZM108 47C107.448 47 107 47.4477 107 48C107 48.5523 107.448 49 108 49V47ZM116 49C116.552 49 117 48.5523 117 48C117 47.4477 116.552 47 116 47V49ZM124 47C123.448 47 123 47.4477 123 48C123 48.5523 123.448 49 124 49V47ZM132 49C132.552 49 133 48.5523 133 48C133 47.4477 132.552 47 132 47V49ZM140 47C139.448 47 139 47.4477 139 48C139 48.5523 139.448 49 140 49V47ZM148 49C148.552 49 149 48.5523 149 48C149 47.4477 148.552 47 148 47V49ZM156 47C155.448 47 155 47.4477 155 48C155 48.5523 155.448 49 156 49V47ZM164 49C164.552 49 165 48.5523 165 48C165 47.4477 164.552 47 164 47V49ZM172 47C171.448 47 171 47.4477 171 48C171 48.5523 171.448 49 172 49V47ZM180 49C180.552 49 181 48.5523 181 48C181 47.4477 180.552 47 180 47V49ZM188 47C187.448 47 187 47.4477 187 48C187 48.5523 187.448 49 188 49V47ZM196 49C196.552 49 197 48.5523 197 48C197 47.4477 196.552 47 196 47V49ZM204 47C203.448 47 203 47.4477 203 48C203 48.5523 203.448 49 204 49V47ZM0 49H4V47H0V49ZM12 49H20V47H12V49ZM28 49H36V47H28V49ZM44 49H52V47H44V49ZM60 49H68V47H60V49ZM76 49H84V47H76V49ZM92 49H100V47H92V49ZM108 49H116V47H108V49ZM124 49H132V47H124V49ZM140 49H148V47H140V49ZM156 49H164V47H156V49ZM172 49H180V47H172V49ZM188 49H196V47H188V49ZM204 49H208V47H204V49Z",fill:"#F8F8F8",mask:"url(#path-5-inside-3_2098_5511)"}),d.jsx("mask",{id:"path-7-inside-4_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 48H208V64H0V48Z"})}),d.jsx("path",{d:"M208 64.5C208.276 64.5 208.5 64.2761 208.5 64C208.5 63.7239 208.276 63.5 208 63.5V64.5ZM0 63.5C-0.276142 63.5 -0.5 63.7239 -0.5 64C-0.5 64.2761 -0.276142 64.5 0 64.5V63.5ZM4 64.5C4.27614 64.5 4.5 64.2761 4.5 64C4.5 63.7239 4.27614 63.5 4 63.5V64.5ZM12 63.5C11.7239 63.5 11.5 63.7239 11.5 64C11.5 64.2761 11.7239 64.5 12 64.5V63.5ZM20 64.5C20.2761 64.5 20.5 64.2761 20.5 64C20.5 63.7239 20.2761 63.5 20 63.5V64.5ZM28 63.5C27.7239 63.5 27.5 63.7239 27.5 64C27.5 64.2761 27.7239 64.5 28 64.5V63.5ZM36 64.5C36.2761 64.5 36.5 64.2761 36.5 64C36.5 63.7239 36.2761 63.5 36 63.5V64.5ZM44 63.5C43.7239 63.5 43.5 63.7239 43.5 64C43.5 64.2761 43.7239 64.5 44 64.5V63.5ZM52 64.5C52.2761 64.5 52.5 64.2761 52.5 64C52.5 63.7239 52.2761 63.5 52 63.5V64.5ZM60 63.5C59.7239 63.5 59.5 63.7239 59.5 64C59.5 64.2761 59.7239 64.5 60 64.5V63.5ZM68 64.5C68.2761 64.5 68.5 64.2761 68.5 64C68.5 63.7239 68.2761 63.5 68 63.5V64.5ZM76 63.5C75.7239 63.5 75.5 63.7239 75.5 64C75.5 64.2761 75.7239 64.5 76 64.5V63.5ZM84 64.5C84.2761 64.5 84.5 64.2761 84.5 64C84.5 63.7239 84.2761 63.5 84 63.5V64.5ZM92 63.5C91.7239 63.5 91.5 63.7239 91.5 64C91.5 64.2761 91.7239 64.5 92 64.5V63.5ZM100 64.5C100.276 64.5 100.5 64.2761 100.5 64C100.5 63.7239 100.276 63.5 100 63.5V64.5ZM108 63.5C107.724 63.5 107.5 63.7239 107.5 64C107.5 64.2761 107.724 64.5 108 64.5V63.5ZM116 64.5C116.276 64.5 116.5 64.2761 116.5 64C116.5 63.7239 116.276 63.5 116 63.5V64.5ZM124 63.5C123.724 63.5 123.5 63.7239 123.5 64C123.5 64.2761 123.724 64.5 124 64.5V63.5ZM132 64.5C132.276 64.5 132.5 64.2761 132.5 64C132.5 63.7239 132.276 63.5 132 63.5V64.5ZM140 63.5C139.724 63.5 139.5 63.7239 139.5 64C139.5 64.2761 139.724 64.5 140 64.5V63.5ZM148 64.5C148.276 64.5 148.5 64.2761 148.5 64C148.5 63.7239 148.276 63.5 148 63.5V64.5ZM156 63.5C155.724 63.5 155.5 63.7239 155.5 64C155.5 64.2761 155.724 64.5 156 64.5V63.5ZM164 64.5C164.276 64.5 164.5 64.2761 164.5 64C164.5 63.7239 164.276 63.5 164 63.5V64.5ZM172 63.5C171.724 63.5 171.5 63.7239 171.5 64C171.5 64.2761 171.724 64.5 172 64.5V63.5ZM180 64.5C180.276 64.5 180.5 64.2761 180.5 64C180.5 63.7239 180.276 63.5 180 63.5V64.5ZM188 63.5C187.724 63.5 187.5 63.7239 187.5 64C187.5 64.2761 187.724 64.5 188 64.5V63.5ZM196 64.5C196.276 64.5 196.5 64.2761 196.5 64C196.5 63.7239 196.276 63.5 196 63.5V64.5ZM204 63.5C203.724 63.5 203.5 63.7239 203.5 64C203.5 64.2761 203.724 64.5 204 64.5V63.5ZM0 64.5H4V63.5H0V64.5ZM12 64.5H20V63.5H12V64.5ZM28 64.5H36V63.5H28V64.5ZM44 64.5H52V63.5H44V64.5ZM60 64.5H68V63.5H60V64.5ZM76 64.5H84V63.5H76V64.5ZM92 64.5H100V63.5H92V64.5ZM108 64.5H116V63.5H108V64.5ZM124 64.5H132V63.5H124V64.5ZM140 64.5H148V63.5H140V64.5ZM156 64.5H164V63.5H156V64.5ZM172 64.5H180V63.5H172V64.5ZM188 64.5H196V63.5H188V64.5ZM204 64.5H208V63.5H204V64.5ZM208 65C208.552 65 209 64.5523 209 64C209 63.4477 208.552 63 208 63V65ZM0 63C-0.552285 63 -1 63.4477 -1 64C-1 64.5523 -0.552285 65 0 65V63ZM4 65C4.55228 65 5 64.5523 5 64C5 63.4477 4.55228 63 4 63V65ZM12 63C11.4477 63 11 63.4477 11 64C11 64.5523 11.4477 65 12 65V63ZM20 65C20.5523 65 21 64.5523 21 64C21 63.4477 20.5523 63 20 63V65ZM28 63C27.4477 63 27 63.4477 27 64C27 64.5523 27.4477 65 28 65V63ZM36 65C36.5523 65 37 64.5523 37 64C37 63.4477 36.5523 63 36 63V65ZM44 63C43.4477 63 43 63.4477 43 64C43 64.5523 43.4477 65 44 65V63ZM52 65C52.5523 65 53 64.5523 53 64C53 63.4477 52.5523 63 52 63V65ZM60 63C59.4477 63 59 63.4477 59 64C59 64.5523 59.4477 65 60 65V63ZM68 65C68.5523 65 69 64.5523 69 64C69 63.4477 68.5523 63 68 63V65ZM76 63C75.4477 63 75 63.4477 75 64C75 64.5523 75.4477 65 76 65V63ZM84 65C84.5523 65 85 64.5523 85 64C85 63.4477 84.5523 63 84 63V65ZM92 63C91.4477 63 91 63.4477 91 64C91 64.5523 91.4477 65 92 65V63ZM100 65C100.552 65 101 64.5523 101 64C101 63.4477 100.552 63 100 63V65ZM108 63C107.448 63 107 63.4477 107 64C107 64.5523 107.448 65 108 65V63ZM116 65C116.552 65 117 64.5523 117 64C117 63.4477 116.552 63 116 63V65ZM124 63C123.448 63 123 63.4477 123 64C123 64.5523 123.448 65 124 65V63ZM132 65C132.552 65 133 64.5523 133 64C133 63.4477 132.552 63 132 63V65ZM140 63C139.448 63 139 63.4477 139 64C139 64.5523 139.448 65 140 65V63ZM148 65C148.552 65 149 64.5523 149 64C149 63.4477 148.552 63 148 63V65ZM156 63C155.448 63 155 63.4477 155 64C155 64.5523 155.448 65 156 65V63ZM164 65C164.552 65 165 64.5523 165 64C165 63.4477 164.552 63 164 63V65ZM172 63C171.448 63 171 63.4477 171 64C171 64.5523 171.448 65 172 65V63ZM180 65C180.552 65 181 64.5523 181 64C181 63.4477 180.552 63 180 63V65ZM188 63C187.448 63 187 63.4477 187 64C187 64.5523 187.448 65 188 65V63ZM196 65C196.552 65 197 64.5523 197 64C197 63.4477 196.552 63 196 63V65ZM204 63C203.448 63 203 63.4477 203 64C203 64.5523 203.448 65 204 65V63ZM0 65H4V63H0V65ZM12 65H20V63H12V65ZM28 65H36V63H28V65ZM44 65H52V63H44V65ZM60 65H68V63H60V65ZM76 65H84V63H76V65ZM92 65H100V63H92V65ZM108 65H116V63H108V65ZM124 65H132V63H124V65ZM140 65H148V63H140V65ZM156 65H164V63H156V65ZM172 65H180V63H172V65ZM188 65H196V63H188V65ZM204 65H208V63H204V65Z",fill:"#F8F8F8",mask:"url(#path-7-inside-4_2098_5511)"}),d.jsx("path",{opacity:"0.25",d:"M188.216 21.8308L192.267 33.3363C192.984 35.3729 195.553 36.0079 197.136 34.5401L200.346 31.5644C200.704 31.2324 200.976 30.8179 201.137 30.357L202.893 25.3492L207.891 8.63898C207.962 8.40249 207.998 8.15696 207.998 7.91011V61C207.998 62.6569 206.655 64 204.998 64H2.99805C1.34119 64 -0.00195312 62.6569 -0.00195312 61V38.199C-0.00195312 37.5477 0.209976 36.9142 0.601822 36.394L4.07924 31.7775C5.46086 29.9434 8.30679 30.2781 9.22513 32.3828L13.7407 42.7321C14.1196 43.6005 14.8865 44.2389 15.8092 44.454L20.4905 45.5454C21.1539 45.7 21.8501 45.6244 22.4647 45.3308L27.6593 42.8495C28.3218 42.533 28.8452 41.9846 29.1305 41.3081L33.0958 31.9045C34.1272 29.4587 37.593 29.4587 38.6244 31.9045L39.704 34.4648C40.8065 37.0793 44.5863 36.8438 45.3559 34.1128L49.5889 19.0897C49.9533 17.7966 51.133 16.9033 52.4765 16.9033H56.4941C57.0707 16.9033 57.6351 16.7372 58.1197 16.4247L61.1576 14.466C62.8476 13.3764 65.11 14.2251 65.6662 16.1575L70.599 33.2936C71.1572 35.2328 73.4323 36.079 75.122 34.9758L75.9273 34.45C77.4802 33.4361 79.5719 34.0601 80.3156 35.7591L84.8676 46.1586C85.5306 47.6733 87.2942 48.366 88.8108 47.7074L91.9453 46.3462C92.765 45.9903 93.3833 45.2875 93.632 44.4292L99.0729 25.6458C99.6874 23.5244 102.321 22.7938 103.941 24.2955C105.587 25.8222 108.267 25.0377 108.831 22.864L112.541 8.54954C113.26 5.77543 117.087 5.49227 118.207 8.13037L120.305 13.0767C121.105 14.9603 123.513 15.5086 125.049 14.1567L125.58 13.6896C127.224 12.2425 129.814 12.9875 130.438 15.0869L134.329 28.1818C135.073 30.6853 138.439 31.1086 139.779 28.8673L142.671 24.0333C143.159 23.2175 144.004 22.6813 144.95 22.5878L149.822 22.1065C150.344 22.0549 150.843 21.8672 151.271 21.5621L154.984 18.9089C156.467 17.8494 158.544 18.346 159.388 19.9617L161.285 23.5972C162.565 26.0491 166.199 25.6102 166.858 22.9241L169.511 12.1165C170.239 9.14844 174.421 9.04274 175.298 11.9702L177.723 20.0592C178.406 22.3382 181.343 22.9532 182.883 21.1398L183.099 20.8852C184.598 19.1202 187.447 19.6467 188.216 21.8308Z",fill:"url(#paint0_linear_2098_5511)"}),d.jsx("path",{d:"M207.998 8.42336L201.106 31.2146C200.924 31.8169 200.557 32.3467 200.057 32.729L196.94 35.1136C195.319 36.3534 192.96 35.6482 192.286 33.7223L188.181 22.0024C187.422 19.8338 184.606 19.289 183.092 21.0179L182.846 21.2991C181.3 23.0654 178.416 22.4516 177.723 20.2087L175.29 12.336C174.395 9.4396 170.259 9.54691 169.515 12.4858L166.857 22.9946C166.185 25.6477 162.603 26.0903 161.306 23.6803L159.382 20.1042C158.534 18.5278 156.503 18.0404 155.031 19.0601L151.262 21.6725C150.84 21.9649 150.35 22.1442 149.839 22.1931L144.931 22.6636C143.996 22.7532 143.157 23.2757 142.664 24.0754L139.754 28.7942C138.4 30.9907 135.088 30.5657 134.332 28.0982L130.441 15.3948C129.808 13.3298 127.267 12.5895 125.624 13.9921L125.005 14.5209C123.474 15.8283 121.115 15.2863 120.308 13.4417L118.191 8.60225C117.054 6.00226 113.277 6.28847 112.544 9.03014L108.848 22.8647C108.27 25.0292 105.606 25.8158 103.94 24.3175V24.3175C102.303 22.8447 99.6856 23.5762 99.0555 25.6864L93.6445 43.8072C93.388 44.6663 92.7608 45.3656 91.9346 45.7136L88.763 47.0496C87.2632 47.6814 85.5332 47.0022 84.8638 45.5188L80.3156 35.4387C79.5653 33.7759 77.517 33.1621 75.9758 34.1381L75.0745 34.709C73.393 35.774 71.1595 34.9362 70.5933 33.028L65.672 16.4433C65.1078 14.5419 62.8867 13.7015 61.2051 14.7533L58.1073 16.6909C57.6303 16.9892 57.079 17.1474 56.5164 17.1474H52.4575C51.123 17.1474 49.9489 18.029 49.5766 19.3106L45.3511 33.8582C44.5676 36.5556 40.8386 36.7934 39.7188 34.2174L38.6114 31.6698C37.5658 29.2644 34.1544 29.2644 33.1088 31.6698L29.1425 40.7941C28.8495 41.4681 28.3193 42.0111 27.6525 42.3201L22.4421 44.7345C21.8411 45.0129 21.165 45.0847 20.519 44.9386L15.803 43.872C14.8836 43.6641 14.1154 43.0362 13.7288 42.1765L9.21662 32.1447C8.28874 30.0817 5.49845 29.7487 4.11113 31.5353L-0.00196201 36.8322",stroke:"#FF3F19"})]}),d.jsxs("defs",{children:[d.jsxs("linearGradient",{id:"paint0_linear_2098_5511",x1:"103.998",y1:"0",x2:"103.998",y2:"64",gradientUnits:"userSpaceOnUse",children:[d.jsx("stop",{stopColor:"#FF3F19"}),d.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),d.jsx("clipPath",{id:"clip0_2098_5511",children:d.jsx("rect",{width:"208",height:"64",fill:"white"})})]})]})}),hw=({adaptiveStyles:e})=>{const[t,n]=_.useState(null),[o,i]=_.useState(!1),[a,s]=_.useState(!1),[l,c]=_.useState(!1);if(_.useEffect(()=>{i(!0),s(!0),(async()=>{const m=await Xy();n(m)})(),i(!1),s(!1)},[]),!t)return d.jsx(qn,{});const{isAvailable:u,isActivated:h,info:f}=t.data;return u?d.jsxs("div",{children:[d.jsxs("div",{className:ge(Oe.referral,{[Oe.mobile]:e!=="desktop"}),children:[d.jsx("div",{className:ge(Oe.referralBlock,{[Oe.mobile]:e!=="desktop"}),children:o?d.jsx(mw,{adaptiveStyles:e}):d.jsxs("div",{className:Oe.referralContainer,children:[d.jsx("div",{id:"h2",className:Oe.title,children:"Refer friends"}),d.jsx("div",{className:Oe.description,id:"lg",children:"Refer friends. Earn rewards. Make bank."}),h?d.jsx(d.Fragment,{children:d.jsx(pw,{referral:t})}):d.jsx(d.Fragment,{children:d.jsx(fw,{setIsOpen:c})})]})}),a?d.jsx("div",{className:Oe.referralStats}):d.jsxs("div",{className:ge(Oe.referralStats,{[Oe.mobile]:e!=="desktop"}),children:[d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Referrals"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:f!=null&&f.totalReferrals?`${f.totalReferrals} person`:"-"}),d.jsx(es,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earned"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:"-"}),d.jsx(es,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Total Revenue"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:Pn({amount:(f==null?void 0:f.totalRevenueUsd)||0})}),d.jsx(es,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earn Procent"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:`${t.data.earnPercent}%`||"-"}),d.jsx(es,{})]})]})]}),l&&d.jsx(cl,{close:()=>c(!1),children:d.jsx(dw,{setIsOpen:c,setIsLoading:i})})]}):null},fw=({setIsOpen:e})=>{const{setIsOpen:t}=$r();return d.jsxs("div",{className:Oe.steps,onClick:n=>n.stopPropagation(),children:[d.jsx(_t,{type:"Primary",className:Oe.joinButton,onClick:()=>{e(!0),t(!0)},children:"Join the referral Program"}),d.jsx("div",{children:NC.map(({caption:n,description:o},i,a)=>d.jsx(uw,{caption:n,description:o,index:i+1,bar:i+1!==a.length},n))})]})},pw=({referral:e})=>{var a,s;const{shopDomain:t}=uo(),n=`https://${t}/?r=${(a=e.data.info)==null?void 0:a.referralCode}`,{notifications:o,setNotifications:i}=cn();return d.jsxs("div",{className:Oe.referralInfo,children:[d.jsx(Ro,{onChange:()=>{},label:"Affiliate Code",value:((s=e.data.info)==null?void 0:s.referralCode)||"",disabled:!0}),d.jsx("div",{className:Oe.linkContainer,children:d.jsx(Ro,{onChange:()=>{},label:"Affiliate Link",value:n,disabled:!0,rightIcon:d.jsx(ie,{name:"Copy",fill:"var(--text-action)",onClick:()=>{navigator.clipboard.writeText(n),i([...o,{message:"Link copied to clipboard",status:"success",id:pt()}])},hoverable:!0})})})]})},mw=({adaptiveStyles:e})=>d.jsxs(ka,{speed:2,width:500,height:"100%",viewBox:"0 0 500 305",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(Oe.skeleton,{[Oe.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:[d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"264",height:"40"}),d.jsx("rect",{x:"0",y:"45",rx:"10",ry:"10",width:"160",height:"24"}),d.jsx("rect",{x:"0",y:"100",rx:"10",ry:"10",width:"100",height:"40"}),d.jsx("rect",{x:"0",y:"150",rx:"10",ry:"10",width:"476",height:"40"}),d.jsx("rect",{x:"0",y:"220",rx:"10",ry:"10",width:"428",height:"50"})]}),gw="_title_u8oqs_1",Iw="_heading_u8oqs_10",Cw="_description_u8oqs_15",Ql={title:gw,heading:Iw,description:Cw},La=({title:e,description:t})=>d.jsxs("div",{className:Ql.title,children:[d.jsx("div",{id:"h3",className:Ql.heading,children:e}),t&&d.jsx("div",{className:Ql.description,id:"lg",children:t})]}),bw="_noItemsBlock_yefnm_4",Sw="_noItemsBlockIcon_yefnm_13",yw="_noItemsBlockTitle_yefnm_21",Ew="_noItemsBlockDescription_yefnm_31",Tw="_centered_yefnm_37",Pi={noItemsBlock:bw,noItemsBlockIcon:Sw,noItemsBlockTitle:yw,noItemsBlockDescription:Ew,centered:Tw},Na=({title:e,description:t,className:n,centered:o=!1})=>d.jsxs("div",{className:ge(Pi.noItemsBlock,n,{[Pi.centered]:o}),children:[d.jsx("div",{className:Pi.noItemsBlockIcon,children:d.jsx(ie,{name:"Info",fill:"var(--text-secondary)"})}),d.jsx("div",{className:Pi.noItemsBlockTitle,id:"h4",children:e}),d.jsx("div",{className:Pi.noItemsBlockDescription,id:"md",children:t})]}),xw="_ordersTable_1btyq_2",_w="_gatewayItem_1btyq_10",ww="_gatewayIcon_1btyq_15",vw="_orderTime_1btyq_20",Aw="_reviewContainer_1btyq_25",kw="_reviewRating_1btyq_35",Lw="_tableLoader_1btyq_39",Nw="_tableItem_1btyq_48",Hn={ordersTable:xw,gatewayItem:_w,gatewayIcon:ww,orderTime:vw,reviewContainer:Aw,reviewRating:kw,tableLoader:Lw,tableItem:Nw};var Ao=(e=>(e[e.SUCCESS=1]="SUCCESS",e[e.WARNING=2]="WARNING",e[e.ERROR=3]="ERROR",e))(Ao||{});const Pw={[Ge.New]:2,[Ge.Pending]:2,[Ge.Completed]:1,[Ge.Cancelled]:3,[Ge.Expired]:3,[Ge.FullDeliveryFailure]:3,[Ge.PartiallyDelivered]:2,[Ge.Refunded]:1,[Ge.Failed]:3},Rw=(e,t)=>{const n=t.find(o=>o.name===e);return n?d.jsxs("div",{className:Hn.gatewayItem,children:[(n==null?void 0:n.name)==="ForebitPayments"?d.jsx(k0,{}):d.jsx("img",{alt:n.displayName,src:er(n.logoCfImageId),className:Hn.gatewayIcon}),d.jsx("div",{id:"md",children:n.displayName})]}):null},Dw=({item:e,gatewaysDetail:t})=>{const[n,o]=ca(e.time),{isAntistock:i}=mt();return d.jsxs(_.Fragment,{children:[d.jsx(un,{copyText:e.id,children:d.jsx(As,{to:`/orders/${e.id}/${e.accessToken}`,id:"md",children:e.id})}),d.jsx(un,{children:d.jsx(As,{to:`/orders/${e.id}/${e.accessToken}`,children:d.jsx(iv,{status:e.status,variant:Pw[e.status]})})}),d.jsx(un,{children:Pn(e.price)}),d.jsx(un,{children:Rw(e.gatewayName,t)}),d.jsx(un,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:Hn.orderTime,id:"md",children:o})]})}),!i&&d.jsx(un,{children:e.review?d.jsxs("div",{className:Hn.reviewContainer,children:[d.jsx(ie,{name:"Star",fill:"var(--text-secondary)"}),d.jsx("div",{className:Hn.reviewRating,id:"md",children:e.review.rating})]}):d.jsx("span",{id:"md",children:"None"})})]},e.id)},Ow=({orders:e,gatewaysDetail:t,totalCount:n,isLoading:o})=>{const{page:i,setPage:a}=Ta(),{isAntistock:s}=mt(),c=!(!(e!=null&&e.length)||!t)&&e.length>0;return d.jsxs("div",{className:Hn.ordersTable,children:[d.jsxs(Qu,{children:[d.jsx(Cn,{className:Hn.tableItem,children:"Invoice ID"}),d.jsx(Cn,{className:Hn.tableItem,children:"Status"}),d.jsx(Cn,{className:Hn.tableItem,children:"Value"}),d.jsx(Cn,{className:Hn.tableItem,children:"Payment"}),d.jsx(Cn,{className:Hn.tableItem,children:"Date"}),!s&&d.jsx(Cn,{className:Hn.tableItem,children:"Review"}),c&&!o&&e.map(u=>d.jsx(Dw,{item:u,gatewaysDetail:t},u.id))]}),(!c||o)&&d.jsx("div",{className:Hn.tableLoader,children:d.jsx(qn,{})}),c&&!o&&d.jsx(hl,{currentPage:i,totalCount:n,onPageChange:a})]})},Mw="_antistockTable_12ftg_4",Bw="_table_12ftg_4",Fw="_tableItem_12ftg_18",Hw="_text_12ftg_31",jw="_tableItemTitle_12ftg_38",fa={antistockTable:Mw,table:Bw,tableItem:Fw,text:Hw,tableItemTitle:jw},un=({children:e,className:t,onClick:n,copyText:o,id:i})=>{const a=ll();return d.jsxs("div",{className:ge(fa.tableItem,t),onClick:n,style:{cursor:n?"pointer":"default"},children:[d.jsx("span",{className:fa.text,id:i||"md",children:e})," ",o&&d.jsx("div",{style:{minWidth:"24px"},children:d.jsx(ie,{name:"Copy",hoverable:!0,onClick:()=>a(o),width:24,height:24})})]})},Cn=({children:e,className:t})=>d.jsx(un,{className:ge(fa.tableItemTitle,t),id:"lg",children:e}),Qu=({children:e,className:t})=>{const{isAntistock:n}=mt();return d.jsx("div",{className:ge(t,n?fa.antistockTable:fa.table),children:e})},Uw="_paginationContainer_pt4l5_4",Vw="_paginationWithRange_pt4l5_16",zw="_paginationWithRangeText_pt4l5_33",$w="_paginationWithRangePagination_pt4l5_45",bs={paginationContainer:Uw,paginationWithRange:Vw,paginationWithRangeText:zw,paginationWithRangePagination:$w},ts=(e,t)=>Array.from({length:t-e+1},(n,o)=>e+o),Ww=(e,t,n)=>{const o=n*2+3+2;if(t<=o)return ts(1,t);const i=Math.max(e-n,1),a=Math.min(e+n,t),s=i>2,l=a<t-2;return!s&&l?[...ts(1,3+2*n),"right-ellipsis",t]:s&&!l?[1,"left-ellipsis",...ts(t-(3+2*n)+1,t)]:[1,"left-ellipsis",...ts(i,a),"right-ellipsis",t]},qw=({currentPage:e,totalPages:t,onPageChange:n,siblingCount:o=1})=>{const i=c=>{const u=o*2+1;n(c?Math.max(e-u,1):Math.min(e+u,t))},a=e===1,s=e===t,l=c=>d.jsx(_t,{type:typeof c=="number"&&c===e?"Primary":"Secondary",onClick:()=>typeof c=="string"?i(c==="left-ellipsis"):n(c),"aria-current":typeof c=="number"&&c===e?"page":void 0,children:typeof c=="string"?"…":c},c);return d.jsxs("div",{className:bs.paginationContainer,children:[d.jsx(_t,{type:"Secondary",onClick:()=>!a&&n(e-1),disabled:a,children:d.jsx(ie,{name:"ArrowLeft"})}),Ww(e,t,o).map(l),d.jsx(_t,{type:"Secondary",onClick:()=>!s&&n(e+1),disabled:s,children:d.jsx(ie,{name:"ArrowRight"})})]})},Gw=(e,t,n)=>{const o=(e-1)*n+1,i=Math.min(e*n,t);return`Showing ${o}-${i} entries of ${t}`},hl=({className:e,totalCount:t,...n})=>{const o=Math.ceil(t/qc);return o<2?null:d.jsxs("div",{className:`${bs.paginationWithRange} ${e}`,children:[d.jsx("div",{className:bs.paginationWithRangeText,id:"md",children:Gw(n.currentPage,t,qc)}),d.jsx("div",{className:bs.paginationWithRangePagination,children:d.jsx(qw,{...n,totalPages:o})})]})},Yw="_statusIndicator_bvd17_4",Zw="_antistockStatus_bvd17_11",Xw="_statusIndicatorSuccess_bvd17_16",Kw="_statusIndicatorWarning_bvd17_20",Qw="_statusIndicatorError_bvd17_24",Jw="_statusIndicatorText_bvd17_28",Qo={statusIndicator:Yw,antistockStatus:Zw,statusIndicatorSuccess:Xw,statusIndicatorWarning:Kw,statusIndicatorError:Qw,statusIndicatorText:Jw},ev=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.2105 5.91453C11.2628 5.96677 11.3043 6.02881 11.3326 6.0971C11.3609 6.16538 11.3754 6.23858 11.3754 6.3125C11.3754 6.38642 11.3609 6.45962 11.3326 6.5279C11.3043 6.59619 11.2628 6.65823 11.2105 6.71047L7.27297 10.648C7.22073 10.7003 7.15869 10.7418 7.09041 10.7701C7.02212 10.7984 6.94892 10.8129 6.875 10.8129C6.80108 10.8129 6.72789 10.7984 6.6596 10.7701C6.59131 10.7418 6.52928 10.7003 6.47703 10.648L4.78953 8.96047C4.68399 8.85492 4.62469 8.71177 4.62469 8.5625C4.62469 8.41323 4.68399 8.27008 4.78953 8.16453C4.89508 8.05898 5.03824 7.99969 5.1875 7.99969C5.33677 7.99969 5.47992 8.05898 5.58547 8.16453L6.875 9.45477L10.4145 5.91453C10.4668 5.86223 10.5288 5.82074 10.5971 5.79244C10.6654 5.76413 10.7386 5.74956 10.8125 5.74956C10.8864 5.74956 10.9596 5.76413 11.0279 5.79244C11.0962 5.82074 11.1582 5.86223 11.2105 5.91453ZM15.3125 8C15.3125 9.44628 14.8836 10.8601 14.0801 12.0626C13.2766 13.2651 12.1346 14.2024 10.7984 14.7559C9.46219 15.3093 7.99189 15.4541 6.57341 15.172C5.15492 14.8898 3.85196 14.1934 2.82928 13.1707C1.80661 12.148 1.11017 10.8451 0.828011 9.4266C0.545857 8.00811 0.690668 6.53781 1.24413 5.20163C1.7976 3.86544 2.73486 2.72339 3.9374 1.91988C5.13993 1.11637 6.55373 0.6875 8 0.6875C9.93877 0.689547 11.7975 1.46063 13.1685 2.83154C14.5394 4.20246 15.3105 6.06123 15.3125 8ZM14.1875 8C14.1875 6.77623 13.8246 5.57994 13.1447 4.56241C12.4648 3.54488 11.4985 2.75181 10.3679 2.2835C9.23724 1.81518 7.99314 1.69264 6.79288 1.93139C5.59262 2.17014 4.49012 2.75944 3.62478 3.62478C2.75944 4.49011 2.17014 5.59262 1.93139 6.79288C1.69265 7.99314 1.81518 9.23724 2.2835 10.3679C2.75182 11.4985 3.54488 12.4648 4.56241 13.1447C5.57994 13.8246 6.77623 14.1875 8 14.1875C9.64046 14.1856 11.2132 13.5331 12.3732 12.3732C13.5331 11.2132 14.1856 9.64046 14.1875 8Z",fill:"#338B13"})}),tv=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M8 0.6875C6.55373 0.6875 5.13993 1.11637 3.9374 1.91988C2.73486 2.72339 1.7976 3.86544 1.24413 5.20163C0.690668 6.53781 0.545857 8.00811 0.828011 9.4266C1.11017 10.8451 1.80661 12.148 2.82928 13.1707C3.85196 14.1934 5.15492 14.8898 6.57341 15.172C7.99189 15.4541 9.46219 15.3093 10.7984 14.7559C12.1346 14.2024 13.2766 13.2651 14.0801 12.0626C14.8836 10.8601 15.3125 9.44628 15.3125 8C15.3105 6.06123 14.5394 4.20246 13.1685 2.83154C11.7975 1.46063 9.93877 0.689547 8 0.6875ZM8 14.1875C6.77623 14.1875 5.57994 13.8246 4.56241 13.1447C3.54488 12.4648 2.75182 11.4985 2.2835 10.3679C1.81518 9.23724 1.69265 7.99314 1.93139 6.79288C2.17014 5.59262 2.75944 4.49011 3.62478 3.62478C4.49012 2.75944 5.59262 2.17014 6.79288 1.93139C7.99314 1.69264 9.23724 1.81518 10.3679 2.2835C11.4985 2.75181 12.4648 3.54488 13.1447 4.56241C13.8246 5.57994 14.1875 6.77623 14.1875 8C14.1856 9.64046 13.5331 11.2132 12.3732 12.3732C11.2132 13.5331 9.64046 14.1856 8 14.1875ZM12.5 8C12.5 8.14918 12.4407 8.29226 12.3353 8.39775C12.2298 8.50324 12.0867 8.5625 11.9375 8.5625H8C7.85082 8.5625 7.70775 8.50324 7.60226 8.39775C7.49677 8.29226 7.4375 8.14918 7.4375 8V4.0625C7.4375 3.91332 7.49677 3.77024 7.60226 3.66475C7.70775 3.55926 7.85082 3.5 8 3.5C8.14919 3.5 8.29226 3.55926 8.39775 3.66475C8.50324 3.77024 8.5625 3.91332 8.5625 4.0625V7.4375H11.9375C12.0867 7.4375 12.2298 7.49676 12.3353 7.60225C12.4407 7.70774 12.5 7.85082 12.5 8Z",fill:"#C1972A"})}),nv=()=>d.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M9 17.0625C4.5525 17.0625 0.9375 13.4475 0.9375 9C0.9375 4.5525 4.5525 0.9375 9 0.9375C13.4475 0.9375 17.0625 4.5525 17.0625 9C17.0625 13.4475 13.4475 17.0625 9 17.0625ZM9 2.0625C5.175 2.0625 2.0625 5.175 2.0625 9C2.0625 12.825 5.175 15.9375 9 15.9375C12.825 15.9375 15.9375 12.825 15.9375 9C15.9375 5.175 12.825 2.0625 9 2.0625Z",fill:"#C12A2A"}),d.jsx("path",{d:"M6.87752 11.685C6.73502 11.685 6.59252 11.6325 6.48002 11.52C6.26252 11.3025 6.26252 10.9425 6.48002 10.725L10.725 6.48C10.9425 6.2625 11.3025 6.2625 11.52 6.48C11.7375 6.6975 11.7375 7.0575 11.52 7.275L7.27502 11.52C7.17002 11.6325 7.02002 11.685 6.87752 11.685Z",fill:"#C12A2A"}),d.jsx("path",{d:"M11.1225 11.685C10.98 11.685 10.8375 11.6325 10.725 11.52L6.48002 7.275C6.26252 7.0575 6.26252 6.6975 6.48002 6.48C6.69752 6.2625 7.05752 6.2625 7.27502 6.48L11.52 10.725C11.7375 10.9425 11.7375 11.3025 11.52 11.52C11.4075 11.6325 11.265 11.685 11.1225 11.685Z",fill:"#C12A2A"})]}),rv={[Ao.SUCCESS]:ev,[Ao.WARNING]:tv,[Ao.ERROR]:nv},ov={[Ao.SUCCESS]:Qo.statusIndicatorSuccess,[Ao.WARNING]:Qo.statusIndicatorWarning,[Ao.ERROR]:Qo.statusIndicatorError},iv=({status:e,variant:t})=>{const{isAntistock:n}=mt(),o=rv[t];return d.jsxs("div",{className:ge(Qo.statusIndicator,ov[t],{[Qo.antistockStatus]:n}),children:[d.jsx(o,{}),d.jsx("span",{className:Qo.statusIndicatorText,id:"md",children:e})]})},av="_deliveryItem_1x3fg_1",sv="_deliveryItemText_1x3fg_10",Xi={deliveryItem:av,deliveryItemText:sv},eu={[at.Text]:"View",[at.Serial]:"View",[at.Ebook]:"View",[at.Link]:"Visit",[at.Download]:"",[at.Custom]:"View",[at.Discord]:"Access"},tu={[at.Text]:"Content",[at.Serial]:"Content",[at.Ebook]:"Ebook",[at.Link]:"Link",[at.Download]:"Download",[at.Custom]:"Content",[at.Discord]:"Discord"},tm={[at.Text]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Serial]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Ebook]:d.jsx(ie,{name:"BookOpen",fill:"var(--text-secondary)"}),[at.Link]:d.jsx(ie,{name:"ArrowLineUpRight",fill:"var(--text-secondary)"}),[at.Download]:d.jsx(ie,{name:"DownloadSimple",fill:"var(--text-secondary)"}),[at.Custom]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Discord]:d.jsx(ie,{name:"DiscordLogo",fill:"var(--text-secondary)"})},lv=({deliveryConfiguration:e})=>{const t=e.type;return t===at.Text||t===at.Custom||t===at.Serial||t===at.Discord?d.jsx(cv,{deliveryConfiguration:e}):d.jsx(uv,{deliveryConfiguration:e})},cv=({deliveryConfiguration:e})=>{const t=e.type,[n,o]=_.useState(!1),{setIsOpen:i}=$r(),{isAntistock:a}=mt(),s=()=>{i(!0),o(!0)};return d.jsxs(d.Fragment,{children:[a?d.jsx(_t,{type:"Secondary",onClick:l=>{l.stopPropagation(),s()},children:d.jsx("p",{className:Xi.deliveryItemText,children:e.customName??`${eu[t]} ${tu[t]}`})}):d.jsxs(_t,{type:"Secondary",className:Xi.deliveryItem,onClick:l=>{l.stopPropagation(),s()},children:[tm[t],d.jsx("p",{className:Xi.deliveryItemText,children:e.customName??`${eu[t]} ${tu[t]}`})]}),n&&d.jsx(cl,{close:()=>o(!1),withAnimation:!a,children:d.jsx(lF,{deliveryConfiguration:e,setIsOpen:o})})]})},uv=({deliveryConfiguration:e})=>{const t=e.type;return d.jsxs("div",{className:Xi.deliveryItem,onClick:()=>window.open(e.deliveryItems[0].textData,"_blank"),children:[tm[t],d.jsx("p",{className:Xi.deliveryItemText,children:e.customName??`${eu[t]} ${tu[t]}`})]})},dv="_paymentMethod_1it0n_3",hv="_selected_1it0n_16",fv="_alignColumn_1it0n_19",pv="_reversed_1it0n_25",mv="_antistock_1it0n_29",gv="_paymentText_1it0n_36",Iv="_balanceText_1it0n_50",Cv="_signInLink_1it0n_54",bv="_iconContainer_1it0n_63",Sv="_gatewayLogo_1it0n_76",yv="_poweredByLogo_1it0n_77",Ev="_logo_1it0n_82",Dt={paymentMethod:dv,selected:hv,alignColumn:fv,reversed:pv,antistock:mv,paymentText:gv,balanceText:Iv,signInLink:Cv,iconContainer:bv,gatewayLogo:Sv,poweredByLogo:yv,logo:Ev};var xt=(e=>(e.BankCard="BANK_CARD",e.BankTransfer="BANK_TRANSFER",e.PayPal="PAYPAL",e.CashApp="CASHAPP",e.Crypto="CRYPTO",e.AppleGooglePay="APPLE_AND_GOOGLE_PAY",e.Custom="CUSTOM",e))(xt||{});const Tv={[xt.CashApp]:d.jsx(N0,{}),[xt.AppleGooglePay]:d.jsx(R0,{}),[xt.BankCard]:d.jsx(L0,{}),[xt.Crypto]:d.jsx(A0,{}),[xt.PayPal]:d.jsx(P0,{}),[xt.Custom]:d.jsx("div",{}),[xt.BankTransfer]:d.jsx(D0,{})},xv={[xt.CashApp]:d.jsx(N0,{isAntistock:!0}),[xt.AppleGooglePay]:d.jsx(R0,{isAntistock:!0}),[xt.BankCard]:d.jsx(L0,{isAntistock:!0}),[xt.Crypto]:d.jsx(A0,{isAntistock:!0}),[xt.PayPal]:d.jsx(P0,{}),[xt.Custom]:d.jsx("div",{}),[xt.BankTransfer]:d.jsx(D0,{isAntistock:!0})},sh={[xt.CashApp]:"Cash App",[xt.AppleGooglePay]:"Apple Pay / Google Pay",[xt.BankCard]:"Debit / Credit Card",[xt.Crypto]:"Cryptocurrency",[xt.PayPal]:"PayPal",[xt.Custom]:"",[xt.BankTransfer]:"Bank Transfer"},_v=({align:e,paymentMethod:t,gatewayDisplayName:n,gatewayLogoCfId:o,poweredByLogoCfId:i,selected:a,onSelect:s,className:l,isAntistock:c=!1})=>{const u=t===xt.Custom;return t?d.jsx("div",{className:ge(Dt.paymentMethod,{[Dt.selected]:a,[Dt.alignColumn]:e==="column",[Dt.antistock]:c},l),onClick:()=>s&&s(t),children:c?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Dt.paymentText,id:"md",children:u?n:sh[t]}),d.jsxs("div",{className:Dt.iconContainer,children:[u?d.jsx("div",{className:Dt.gatewayLogo,children:d.jsx("img",{className:Dt.logo,src:er(o),alt:n})}):xv[t],i&&d.jsx("div",{className:Dt.poweredByLogo,children:d.jsx("img",{className:Dt.logo,src:er(i),alt:n})})]})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Dt.paymentText,id:"md",children:u?n:sh[t]}),d.jsxs("div",{className:Dt.iconContainer,children:[u?d.jsx("div",{className:Dt.gatewayLogo,children:d.jsx("img",{className:Dt.logo,src:er(o),alt:n})}):Tv[t],i&&d.jsx("div",{className:Dt.poweredByLogo,children:d.jsx("img",{className:Dt.logo,src:er(i),alt:n})})]})]})}):d.jsxs("div",{className:ge(Dt.paymentMethod,l),children:[d.jsx("div",{className:Dt.gatewayLogo,children:d.jsx("img",{className:Dt.logo,src:er(o),alt:n})}),d.jsx("p",{className:Dt.paymentText,children:n})]})},wv="_container_r8mpd_1",vv="_text_r8mpd_9",Av="_link_r8mpd_14",Ri={container:wv,text:vv,link:Av};function lh(e){const t=[],n=String(e||"");let o=n.indexOf(","),i=0,a=!1;for(;!a;){o===-1&&(o=n.length,a=!0);const s=n.slice(i,o).trim();(s||!a)&&t.push(s),i=o+1,o=n.indexOf(",",i)}return t}function nm(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const kv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Lv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nv={};function ch(e,t){return(Nv.jsx?Lv:kv).test(e)}const Pv=/[ \t\n\f\r]/g;function Rv(e){return typeof e=="object"?e.type==="text"?uh(e.value):!1:uh(e)}function uh(e){return e.replace(Pv,"")===""}let Pa=class{constructor(t,n,o){this.normal=n,this.property=t,o&&(this.space=o)}};Pa.prototype.normal={};Pa.prototype.property={};Pa.prototype.space=void 0;function rm(e,t){const n={},o={};for(const i of e)Object.assign(n,i.property),Object.assign(o,i.normal);return new Pa(n,o,t)}function pa(e){return e.toLowerCase()}let On=class{constructor(t,n){this.attribute=n,this.property=t}};On.prototype.attribute="";On.prototype.booleanish=!1;On.prototype.boolean=!1;On.prototype.commaOrSpaceSeparated=!1;On.prototype.commaSeparated=!1;On.prototype.defined=!1;On.prototype.mustUseProperty=!1;On.prototype.number=!1;On.prototype.overloadedBoolean=!1;On.prototype.property="";On.prototype.spaceSeparated=!1;On.prototype.space=void 0;let Dv=0;const Fe=Oo(),Ft=Oo(),om=Oo(),de=Oo(),ut=Oo(),Jo=Oo(),Bn=Oo();function Oo(){return 2**++Dv}const nu=Object.freeze(Object.defineProperty({__proto__:null,boolean:Fe,booleanish:Ft,commaOrSpaceSeparated:Bn,commaSeparated:Jo,number:de,overloadedBoolean:om,spaceSeparated:ut},Symbol.toStringTag,{value:"Module"})),Jl=Object.keys(nu);let Ju=class extends On{constructor(t,n,o,i){let a=-1;if(super(t,n),dh(this,"space",i),typeof o=="number")for(;++a<Jl.length;){const s=Jl[a];dh(this,Jl[a],(o&nu[s])===nu[s])}}};Ju.prototype.defined=!0;function dh(e,t,n){n&&(e[t]=n)}function pi(e){const t={},n={};for(const[o,i]of Object.entries(e.properties)){const a=new Ju(o,e.transform(e.attributes||{},o),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),t[o]=a,n[pa(o)]=o,n[pa(a.attribute)]=o}return new Pa(t,n,e.space)}const im=pi({properties:{ariaActiveDescendant:null,ariaAtomic:Ft,ariaAutoComplete:null,ariaBusy:Ft,ariaChecked:Ft,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:ut,ariaCurrent:null,ariaDescribedBy:ut,ariaDetails:null,ariaDisabled:Ft,ariaDropEffect:ut,ariaErrorMessage:null,ariaExpanded:Ft,ariaFlowTo:ut,ariaGrabbed:Ft,ariaHasPopup:null,ariaHidden:Ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ut,ariaLevel:de,ariaLive:null,ariaModal:Ft,ariaMultiLine:Ft,ariaMultiSelectable:Ft,ariaOrientation:null,ariaOwns:ut,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:Ft,ariaReadOnly:Ft,ariaRelevant:null,ariaRequired:Ft,ariaRoleDescription:ut,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:Ft,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function am(e,t){return t in e?e[t]:t}function sm(e,t){return am(e,t.toLowerCase())}const Ov=pi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Jo,acceptCharset:ut,accessKey:ut,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:ut,autoFocus:Fe,autoPlay:Fe,blocking:ut,capture:null,charSet:null,checked:Fe,cite:null,className:ut,cols:de,colSpan:null,content:null,contentEditable:Ft,controls:Fe,controlsList:ut,coords:de|Jo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:om,draggable:Ft,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:ut,height:de,hidden:Fe,high:de,href:null,hrefLang:null,htmlFor:ut,httpEquiv:ut,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:ut,itemRef:ut,itemScope:Fe,itemType:ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Fe,optimum:de,pattern:null,ping:ut,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:ut,required:Fe,reversed:Fe,rows:de,rowSpan:de,sandbox:ut,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:Ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:Ft,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ut,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:Ft,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Fe,disableRemotePlayback:Fe,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:sm}),Mv=pi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Bn,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className:ut,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Jo,g2:Jo,glyphName:Jo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:Bn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Bn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Bn,rev:Bn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Bn,requiredFeatures:Bn,requiredFonts:Bn,requiredFormats:Bn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:Bn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Bn,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Bn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:am}),lm=pi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),cm=pi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sm}),um=pi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Bv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Fv=/[A-Z]/g,hh=/-[a-z]/g,Hv=/^data[-\w.:]+$/i;function ed(e,t){const n=pa(t);let o=t,i=On;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Hv.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(hh,Uv);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!hh.test(a)){let s=a.replace(Fv,jv);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Ju}return new i(o,t)}function jv(e){return"-"+e.toLowerCase()}function Uv(e){return e.charAt(1).toUpperCase()}const fl=rm([im,Ov,lm,cm,um],"html"),mi=rm([im,Mv,lm,cm,um],"svg");function fh(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function dm(e){return e.join(" ").trim()}var hm={},ph=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Vv=/\n/g,zv=/^\s*/,$v=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Wv=/^:\s*/,qv=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Gv=/^[;\s]*/,Yv=/^\s+|\s+$/g,Zv=`
|
|
125
|
-
`,mh="/",gh="*",Eo="",Xv="comment",Kv="declaration",Qv=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,o=1;function i(C){var I=C.match(Vv);I&&(n+=I.length);var b=C.lastIndexOf(Zv);o=~b?C.length-b:o+C.length}function a(){var C={line:n,column:o};return function(I){return I.position=new s(C),u(),I}}function s(C){this.start=C,this.end={line:n,column:o},this.source=t.source}s.prototype.content=e;function l(C){var I=new Error(t.source+":"+n+":"+o+": "+C);if(I.reason=C,I.filename=t.source,I.line=n,I.column=o,I.source=e,!t.silent)throw I}function c(C){var I=C.exec(e);if(I){var b=I[0];return i(b),e=e.slice(b.length),I}}function u(){c(zv)}function h(C){var I;for(C=C||[];I=f();)I!==!1&&C.push(I);return C}function f(){var C=a();if(!(mh!=e.charAt(0)||gh!=e.charAt(1))){for(var I=2;Eo!=e.charAt(I)&&(gh!=e.charAt(I)||mh!=e.charAt(I+1));)++I;if(I+=2,Eo===e.charAt(I-1))return l("End of comment missing");var b=e.slice(2,I-2);return o+=2,i(b),e=e.slice(I),o+=2,C({type:Xv,comment:b})}}function g(){var C=a(),I=c($v);if(I){if(f(),!c(Wv))return l("property missing ':'");var b=c(qv),S=C({type:Kv,property:Ih(I[0].replace(ph,Eo)),value:b?Ih(b[0].replace(ph,Eo)):Eo});return c(Gv),S}}function m(){var C=[];h(C);for(var I;I=g();)I!==!1&&(C.push(I),h(C));return C}return u(),m()};function Ih(e){return e?e.replace(Yv,Eo):Eo}var Jv=xd&&xd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hm,"__esModule",{value:!0});var Ch=hm.default=tA,eA=Jv(Qv);function tA(e,t){var n=null;if(!e||typeof e!="string")return n;var o=(0,eA.default)(e),i=typeof t=="function";return o.forEach(function(a){if(a.type==="declaration"){var s=a.property,l=a.value;i?t(s,l,a):l&&(n=n||{},n[s]=l)}}),n}const nA=Ch.default||Ch,pl=fm("end"),Ar=fm("start");function fm(e){return t;function t(n){const o=n&&n.position&&n.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function rA(e){const t=Ar(e),n=pl(e);if(t&&n)return{start:t,end:n}}function Ki(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?bh(e.position):"start"in e||"end"in e?bh(e):"line"in e||"column"in e?ru(e):""}function ru(e){return Sh(e&&e.line)+":"+Sh(e&&e.column)}function bh(e){return ru(e&&e.start)+"-"+ru(e&&e.end)}function Sh(e){return e&&typeof e=="number"?e:1}class yn extends Error{constructor(t,n,o){super(),typeof n=="string"&&(o=n,n=void 0);let i="",a={},s=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof o=="string"){const c=o.indexOf(":");c===-1?a.ruleId=o:(a.source=o.slice(0,c),a.ruleId=o.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=Ki(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}yn.prototype.file="";yn.prototype.name="";yn.prototype.reason="";yn.prototype.message="";yn.prototype.stack="";yn.prototype.column=void 0;yn.prototype.line=void 0;yn.prototype.ancestors=void 0;yn.prototype.cause=void 0;yn.prototype.fatal=void 0;yn.prototype.place=void 0;yn.prototype.ruleId=void 0;yn.prototype.source=void 0;const td={}.hasOwnProperty,oA=new Map,iA=/[A-Z]/g,aA=/-([a-z])/g,sA=new Set(["table","tbody","thead","tfoot","tr"]),lA=new Set(["td","th"]),pm="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function cA(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let o;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=IA(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=gA(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?mi:fl,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=mm(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function mm(e,t,n){if(t.type==="element")return uA(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return dA(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return fA(e,t,n);if(t.type==="mdxjsEsm")return hA(e,t);if(t.type==="root")return pA(e,t,n);if(t.type==="text")return mA(e,t)}function uA(e,t,n){const o=e.schema;let i=o;t.tagName.toLowerCase()==="svg"&&o.space==="html"&&(i=mi,e.schema=i),e.ancestors.push(t);const a=Im(e,t.tagName,!1),s=CA(e,t);let l=rd(e,t);return sA.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!Rv(c):!0})),gm(e,s,a,t),nd(s,l),e.ancestors.pop(),e.schema=o,e.create(t,a,s,n)}function dA(e,t){if(t.data&&t.data.estree&&e.evaluater){const o=t.data.estree.body[0];return o.type,e.evaluater.evaluateExpression(o.expression)}ma(e,t.position)}function hA(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ma(e,t.position)}function fA(e,t,n){const o=e.schema;let i=o;t.name==="svg"&&o.space==="html"&&(i=mi,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Im(e,t.name,!0),s=bA(e,t),l=rd(e,t);return gm(e,s,a,t),nd(s,l),e.ancestors.pop(),e.schema=o,e.create(t,a,s,n)}function pA(e,t,n){const o={};return nd(o,rd(e,t)),e.create(t,e.Fragment,o,n)}function mA(e,t){return t.value}function gm(e,t,n,o){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=o)}function nd(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function gA(e,t,n){return o;function o(i,a,s,l){const u=Array.isArray(s.children)?n:t;return l?u(a,s,l):u(a,s)}}function IA(e,t){return n;function n(o,i,a,s){const l=Array.isArray(a.children),c=Ar(o);return t(i,a,s,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function CA(e,t){const n={};let o,i;for(i in t.properties)if(i!=="children"&&td.call(t.properties,i)){const a=SA(e,i,t.properties[i]);if(a){const[s,l]=a;e.tableCellAlignToStyle&&s==="align"&&typeof l=="string"&&lA.has(t.tagName)?o=l:n[s]=l}}if(o){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return n}function bA(e,t){const n={};for(const o of t.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&e.evaluater){const a=o.data.estree.body[0];a.type;const s=a.expression;s.type;const l=s.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else ma(e,t.position);else{const i=o.name;let a;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&e.evaluater){const l=o.value.data.estree.body[0];l.type,a=e.evaluater.evaluateExpression(l.expression)}else ma(e,t.position);else a=o.value===null?!0:o.value;n[i]=a}return n}function rd(e,t){const n=[];let o=-1;const i=e.passKeys?new Map:oA;for(;++o<t.children.length;){const a=t.children[o];let s;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const u=i.get(c)||0;s=c+"-"+u,i.set(c,u+1)}}const l=mm(e,a,s);l!==void 0&&n.push(l)}return n}function SA(e,t,n){const o=ed(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=o.commaSeparated?nm(n):dm(n)),o.property==="style"){let i=typeof n=="object"?n:yA(e,String(n));return e.stylePropertyNameCase==="css"&&(i=EA(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&o.space?Bv[o.property]||o.property:o.attribute,n]}}function yA(e,t){const n={};try{nA(t,o)}catch(i){if(!e.ignoreInvalidStyle){const a=i,s=new yn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=pm+"#cannot-parse-style-attribute",s}}return n;function o(i,a){let s=i;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(aA,xA)),n[s]=a}}function Im(e,t,n){let o;if(!n)o={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,s;for(;++a<i.length;){const l=ch(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};s=s?{type:"MemberExpression",object:s,property:l,computed:!!(a&&l.type==="Literal"),optional:!1}:l}o=s}else o=ch(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(o.type==="Literal"){const i=o.value;return td.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(o);ma(e)}function ma(e,t){const n=new yn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=pm+"#cannot-handle-mdx-estrees-without-createevaluater",n}function EA(e){const t={};let n;for(n in e)td.call(e,n)&&(t[TA(n)]=e[n]);return t}function TA(e){let t=e.replace(iA,_A);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function xA(e,t){return t.toUpperCase()}function _A(e){return"-"+e.toLowerCase()}const ec={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},wA={};function od(e,t){const n=wA,o=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Cm(e,o,i)}function Cm(e,t,n){if(vA(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return yh(e.children,t,n)}return Array.isArray(e)?yh(e,t,n):""}function yh(e,t,n){const o=[];let i=-1;for(;++i<e.length;)o[i]=Cm(e[i],t,n);return o.join("")}function vA(e){return!!(e&&typeof e=="object")}const Eh=document.createElement("i");function id(e){const t="&"+e+";";Eh.innerHTML=t;const n=Eh.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Wn(e,t,n,o){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,o.length<1e4)s=Array.from(o),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<o.length;)s=o.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function Qn(e,t){return e.length>0?(Wn(e,e.length,0,t),e):t}const Th={}.hasOwnProperty;function bm(e){const t={};let n=-1;for(;++n<e.length;)AA(t,e[n]);return t}function AA(e,t){let n;for(n in t){const i=(Th.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){Th.call(i,s)||(i[s]=[]);const l=a[s];kA(i[s],Array.isArray(l)?l:l?[l]:[])}}}function kA(e,t){let n=-1;const o=[];for(;++n<t.length;)(t[n].add==="after"?e:o).push(t[n]);Wn(e,0,0,o)}function Sm(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function cr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vn=ho(/[A-Za-z]/),Sn=ho(/[\dA-Za-z]/),LA=ho(/[#-'*+\--9=?A-Z^-~]/);function Hs(e){return e!==null&&(e<32||e===127)}const ou=ho(/\d/),NA=ho(/[\dA-Fa-f]/),PA=ho(/[!-/:-@[-`{-~]/);function Pe(e){return e!==null&&e<-2}function ct(e){return e!==null&&(e<0||e===32)}function Ze(e){return e===-2||e===-1||e===32}const ml=ho(new RegExp("\\p{P}|\\p{S}","u")),Do=ho(/\s/);function ho(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function gi(e){const t=[];let n=-1,o=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&Sn(e.charCodeAt(n+1))&&Sn(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(s=String.fromCharCode(a,l),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(o,n),encodeURIComponent(s)),o=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(o)}function Xe(e,t,n,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(c){return Ze(c)?(e.enter(n),l(c)):t(c)}function l(c){return Ze(c)&&a++<i?(e.consume(c),l):(e.exit(n),t(c))}}const RA={tokenize:DA};function DA(e){const t=e.attempt(this.parser.constructs.contentInitial,o,i);let n;return t;function o(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Xe(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,s(l)}function s(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Pe(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),s)}}const OA={tokenize:MA},xh={tokenize:BA};function MA(e){const t=this,n=[];let o=0,i,a,s;return l;function l(T){if(o<n.length){const k=n[o];return t.containerState=k[1],e.attempt(k[0].continuation,c,u)(T)}return u(T)}function c(T){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const k=t.events.length;let A=k,P;for(;A--;)if(t.events[A][0]==="exit"&&t.events[A][1].type==="chunkFlow"){P=t.events[A][1].end;break}S(o);let E=k;for(;E<t.events.length;)t.events[E][1].end={...P},E++;return Wn(t.events,A+1,0,t.events.slice(k)),t.events.length=E,u(T)}return l(T)}function u(T){if(o===n.length){if(!i)return g(T);if(i.currentConstruct&&i.currentConstruct.concrete)return C(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(xh,h,f)(T)}function h(T){return i&&y(),S(o),g(T)}function f(T){return t.parser.lazy[t.now().line]=o!==n.length,s=t.now().offset,C(T)}function g(T){return t.containerState={},e.attempt(xh,m,C)(T)}function m(T){return o++,n.push([t.currentConstruct,t.containerState]),g(T)}function C(T){if(T===null){i&&y(),S(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),I(T)}function I(T){if(T===null){b(e.exit("chunkFlow"),!0),S(0),e.consume(T);return}return Pe(T)?(e.consume(T),b(e.exit("chunkFlow")),o=0,t.interrupt=void 0,l):(e.consume(T),I)}function b(T,k){const A=t.sliceStream(T);if(k&&A.push(null),T.previous=a,a&&(a.next=T),a=T,i.defineSkip(T.start),i.write(A),t.parser.lazy[T.start.line]){let P=i.events.length;for(;P--;)if(i.events[P][1].start.offset<s&&(!i.events[P][1].end||i.events[P][1].end.offset>s))return;const E=t.events.length;let M=E,B,w;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(B){w=t.events[M][1].end;break}B=!0}for(S(o),P=E;P<t.events.length;)t.events[P][1].end={...w},P++;Wn(t.events,M+1,0,t.events.slice(E)),t.events.length=P}}function S(T){let k=n.length;for(;k-- >T;){const A=n[k];t.containerState=A[1],A[0].exit.call(t,e)}n.length=T}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function BA(e,t,n){return Xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ri(e){if(e===null||ct(e)||Do(e))return 1;if(ml(e))return 2}function gl(e,t,n){const o=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!o.includes(a)&&(t=a(t,n),o.push(a))}return t}const iu={name:"attention",resolveAll:FA,tokenize:HA};function FA(e,t){let n=-1,o,i,a,s,l,c,u,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(o=n;o--;)if(e[o][0]==="exit"&&e[o][1].type==="attentionSequence"&&e[o][1]._open&&t.sliceSerialize(e[o][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[o][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[o][1].end.offset-e[o][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[o][1].end},g={...e[n][1].start};_h(f,-c),_h(g,c),s={type:c>1?"strongSequence":"emphasisSequence",start:f,end:{...e[o][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:g},a={type:c>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...s.start},end:{...l.end}},e[o][1].end={...s.start},e[n][1].start={...l.end},u=[],e[o][1].end.offset-e[o][1].start.offset&&(u=Qn(u,[["enter",e[o][1],t],["exit",e[o][1],t]])),u=Qn(u,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),u=Qn(u,gl(t.parser.constructs.insideSpan.null,e.slice(o+1,n),t)),u=Qn(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,u=Qn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,Wn(e,o-1,n-o+3,u),n=o+u.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function HA(e,t){const n=this.parser.constructs.attentionMarkers.null,o=this.previous,i=ri(o);let a;return s;function s(c){return a=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===a)return e.consume(c),l;const u=e.exit("attentionSequence"),h=ri(c),f=!h||h===2&&i||n.includes(c),g=!i||i===2&&h||n.includes(o);return u._open=!!(a===42?f:f&&(i||!g)),u._close=!!(a===42?g:g&&(h||!f)),t(c)}}function _h(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const jA={name:"autolink",tokenize:UA};function UA(e,t,n){let o=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return vn(m)?(e.consume(m),s):m===64?n(m):u(m)}function s(m){return m===43||m===45||m===46||Sn(m)?(o=1,l(m)):u(m)}function l(m){return m===58?(e.consume(m),o=0,c):(m===43||m===45||m===46||Sn(m))&&o++<32?(e.consume(m),l):(o=0,u(m))}function c(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Hs(m)?n(m):(e.consume(m),c)}function u(m){return m===64?(e.consume(m),h):LA(m)?(e.consume(m),u):n(m)}function h(m){return Sn(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),o=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Sn(m))&&o++<63){const C=m===45?g:f;return e.consume(m),C}return n(m)}}const Ra={partial:!0,tokenize:VA};function VA(e,t,n){return o;function o(a){return Ze(a)?Xe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Pe(a)?t(a):n(a)}}const ym={continuation:{tokenize:$A},exit:WA,name:"blockQuote",tokenize:zA};function zA(e,t,n){const o=this;return i;function i(s){if(s===62){const l=o.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return Ze(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function $A(e,t,n){const o=this;return i;function i(s){return Ze(s)?Xe(e,a,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(ym,t,n)(s)}}function WA(e){e.exit("blockQuote")}const Em={name:"characterEscape",tokenize:qA};function qA(e,t,n){return o;function o(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return PA(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Tm={name:"characterReference",tokenize:GA};function GA(e,t,n){const o=this;let i=0,a,s;return l;function l(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),c}function c(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,s=Sn,h(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=NA,h):(e.enter("characterReferenceValue"),a=7,s=ou,h(f))}function h(f){if(f===59&&i){const g=e.exit("characterReferenceValue");return s===Sn&&!id(o.sliceSerialize(g))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<a?(e.consume(f),h):n(f)}}const wh={partial:!0,tokenize:ZA},vh={concrete:!0,name:"codeFenced",tokenize:YA};function YA(e,t,n){const o=this,i={partial:!0,tokenize:A};let a=0,s=0,l;return c;function c(P){return u(P)}function u(P){const E=o.events[o.events.length-1];return a=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,l=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(P)}function h(P){return P===l?(s++,e.consume(P),h):s<3?n(P):(e.exit("codeFencedFenceSequence"),Ze(P)?Xe(e,f,"whitespace")(P):f(P))}function f(P){return P===null||Pe(P)?(e.exit("codeFencedFence"),o.interrupt?t(P):e.check(wh,I,k)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(P))}function g(P){return P===null||Pe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(P)):Ze(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Xe(e,m,"whitespace")(P)):P===96&&P===l?n(P):(e.consume(P),g)}function m(P){return P===null||Pe(P)?f(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),C(P))}function C(P){return P===null||Pe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(P)):P===96&&P===l?n(P):(e.consume(P),C)}function I(P){return e.attempt(i,k,b)(P)}function b(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),S}function S(P){return a>0&&Ze(P)?Xe(e,y,"linePrefix",a+1)(P):y(P)}function y(P){return P===null||Pe(P)?e.check(wh,I,k)(P):(e.enter("codeFlowValue"),T(P))}function T(P){return P===null||Pe(P)?(e.exit("codeFlowValue"),y(P)):(e.consume(P),T)}function k(P){return e.exit("codeFenced"),t(P)}function A(P,E,M){let B=0;return w;function w(se){return P.enter("lineEnding"),P.consume(se),P.exit("lineEnding"),V}function V(se){return P.enter("codeFencedFence"),Ze(se)?Xe(P,H,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(se):H(se)}function H(se){return se===l?(P.enter("codeFencedFenceSequence"),X(se)):M(se)}function X(se){return se===l?(B++,P.consume(se),X):B>=s?(P.exit("codeFencedFenceSequence"),Ze(se)?Xe(P,W,"whitespace")(se):W(se)):M(se)}function W(se){return se===null||Pe(se)?(P.exit("codeFencedFence"),E(se)):M(se)}}}function ZA(e,t,n){const o=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return o.parser.lazy[o.now().line]?n(s):t(s)}}const tc={name:"codeIndented",tokenize:KA},XA={partial:!0,tokenize:QA};function KA(e,t,n){const o=this;return i;function i(u){return e.enter("codeIndented"),Xe(e,a,"linePrefix",5)(u)}function a(u){const h=o.events[o.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?c(u):Pe(u)?e.attempt(XA,s,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Pe(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function QA(e,t,n){const o=this;return i;function i(s){return o.parser.lazy[o.now().line]?n(s):Pe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):Xe(e,a,"linePrefix",5)(s)}function a(s){const l=o.events[o.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):Pe(s)?i(s):n(s)}}const JA={name:"codeText",previous:tk,resolve:ek,tokenize:nk};function ek(e){let t=e.length-4,n=3,o,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(o=n;++o<t;)if(e[o][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(o=n-1,t++;++o<=t;)i===void 0?o!==t&&e[o][1].type!=="lineEnding"&&(i=o):(o===t||e[o][1].type==="lineEnding")&&(e[i][1].type="codeTextData",o!==i+2&&(e[i][1].end=e[o-1][1].end,e.splice(i+2,o-i-2),t-=o-i-2,o=i+2),i=void 0);return e}function tk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function nk(e,t,n){let o=0,i,a;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),l(f)}function l(f){return f===96?(e.consume(f),o++,l):(e.exit("codeTextSequence"),c(f))}function c(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),c):f===96?(a=e.enter("codeTextSequence"),i=0,h(f)):Pe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||Pe(f)?(e.exit("codeTextData"),c(f)):(e.consume(f),u)}function h(f){return f===96?(e.consume(f),i++,h):i===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",u(f))}}class rk{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const o=n??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(t,o):t>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(t,n,o){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return o&&Di(this.left,o),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Di(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Di(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Di(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Di(this.left,n.reverse())}}}function Di(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function xm(e){const t={};let n=-1,o,i,a,s,l,c,u;const h=new rk(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(o=h.get(n),n&&o[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(c=o[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(o[0]==="enter")o[1].contentType&&(Object.assign(t,ok(h,n)),n=t[n],u=!0);else if(o[1]._container){for(a=n,i=void 0;a--;)if(s=h.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(o[1].end={...h.get(i)[1].start},l=h.slice(i,n),l.unshift(o),h.splice(i,n-i+1,l))}}return Wn(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!u}function ok(e,t){const n=e.get(t)[1],o=e.get(t)[2];let i=t-1;const a=[];let s=n._tokenizer;s||(s=o.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const l=s.events,c=[],u={};let h,f,g=-1,m=n,C=0,I=0;const b=[I];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(h=o.sliceStream(m),m.next||h.push(null),f&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(h),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++g<l.length;)l[g][0]==="exit"&&l[g-1][0]==="enter"&&l[g][1].type===l[g-1][1].type&&l[g][1].start.line!==l[g][1].end.line&&(I=g+1,b.push(I),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):b.pop(),g=b.length;g--;){const S=l.slice(b[g],b[g+1]),y=a.pop();c.push([y,y+S.length-1]),e.splice(y,2,S)}for(c.reverse(),g=-1;++g<c.length;)u[C+c[g][0]]=C+c[g][1],C+=c[g][1]-c[g][0]-1;return u}const ik={resolve:sk,tokenize:lk},ak={partial:!0,tokenize:ck};function sk(e){return xm(e),e}function lk(e,t){let n;return o;function o(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):Pe(l)?e.check(ak,s,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function s(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function ck(e,t,n){const o=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Xe(e,a,"linePrefix")}function a(s){if(s===null||Pe(s))return n(s);const l=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):e.interrupt(o.parser.constructs.flow,n,t)(s)}}function _m(e,t,n,o,i,a,s,l,c){const u=c||Number.POSITIVE_INFINITY;let h=0;return f;function f(S){return S===60?(e.enter(o),e.enter(i),e.enter(a),e.consume(S),e.exit(a),g):S===null||S===32||S===41||Hs(S)?n(S):(e.enter(o),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),I(S))}function g(S){return S===62?(e.enter(a),e.consume(S),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===62?(e.exit("chunkString"),e.exit(l),g(S)):S===null||S===60||Pe(S)?n(S):(e.consume(S),S===92?C:m)}function C(S){return S===60||S===62||S===92?(e.consume(S),m):m(S)}function I(S){return!h&&(S===null||S===41||ct(S))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(o),t(S)):h<u&&S===40?(e.consume(S),h++,I):S===41?(e.consume(S),h--,I):S===null||S===32||S===40||Hs(S)?n(S):(e.consume(S),S===92?b:I)}function b(S){return S===40||S===41||S===92?(e.consume(S),I):I(S)}}function wm(e,t,n,o,i,a){const s=this;let l=0,c;return u;function u(m){return e.enter(o),e.enter(i),e.consume(m),e.exit(i),e.enter(a),h}function h(m){return l>999||m===null||m===91||m===93&&!c||m===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(o),t):Pe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||Pe(m)||l++>999?(e.exit("chunkString"),h(m)):(e.consume(m),c||(c=!Ze(m)),m===92?g:f)}function g(m){return m===91||m===92||m===93?(e.consume(m),l++,f):f(m)}}function vm(e,t,n,o,i,a){let s;return l;function l(g){return g===34||g===39||g===40?(e.enter(o),e.enter(i),e.consume(g),e.exit(i),s=g===40?41:g,c):n(g)}function c(g){return g===s?(e.enter(i),e.consume(g),e.exit(i),e.exit(o),t):(e.enter(a),u(g))}function u(g){return g===s?(e.exit(a),c(s)):g===null?n(g):Pe(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Xe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===s||g===null||Pe(g)?(e.exit("chunkString"),u(g)):(e.consume(g),g===92?f:h)}function f(g){return g===s||g===92?(e.consume(g),h):h(g)}}function Qi(e,t){let n;return o;function o(i){return Pe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,o):Ze(i)?Xe(e,o,n?"linePrefix":"lineSuffix")(i):t(i)}}const uk={name:"definition",tokenize:hk},dk={partial:!0,tokenize:fk};function hk(e,t,n){const o=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return wm.call(o,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function l(m){return i=cr(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),c):n(m)}function c(m){return ct(m)?Qi(e,u)(m):u(m)}function u(m){return _m(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(dk,f,f)(m)}function f(m){return Ze(m)?Xe(e,g,"whitespace")(m):g(m)}function g(m){return m===null||Pe(m)?(e.exit("definition"),o.parser.defined.push(i),t(m)):n(m)}}function fk(e,t,n){return o;function o(l){return ct(l)?Qi(e,i)(l):n(l)}function i(l){return vm(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return Ze(l)?Xe(e,s,"whitespace")(l):s(l)}function s(l){return l===null||Pe(l)?t(l):n(l)}}const pk={name:"hardBreakEscape",tokenize:mk};function mk(e,t,n){return o;function o(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Pe(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const gk={name:"headingAtx",resolve:Ik,tokenize:Ck};function Ik(e,t){let n=e.length-2,o=3,i,a;return e[o][1].type==="whitespace"&&(o+=2),n-2>o&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(o===n-1||n-4>o&&e[n-2][1].type==="whitespace")&&(n-=o+1===n?2:4),n>o&&(i={type:"atxHeadingText",start:e[o][1].start,end:e[n][1].end},a={type:"chunkText",start:e[o][1].start,end:e[n][1].end,contentType:"text"},Wn(e,o,n-o+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Ck(e,t,n){let o=0;return i;function i(h){return e.enter("atxHeading"),a(h)}function a(h){return e.enter("atxHeadingSequence"),s(h)}function s(h){return h===35&&o++<6?(e.consume(h),s):h===null||ct(h)?(e.exit("atxHeadingSequence"),l(h)):n(h)}function l(h){return h===35?(e.enter("atxHeadingSequence"),c(h)):h===null||Pe(h)?(e.exit("atxHeading"),t(h)):Ze(h)?Xe(e,l,"whitespace")(h):(e.enter("atxHeadingText"),u(h))}function c(h){return h===35?(e.consume(h),c):(e.exit("atxHeadingSequence"),l(h))}function u(h){return h===null||h===35||ct(h)?(e.exit("atxHeadingText"),l(h)):(e.consume(h),u)}}const bk=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ah=["pre","script","style","textarea"],Sk={concrete:!0,name:"htmlFlow",resolveTo:Tk,tokenize:xk},yk={partial:!0,tokenize:wk},Ek={partial:!0,tokenize:_k};function Tk(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function xk(e,t,n){const o=this;let i,a,s,l,c;return u;function u(L){return h(L)}function h(L){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(L),f}function f(L){return L===33?(e.consume(L),g):L===47?(e.consume(L),a=!0,I):L===63?(e.consume(L),i=3,o.interrupt?t:x):vn(L)?(e.consume(L),s=String.fromCharCode(L),b):n(L)}function g(L){return L===45?(e.consume(L),i=2,m):L===91?(e.consume(L),i=5,l=0,C):vn(L)?(e.consume(L),i=4,o.interrupt?t:x):n(L)}function m(L){return L===45?(e.consume(L),o.interrupt?t:x):n(L)}function C(L){const Z="CDATA[";return L===Z.charCodeAt(l++)?(e.consume(L),l===Z.length?o.interrupt?t:H:C):n(L)}function I(L){return vn(L)?(e.consume(L),s=String.fromCharCode(L),b):n(L)}function b(L){if(L===null||L===47||L===62||ct(L)){const Z=L===47,le=s.toLowerCase();return!Z&&!a&&Ah.includes(le)?(i=1,o.interrupt?t(L):H(L)):bk.includes(s.toLowerCase())?(i=6,Z?(e.consume(L),S):o.interrupt?t(L):H(L)):(i=7,o.interrupt&&!o.parser.lazy[o.now().line]?n(L):a?y(L):T(L))}return L===45||Sn(L)?(e.consume(L),s+=String.fromCharCode(L),b):n(L)}function S(L){return L===62?(e.consume(L),o.interrupt?t:H):n(L)}function y(L){return Ze(L)?(e.consume(L),y):w(L)}function T(L){return L===47?(e.consume(L),w):L===58||L===95||vn(L)?(e.consume(L),k):Ze(L)?(e.consume(L),T):w(L)}function k(L){return L===45||L===46||L===58||L===95||Sn(L)?(e.consume(L),k):A(L)}function A(L){return L===61?(e.consume(L),P):Ze(L)?(e.consume(L),A):T(L)}function P(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),c=L,E):Ze(L)?(e.consume(L),P):M(L)}function E(L){return L===c?(e.consume(L),c=null,B):L===null||Pe(L)?n(L):(e.consume(L),E)}function M(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||ct(L)?A(L):(e.consume(L),M)}function B(L){return L===47||L===62||Ze(L)?T(L):n(L)}function w(L){return L===62?(e.consume(L),V):n(L)}function V(L){return L===null||Pe(L)?H(L):Ze(L)?(e.consume(L),V):n(L)}function H(L){return L===45&&i===2?(e.consume(L),Ce):L===60&&i===1?(e.consume(L),be):L===62&&i===4?(e.consume(L),ne):L===63&&i===3?(e.consume(L),x):L===93&&i===5?(e.consume(L),Le):Pe(L)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(yk,pe,X)(L)):L===null||Pe(L)?(e.exit("htmlFlowData"),X(L)):(e.consume(L),H)}function X(L){return e.check(Ek,W,pe)(L)}function W(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),se}function se(L){return L===null||Pe(L)?X(L):(e.enter("htmlFlowData"),H(L))}function Ce(L){return L===45?(e.consume(L),x):H(L)}function be(L){return L===47?(e.consume(L),s="",ve):H(L)}function ve(L){if(L===62){const Z=s.toLowerCase();return Ah.includes(Z)?(e.consume(L),ne):H(L)}return vn(L)&&s.length<8?(e.consume(L),s+=String.fromCharCode(L),ve):H(L)}function Le(L){return L===93?(e.consume(L),x):H(L)}function x(L){return L===62?(e.consume(L),ne):L===45&&i===2?(e.consume(L),x):H(L)}function ne(L){return L===null||Pe(L)?(e.exit("htmlFlowData"),pe(L)):(e.consume(L),ne)}function pe(L){return e.exit("htmlFlow"),t(L)}}function _k(e,t,n){const o=this;return i;function i(s){return Pe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return o.parser.lazy[o.now().line]?n(s):t(s)}}function wk(e,t,n){return o;function o(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ra,t,n)}}const vk={name:"htmlText",tokenize:Ak};function Ak(e,t,n){const o=this;let i,a,s;return l;function l(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),c}function c(x){return x===33?(e.consume(x),u):x===47?(e.consume(x),A):x===63?(e.consume(x),T):vn(x)?(e.consume(x),M):n(x)}function u(x){return x===45?(e.consume(x),h):x===91?(e.consume(x),a=0,C):vn(x)?(e.consume(x),y):n(x)}function h(x){return x===45?(e.consume(x),m):n(x)}function f(x){return x===null?n(x):x===45?(e.consume(x),g):Pe(x)?(s=f,be(x)):(e.consume(x),f)}function g(x){return x===45?(e.consume(x),m):f(x)}function m(x){return x===62?Ce(x):x===45?g(x):f(x)}function C(x){const ne="CDATA[";return x===ne.charCodeAt(a++)?(e.consume(x),a===ne.length?I:C):n(x)}function I(x){return x===null?n(x):x===93?(e.consume(x),b):Pe(x)?(s=I,be(x)):(e.consume(x),I)}function b(x){return x===93?(e.consume(x),S):I(x)}function S(x){return x===62?Ce(x):x===93?(e.consume(x),S):I(x)}function y(x){return x===null||x===62?Ce(x):Pe(x)?(s=y,be(x)):(e.consume(x),y)}function T(x){return x===null?n(x):x===63?(e.consume(x),k):Pe(x)?(s=T,be(x)):(e.consume(x),T)}function k(x){return x===62?Ce(x):T(x)}function A(x){return vn(x)?(e.consume(x),P):n(x)}function P(x){return x===45||Sn(x)?(e.consume(x),P):E(x)}function E(x){return Pe(x)?(s=E,be(x)):Ze(x)?(e.consume(x),E):Ce(x)}function M(x){return x===45||Sn(x)?(e.consume(x),M):x===47||x===62||ct(x)?B(x):n(x)}function B(x){return x===47?(e.consume(x),Ce):x===58||x===95||vn(x)?(e.consume(x),w):Pe(x)?(s=B,be(x)):Ze(x)?(e.consume(x),B):Ce(x)}function w(x){return x===45||x===46||x===58||x===95||Sn(x)?(e.consume(x),w):V(x)}function V(x){return x===61?(e.consume(x),H):Pe(x)?(s=V,be(x)):Ze(x)?(e.consume(x),V):B(x)}function H(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),i=x,X):Pe(x)?(s=H,be(x)):Ze(x)?(e.consume(x),H):(e.consume(x),W)}function X(x){return x===i?(e.consume(x),i=void 0,se):x===null?n(x):Pe(x)?(s=X,be(x)):(e.consume(x),X)}function W(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||ct(x)?B(x):(e.consume(x),W)}function se(x){return x===47||x===62||ct(x)?B(x):n(x)}function Ce(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function be(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),ve}function ve(x){return Ze(x)?Xe(e,Le,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):Le(x)}function Le(x){return e.enter("htmlTextData"),s(x)}}const ad={name:"labelEnd",resolveAll:Pk,resolveTo:Rk,tokenize:Dk},kk={tokenize:Ok},Lk={tokenize:Mk},Nk={tokenize:Bk};function Pk(e){let t=-1;const n=[];for(;++t<e.length;){const o=e[t][1];if(n.push(e[t]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const i=o.type==="labelImage"?4:2;o.type="data",t+=i}}return e.length!==n.length&&Wn(e,0,e.length,n),e}function Rk(e,t){let n=e.length,o=0,i,a,s,l;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){o=2;break}}else i.type==="labelEnd"&&(s=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},h={type:"labelText",start:{...e[a+o+2][1].end},end:{...e[s-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=Qn(l,e.slice(a+1,a+o+3)),l=Qn(l,[["enter",h,t]]),l=Qn(l,gl(t.parser.constructs.insideSpan.null,e.slice(a+o+4,s-3),t)),l=Qn(l,[["exit",h,t],e[s-2],e[s-1],["exit",u,t]]),l=Qn(l,e.slice(s+1)),l=Qn(l,[["exit",c,t]]),Wn(e,a,e.length,l),e}function Dk(e,t,n){const o=this;let i=o.events.length,a,s;for(;i--;)if((o.events[i][1].type==="labelImage"||o.events[i][1].type==="labelLink")&&!o.events[i][1]._balanced){a=o.events[i][1];break}return l;function l(g){return a?a._inactive?f(g):(s=o.parser.defined.includes(cr(o.sliceSerialize({start:a.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(kk,h,s?h:f)(g):g===91?e.attempt(Lk,h,s?u:f)(g):s?h(g):f(g)}function u(g){return e.attempt(Nk,h,f)(g)}function h(g){return t(g)}function f(g){return a._balanced=!0,n(g)}}function Ok(e,t,n){return o;function o(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return ct(f)?Qi(e,a)(f):a(f)}function a(f){return f===41?h(f):_m(e,s,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return ct(f)?Qi(e,c)(f):h(f)}function l(f){return n(f)}function c(f){return f===34||f===39||f===40?vm(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function u(f){return ct(f)?Qi(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Mk(e,t,n){const o=this;return i;function i(l){return wm.call(o,e,a,s,"reference","referenceMarker","referenceString")(l)}function a(l){return o.parser.defined.includes(cr(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function s(l){return n(l)}}function Bk(e,t,n){return o;function o(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const Fk={name:"labelStartImage",resolveAll:ad.resolveAll,tokenize:Hk};function Hk(e,t,n){const o=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),s):n(l)}function s(l){return l===94&&"_hiddenFootnoteSupport"in o.parser.constructs?n(l):t(l)}}const jk={name:"labelStartLink",resolveAll:ad.resolveAll,tokenize:Uk};function Uk(e,t,n){const o=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in o.parser.constructs?n(s):t(s)}}const nc={name:"lineEnding",tokenize:Vk};function Vk(e,t){return n;function n(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Xe(e,t,"linePrefix")}}const Ss={name:"thematicBreak",tokenize:zk};function zk(e,t,n){let o=0,i;return a;function a(u){return e.enter("thematicBreak"),s(u)}function s(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),c(u)):o>=3&&(u===null||Pe(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===i?(e.consume(u),o++,c):(e.exit("thematicBreakSequence"),Ze(u)?Xe(e,l,"whitespace")(u):l(u))}}const Ln={continuation:{tokenize:Gk},exit:Zk,name:"list",tokenize:qk},$k={partial:!0,tokenize:Xk},Wk={partial:!0,tokenize:Yk};function qk(e,t,n){const o=this,i=o.events[o.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return l;function l(m){const C=o.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!o.containerState.marker||m===o.containerState.marker:ou(m)){if(o.containerState.type||(o.containerState.type=C,e.enter(C,{_container:!0})),C==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Ss,n,u)(m):u(m);if(!o.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(m)}return n(m)}function c(m){return ou(m)&&++s<10?(e.consume(m),c):(!o.interrupt||s<2)&&(o.containerState.marker?m===o.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):n(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||m,e.check(Ra,o.interrupt?n:h,e.attempt($k,g,f))}function h(m){return o.containerState.initialBlankLine=!0,a++,g(m)}function f(m){return Ze(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return o.containerState.size=a+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function Gk(e,t,n){const o=this;return o.containerState._closeFlow=void 0,e.check(Ra,i,a);function i(l){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Xe(e,t,"listItemIndent",o.containerState.size+1)(l)}function a(l){return o.containerState.furtherBlankLines||!Ze(l)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,s(l)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(Wk,t,s)(l))}function s(l){return o.containerState._closeFlow=!0,o.interrupt=void 0,Xe(e,e.attempt(Ln,t,n),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Yk(e,t,n){const o=this;return Xe(e,i,"listItemIndent",o.containerState.size+1);function i(a){const s=o.events[o.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===o.containerState.size?t(a):n(a)}}function Zk(e){e.exit(this.containerState.type)}function Xk(e,t,n){const o=this;return Xe(e,i,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=o.events[o.events.length-1];return!Ze(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const kh={name:"setextUnderline",resolveTo:Kk,tokenize:Qk};function Kk(e,t){let n=e.length,o,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){o=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const s={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[o][1],t]),e[o][1].end={...e[a][1].end}):e[o][1]=s,e.push(["exit",s,t]),e}function Qk(e,t,n){const o=this;let i;return a;function a(u){let h=o.events.length,f;for(;h--;)if(o.events[h][1].type!=="lineEnding"&&o.events[h][1].type!=="linePrefix"&&o.events[h][1].type!=="content"){f=o.events[h][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||f)?(e.enter("setextHeadingLine"),i=u,s(u)):n(u)}function s(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Ze(u)?Xe(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||Pe(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const Jk={tokenize:eL};function eL(e){const t=this,n=e.attempt(Ra,o,e.attempt(this.parser.constructs.flowInitial,i,Xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ik,i)),"linePrefix")));return n;function o(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const tL={resolveAll:km()},nL=Am("string"),rL=Am("text");function Am(e){return{resolveAll:km(e==="text"?oL:void 0),tokenize:t};function t(n){const o=this,i=this.parser.constructs[e],a=n.attempt(i,s,l);return s;function s(h){return u(h)?a(h):l(h)}function l(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),c}function c(h){return u(h)?(n.exit("data"),a(h)):(n.consume(h),c)}function u(h){if(h===null)return!0;const f=i[h];let g=-1;if(f)for(;++g<f.length;){const m=f[g];if(!m.previous||m.previous.call(o,o.previous))return!0}return!1}}}function km(e){return t;function t(n,o){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,o):n}}function oL(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const o=e[n-1][1],i=t.sliceStream(o);let a=i.length,s=-1,l=0,c;for(;a--;){const u=i[a];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)l++,s--;if(s)break;s=-1}else if(u===-2)c=!0,l++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:o.start._bufferIndex+s,_index:o.start._index+a,line:o.end.line,column:o.end.column-l,offset:o.end.offset-l},end:{...o.end}};o.end={...u.start},o.start.offset===o.end.offset?Object.assign(o,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const iL={42:Ln,43:Ln,45:Ln,48:Ln,49:Ln,50:Ln,51:Ln,52:Ln,53:Ln,54:Ln,55:Ln,56:Ln,57:Ln,62:ym},aL={91:uk},sL={[-2]:tc,[-1]:tc,32:tc},lL={35:gk,42:Ss,45:[kh,Ss],60:Sk,61:kh,95:Ss,96:vh,126:vh},cL={38:Tm,92:Em},uL={[-5]:nc,[-4]:nc,[-3]:nc,33:Fk,38:Tm,42:iu,60:[jA,vk],91:jk,92:[pk,Em],93:ad,95:iu,96:JA},dL={null:[iu,tL]},hL={null:[42,95]},fL={null:[]},pL=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:hL,contentInitial:aL,disable:fL,document:iL,flow:lL,flowInitial:sL,insideSpan:dL,string:cL,text:uL},Symbol.toStringTag,{value:"Module"}));function mL(e,t,n){let o={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let s=[],l=[];const c={attempt:E(A),check:E(P),consume:y,enter:T,exit:k,interrupt:E(P,{interrupt:!0})},u={code:null,containerState:{},defineSkip:I,events:[],now:C,parser:e,previous:null,sliceSerialize:g,sliceStream:m,write:f};let h=t.tokenize.call(u,c);return t.resolveAll&&a.push(t),u;function f(V){return s=Qn(s,V),b(),s[s.length-1]!==null?[]:(M(t,0),u.events=gl(a,u.events,u),u.events)}function g(V,H){return IL(m(V),H)}function m(V){return gL(s,V)}function C(){const{_bufferIndex:V,_index:H,line:X,column:W,offset:se}=o;return{_bufferIndex:V,_index:H,line:X,column:W,offset:se}}function I(V){i[V.line]=V.column,w()}function b(){let V;for(;o._index<s.length;){const H=s[o._index];if(typeof H=="string")for(V=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===V&&o._bufferIndex<H.length;)S(H.charCodeAt(o._bufferIndex));else S(H)}}function S(V){h=h(V)}function y(V){Pe(V)?(o.line++,o.column=1,o.offset+=V===-3?2:1,w()):V!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===s[o._index].length&&(o._bufferIndex=-1,o._index++)),u.previous=V}function T(V,H){const X=H||{};return X.type=V,X.start=C(),u.events.push(["enter",X,u]),l.push(X),X}function k(V){const H=l.pop();return H.end=C(),u.events.push(["exit",H,u]),H}function A(V,H){M(V,H.from)}function P(V,H){H.restore()}function E(V,H){return X;function X(W,se,Ce){let be,ve,Le,x;return Array.isArray(W)?pe(W):"tokenize"in W?pe([W]):ne(W);function ne(ee){return Ie;function Ie(Se){const ae=Se!==null&&ee[Se],ce=Se!==null&&ee.null,Ue=[...Array.isArray(ae)?ae:ae?[ae]:[],...Array.isArray(ce)?ce:ce?[ce]:[]];return pe(Ue)(Se)}}function pe(ee){return be=ee,ve=0,ee.length===0?Ce:L(ee[ve])}function L(ee){return Ie;function Ie(Se){return x=B(),Le=ee,ee.partial||(u.currentConstruct=ee),ee.name&&u.parser.constructs.disable.null.includes(ee.name)?le():ee.tokenize.call(H?Object.assign(Object.create(u),H):u,c,Z,le)(Se)}}function Z(ee){return V(Le,x),se}function le(ee){return x.restore(),++ve<be.length?L(be[ve]):Ce}}}function M(V,H){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&Wn(u.events,H,u.events.length-H,V.resolve(u.events.slice(H),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function B(){const V=C(),H=u.previous,X=u.currentConstruct,W=u.events.length,se=Array.from(l);return{from:W,restore:Ce};function Ce(){o=V,u.previous=H,u.currentConstruct=X,u.events.length=W,l=se,w()}}function w(){o.line in i&&o.column<2&&(o.column=i[o.line],o.offset+=i[o.line]-1)}}function gL(e,t){const n=t.start._index,o=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(o,a)];else{if(s=e.slice(n,i),o>-1){const l=s[0];typeof l=="string"?s[0]=l.slice(o):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function IL(e,t){let n=-1;const o=[];let i;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
|
|
124
|
+
}`;const n_="_authContainer_1uyf7_2",r_="_authWrapper_1uyf7_12",o_="_inModal_1uyf7_19",i_="_formHeaderTitle_1uyf7_26",a_="_formHeaderSubtitle_1uyf7_33",s_="_formLabel_1uyf7_39",l_="_formError_1uyf7_51",c_="_submitButton_1uyf7_57",u_="_submitButtonAntistock_1uyf7_57",d_="_backButton_1uyf7_67",h_="_otpContainer_1uyf7_78",f_="_otpSlots_1uyf7_85",p_="_otpSlot_1uyf7_85",m_="_active_1uyf7_108",g_="_otpSlotEmpty_1uyf7_113",I_="_actionRow_1uyf7_117",C_="_authForm_1uyf7_124",b_="_formHeader_1uyf7_26",S_="_input_1uyf7_135",At={authContainer:n_,authWrapper:r_,inModal:o_,formHeaderTitle:i_,formHeaderSubtitle:a_,formLabel:s_,formError:l_,submitButton:c_,submitButtonAntistock:u_,backButton:d_,otpContainer:h_,otpSlots:f_,otpSlot:p_,active:m_,otpSlotEmpty:g_,actionRow:I_,authForm:C_,formHeader:b_,input:S_},y_=_.forwardRef(({value:e,onChange:t,onComplete:n},o)=>d.jsx(K0,{ref:o,value:e,onChange:t,onComplete:n,maxLength:6,containerClassName:At.otpContainer,render:({slots:i})=>d.jsx("div",{className:At.otpSlots,children:i.map(a=>d.jsx(E_,{...a},crypto.randomUUID()))})}));function E_({char:e,isActive:t}){return d.jsx("div",{className:ge(At.otpSlot,{[At.active]:t}),children:e?d.jsx("div",{children:e}):d.jsx("div",{className:At.otpSlotEmpty,children:"0"})})}const T_=e=>{const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return e.trim()?t.test(e)?null:"Please enter a valid email.":"The email field cannot be empty."},x_=e=>/^[0-9]{6}$/.test(e)?null:"Invalid verification code. The code should be a six-digit number. Please try again",Q0=({title:e,subtitle:t,isAntistock:n})=>d.jsxs("div",{className:At.formHeader,style:{textAlign:n?"center":void 0},children:[d.jsx("h3",{id:"h3",className:At.formHeaderTitle,children:e}),t?d.jsx("div",{className:At.formHeaderSubtitle,children:t}):null]}),J0=({error:e})=>e?d.jsx("div",{className:At.formError,children:e}):null,__=()=>{const[e,t]=_.useState(""),[n,o]=_.useState(null),[i,a]=_.useState(!1),{executeRecaptcha:s}=Ku(),{setOtpRequest:l}=rr(),{isAntistock:c}=mt(),u=async h=>{h.preventDefault(),o(null);const f=T_(e);if(f){o(f);return}a(!0);try{const g=await s();if(!g)throw new Error("ReCaptcha verification failed");await S0({email:e,recaptcha:g,tsId:so()}),l({requested:!0,email:e})}catch{o("Failed to request OTP. Please try again.")}finally{a(!1)}};return d.jsxs("form",{onSubmit:u,className:At.authForm,children:[d.jsx(Q0,{title:c?"My Account":"Sign In",subtitle:c?"":"To continue, enter your email address below.",isAntistock:c}),d.jsxs("div",{className:At.input,children:[d.jsx(Ro,{label:c?"Email":"Email Address",placeholder:"your@email.com",value:e,onChange:h=>{t(h),o(null)}}),d.jsx(J0,{error:n})]}),d.jsx(_t,{type:"Primary",className:c?At.submitButtonAntistock:At.submitButton,disabled:i,children:i?c?d.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[d.jsx(An,{}),d.jsx("span",{children:"Continue"})]}):d.jsx(An,{}):c?"Continue":"Sign In"}),d.jsx("span",{style:{color:"var(--text-secondary)",paddingTop:"8px",fontSize:"var(--font-body-md-size)",textAlign:"center"},children:"You will receive a 6-digit account code via email."})]})},w_=({onSignIn:e})=>{const{otpRequest:t,setOtpRequest:n}=rr(),{isAntistock:o}=mt(),[i,a]=_.useState(""),[s,l]=_.useState(null),[c,u]=_.useState(!1),{executeRecaptcha:h}=Ku(),f=async()=>{l(null);const m=x_(i);if(m){l(m);return}u(!0);try{const C=await h();if(!C)throw new Error("ReCaptcha verification failed");await y0({email:t.email,otp:i,recaptcha:C||"",tsId:so()}),e&&e()}catch{l("Invalid OTP. Please try again.")}finally{u(!1)}},g=()=>n({requested:!1,email:""});return d.jsxs("form",{onSubmit:f,className:At.authForm,children:[d.jsx(Q0,{title:"Check Your Email",subtitle:`Enter the 6-digit code we sent to ${t.email}`,isAntistock:o}),d.jsxs("label",{className:At.formLabel,children:["Code",d.jsx(y_,{onChange:m=>{a(m),l(null)},value:i,onComplete:f})]}),d.jsx(J0,{error:s}),d.jsxs("div",{className:At.actionRow,children:[d.jsx(_t,{onClick:g,type:"Secondary",className:At.backButton,children:"Back"}),d.jsx(_t,{type:"Primary",className:o?At.submitButtonAntistock:At.submitButton,disabled:c,children:c?d.jsx(An,{}):o?"Continue":"Sign In"})]})]})},em=({inModal:e,onSignIn:t})=>{const{otpRequest:n,setOtpRequest:o}=rr();return _.useEffect(()=>{n.requested&&o({requested:!1,email:""})},[]),d.jsx("div",{className:At.authContainer,children:n?d.jsx("div",{className:ge(At.authWrapper,e&&At.inModal),children:n.requested?d.jsx(w_,{onSignIn:t}):d.jsx(__,{})}):d.jsx(An,{})})},v_=async(e=1)=>await jy({PageNumber:e}),A_=()=>{const[e,t]=_.useState(null),[n,o]=_.useState(0),{page:i,setPage:a}=xa(),{gatewaysDetail:s,setGatewaysDetail:l,balanceSettings:c}=rr();return _.useEffect(()=>{const u=async()=>{const{list:f,totalCount:g}=await v_(i);t(f),o(g)},h=async()=>{const f=await ka(c!=null&&c.isEnabled?(c==null?void 0:c.topUpSettings.gateways)||[]:[]);l(f)};u(),s||h()},[i]),d.jsx(d.Fragment,{children:e&&e.length===0?d.jsx(Na,{title:"Subscriptions History",description:"When you subscribe to a product on our website, you'll see a history of your subscriptions here."}):d.jsxs(d.Fragment,{children:[d.jsx(La,{title:"Subscriptions"}),d.jsx(bH,{subscriptions:e,gatewaysDetail:s,totalCount:n,page:i,setPage:a})]})})},k_={[Ut.Home]:F0,[Ut.Orders]:H0,[Ut.Rewards]:j0,[Ut.Balance]:M0,[Ut.Subscriptions]:A_,[Ut.Tickets]:U0},L_={[Ut.Home]:F0,[Ut.Orders]:H0,[Ut.Rewards]:j0,[Ut.Balance]:M0,[Ut.Tickets]:U0},N_=()=>{const{route:e,setRoute:t}=rr(),{token:n}=uo(),{isAntistock:o}=mt(),i=o?L_[e]:k_[e];return _.useEffect(()=>{window.location.pathname.includes("/ticket")&&t(Ut.Tickets)},[window.location.pathname]),n?d.jsx("div",{style:{maxWidth:"var(--max-width-store)",margin:"0 auto",height:"100%"},children:d.jsx(_0,{notPadding:!0,style:{height:"100%"},maxWidth:"var(--max-width-store)",children:a=>d.jsxs("main",{className:ge(go.appContainer,{[go.mobile]:a!=="desktop",[go.noAnimation]:o,[go.appContainerAntistock]:o}),children:[d.jsx(xT,{adaptiveStyles:a}),d.jsx("div",{className:ge(go.contentContainer,{[go.mobile]:a!=="desktop",[go.contentContainerAntistock]:o}),children:d.jsx(i,{adaptiveStyles:a})})]})})}):d.jsx(em,{})},P_=()=>d.jsx(G0,{children:d.jsx(N_,{})}),R_="_referralBlock_kla2r_2",D_="_skeleton_kla2r_3",O_="_mobile_kla2r_13",M_="_referralContainer_kla2r_18",B_="_title_kla2r_30",F_="_description_kla2r_36",H_="_linkContainer_kla2r_56",j_="_modalContainer_kla2r_77",U_="_steps_kla2r_86",V_="_joinButton_kla2r_92",z_="_stepItem_kla2r_97",$_="_iconContainer_kla2r_103",W_="_index_kla2r_111",q_="_bar_kla2r_123",G_="_content_kla2r_130",Y_="_caption_kla2r_135",Z_="_descriptionStep_kla2r_141",X_="_error_kla2r_151",K_="_infoBlock_kla2r_155",Q_="_infoIcon_kla2r_164",J_="_infoText_kla2r_173",ew="_actions_kla2r_178",tw="_cancelButton_kla2r_183",nw="_referralStats_kla2r_187",rw="_referralInfo_kla2r_204",ow="_referralStatsItem_kla2r_210",iw="_referralStatsItemValue_kla2r_220",aw="_referralStatsItemLabel_kla2r_225",sw="_referral_kla2r_2",lw="_header_kla2r_244",cw="_contentModal_kla2r_254",Oe={referralBlock:R_,skeleton:D_,mobile:O_,referralContainer:M_,title:B_,description:F_,linkContainer:H_,modalContainer:j_,steps:U_,joinButton:V_,stepItem:z_,iconContainer:$_,index:W_,bar:q_,content:G_,caption:Y_,descriptionStep:Z_,error:X_,infoBlock:K_,infoIcon:Q_,infoText:J_,actions:ew,cancelButton:tw,referralStats:nw,referralInfo:rw,referralStatsItem:ow,referralStatsItemValue:iw,referralStatsItemLabel:aw,referral:sw,header:lw,contentModal:cw},uw=({caption:e,description:t,index:n,bar:o=!0})=>d.jsxs("div",{className:Oe.stepItem,children:[d.jsxs("div",{className:Oe.iconContainer,children:[d.jsx("div",{className:Oe.index,children:n}),o&&d.jsx("div",{className:Oe.bar})]}),d.jsxs("div",{className:Oe.content,children:[d.jsx("div",{className:Oe.caption,children:e}),d.jsx("div",{className:Oe.descriptionStep,children:t})]})]}),dw=({setIsOpen:e,setIsLoading:t})=>{const[n,o]=_.useState(""),[i,a]=_.useState(""),{notifications:s,setNotifications:l}=cn(),{setIsOpen:c}=$r(),u=async f=>{if(f.preventDefault(),n.length<3){a("Referral Code should have minimum length of 3");return}t(!0),h();try{await Ky({referralCode:n}),l([...s,{message:"Referral Code has been applied",status:"success",id:pt()}])}catch(g){const m=g;l([...s,{message:m.message,status:"error",id:pt()}])}t(!1),e(!1),o(""),a("")},h=()=>{c(!1),setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{onClick:f=>f.stopPropagation(),className:Oe.modalContainer,children:[d.jsxs("div",{className:Oe.header,children:[d.jsx("div",{id:"h3",children:"Create an affiliate code"}),d.jsx(ie,{name:"X",onClick:h,hoverable:!0,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:Oe.contentModal,children:[d.jsx(Ro,{value:n,onChange:f=>o(f),placeholder:"Enter code here (e.g., Join)",label:"Affiliate Code"}),i&&d.jsx("div",{className:Oe.error,children:i}),d.jsxs("div",{className:Oe.infoBlock,children:[d.jsx("div",{className:Oe.infoIcon,children:d.jsx(ie,{name:"Info"})}),d.jsx("div",{className:Oe.infoText,children:"Once you join our referral program, you'll gain access to special deals, rewards, and potentially earn a percentage (%) of revenue."})]}),d.jsxs("div",{className:Oe.actions,children:[d.jsx(_t,{type:"Secondary",className:Oe.cancelButton,onClick:h,children:"Cancel"}),d.jsx(_t,{type:"Primary",onClick:u,children:"Create"})]})]})]})},es=()=>d.jsx("div",{style:{display:"flex",alignItems:"center",width:"100%"},children:d.jsxs("svg",{width:"100%",height:"64",viewBox:"0 0 208 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsxs("g",{clipPath:"url(#clip0_2098_5511)",children:[d.jsx("mask",{id:"path-1-inside-1_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 0H208V16H0V0Z"})}),d.jsx("path",{d:"M208 16.5C208.276 16.5 208.5 16.2761 208.5 16C208.5 15.7239 208.276 15.5 208 15.5V16.5ZM0 15.5C-0.276142 15.5 -0.5 15.7239 -0.5 16C-0.5 16.2761 -0.276142 16.5 0 16.5V15.5ZM4 16.5C4.27614 16.5 4.5 16.2761 4.5 16C4.5 15.7239 4.27614 15.5 4 15.5V16.5ZM12 15.5C11.7239 15.5 11.5 15.7239 11.5 16C11.5 16.2761 11.7239 16.5 12 16.5V15.5ZM20 16.5C20.2761 16.5 20.5 16.2761 20.5 16C20.5 15.7239 20.2761 15.5 20 15.5V16.5ZM28 15.5C27.7239 15.5 27.5 15.7239 27.5 16C27.5 16.2761 27.7239 16.5 28 16.5V15.5ZM36 16.5C36.2761 16.5 36.5 16.2761 36.5 16C36.5 15.7239 36.2761 15.5 36 15.5V16.5ZM44 15.5C43.7239 15.5 43.5 15.7239 43.5 16C43.5 16.2761 43.7239 16.5 44 16.5V15.5ZM52 16.5C52.2761 16.5 52.5 16.2761 52.5 16C52.5 15.7239 52.2761 15.5 52 15.5V16.5ZM60 15.5C59.7239 15.5 59.5 15.7239 59.5 16C59.5 16.2761 59.7239 16.5 60 16.5V15.5ZM68 16.5C68.2761 16.5 68.5 16.2761 68.5 16C68.5 15.7239 68.2761 15.5 68 15.5V16.5ZM76 15.5C75.7239 15.5 75.5 15.7239 75.5 16C75.5 16.2761 75.7239 16.5 76 16.5V15.5ZM84 16.5C84.2761 16.5 84.5 16.2761 84.5 16C84.5 15.7239 84.2761 15.5 84 15.5V16.5ZM92 15.5C91.7239 15.5 91.5 15.7239 91.5 16C91.5 16.2761 91.7239 16.5 92 16.5V15.5ZM100 16.5C100.276 16.5 100.5 16.2761 100.5 16C100.5 15.7239 100.276 15.5 100 15.5V16.5ZM108 15.5C107.724 15.5 107.5 15.7239 107.5 16C107.5 16.2761 107.724 16.5 108 16.5V15.5ZM116 16.5C116.276 16.5 116.5 16.2761 116.5 16C116.5 15.7239 116.276 15.5 116 15.5V16.5ZM124 15.5C123.724 15.5 123.5 15.7239 123.5 16C123.5 16.2761 123.724 16.5 124 16.5V15.5ZM132 16.5C132.276 16.5 132.5 16.2761 132.5 16C132.5 15.7239 132.276 15.5 132 15.5V16.5ZM140 15.5C139.724 15.5 139.5 15.7239 139.5 16C139.5 16.2761 139.724 16.5 140 16.5V15.5ZM148 16.5C148.276 16.5 148.5 16.2761 148.5 16C148.5 15.7239 148.276 15.5 148 15.5V16.5ZM156 15.5C155.724 15.5 155.5 15.7239 155.5 16C155.5 16.2761 155.724 16.5 156 16.5V15.5ZM164 16.5C164.276 16.5 164.5 16.2761 164.5 16C164.5 15.7239 164.276 15.5 164 15.5V16.5ZM172 15.5C171.724 15.5 171.5 15.7239 171.5 16C171.5 16.2761 171.724 16.5 172 16.5V15.5ZM180 16.5C180.276 16.5 180.5 16.2761 180.5 16C180.5 15.7239 180.276 15.5 180 15.5V16.5ZM188 15.5C187.724 15.5 187.5 15.7239 187.5 16C187.5 16.2761 187.724 16.5 188 16.5V15.5ZM196 16.5C196.276 16.5 196.5 16.2761 196.5 16C196.5 15.7239 196.276 15.5 196 15.5V16.5ZM204 15.5C203.724 15.5 203.5 15.7239 203.5 16C203.5 16.2761 203.724 16.5 204 16.5V15.5ZM0 16.5H4V15.5H0V16.5ZM12 16.5H20V15.5H12V16.5ZM28 16.5H36V15.5H28V16.5ZM44 16.5H52V15.5H44V16.5ZM60 16.5H68V15.5H60V16.5ZM76 16.5H84V15.5H76V16.5ZM92 16.5H100V15.5H92V16.5ZM108 16.5H116V15.5H108V16.5ZM124 16.5H132V15.5H124V16.5ZM140 16.5H148V15.5H140V16.5ZM156 16.5H164V15.5H156V16.5ZM172 16.5H180V15.5H172V16.5ZM188 16.5H196V15.5H188V16.5ZM204 16.5H208V15.5H204V16.5ZM208 17C208.552 17 209 16.5523 209 16C209 15.4477 208.552 15 208 15V17ZM0 15C-0.552285 15 -1 15.4477 -1 16C-1 16.5523 -0.552285 17 0 17V15ZM4 17C4.55228 17 5 16.5523 5 16C5 15.4477 4.55228 15 4 15V17ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17V15ZM20 17C20.5523 17 21 16.5523 21 16C21 15.4477 20.5523 15 20 15V17ZM28 15C27.4477 15 27 15.4477 27 16C27 16.5523 27.4477 17 28 17V15ZM36 17C36.5523 17 37 16.5523 37 16C37 15.4477 36.5523 15 36 15V17ZM44 15C43.4477 15 43 15.4477 43 16C43 16.5523 43.4477 17 44 17V15ZM52 17C52.5523 17 53 16.5523 53 16C53 15.4477 52.5523 15 52 15V17ZM60 15C59.4477 15 59 15.4477 59 16C59 16.5523 59.4477 17 60 17V15ZM68 17C68.5523 17 69 16.5523 69 16C69 15.4477 68.5523 15 68 15V17ZM76 15C75.4477 15 75 15.4477 75 16C75 16.5523 75.4477 17 76 17V15ZM84 17C84.5523 17 85 16.5523 85 16C85 15.4477 84.5523 15 84 15V17ZM92 15C91.4477 15 91 15.4477 91 16C91 16.5523 91.4477 17 92 17V15ZM100 17C100.552 17 101 16.5523 101 16C101 15.4477 100.552 15 100 15V17ZM108 15C107.448 15 107 15.4477 107 16C107 16.5523 107.448 17 108 17V15ZM116 17C116.552 17 117 16.5523 117 16C117 15.4477 116.552 15 116 15V17ZM124 15C123.448 15 123 15.4477 123 16C123 16.5523 123.448 17 124 17V15ZM132 17C132.552 17 133 16.5523 133 16C133 15.4477 132.552 15 132 15V17ZM140 15C139.448 15 139 15.4477 139 16C139 16.5523 139.448 17 140 17V15ZM148 17C148.552 17 149 16.5523 149 16C149 15.4477 148.552 15 148 15V17ZM156 15C155.448 15 155 15.4477 155 16C155 16.5523 155.448 17 156 17V15ZM164 17C164.552 17 165 16.5523 165 16C165 15.4477 164.552 15 164 15V17ZM172 15C171.448 15 171 15.4477 171 16C171 16.5523 171.448 17 172 17V15ZM180 17C180.552 17 181 16.5523 181 16C181 15.4477 180.552 15 180 15V17ZM188 15C187.448 15 187 15.4477 187 16C187 16.5523 187.448 17 188 17V15ZM196 17C196.552 17 197 16.5523 197 16C197 15.4477 196.552 15 196 15V17ZM204 15C203.448 15 203 15.4477 203 16C203 16.5523 203.448 17 204 17V15ZM0 17H4V15H0V17ZM12 17H20V15H12V17ZM28 17H36V15H28V17ZM44 17H52V15H44V17ZM60 17H68V15H60V17ZM76 17H84V15H76V17ZM92 17H100V15H92V17ZM108 17H116V15H108V17ZM124 17H132V15H124V17ZM140 17H148V15H140V17ZM156 17H164V15H156V17ZM172 17H180V15H172V17ZM188 17H196V15H188V17ZM204 17H208V15H204V17Z",fill:"#F8F8F8",mask:"url(#path-1-inside-1_2098_5511)"}),d.jsx("mask",{id:"path-3-inside-2_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 16H208V32H0V16Z"})}),d.jsx("path",{d:"M208 32.5C208.276 32.5 208.5 32.2761 208.5 32C208.5 31.7239 208.276 31.5 208 31.5V32.5ZM0 31.5C-0.276142 31.5 -0.5 31.7239 -0.5 32C-0.5 32.2761 -0.276142 32.5 0 32.5V31.5ZM4 32.5C4.27614 32.5 4.5 32.2761 4.5 32C4.5 31.7239 4.27614 31.5 4 31.5V32.5ZM12 31.5C11.7239 31.5 11.5 31.7239 11.5 32C11.5 32.2761 11.7239 32.5 12 32.5V31.5ZM20 32.5C20.2761 32.5 20.5 32.2761 20.5 32C20.5 31.7239 20.2761 31.5 20 31.5V32.5ZM28 31.5C27.7239 31.5 27.5 31.7239 27.5 32C27.5 32.2761 27.7239 32.5 28 32.5V31.5ZM36 32.5C36.2761 32.5 36.5 32.2761 36.5 32C36.5 31.7239 36.2761 31.5 36 31.5V32.5ZM44 31.5C43.7239 31.5 43.5 31.7239 43.5 32C43.5 32.2761 43.7239 32.5 44 32.5V31.5ZM52 32.5C52.2761 32.5 52.5 32.2761 52.5 32C52.5 31.7239 52.2761 31.5 52 31.5V32.5ZM60 31.5C59.7239 31.5 59.5 31.7239 59.5 32C59.5 32.2761 59.7239 32.5 60 32.5V31.5ZM68 32.5C68.2761 32.5 68.5 32.2761 68.5 32C68.5 31.7239 68.2761 31.5 68 31.5V32.5ZM76 31.5C75.7239 31.5 75.5 31.7239 75.5 32C75.5 32.2761 75.7239 32.5 76 32.5V31.5ZM84 32.5C84.2761 32.5 84.5 32.2761 84.5 32C84.5 31.7239 84.2761 31.5 84 31.5V32.5ZM92 31.5C91.7239 31.5 91.5 31.7239 91.5 32C91.5 32.2761 91.7239 32.5 92 32.5V31.5ZM100 32.5C100.276 32.5 100.5 32.2761 100.5 32C100.5 31.7239 100.276 31.5 100 31.5V32.5ZM108 31.5C107.724 31.5 107.5 31.7239 107.5 32C107.5 32.2761 107.724 32.5 108 32.5V31.5ZM116 32.5C116.276 32.5 116.5 32.2761 116.5 32C116.5 31.7239 116.276 31.5 116 31.5V32.5ZM124 31.5C123.724 31.5 123.5 31.7239 123.5 32C123.5 32.2761 123.724 32.5 124 32.5V31.5ZM132 32.5C132.276 32.5 132.5 32.2761 132.5 32C132.5 31.7239 132.276 31.5 132 31.5V32.5ZM140 31.5C139.724 31.5 139.5 31.7239 139.5 32C139.5 32.2761 139.724 32.5 140 32.5V31.5ZM148 32.5C148.276 32.5 148.5 32.2761 148.5 32C148.5 31.7239 148.276 31.5 148 31.5V32.5ZM156 31.5C155.724 31.5 155.5 31.7239 155.5 32C155.5 32.2761 155.724 32.5 156 32.5V31.5ZM164 32.5C164.276 32.5 164.5 32.2761 164.5 32C164.5 31.7239 164.276 31.5 164 31.5V32.5ZM172 31.5C171.724 31.5 171.5 31.7239 171.5 32C171.5 32.2761 171.724 32.5 172 32.5V31.5ZM180 32.5C180.276 32.5 180.5 32.2761 180.5 32C180.5 31.7239 180.276 31.5 180 31.5V32.5ZM188 31.5C187.724 31.5 187.5 31.7239 187.5 32C187.5 32.2761 187.724 32.5 188 32.5V31.5ZM196 32.5C196.276 32.5 196.5 32.2761 196.5 32C196.5 31.7239 196.276 31.5 196 31.5V32.5ZM204 31.5C203.724 31.5 203.5 31.7239 203.5 32C203.5 32.2761 203.724 32.5 204 32.5V31.5ZM0 32.5H4V31.5H0V32.5ZM12 32.5H20V31.5H12V32.5ZM28 32.5H36V31.5H28V32.5ZM44 32.5H52V31.5H44V32.5ZM60 32.5H68V31.5H60V32.5ZM76 32.5H84V31.5H76V32.5ZM92 32.5H100V31.5H92V32.5ZM108 32.5H116V31.5H108V32.5ZM124 32.5H132V31.5H124V32.5ZM140 32.5H148V31.5H140V32.5ZM156 32.5H164V31.5H156V32.5ZM172 32.5H180V31.5H172V32.5ZM188 32.5H196V31.5H188V32.5ZM204 32.5H208V31.5H204V32.5ZM208 33C208.552 33 209 32.5523 209 32C209 31.4477 208.552 31 208 31V33ZM0 31C-0.552285 31 -1 31.4477 -1 32C-1 32.5523 -0.552285 33 0 33V31ZM4 33C4.55228 33 5 32.5523 5 32C5 31.4477 4.55228 31 4 31V33ZM12 31C11.4477 31 11 31.4477 11 32C11 32.5523 11.4477 33 12 33V31ZM20 33C20.5523 33 21 32.5523 21 32C21 31.4477 20.5523 31 20 31V33ZM28 31C27.4477 31 27 31.4477 27 32C27 32.5523 27.4477 33 28 33V31ZM36 33C36.5523 33 37 32.5523 37 32C37 31.4477 36.5523 31 36 31V33ZM44 31C43.4477 31 43 31.4477 43 32C43 32.5523 43.4477 33 44 33V31ZM52 33C52.5523 33 53 32.5523 53 32C53 31.4477 52.5523 31 52 31V33ZM60 31C59.4477 31 59 31.4477 59 32C59 32.5523 59.4477 33 60 33V31ZM68 33C68.5523 33 69 32.5523 69 32C69 31.4477 68.5523 31 68 31V33ZM76 31C75.4477 31 75 31.4477 75 32C75 32.5523 75.4477 33 76 33V31ZM84 33C84.5523 33 85 32.5523 85 32C85 31.4477 84.5523 31 84 31V33ZM92 31C91.4477 31 91 31.4477 91 32C91 32.5523 91.4477 33 92 33V31ZM100 33C100.552 33 101 32.5523 101 32C101 31.4477 100.552 31 100 31V33ZM108 31C107.448 31 107 31.4477 107 32C107 32.5523 107.448 33 108 33V31ZM116 33C116.552 33 117 32.5523 117 32C117 31.4477 116.552 31 116 31V33ZM124 31C123.448 31 123 31.4477 123 32C123 32.5523 123.448 33 124 33V31ZM132 33C132.552 33 133 32.5523 133 32C133 31.4477 132.552 31 132 31V33ZM140 31C139.448 31 139 31.4477 139 32C139 32.5523 139.448 33 140 33V31ZM148 33C148.552 33 149 32.5523 149 32C149 31.4477 148.552 31 148 31V33ZM156 31C155.448 31 155 31.4477 155 32C155 32.5523 155.448 33 156 33V31ZM164 33C164.552 33 165 32.5523 165 32C165 31.4477 164.552 31 164 31V33ZM172 31C171.448 31 171 31.4477 171 32C171 32.5523 171.448 33 172 33V31ZM180 33C180.552 33 181 32.5523 181 32C181 31.4477 180.552 31 180 31V33ZM188 31C187.448 31 187 31.4477 187 32C187 32.5523 187.448 33 188 33V31ZM196 33C196.552 33 197 32.5523 197 32C197 31.4477 196.552 31 196 31V33ZM204 31C203.448 31 203 31.4477 203 32C203 32.5523 203.448 33 204 33V31ZM0 33H4V31H0V33ZM12 33H20V31H12V33ZM28 33H36V31H28V33ZM44 33H52V31H44V33ZM60 33H68V31H60V33ZM76 33H84V31H76V33ZM92 33H100V31H92V33ZM108 33H116V31H108V33ZM124 33H132V31H124V33ZM140 33H148V31H140V33ZM156 33H164V31H156V33ZM172 33H180V31H172V33ZM188 33H196V31H188V33ZM204 33H208V31H204V33Z",fill:"#F8F8F8",mask:"url(#path-3-inside-2_2098_5511)"}),d.jsx("mask",{id:"path-5-inside-3_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 32H208V48H0V32Z"})}),d.jsx("path",{d:"M208 48.5C208.276 48.5 208.5 48.2761 208.5 48C208.5 47.7239 208.276 47.5 208 47.5V48.5ZM0 47.5C-0.276142 47.5 -0.5 47.7239 -0.5 48C-0.5 48.2761 -0.276142 48.5 0 48.5V47.5ZM4 48.5C4.27614 48.5 4.5 48.2761 4.5 48C4.5 47.7239 4.27614 47.5 4 47.5V48.5ZM12 47.5C11.7239 47.5 11.5 47.7239 11.5 48C11.5 48.2761 11.7239 48.5 12 48.5V47.5ZM20 48.5C20.2761 48.5 20.5 48.2761 20.5 48C20.5 47.7239 20.2761 47.5 20 47.5V48.5ZM28 47.5C27.7239 47.5 27.5 47.7239 27.5 48C27.5 48.2761 27.7239 48.5 28 48.5V47.5ZM36 48.5C36.2761 48.5 36.5 48.2761 36.5 48C36.5 47.7239 36.2761 47.5 36 47.5V48.5ZM44 47.5C43.7239 47.5 43.5 47.7239 43.5 48C43.5 48.2761 43.7239 48.5 44 48.5V47.5ZM52 48.5C52.2761 48.5 52.5 48.2761 52.5 48C52.5 47.7239 52.2761 47.5 52 47.5V48.5ZM60 47.5C59.7239 47.5 59.5 47.7239 59.5 48C59.5 48.2761 59.7239 48.5 60 48.5V47.5ZM68 48.5C68.2761 48.5 68.5 48.2761 68.5 48C68.5 47.7239 68.2761 47.5 68 47.5V48.5ZM76 47.5C75.7239 47.5 75.5 47.7239 75.5 48C75.5 48.2761 75.7239 48.5 76 48.5V47.5ZM84 48.5C84.2761 48.5 84.5 48.2761 84.5 48C84.5 47.7239 84.2761 47.5 84 47.5V48.5ZM92 47.5C91.7239 47.5 91.5 47.7239 91.5 48C91.5 48.2761 91.7239 48.5 92 48.5V47.5ZM100 48.5C100.276 48.5 100.5 48.2761 100.5 48C100.5 47.7239 100.276 47.5 100 47.5V48.5ZM108 47.5C107.724 47.5 107.5 47.7239 107.5 48C107.5 48.2761 107.724 48.5 108 48.5V47.5ZM116 48.5C116.276 48.5 116.5 48.2761 116.5 48C116.5 47.7239 116.276 47.5 116 47.5V48.5ZM124 47.5C123.724 47.5 123.5 47.7239 123.5 48C123.5 48.2761 123.724 48.5 124 48.5V47.5ZM132 48.5C132.276 48.5 132.5 48.2761 132.5 48C132.5 47.7239 132.276 47.5 132 47.5V48.5ZM140 47.5C139.724 47.5 139.5 47.7239 139.5 48C139.5 48.2761 139.724 48.5 140 48.5V47.5ZM148 48.5C148.276 48.5 148.5 48.2761 148.5 48C148.5 47.7239 148.276 47.5 148 47.5V48.5ZM156 47.5C155.724 47.5 155.5 47.7239 155.5 48C155.5 48.2761 155.724 48.5 156 48.5V47.5ZM164 48.5C164.276 48.5 164.5 48.2761 164.5 48C164.5 47.7239 164.276 47.5 164 47.5V48.5ZM172 47.5C171.724 47.5 171.5 47.7239 171.5 48C171.5 48.2761 171.724 48.5 172 48.5V47.5ZM180 48.5C180.276 48.5 180.5 48.2761 180.5 48C180.5 47.7239 180.276 47.5 180 47.5V48.5ZM188 47.5C187.724 47.5 187.5 47.7239 187.5 48C187.5 48.2761 187.724 48.5 188 48.5V47.5ZM196 48.5C196.276 48.5 196.5 48.2761 196.5 48C196.5 47.7239 196.276 47.5 196 47.5V48.5ZM204 47.5C203.724 47.5 203.5 47.7239 203.5 48C203.5 48.2761 203.724 48.5 204 48.5V47.5ZM0 48.5H4V47.5H0V48.5ZM12 48.5H20V47.5H12V48.5ZM28 48.5H36V47.5H28V48.5ZM44 48.5H52V47.5H44V48.5ZM60 48.5H68V47.5H60V48.5ZM76 48.5H84V47.5H76V48.5ZM92 48.5H100V47.5H92V48.5ZM108 48.5H116V47.5H108V48.5ZM124 48.5H132V47.5H124V48.5ZM140 48.5H148V47.5H140V48.5ZM156 48.5H164V47.5H156V48.5ZM172 48.5H180V47.5H172V48.5ZM188 48.5H196V47.5H188V48.5ZM204 48.5H208V47.5H204V48.5ZM208 49C208.552 49 209 48.5523 209 48C209 47.4477 208.552 47 208 47V49ZM0 47C-0.552285 47 -1 47.4477 -1 48C-1 48.5523 -0.552285 49 0 49V47ZM4 49C4.55228 49 5 48.5523 5 48C5 47.4477 4.55228 47 4 47V49ZM12 47C11.4477 47 11 47.4477 11 48C11 48.5523 11.4477 49 12 49V47ZM20 49C20.5523 49 21 48.5523 21 48C21 47.4477 20.5523 47 20 47V49ZM28 47C27.4477 47 27 47.4477 27 48C27 48.5523 27.4477 49 28 49V47ZM36 49C36.5523 49 37 48.5523 37 48C37 47.4477 36.5523 47 36 47V49ZM44 47C43.4477 47 43 47.4477 43 48C43 48.5523 43.4477 49 44 49V47ZM52 49C52.5523 49 53 48.5523 53 48C53 47.4477 52.5523 47 52 47V49ZM60 47C59.4477 47 59 47.4477 59 48C59 48.5523 59.4477 49 60 49V47ZM68 49C68.5523 49 69 48.5523 69 48C69 47.4477 68.5523 47 68 47V49ZM76 47C75.4477 47 75 47.4477 75 48C75 48.5523 75.4477 49 76 49V47ZM84 49C84.5523 49 85 48.5523 85 48C85 47.4477 84.5523 47 84 47V49ZM92 47C91.4477 47 91 47.4477 91 48C91 48.5523 91.4477 49 92 49V47ZM100 49C100.552 49 101 48.5523 101 48C101 47.4477 100.552 47 100 47V49ZM108 47C107.448 47 107 47.4477 107 48C107 48.5523 107.448 49 108 49V47ZM116 49C116.552 49 117 48.5523 117 48C117 47.4477 116.552 47 116 47V49ZM124 47C123.448 47 123 47.4477 123 48C123 48.5523 123.448 49 124 49V47ZM132 49C132.552 49 133 48.5523 133 48C133 47.4477 132.552 47 132 47V49ZM140 47C139.448 47 139 47.4477 139 48C139 48.5523 139.448 49 140 49V47ZM148 49C148.552 49 149 48.5523 149 48C149 47.4477 148.552 47 148 47V49ZM156 47C155.448 47 155 47.4477 155 48C155 48.5523 155.448 49 156 49V47ZM164 49C164.552 49 165 48.5523 165 48C165 47.4477 164.552 47 164 47V49ZM172 47C171.448 47 171 47.4477 171 48C171 48.5523 171.448 49 172 49V47ZM180 49C180.552 49 181 48.5523 181 48C181 47.4477 180.552 47 180 47V49ZM188 47C187.448 47 187 47.4477 187 48C187 48.5523 187.448 49 188 49V47ZM196 49C196.552 49 197 48.5523 197 48C197 47.4477 196.552 47 196 47V49ZM204 47C203.448 47 203 47.4477 203 48C203 48.5523 203.448 49 204 49V47ZM0 49H4V47H0V49ZM12 49H20V47H12V49ZM28 49H36V47H28V49ZM44 49H52V47H44V49ZM60 49H68V47H60V49ZM76 49H84V47H76V49ZM92 49H100V47H92V49ZM108 49H116V47H108V49ZM124 49H132V47H124V49ZM140 49H148V47H140V49ZM156 49H164V47H156V49ZM172 49H180V47H172V49ZM188 49H196V47H188V49ZM204 49H208V47H204V49Z",fill:"#F8F8F8",mask:"url(#path-5-inside-3_2098_5511)"}),d.jsx("mask",{id:"path-7-inside-4_2098_5511",fill:"white",children:d.jsx("path",{d:"M0 48H208V64H0V48Z"})}),d.jsx("path",{d:"M208 64.5C208.276 64.5 208.5 64.2761 208.5 64C208.5 63.7239 208.276 63.5 208 63.5V64.5ZM0 63.5C-0.276142 63.5 -0.5 63.7239 -0.5 64C-0.5 64.2761 -0.276142 64.5 0 64.5V63.5ZM4 64.5C4.27614 64.5 4.5 64.2761 4.5 64C4.5 63.7239 4.27614 63.5 4 63.5V64.5ZM12 63.5C11.7239 63.5 11.5 63.7239 11.5 64C11.5 64.2761 11.7239 64.5 12 64.5V63.5ZM20 64.5C20.2761 64.5 20.5 64.2761 20.5 64C20.5 63.7239 20.2761 63.5 20 63.5V64.5ZM28 63.5C27.7239 63.5 27.5 63.7239 27.5 64C27.5 64.2761 27.7239 64.5 28 64.5V63.5ZM36 64.5C36.2761 64.5 36.5 64.2761 36.5 64C36.5 63.7239 36.2761 63.5 36 63.5V64.5ZM44 63.5C43.7239 63.5 43.5 63.7239 43.5 64C43.5 64.2761 43.7239 64.5 44 64.5V63.5ZM52 64.5C52.2761 64.5 52.5 64.2761 52.5 64C52.5 63.7239 52.2761 63.5 52 63.5V64.5ZM60 63.5C59.7239 63.5 59.5 63.7239 59.5 64C59.5 64.2761 59.7239 64.5 60 64.5V63.5ZM68 64.5C68.2761 64.5 68.5 64.2761 68.5 64C68.5 63.7239 68.2761 63.5 68 63.5V64.5ZM76 63.5C75.7239 63.5 75.5 63.7239 75.5 64C75.5 64.2761 75.7239 64.5 76 64.5V63.5ZM84 64.5C84.2761 64.5 84.5 64.2761 84.5 64C84.5 63.7239 84.2761 63.5 84 63.5V64.5ZM92 63.5C91.7239 63.5 91.5 63.7239 91.5 64C91.5 64.2761 91.7239 64.5 92 64.5V63.5ZM100 64.5C100.276 64.5 100.5 64.2761 100.5 64C100.5 63.7239 100.276 63.5 100 63.5V64.5ZM108 63.5C107.724 63.5 107.5 63.7239 107.5 64C107.5 64.2761 107.724 64.5 108 64.5V63.5ZM116 64.5C116.276 64.5 116.5 64.2761 116.5 64C116.5 63.7239 116.276 63.5 116 63.5V64.5ZM124 63.5C123.724 63.5 123.5 63.7239 123.5 64C123.5 64.2761 123.724 64.5 124 64.5V63.5ZM132 64.5C132.276 64.5 132.5 64.2761 132.5 64C132.5 63.7239 132.276 63.5 132 63.5V64.5ZM140 63.5C139.724 63.5 139.5 63.7239 139.5 64C139.5 64.2761 139.724 64.5 140 64.5V63.5ZM148 64.5C148.276 64.5 148.5 64.2761 148.5 64C148.5 63.7239 148.276 63.5 148 63.5V64.5ZM156 63.5C155.724 63.5 155.5 63.7239 155.5 64C155.5 64.2761 155.724 64.5 156 64.5V63.5ZM164 64.5C164.276 64.5 164.5 64.2761 164.5 64C164.5 63.7239 164.276 63.5 164 63.5V64.5ZM172 63.5C171.724 63.5 171.5 63.7239 171.5 64C171.5 64.2761 171.724 64.5 172 64.5V63.5ZM180 64.5C180.276 64.5 180.5 64.2761 180.5 64C180.5 63.7239 180.276 63.5 180 63.5V64.5ZM188 63.5C187.724 63.5 187.5 63.7239 187.5 64C187.5 64.2761 187.724 64.5 188 64.5V63.5ZM196 64.5C196.276 64.5 196.5 64.2761 196.5 64C196.5 63.7239 196.276 63.5 196 63.5V64.5ZM204 63.5C203.724 63.5 203.5 63.7239 203.5 64C203.5 64.2761 203.724 64.5 204 64.5V63.5ZM0 64.5H4V63.5H0V64.5ZM12 64.5H20V63.5H12V64.5ZM28 64.5H36V63.5H28V64.5ZM44 64.5H52V63.5H44V64.5ZM60 64.5H68V63.5H60V64.5ZM76 64.5H84V63.5H76V64.5ZM92 64.5H100V63.5H92V64.5ZM108 64.5H116V63.5H108V64.5ZM124 64.5H132V63.5H124V64.5ZM140 64.5H148V63.5H140V64.5ZM156 64.5H164V63.5H156V64.5ZM172 64.5H180V63.5H172V64.5ZM188 64.5H196V63.5H188V64.5ZM204 64.5H208V63.5H204V64.5ZM208 65C208.552 65 209 64.5523 209 64C209 63.4477 208.552 63 208 63V65ZM0 63C-0.552285 63 -1 63.4477 -1 64C-1 64.5523 -0.552285 65 0 65V63ZM4 65C4.55228 65 5 64.5523 5 64C5 63.4477 4.55228 63 4 63V65ZM12 63C11.4477 63 11 63.4477 11 64C11 64.5523 11.4477 65 12 65V63ZM20 65C20.5523 65 21 64.5523 21 64C21 63.4477 20.5523 63 20 63V65ZM28 63C27.4477 63 27 63.4477 27 64C27 64.5523 27.4477 65 28 65V63ZM36 65C36.5523 65 37 64.5523 37 64C37 63.4477 36.5523 63 36 63V65ZM44 63C43.4477 63 43 63.4477 43 64C43 64.5523 43.4477 65 44 65V63ZM52 65C52.5523 65 53 64.5523 53 64C53 63.4477 52.5523 63 52 63V65ZM60 63C59.4477 63 59 63.4477 59 64C59 64.5523 59.4477 65 60 65V63ZM68 65C68.5523 65 69 64.5523 69 64C69 63.4477 68.5523 63 68 63V65ZM76 63C75.4477 63 75 63.4477 75 64C75 64.5523 75.4477 65 76 65V63ZM84 65C84.5523 65 85 64.5523 85 64C85 63.4477 84.5523 63 84 63V65ZM92 63C91.4477 63 91 63.4477 91 64C91 64.5523 91.4477 65 92 65V63ZM100 65C100.552 65 101 64.5523 101 64C101 63.4477 100.552 63 100 63V65ZM108 63C107.448 63 107 63.4477 107 64C107 64.5523 107.448 65 108 65V63ZM116 65C116.552 65 117 64.5523 117 64C117 63.4477 116.552 63 116 63V65ZM124 63C123.448 63 123 63.4477 123 64C123 64.5523 123.448 65 124 65V63ZM132 65C132.552 65 133 64.5523 133 64C133 63.4477 132.552 63 132 63V65ZM140 63C139.448 63 139 63.4477 139 64C139 64.5523 139.448 65 140 65V63ZM148 65C148.552 65 149 64.5523 149 64C149 63.4477 148.552 63 148 63V65ZM156 63C155.448 63 155 63.4477 155 64C155 64.5523 155.448 65 156 65V63ZM164 65C164.552 65 165 64.5523 165 64C165 63.4477 164.552 63 164 63V65ZM172 63C171.448 63 171 63.4477 171 64C171 64.5523 171.448 65 172 65V63ZM180 65C180.552 65 181 64.5523 181 64C181 63.4477 180.552 63 180 63V65ZM188 63C187.448 63 187 63.4477 187 64C187 64.5523 187.448 65 188 65V63ZM196 65C196.552 65 197 64.5523 197 64C197 63.4477 196.552 63 196 63V65ZM204 63C203.448 63 203 63.4477 203 64C203 64.5523 203.448 65 204 65V63ZM0 65H4V63H0V65ZM12 65H20V63H12V65ZM28 65H36V63H28V65ZM44 65H52V63H44V65ZM60 65H68V63H60V65ZM76 65H84V63H76V65ZM92 65H100V63H92V65ZM108 65H116V63H108V65ZM124 65H132V63H124V65ZM140 65H148V63H140V65ZM156 65H164V63H156V65ZM172 65H180V63H172V65ZM188 65H196V63H188V65ZM204 65H208V63H204V65Z",fill:"#F8F8F8",mask:"url(#path-7-inside-4_2098_5511)"}),d.jsx("path",{opacity:"0.25",d:"M188.216 21.8308L192.267 33.3363C192.984 35.3729 195.553 36.0079 197.136 34.5401L200.346 31.5644C200.704 31.2324 200.976 30.8179 201.137 30.357L202.893 25.3492L207.891 8.63898C207.962 8.40249 207.998 8.15696 207.998 7.91011V61C207.998 62.6569 206.655 64 204.998 64H2.99805C1.34119 64 -0.00195312 62.6569 -0.00195312 61V38.199C-0.00195312 37.5477 0.209976 36.9142 0.601822 36.394L4.07924 31.7775C5.46086 29.9434 8.30679 30.2781 9.22513 32.3828L13.7407 42.7321C14.1196 43.6005 14.8865 44.2389 15.8092 44.454L20.4905 45.5454C21.1539 45.7 21.8501 45.6244 22.4647 45.3308L27.6593 42.8495C28.3218 42.533 28.8452 41.9846 29.1305 41.3081L33.0958 31.9045C34.1272 29.4587 37.593 29.4587 38.6244 31.9045L39.704 34.4648C40.8065 37.0793 44.5863 36.8438 45.3559 34.1128L49.5889 19.0897C49.9533 17.7966 51.133 16.9033 52.4765 16.9033H56.4941C57.0707 16.9033 57.6351 16.7372 58.1197 16.4247L61.1576 14.466C62.8476 13.3764 65.11 14.2251 65.6662 16.1575L70.599 33.2936C71.1572 35.2328 73.4323 36.079 75.122 34.9758L75.9273 34.45C77.4802 33.4361 79.5719 34.0601 80.3156 35.7591L84.8676 46.1586C85.5306 47.6733 87.2942 48.366 88.8108 47.7074L91.9453 46.3462C92.765 45.9903 93.3833 45.2875 93.632 44.4292L99.0729 25.6458C99.6874 23.5244 102.321 22.7938 103.941 24.2955C105.587 25.8222 108.267 25.0377 108.831 22.864L112.541 8.54954C113.26 5.77543 117.087 5.49227 118.207 8.13037L120.305 13.0767C121.105 14.9603 123.513 15.5086 125.049 14.1567L125.58 13.6896C127.224 12.2425 129.814 12.9875 130.438 15.0869L134.329 28.1818C135.073 30.6853 138.439 31.1086 139.779 28.8673L142.671 24.0333C143.159 23.2175 144.004 22.6813 144.95 22.5878L149.822 22.1065C150.344 22.0549 150.843 21.8672 151.271 21.5621L154.984 18.9089C156.467 17.8494 158.544 18.346 159.388 19.9617L161.285 23.5972C162.565 26.0491 166.199 25.6102 166.858 22.9241L169.511 12.1165C170.239 9.14844 174.421 9.04274 175.298 11.9702L177.723 20.0592C178.406 22.3382 181.343 22.9532 182.883 21.1398L183.099 20.8852C184.598 19.1202 187.447 19.6467 188.216 21.8308Z",fill:"url(#paint0_linear_2098_5511)"}),d.jsx("path",{d:"M207.998 8.42336L201.106 31.2146C200.924 31.8169 200.557 32.3467 200.057 32.729L196.94 35.1136C195.319 36.3534 192.96 35.6482 192.286 33.7223L188.181 22.0024C187.422 19.8338 184.606 19.289 183.092 21.0179L182.846 21.2991C181.3 23.0654 178.416 22.4516 177.723 20.2087L175.29 12.336C174.395 9.4396 170.259 9.54691 169.515 12.4858L166.857 22.9946C166.185 25.6477 162.603 26.0903 161.306 23.6803L159.382 20.1042C158.534 18.5278 156.503 18.0404 155.031 19.0601L151.262 21.6725C150.84 21.9649 150.35 22.1442 149.839 22.1931L144.931 22.6636C143.996 22.7532 143.157 23.2757 142.664 24.0754L139.754 28.7942C138.4 30.9907 135.088 30.5657 134.332 28.0982L130.441 15.3948C129.808 13.3298 127.267 12.5895 125.624 13.9921L125.005 14.5209C123.474 15.8283 121.115 15.2863 120.308 13.4417L118.191 8.60225C117.054 6.00226 113.277 6.28847 112.544 9.03014L108.848 22.8647C108.27 25.0292 105.606 25.8158 103.94 24.3175V24.3175C102.303 22.8447 99.6856 23.5762 99.0555 25.6864L93.6445 43.8072C93.388 44.6663 92.7608 45.3656 91.9346 45.7136L88.763 47.0496C87.2632 47.6814 85.5332 47.0022 84.8638 45.5188L80.3156 35.4387C79.5653 33.7759 77.517 33.1621 75.9758 34.1381L75.0745 34.709C73.393 35.774 71.1595 34.9362 70.5933 33.028L65.672 16.4433C65.1078 14.5419 62.8867 13.7015 61.2051 14.7533L58.1073 16.6909C57.6303 16.9892 57.079 17.1474 56.5164 17.1474H52.4575C51.123 17.1474 49.9489 18.029 49.5766 19.3106L45.3511 33.8582C44.5676 36.5556 40.8386 36.7934 39.7188 34.2174L38.6114 31.6698C37.5658 29.2644 34.1544 29.2644 33.1088 31.6698L29.1425 40.7941C28.8495 41.4681 28.3193 42.0111 27.6525 42.3201L22.4421 44.7345C21.8411 45.0129 21.165 45.0847 20.519 44.9386L15.803 43.872C14.8836 43.6641 14.1154 43.0362 13.7288 42.1765L9.21662 32.1447C8.28874 30.0817 5.49845 29.7487 4.11113 31.5353L-0.00196201 36.8322",stroke:"#FF3F19"})]}),d.jsxs("defs",{children:[d.jsxs("linearGradient",{id:"paint0_linear_2098_5511",x1:"103.998",y1:"0",x2:"103.998",y2:"64",gradientUnits:"userSpaceOnUse",children:[d.jsx("stop",{stopColor:"#FF3F19"}),d.jsx("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),d.jsx("clipPath",{id:"clip0_2098_5511",children:d.jsx("rect",{width:"208",height:"64",fill:"white"})})]})]})}),hw=({adaptiveStyles:e})=>{const[t,n]=_.useState(null),[o,i]=_.useState(!1),[a,s]=_.useState(!1),[l,c]=_.useState(!1);if(_.useEffect(()=>{i(!0),s(!0),(async()=>{const m=await Xy();n(m)})(),i(!1),s(!1)},[]),!t)return d.jsx(An,{});const{isAvailable:u,isActivated:h,info:f}=t.data;return u?d.jsxs("div",{children:[d.jsxs("div",{className:ge(Oe.referral,{[Oe.mobile]:e!=="desktop"}),children:[d.jsx("div",{className:ge(Oe.referralBlock,{[Oe.mobile]:e!=="desktop"}),children:o?d.jsx(mw,{adaptiveStyles:e}):d.jsxs("div",{className:Oe.referralContainer,children:[d.jsx("div",{id:"h2",className:Oe.title,children:"Refer friends"}),d.jsx("div",{className:Oe.description,id:"lg",children:"Refer friends. Earn rewards. Make bank."}),h?d.jsx(d.Fragment,{children:d.jsx(pw,{referral:t})}):d.jsx(d.Fragment,{children:d.jsx(fw,{setIsOpen:c})})]})}),a?d.jsx("div",{className:Oe.referralStats}):d.jsxs("div",{className:ge(Oe.referralStats,{[Oe.mobile]:e!=="desktop"}),children:[d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Referrals"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:f!=null&&f.totalReferrals?`${f.totalReferrals} person`:"-"}),d.jsx(es,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earned"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:"-"}),d.jsx(es,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Total Revenue"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:Rn({amount:(f==null?void 0:f.totalRevenueUsd)||0})}),d.jsx(es,{})]}),d.jsxs("div",{className:Oe.referralStatsItem,children:[d.jsx("div",{id:"lg",className:Oe.referralStatsItemLabel,children:"Earn Procent"}),d.jsx("div",{id:"h2",className:Oe.referralStatsItemValue,children:`${t.data.earnPercent}%`||"-"}),d.jsx(es,{})]})]})]}),l&&d.jsx(cl,{close:()=>c(!1),children:d.jsx(dw,{setIsOpen:c,setIsLoading:i})})]}):null},fw=({setIsOpen:e})=>{const{setIsOpen:t}=$r();return d.jsxs("div",{className:Oe.steps,onClick:n=>n.stopPropagation(),children:[d.jsx(_t,{type:"Primary",className:Oe.joinButton,onClick:()=>{e(!0),t(!0)},children:"Join the referral Program"}),d.jsx("div",{children:NC.map(({caption:n,description:o},i,a)=>d.jsx(uw,{caption:n,description:o,index:i+1,bar:i+1!==a.length},n))})]})},pw=({referral:e})=>{var a,s;const{shopDomain:t}=uo(),n=`https://${t}/?r=${(a=e.data.info)==null?void 0:a.referralCode}`,{notifications:o,setNotifications:i}=cn();return d.jsxs("div",{className:Oe.referralInfo,children:[d.jsx(Ro,{onChange:()=>{},label:"Affiliate Code",value:((s=e.data.info)==null?void 0:s.referralCode)||"",disabled:!0}),d.jsx("div",{className:Oe.linkContainer,children:d.jsx(Ro,{onChange:()=>{},label:"Affiliate Link",value:n,disabled:!0,rightIcon:d.jsx(ie,{name:"Copy",fill:"var(--text-action)",onClick:()=>{navigator.clipboard.writeText(n),i([...o,{message:"Link copied to clipboard",status:"success",id:pt()}])},hoverable:!0})})})]})},mw=({adaptiveStyles:e})=>d.jsxs(pi,{speed:2,width:500,height:"100%",viewBox:"0 0 500 305",backgroundColor:"var(--surface-secondary)",foregroundColor:"var(--surface-disabled)",className:ge(Oe.skeleton,{[Oe.mobile]:e!=="desktop"}),style:{borderRadius:"var(--border-radius)"},children:[d.jsx("rect",{x:"0",y:"0",rx:"10",ry:"10",width:"264",height:"40"}),d.jsx("rect",{x:"0",y:"45",rx:"10",ry:"10",width:"160",height:"24"}),d.jsx("rect",{x:"0",y:"100",rx:"10",ry:"10",width:"100",height:"40"}),d.jsx("rect",{x:"0",y:"150",rx:"10",ry:"10",width:"476",height:"40"}),d.jsx("rect",{x:"0",y:"220",rx:"10",ry:"10",width:"428",height:"50"})]}),gw="_title_u8oqs_1",Iw="_heading_u8oqs_10",Cw="_description_u8oqs_15",Ql={title:gw,heading:Iw,description:Cw},La=({title:e,description:t})=>d.jsxs("div",{className:Ql.title,children:[d.jsx("div",{id:"h3",className:Ql.heading,children:e}),t&&d.jsx("div",{className:Ql.description,id:"lg",children:t})]}),bw="_noItemsBlock_yefnm_4",Sw="_noItemsBlockIcon_yefnm_13",yw="_noItemsBlockTitle_yefnm_21",Ew="_noItemsBlockDescription_yefnm_31",Tw="_centered_yefnm_37",Ri={noItemsBlock:bw,noItemsBlockIcon:Sw,noItemsBlockTitle:yw,noItemsBlockDescription:Ew,centered:Tw},Na=({title:e,description:t,className:n,centered:o=!1})=>d.jsxs("div",{className:ge(Ri.noItemsBlock,n,{[Ri.centered]:o}),children:[d.jsx("div",{className:Ri.noItemsBlockIcon,children:d.jsx(ie,{name:"Info",fill:"var(--text-secondary)"})}),d.jsx("div",{className:Ri.noItemsBlockTitle,id:"h4",children:e}),d.jsx("div",{className:Ri.noItemsBlockDescription,id:"md",children:t})]}),xw="_ordersTable_1btyq_2",_w="_gatewayItem_1btyq_10",ww="_gatewayIcon_1btyq_15",vw="_orderTime_1btyq_20",Aw="_reviewContainer_1btyq_25",kw="_reviewRating_1btyq_35",Lw="_tableLoader_1btyq_39",Nw="_tableItem_1btyq_48",jn={ordersTable:xw,gatewayItem:_w,gatewayIcon:ww,orderTime:vw,reviewContainer:Aw,reviewRating:kw,tableLoader:Lw,tableItem:Nw};var Ao=(e=>(e[e.SUCCESS=1]="SUCCESS",e[e.WARNING=2]="WARNING",e[e.ERROR=3]="ERROR",e))(Ao||{});const Pw={[Ge.New]:2,[Ge.Pending]:2,[Ge.Completed]:1,[Ge.Cancelled]:3,[Ge.Expired]:3,[Ge.FullDeliveryFailure]:3,[Ge.PartiallyDelivered]:2,[Ge.Refunded]:1,[Ge.Failed]:3},Rw=(e,t)=>{const n=t.find(o=>o.name===e);return n?d.jsxs("div",{className:jn.gatewayItem,children:[(n==null?void 0:n.name)==="ForebitPayments"?d.jsx(k0,{}):d.jsx("img",{alt:n.displayName,src:er(n.logoCfImageId),className:jn.gatewayIcon}),d.jsx("div",{id:"md",children:n.displayName})]}):null},Dw=({item:e,gatewaysDetail:t})=>{const[n,o]=ua(e.time),{isAntistock:i}=mt();return d.jsxs(_.Fragment,{children:[d.jsx(un,{copyText:e.id,children:d.jsx(As,{to:`/orders/${e.id}/${e.accessToken}`,id:"md",children:e.id})}),d.jsx(un,{children:d.jsx(As,{to:`/orders/${e.id}/${e.accessToken}`,children:d.jsx(iv,{status:e.status,variant:Pw[e.status]})})}),d.jsx(un,{children:Rn(e.price)}),d.jsx(un,{children:Rw(e.gatewayName,t)}),d.jsx(un,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:jn.orderTime,id:"md",children:o})]})}),!i&&d.jsx(un,{children:e.review?d.jsxs("div",{className:jn.reviewContainer,children:[d.jsx(ie,{name:"Star",fill:"var(--text-secondary)"}),d.jsx("div",{className:jn.reviewRating,id:"md",children:e.review.rating})]}):d.jsx("span",{id:"md",children:"None"})})]},e.id)},Ow=({orders:e,gatewaysDetail:t,totalCount:n,isLoading:o})=>{const{page:i,setPage:a}=xa(),{isAntistock:s}=mt(),c=!(!(e!=null&&e.length)||!t)&&e.length>0;return d.jsxs("div",{className:jn.ordersTable,children:[d.jsxs(Qu,{children:[d.jsx(Cn,{className:jn.tableItem,children:"Invoice ID"}),d.jsx(Cn,{className:jn.tableItem,children:"Status"}),d.jsx(Cn,{className:jn.tableItem,children:"Value"}),d.jsx(Cn,{className:jn.tableItem,children:"Payment"}),d.jsx(Cn,{className:jn.tableItem,children:"Date"}),!s&&d.jsx(Cn,{className:jn.tableItem,children:"Review"}),c&&!o&&e.map(u=>d.jsx(Dw,{item:u,gatewaysDetail:t},u.id))]}),(!c||o)&&d.jsx("div",{className:jn.tableLoader,children:d.jsx(An,{})}),c&&!o&&d.jsx(hl,{currentPage:i,totalCount:n,onPageChange:a})]})},Mw="_antistockTable_12ftg_4",Bw="_table_12ftg_4",Fw="_tableItem_12ftg_18",Hw="_text_12ftg_31",jw="_tableItemTitle_12ftg_38",pa={antistockTable:Mw,table:Bw,tableItem:Fw,text:Hw,tableItemTitle:jw},un=({children:e,className:t,onClick:n,copyText:o,id:i})=>{const a=ll();return d.jsxs("div",{className:ge(pa.tableItem,t),onClick:n,style:{cursor:n?"pointer":"default"},children:[d.jsx("span",{className:pa.text,id:i||"md",children:e})," ",o&&d.jsx("div",{style:{minWidth:"24px"},children:d.jsx(ie,{name:"Copy",hoverable:!0,onClick:()=>a(o),width:24,height:24})})]})},Cn=({children:e,className:t})=>d.jsx(un,{className:ge(pa.tableItemTitle,t),id:"lg",children:e}),Qu=({children:e,className:t})=>{const{isAntistock:n}=mt();return d.jsx("div",{className:ge(t,n?pa.antistockTable:pa.table),children:e})},Uw="_paginationContainer_pt4l5_4",Vw="_paginationWithRange_pt4l5_16",zw="_paginationWithRangeText_pt4l5_33",$w="_paginationWithRangePagination_pt4l5_45",bs={paginationContainer:Uw,paginationWithRange:Vw,paginationWithRangeText:zw,paginationWithRangePagination:$w},ts=(e,t)=>Array.from({length:t-e+1},(n,o)=>e+o),Ww=(e,t,n)=>{const o=n*2+3+2;if(t<=o)return ts(1,t);const i=Math.max(e-n,1),a=Math.min(e+n,t),s=i>2,l=a<t-2;return!s&&l?[...ts(1,3+2*n),"right-ellipsis",t]:s&&!l?[1,"left-ellipsis",...ts(t-(3+2*n)+1,t)]:[1,"left-ellipsis",...ts(i,a),"right-ellipsis",t]},qw=({currentPage:e,totalPages:t,onPageChange:n,siblingCount:o=1})=>{const i=c=>{const u=o*2+1;n(c?Math.max(e-u,1):Math.min(e+u,t))},a=e===1,s=e===t,l=c=>d.jsx(_t,{type:typeof c=="number"&&c===e?"Primary":"Secondary",onClick:()=>typeof c=="string"?i(c==="left-ellipsis"):n(c),"aria-current":typeof c=="number"&&c===e?"page":void 0,children:typeof c=="string"?"…":c},c);return d.jsxs("div",{className:bs.paginationContainer,children:[d.jsx(_t,{type:"Secondary",onClick:()=>!a&&n(e-1),disabled:a,children:d.jsx(ie,{name:"ArrowLeft"})}),Ww(e,t,o).map(l),d.jsx(_t,{type:"Secondary",onClick:()=>!s&&n(e+1),disabled:s,children:d.jsx(ie,{name:"ArrowRight"})})]})},Gw=(e,t,n)=>{const o=(e-1)*n+1,i=Math.min(e*n,t);return`Showing ${o}-${i} entries of ${t}`},hl=({className:e,totalCount:t,...n})=>{const o=Math.ceil(t/qc);return o<2?null:d.jsxs("div",{className:`${bs.paginationWithRange} ${e}`,children:[d.jsx("div",{className:bs.paginationWithRangeText,id:"md",children:Gw(n.currentPage,t,qc)}),d.jsx("div",{className:bs.paginationWithRangePagination,children:d.jsx(qw,{...n,totalPages:o})})]})},Yw="_statusIndicator_bvd17_4",Zw="_antistockStatus_bvd17_11",Xw="_statusIndicatorSuccess_bvd17_16",Kw="_statusIndicatorWarning_bvd17_20",Qw="_statusIndicatorError_bvd17_24",Jw="_statusIndicatorText_bvd17_28",Qo={statusIndicator:Yw,antistockStatus:Zw,statusIndicatorSuccess:Xw,statusIndicatorWarning:Kw,statusIndicatorError:Qw,statusIndicatorText:Jw},ev=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M11.2105 5.91453C11.2628 5.96677 11.3043 6.02881 11.3326 6.0971C11.3609 6.16538 11.3754 6.23858 11.3754 6.3125C11.3754 6.38642 11.3609 6.45962 11.3326 6.5279C11.3043 6.59619 11.2628 6.65823 11.2105 6.71047L7.27297 10.648C7.22073 10.7003 7.15869 10.7418 7.09041 10.7701C7.02212 10.7984 6.94892 10.8129 6.875 10.8129C6.80108 10.8129 6.72789 10.7984 6.6596 10.7701C6.59131 10.7418 6.52928 10.7003 6.47703 10.648L4.78953 8.96047C4.68399 8.85492 4.62469 8.71177 4.62469 8.5625C4.62469 8.41323 4.68399 8.27008 4.78953 8.16453C4.89508 8.05898 5.03824 7.99969 5.1875 7.99969C5.33677 7.99969 5.47992 8.05898 5.58547 8.16453L6.875 9.45477L10.4145 5.91453C10.4668 5.86223 10.5288 5.82074 10.5971 5.79244C10.6654 5.76413 10.7386 5.74956 10.8125 5.74956C10.8864 5.74956 10.9596 5.76413 11.0279 5.79244C11.0962 5.82074 11.1582 5.86223 11.2105 5.91453ZM15.3125 8C15.3125 9.44628 14.8836 10.8601 14.0801 12.0626C13.2766 13.2651 12.1346 14.2024 10.7984 14.7559C9.46219 15.3093 7.99189 15.4541 6.57341 15.172C5.15492 14.8898 3.85196 14.1934 2.82928 13.1707C1.80661 12.148 1.11017 10.8451 0.828011 9.4266C0.545857 8.00811 0.690668 6.53781 1.24413 5.20163C1.7976 3.86544 2.73486 2.72339 3.9374 1.91988C5.13993 1.11637 6.55373 0.6875 8 0.6875C9.93877 0.689547 11.7975 1.46063 13.1685 2.83154C14.5394 4.20246 15.3105 6.06123 15.3125 8ZM14.1875 8C14.1875 6.77623 13.8246 5.57994 13.1447 4.56241C12.4648 3.54488 11.4985 2.75181 10.3679 2.2835C9.23724 1.81518 7.99314 1.69264 6.79288 1.93139C5.59262 2.17014 4.49012 2.75944 3.62478 3.62478C2.75944 4.49011 2.17014 5.59262 1.93139 6.79288C1.69265 7.99314 1.81518 9.23724 2.2835 10.3679C2.75182 11.4985 3.54488 12.4648 4.56241 13.1447C5.57994 13.8246 6.77623 14.1875 8 14.1875C9.64046 14.1856 11.2132 13.5331 12.3732 12.3732C13.5331 11.2132 14.1856 9.64046 14.1875 8Z",fill:"#338B13"})}),tv=()=>d.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M8 0.6875C6.55373 0.6875 5.13993 1.11637 3.9374 1.91988C2.73486 2.72339 1.7976 3.86544 1.24413 5.20163C0.690668 6.53781 0.545857 8.00811 0.828011 9.4266C1.11017 10.8451 1.80661 12.148 2.82928 13.1707C3.85196 14.1934 5.15492 14.8898 6.57341 15.172C7.99189 15.4541 9.46219 15.3093 10.7984 14.7559C12.1346 14.2024 13.2766 13.2651 14.0801 12.0626C14.8836 10.8601 15.3125 9.44628 15.3125 8C15.3105 6.06123 14.5394 4.20246 13.1685 2.83154C11.7975 1.46063 9.93877 0.689547 8 0.6875ZM8 14.1875C6.77623 14.1875 5.57994 13.8246 4.56241 13.1447C3.54488 12.4648 2.75182 11.4985 2.2835 10.3679C1.81518 9.23724 1.69265 7.99314 1.93139 6.79288C2.17014 5.59262 2.75944 4.49011 3.62478 3.62478C4.49012 2.75944 5.59262 2.17014 6.79288 1.93139C7.99314 1.69264 9.23724 1.81518 10.3679 2.2835C11.4985 2.75181 12.4648 3.54488 13.1447 4.56241C13.8246 5.57994 14.1875 6.77623 14.1875 8C14.1856 9.64046 13.5331 11.2132 12.3732 12.3732C11.2132 13.5331 9.64046 14.1856 8 14.1875ZM12.5 8C12.5 8.14918 12.4407 8.29226 12.3353 8.39775C12.2298 8.50324 12.0867 8.5625 11.9375 8.5625H8C7.85082 8.5625 7.70775 8.50324 7.60226 8.39775C7.49677 8.29226 7.4375 8.14918 7.4375 8V4.0625C7.4375 3.91332 7.49677 3.77024 7.60226 3.66475C7.70775 3.55926 7.85082 3.5 8 3.5C8.14919 3.5 8.29226 3.55926 8.39775 3.66475C8.50324 3.77024 8.5625 3.91332 8.5625 4.0625V7.4375H11.9375C12.0867 7.4375 12.2298 7.49676 12.3353 7.60225C12.4407 7.70774 12.5 7.85082 12.5 8Z",fill:"#C1972A"})}),nv=()=>d.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[d.jsx("path",{d:"M9 17.0625C4.5525 17.0625 0.9375 13.4475 0.9375 9C0.9375 4.5525 4.5525 0.9375 9 0.9375C13.4475 0.9375 17.0625 4.5525 17.0625 9C17.0625 13.4475 13.4475 17.0625 9 17.0625ZM9 2.0625C5.175 2.0625 2.0625 5.175 2.0625 9C2.0625 12.825 5.175 15.9375 9 15.9375C12.825 15.9375 15.9375 12.825 15.9375 9C15.9375 5.175 12.825 2.0625 9 2.0625Z",fill:"#C12A2A"}),d.jsx("path",{d:"M6.87752 11.685C6.73502 11.685 6.59252 11.6325 6.48002 11.52C6.26252 11.3025 6.26252 10.9425 6.48002 10.725L10.725 6.48C10.9425 6.2625 11.3025 6.2625 11.52 6.48C11.7375 6.6975 11.7375 7.0575 11.52 7.275L7.27502 11.52C7.17002 11.6325 7.02002 11.685 6.87752 11.685Z",fill:"#C12A2A"}),d.jsx("path",{d:"M11.1225 11.685C10.98 11.685 10.8375 11.6325 10.725 11.52L6.48002 7.275C6.26252 7.0575 6.26252 6.6975 6.48002 6.48C6.69752 6.2625 7.05752 6.2625 7.27502 6.48L11.52 10.725C11.7375 10.9425 11.7375 11.3025 11.52 11.52C11.4075 11.6325 11.265 11.685 11.1225 11.685Z",fill:"#C12A2A"})]}),rv={[Ao.SUCCESS]:ev,[Ao.WARNING]:tv,[Ao.ERROR]:nv},ov={[Ao.SUCCESS]:Qo.statusIndicatorSuccess,[Ao.WARNING]:Qo.statusIndicatorWarning,[Ao.ERROR]:Qo.statusIndicatorError},iv=({status:e,variant:t})=>{const{isAntistock:n}=mt(),o=rv[t];return d.jsxs("div",{className:ge(Qo.statusIndicator,ov[t],{[Qo.antistockStatus]:n}),children:[d.jsx(o,{}),d.jsx("span",{className:Qo.statusIndicatorText,id:"md",children:e})]})},av="_deliveryItem_1x3fg_1",sv="_deliveryItemText_1x3fg_10",Ki={deliveryItem:av,deliveryItemText:sv},eu={[at.Text]:"View",[at.Serial]:"View",[at.Ebook]:"View",[at.Link]:"Visit",[at.Download]:"",[at.Custom]:"View",[at.Discord]:"Access"},tu={[at.Text]:"Content",[at.Serial]:"Content",[at.Ebook]:"Ebook",[at.Link]:"Link",[at.Download]:"Download",[at.Custom]:"Content",[at.Discord]:"Discord"},tm={[at.Text]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Serial]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Ebook]:d.jsx(ie,{name:"BookOpen",fill:"var(--text-secondary)"}),[at.Link]:d.jsx(ie,{name:"ArrowLineUpRight",fill:"var(--text-secondary)"}),[at.Download]:d.jsx(ie,{name:"DownloadSimple",fill:"var(--text-secondary)"}),[at.Custom]:d.jsx(ie,{name:"FileText",fill:"var(--text-secondary)"}),[at.Discord]:d.jsx(ie,{name:"DiscordLogo",fill:"var(--text-secondary)"})},lv=({deliveryConfiguration:e})=>{const t=e.type;return t===at.Text||t===at.Custom||t===at.Serial||t===at.Discord?d.jsx(cv,{deliveryConfiguration:e}):d.jsx(uv,{deliveryConfiguration:e})},cv=({deliveryConfiguration:e})=>{const t=e.type,[n,o]=_.useState(!1),{setIsOpen:i}=$r(),{isAntistock:a}=mt(),s=()=>{i(!0),o(!0)};return d.jsxs(d.Fragment,{children:[a?d.jsx(_t,{type:"Secondary",onClick:l=>{l.stopPropagation(),s()},children:d.jsx("p",{className:Ki.deliveryItemText,children:e.customName??`${eu[t]} ${tu[t]}`})}):d.jsxs(_t,{type:"Secondary",className:Ki.deliveryItem,onClick:l=>{l.stopPropagation(),s()},children:[tm[t],d.jsx("p",{className:Ki.deliveryItemText,children:e.customName??`${eu[t]} ${tu[t]}`})]}),n&&d.jsx(cl,{close:()=>o(!1),withAnimation:!a,children:d.jsx(lF,{deliveryConfiguration:e,setIsOpen:o})})]})},uv=({deliveryConfiguration:e})=>{const t=e.type;return d.jsxs("div",{className:Ki.deliveryItem,onClick:()=>window.open(e.deliveryItems[0].textData,"_blank"),children:[tm[t],d.jsx("p",{className:Ki.deliveryItemText,children:e.customName??`${eu[t]} ${tu[t]}`})]})},dv="_paymentMethod_1it0n_3",hv="_selected_1it0n_16",fv="_alignColumn_1it0n_19",pv="_reversed_1it0n_25",mv="_antistock_1it0n_29",gv="_paymentText_1it0n_36",Iv="_balanceText_1it0n_50",Cv="_signInLink_1it0n_54",bv="_iconContainer_1it0n_63",Sv="_gatewayLogo_1it0n_76",yv="_poweredByLogo_1it0n_77",Ev="_logo_1it0n_82",Dt={paymentMethod:dv,selected:hv,alignColumn:fv,reversed:pv,antistock:mv,paymentText:gv,balanceText:Iv,signInLink:Cv,iconContainer:bv,gatewayLogo:Sv,poweredByLogo:yv,logo:Ev};var xt=(e=>(e.BankCard="BANK_CARD",e.BankTransfer="BANK_TRANSFER",e.PayPal="PAYPAL",e.CashApp="CASHAPP",e.Crypto="CRYPTO",e.AppleGooglePay="APPLE_AND_GOOGLE_PAY",e.Custom="CUSTOM",e))(xt||{});const Tv={[xt.CashApp]:d.jsx(N0,{}),[xt.AppleGooglePay]:d.jsx(R0,{}),[xt.BankCard]:d.jsx(L0,{}),[xt.Crypto]:d.jsx(A0,{}),[xt.PayPal]:d.jsx(P0,{}),[xt.Custom]:d.jsx("div",{}),[xt.BankTransfer]:d.jsx(D0,{})},xv={[xt.CashApp]:d.jsx(N0,{isAntistock:!0}),[xt.AppleGooglePay]:d.jsx(R0,{isAntistock:!0}),[xt.BankCard]:d.jsx(L0,{isAntistock:!0}),[xt.Crypto]:d.jsx(A0,{isAntistock:!0}),[xt.PayPal]:d.jsx(P0,{}),[xt.Custom]:d.jsx("div",{}),[xt.BankTransfer]:d.jsx(D0,{isAntistock:!0})},sh={[xt.CashApp]:"Cash App",[xt.AppleGooglePay]:"Apple Pay / Google Pay",[xt.BankCard]:"Debit / Credit Card",[xt.Crypto]:"Cryptocurrency",[xt.PayPal]:"PayPal",[xt.Custom]:"",[xt.BankTransfer]:"Bank Transfer"},_v=({align:e,paymentMethod:t,gatewayDisplayName:n,gatewayLogoCfId:o,poweredByLogoCfId:i,selected:a,onSelect:s,className:l,isAntistock:c=!1})=>{const u=t===xt.Custom;return t?d.jsx("div",{className:ge(Dt.paymentMethod,{[Dt.selected]:a,[Dt.alignColumn]:e==="column",[Dt.antistock]:c},l),onClick:()=>s&&s(t),children:c?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Dt.paymentText,id:"md",children:u?n:sh[t]}),d.jsxs("div",{className:Dt.iconContainer,children:[u?d.jsx("div",{className:Dt.gatewayLogo,children:d.jsx("img",{className:Dt.logo,src:er(o),alt:n})}):xv[t],i&&d.jsx("div",{className:Dt.poweredByLogo,children:d.jsx("img",{className:Dt.logo,src:er(i),alt:n})})]})]}):d.jsxs(d.Fragment,{children:[d.jsx("p",{className:Dt.paymentText,id:"md",children:u?n:sh[t]}),d.jsxs("div",{className:Dt.iconContainer,children:[u?d.jsx("div",{className:Dt.gatewayLogo,children:d.jsx("img",{className:Dt.logo,src:er(o),alt:n})}):Tv[t],i&&d.jsx("div",{className:Dt.poweredByLogo,children:d.jsx("img",{className:Dt.logo,src:er(i),alt:n})})]})]})}):d.jsxs("div",{className:ge(Dt.paymentMethod,l),children:[d.jsx("div",{className:Dt.gatewayLogo,children:d.jsx("img",{className:Dt.logo,src:er(o),alt:n})}),d.jsx("p",{className:Dt.paymentText,children:n})]})},wv="_container_r8mpd_1",vv="_text_r8mpd_9",Av="_link_r8mpd_14",Di={container:wv,text:vv,link:Av};function lh(e){const t=[],n=String(e||"");let o=n.indexOf(","),i=0,a=!1;for(;!a;){o===-1&&(o=n.length,a=!0);const s=n.slice(i,o).trim();(s||!a)&&t.push(s),i=o+1,o=n.indexOf(",",i)}return t}function nm(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const kv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Lv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nv={};function ch(e,t){return(Nv.jsx?Lv:kv).test(e)}const Pv=/[ \t\n\f\r]/g;function Rv(e){return typeof e=="object"?e.type==="text"?uh(e.value):!1:uh(e)}function uh(e){return e.replace(Pv,"")===""}let Pa=class{constructor(t,n,o){this.normal=n,this.property=t,o&&(this.space=o)}};Pa.prototype.normal={};Pa.prototype.property={};Pa.prototype.space=void 0;function rm(e,t){const n={},o={};for(const i of e)Object.assign(n,i.property),Object.assign(o,i.normal);return new Pa(n,o,t)}function ma(e){return e.toLowerCase()}let Mn=class{constructor(t,n){this.attribute=n,this.property=t}};Mn.prototype.attribute="";Mn.prototype.booleanish=!1;Mn.prototype.boolean=!1;Mn.prototype.commaOrSpaceSeparated=!1;Mn.prototype.commaSeparated=!1;Mn.prototype.defined=!1;Mn.prototype.mustUseProperty=!1;Mn.prototype.number=!1;Mn.prototype.overloadedBoolean=!1;Mn.prototype.property="";Mn.prototype.spaceSeparated=!1;Mn.prototype.space=void 0;let Dv=0;const Fe=Oo(),Ft=Oo(),om=Oo(),de=Oo(),ut=Oo(),Jo=Oo(),Fn=Oo();function Oo(){return 2**++Dv}const nu=Object.freeze(Object.defineProperty({__proto__:null,boolean:Fe,booleanish:Ft,commaOrSpaceSeparated:Fn,commaSeparated:Jo,number:de,overloadedBoolean:om,spaceSeparated:ut},Symbol.toStringTag,{value:"Module"})),Jl=Object.keys(nu);let Ju=class extends Mn{constructor(t,n,o,i){let a=-1;if(super(t,n),dh(this,"space",i),typeof o=="number")for(;++a<Jl.length;){const s=Jl[a];dh(this,Jl[a],(o&nu[s])===nu[s])}}};Ju.prototype.defined=!0;function dh(e,t,n){n&&(e[t]=n)}function mi(e){const t={},n={};for(const[o,i]of Object.entries(e.properties)){const a=new Ju(o,e.transform(e.attributes||{},o),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),t[o]=a,n[ma(o)]=o,n[ma(a.attribute)]=o}return new Pa(t,n,e.space)}const im=mi({properties:{ariaActiveDescendant:null,ariaAtomic:Ft,ariaAutoComplete:null,ariaBusy:Ft,ariaChecked:Ft,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:ut,ariaCurrent:null,ariaDescribedBy:ut,ariaDetails:null,ariaDisabled:Ft,ariaDropEffect:ut,ariaErrorMessage:null,ariaExpanded:Ft,ariaFlowTo:ut,ariaGrabbed:Ft,ariaHasPopup:null,ariaHidden:Ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ut,ariaLevel:de,ariaLive:null,ariaModal:Ft,ariaMultiLine:Ft,ariaMultiSelectable:Ft,ariaOrientation:null,ariaOwns:ut,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:Ft,ariaReadOnly:Ft,ariaRelevant:null,ariaRequired:Ft,ariaRoleDescription:ut,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:Ft,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function am(e,t){return t in e?e[t]:t}function sm(e,t){return am(e,t.toLowerCase())}const Ov=mi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Jo,acceptCharset:ut,accessKey:ut,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:ut,autoFocus:Fe,autoPlay:Fe,blocking:ut,capture:null,charSet:null,checked:Fe,cite:null,className:ut,cols:de,colSpan:null,content:null,contentEditable:Ft,controls:Fe,controlsList:ut,coords:de|Jo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:om,draggable:Ft,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:ut,height:de,hidden:Fe,high:de,href:null,hrefLang:null,htmlFor:ut,httpEquiv:ut,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:ut,itemRef:ut,itemScope:Fe,itemType:ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Fe,optimum:de,pattern:null,ping:ut,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:ut,required:Fe,reversed:Fe,rows:de,rowSpan:de,sandbox:ut,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:Ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:Ft,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ut,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:Ft,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Fe,disableRemotePlayback:Fe,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:sm}),Mv=mi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Fn,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className:ut,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Jo,g2:Jo,glyphName:Jo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:Fn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fn,rev:Fn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fn,requiredFeatures:Fn,requiredFonts:Fn,requiredFormats:Fn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:Fn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fn,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:am}),lm=mi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),cm=mi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sm}),um=mi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Bv={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Fv=/[A-Z]/g,hh=/-[a-z]/g,Hv=/^data[-\w.:]+$/i;function ed(e,t){const n=ma(t);let o=t,i=Mn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Hv.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(hh,Uv);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!hh.test(a)){let s=a.replace(Fv,jv);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Ju}return new i(o,t)}function jv(e){return"-"+e.toLowerCase()}function Uv(e){return e.charAt(1).toUpperCase()}const fl=rm([im,Ov,lm,cm,um],"html"),gi=rm([im,Mv,lm,cm,um],"svg");function fh(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function dm(e){return e.join(" ").trim()}var hm={},ph=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Vv=/\n/g,zv=/^\s*/,$v=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Wv=/^:\s*/,qv=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Gv=/^[;\s]*/,Yv=/^\s+|\s+$/g,Zv=`
|
|
125
|
+
`,mh="/",gh="*",Eo="",Xv="comment",Kv="declaration",Qv=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,o=1;function i(C){var I=C.match(Vv);I&&(n+=I.length);var b=C.lastIndexOf(Zv);o=~b?C.length-b:o+C.length}function a(){var C={line:n,column:o};return function(I){return I.position=new s(C),u(),I}}function s(C){this.start=C,this.end={line:n,column:o},this.source=t.source}s.prototype.content=e;function l(C){var I=new Error(t.source+":"+n+":"+o+": "+C);if(I.reason=C,I.filename=t.source,I.line=n,I.column=o,I.source=e,!t.silent)throw I}function c(C){var I=C.exec(e);if(I){var b=I[0];return i(b),e=e.slice(b.length),I}}function u(){c(zv)}function h(C){var I;for(C=C||[];I=f();)I!==!1&&C.push(I);return C}function f(){var C=a();if(!(mh!=e.charAt(0)||gh!=e.charAt(1))){for(var I=2;Eo!=e.charAt(I)&&(gh!=e.charAt(I)||mh!=e.charAt(I+1));)++I;if(I+=2,Eo===e.charAt(I-1))return l("End of comment missing");var b=e.slice(2,I-2);return o+=2,i(b),e=e.slice(I),o+=2,C({type:Xv,comment:b})}}function g(){var C=a(),I=c($v);if(I){if(f(),!c(Wv))return l("property missing ':'");var b=c(qv),S=C({type:Kv,property:Ih(I[0].replace(ph,Eo)),value:b?Ih(b[0].replace(ph,Eo)):Eo});return c(Gv),S}}function m(){var C=[];h(C);for(var I;I=g();)I!==!1&&(C.push(I),h(C));return C}return u(),m()};function Ih(e){return e?e.replace(Yv,Eo):Eo}var Jv=xd&&xd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hm,"__esModule",{value:!0});var Ch=hm.default=tA,eA=Jv(Qv);function tA(e,t){var n=null;if(!e||typeof e!="string")return n;var o=(0,eA.default)(e),i=typeof t=="function";return o.forEach(function(a){if(a.type==="declaration"){var s=a.property,l=a.value;i?t(s,l,a):l&&(n=n||{},n[s]=l)}}),n}const nA=Ch.default||Ch,pl=fm("end"),Ar=fm("start");function fm(e){return t;function t(n){const o=n&&n.position&&n.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function rA(e){const t=Ar(e),n=pl(e);if(t&&n)return{start:t,end:n}}function Qi(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?bh(e.position):"start"in e||"end"in e?bh(e):"line"in e||"column"in e?ru(e):""}function ru(e){return Sh(e&&e.line)+":"+Sh(e&&e.column)}function bh(e){return ru(e&&e.start)+"-"+ru(e&&e.end)}function Sh(e){return e&&typeof e=="number"?e:1}class yn extends Error{constructor(t,n,o){super(),typeof n=="string"&&(o=n,n=void 0);let i="",a={},s=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof o=="string"){const c=o.indexOf(":");c===-1?a.ruleId=o:(a.source=o.slice(0,c),a.ruleId=o.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=l?l.line:void 0,this.name=Qi(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}yn.prototype.file="";yn.prototype.name="";yn.prototype.reason="";yn.prototype.message="";yn.prototype.stack="";yn.prototype.column=void 0;yn.prototype.line=void 0;yn.prototype.ancestors=void 0;yn.prototype.cause=void 0;yn.prototype.fatal=void 0;yn.prototype.place=void 0;yn.prototype.ruleId=void 0;yn.prototype.source=void 0;const td={}.hasOwnProperty,oA=new Map,iA=/[A-Z]/g,aA=/-([a-z])/g,sA=new Set(["table","tbody","thead","tfoot","tr"]),lA=new Set(["td","th"]),pm="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function cA(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let o;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=IA(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=gA(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?gi:fl,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=mm(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function mm(e,t,n){if(t.type==="element")return uA(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return dA(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return fA(e,t,n);if(t.type==="mdxjsEsm")return hA(e,t);if(t.type==="root")return pA(e,t,n);if(t.type==="text")return mA(e,t)}function uA(e,t,n){const o=e.schema;let i=o;t.tagName.toLowerCase()==="svg"&&o.space==="html"&&(i=gi,e.schema=i),e.ancestors.push(t);const a=Im(e,t.tagName,!1),s=CA(e,t);let l=rd(e,t);return sA.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!Rv(c):!0})),gm(e,s,a,t),nd(s,l),e.ancestors.pop(),e.schema=o,e.create(t,a,s,n)}function dA(e,t){if(t.data&&t.data.estree&&e.evaluater){const o=t.data.estree.body[0];return o.type,e.evaluater.evaluateExpression(o.expression)}ga(e,t.position)}function hA(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ga(e,t.position)}function fA(e,t,n){const o=e.schema;let i=o;t.name==="svg"&&o.space==="html"&&(i=gi,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:Im(e,t.name,!0),s=bA(e,t),l=rd(e,t);return gm(e,s,a,t),nd(s,l),e.ancestors.pop(),e.schema=o,e.create(t,a,s,n)}function pA(e,t,n){const o={};return nd(o,rd(e,t)),e.create(t,e.Fragment,o,n)}function mA(e,t){return t.value}function gm(e,t,n,o){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=o)}function nd(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function gA(e,t,n){return o;function o(i,a,s,l){const u=Array.isArray(s.children)?n:t;return l?u(a,s,l):u(a,s)}}function IA(e,t){return n;function n(o,i,a,s){const l=Array.isArray(a.children),c=Ar(o);return t(i,a,s,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function CA(e,t){const n={};let o,i;for(i in t.properties)if(i!=="children"&&td.call(t.properties,i)){const a=SA(e,i,t.properties[i]);if(a){const[s,l]=a;e.tableCellAlignToStyle&&s==="align"&&typeof l=="string"&&lA.has(t.tagName)?o=l:n[s]=l}}if(o){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return n}function bA(e,t){const n={};for(const o of t.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&e.evaluater){const a=o.data.estree.body[0];a.type;const s=a.expression;s.type;const l=s.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else ga(e,t.position);else{const i=o.name;let a;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&e.evaluater){const l=o.value.data.estree.body[0];l.type,a=e.evaluater.evaluateExpression(l.expression)}else ga(e,t.position);else a=o.value===null?!0:o.value;n[i]=a}return n}function rd(e,t){const n=[];let o=-1;const i=e.passKeys?new Map:oA;for(;++o<t.children.length;){const a=t.children[o];let s;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const u=i.get(c)||0;s=c+"-"+u,i.set(c,u+1)}}const l=mm(e,a,s);l!==void 0&&n.push(l)}return n}function SA(e,t,n){const o=ed(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=o.commaSeparated?nm(n):dm(n)),o.property==="style"){let i=typeof n=="object"?n:yA(e,String(n));return e.stylePropertyNameCase==="css"&&(i=EA(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&o.space?Bv[o.property]||o.property:o.attribute,n]}}function yA(e,t){const n={};try{nA(t,o)}catch(i){if(!e.ignoreInvalidStyle){const a=i,s=new yn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=pm+"#cannot-parse-style-attribute",s}}return n;function o(i,a){let s=i;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(aA,xA)),n[s]=a}}function Im(e,t,n){let o;if(!n)o={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,s;for(;++a<i.length;){const l=ch(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};s=s?{type:"MemberExpression",object:s,property:l,computed:!!(a&&l.type==="Literal"),optional:!1}:l}o=s}else o=ch(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(o.type==="Literal"){const i=o.value;return td.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(o);ga(e)}function ga(e,t){const n=new yn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=pm+"#cannot-handle-mdx-estrees-without-createevaluater",n}function EA(e){const t={};let n;for(n in e)td.call(e,n)&&(t[TA(n)]=e[n]);return t}function TA(e){let t=e.replace(iA,_A);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function xA(e,t){return t.toUpperCase()}function _A(e){return"-"+e.toLowerCase()}const ec={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},wA={};function od(e,t){const n=wA,o=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Cm(e,o,i)}function Cm(e,t,n){if(vA(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return yh(e.children,t,n)}return Array.isArray(e)?yh(e,t,n):""}function yh(e,t,n){const o=[];let i=-1;for(;++i<e.length;)o[i]=Cm(e[i],t,n);return o.join("")}function vA(e){return!!(e&&typeof e=="object")}const Eh=document.createElement("i");function id(e){const t="&"+e+";";Eh.innerHTML=t;const n=Eh.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function qn(e,t,n,o){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,o.length<1e4)s=Array.from(o),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<o.length;)s=o.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function Qn(e,t){return e.length>0?(qn(e,e.length,0,t),e):t}const Th={}.hasOwnProperty;function bm(e){const t={};let n=-1;for(;++n<e.length;)AA(t,e[n]);return t}function AA(e,t){let n;for(n in t){const i=(Th.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){Th.call(i,s)||(i[s]=[]);const l=a[s];kA(i[s],Array.isArray(l)?l:l?[l]:[])}}}function kA(e,t){let n=-1;const o=[];for(;++n<t.length;)(t[n].add==="after"?e:o).push(t[n]);qn(e,0,0,o)}function Sm(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function cr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vn=ho(/[A-Za-z]/),Sn=ho(/[\dA-Za-z]/),LA=ho(/[#-'*+\--9=?A-Z^-~]/);function Hs(e){return e!==null&&(e<32||e===127)}const ou=ho(/\d/),NA=ho(/[\dA-Fa-f]/),PA=ho(/[!-/:-@[-`{-~]/);function Pe(e){return e!==null&&e<-2}function ct(e){return e!==null&&(e<0||e===32)}function Ze(e){return e===-2||e===-1||e===32}const ml=ho(new RegExp("\\p{P}|\\p{S}","u")),Do=ho(/\s/);function ho(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ii(e){const t=[];let n=-1,o=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&Sn(e.charCodeAt(n+1))&&Sn(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(s=String.fromCharCode(a,l),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(o,n),encodeURIComponent(s)),o=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(o)}function Xe(e,t,n,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(c){return Ze(c)?(e.enter(n),l(c)):t(c)}function l(c){return Ze(c)&&a++<i?(e.consume(c),l):(e.exit(n),t(c))}}const RA={tokenize:DA};function DA(e){const t=e.attempt(this.parser.constructs.contentInitial,o,i);let n;return t;function o(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Xe(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,s(l)}function s(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Pe(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),s)}}const OA={tokenize:MA},xh={tokenize:BA};function MA(e){const t=this,n=[];let o=0,i,a,s;return l;function l(T){if(o<n.length){const k=n[o];return t.containerState=k[1],e.attempt(k[0].continuation,c,u)(T)}return u(T)}function c(T){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&y();const k=t.events.length;let A=k,P;for(;A--;)if(t.events[A][0]==="exit"&&t.events[A][1].type==="chunkFlow"){P=t.events[A][1].end;break}S(o);let E=k;for(;E<t.events.length;)t.events[E][1].end={...P},E++;return qn(t.events,A+1,0,t.events.slice(k)),t.events.length=E,u(T)}return l(T)}function u(T){if(o===n.length){if(!i)return g(T);if(i.currentConstruct&&i.currentConstruct.concrete)return C(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(xh,h,f)(T)}function h(T){return i&&y(),S(o),g(T)}function f(T){return t.parser.lazy[t.now().line]=o!==n.length,s=t.now().offset,C(T)}function g(T){return t.containerState={},e.attempt(xh,m,C)(T)}function m(T){return o++,n.push([t.currentConstruct,t.containerState]),g(T)}function C(T){if(T===null){i&&y(),S(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),I(T)}function I(T){if(T===null){b(e.exit("chunkFlow"),!0),S(0),e.consume(T);return}return Pe(T)?(e.consume(T),b(e.exit("chunkFlow")),o=0,t.interrupt=void 0,l):(e.consume(T),I)}function b(T,k){const A=t.sliceStream(T);if(k&&A.push(null),T.previous=a,a&&(a.next=T),a=T,i.defineSkip(T.start),i.write(A),t.parser.lazy[T.start.line]){let P=i.events.length;for(;P--;)if(i.events[P][1].start.offset<s&&(!i.events[P][1].end||i.events[P][1].end.offset>s))return;const E=t.events.length;let M=E,B,w;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(B){w=t.events[M][1].end;break}B=!0}for(S(o),P=E;P<t.events.length;)t.events[P][1].end={...w},P++;qn(t.events,M+1,0,t.events.slice(E)),t.events.length=P}}function S(T){let k=n.length;for(;k-- >T;){const A=n[k];t.containerState=A[1],A[0].exit.call(t,e)}n.length=T}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function BA(e,t,n){return Xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ri(e){if(e===null||ct(e)||Do(e))return 1;if(ml(e))return 2}function gl(e,t,n){const o=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!o.includes(a)&&(t=a(t,n),o.push(a))}return t}const iu={name:"attention",resolveAll:FA,tokenize:HA};function FA(e,t){let n=-1,o,i,a,s,l,c,u,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(o=n;o--;)if(e[o][0]==="exit"&&e[o][1].type==="attentionSequence"&&e[o][1]._open&&t.sliceSerialize(e[o][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[o][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[o][1].end.offset-e[o][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[o][1].end},g={...e[n][1].start};_h(f,-c),_h(g,c),s={type:c>1?"strongSequence":"emphasisSequence",start:f,end:{...e[o][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:g},a={type:c>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[n][1].start}},i={type:c>1?"strong":"emphasis",start:{...s.start},end:{...l.end}},e[o][1].end={...s.start},e[n][1].start={...l.end},u=[],e[o][1].end.offset-e[o][1].start.offset&&(u=Qn(u,[["enter",e[o][1],t],["exit",e[o][1],t]])),u=Qn(u,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),u=Qn(u,gl(t.parser.constructs.insideSpan.null,e.slice(o+1,n),t)),u=Qn(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,u=Qn(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,qn(e,o-1,n-o+3,u),n=o+u.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function HA(e,t){const n=this.parser.constructs.attentionMarkers.null,o=this.previous,i=ri(o);let a;return s;function s(c){return a=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===a)return e.consume(c),l;const u=e.exit("attentionSequence"),h=ri(c),f=!h||h===2&&i||n.includes(c),g=!i||i===2&&h||n.includes(o);return u._open=!!(a===42?f:f&&(i||!g)),u._close=!!(a===42?g:g&&(h||!f)),t(c)}}function _h(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const jA={name:"autolink",tokenize:UA};function UA(e,t,n){let o=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return vn(m)?(e.consume(m),s):m===64?n(m):u(m)}function s(m){return m===43||m===45||m===46||Sn(m)?(o=1,l(m)):u(m)}function l(m){return m===58?(e.consume(m),o=0,c):(m===43||m===45||m===46||Sn(m))&&o++<32?(e.consume(m),l):(o=0,u(m))}function c(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Hs(m)?n(m):(e.consume(m),c)}function u(m){return m===64?(e.consume(m),h):LA(m)?(e.consume(m),u):n(m)}function h(m){return Sn(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),o=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Sn(m))&&o++<63){const C=m===45?g:f;return e.consume(m),C}return n(m)}}const Ra={partial:!0,tokenize:VA};function VA(e,t,n){return o;function o(a){return Ze(a)?Xe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Pe(a)?t(a):n(a)}}const ym={continuation:{tokenize:$A},exit:WA,name:"blockQuote",tokenize:zA};function zA(e,t,n){const o=this;return i;function i(s){if(s===62){const l=o.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return Ze(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function $A(e,t,n){const o=this;return i;function i(s){return Ze(s)?Xe(e,a,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(ym,t,n)(s)}}function WA(e){e.exit("blockQuote")}const Em={name:"characterEscape",tokenize:qA};function qA(e,t,n){return o;function o(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return PA(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Tm={name:"characterReference",tokenize:GA};function GA(e,t,n){const o=this;let i=0,a,s;return l;function l(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),c}function c(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,s=Sn,h(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=NA,h):(e.enter("characterReferenceValue"),a=7,s=ou,h(f))}function h(f){if(f===59&&i){const g=e.exit("characterReferenceValue");return s===Sn&&!id(o.sliceSerialize(g))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<a?(e.consume(f),h):n(f)}}const wh={partial:!0,tokenize:ZA},vh={concrete:!0,name:"codeFenced",tokenize:YA};function YA(e,t,n){const o=this,i={partial:!0,tokenize:A};let a=0,s=0,l;return c;function c(P){return u(P)}function u(P){const E=o.events[o.events.length-1];return a=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,l=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(P)}function h(P){return P===l?(s++,e.consume(P),h):s<3?n(P):(e.exit("codeFencedFenceSequence"),Ze(P)?Xe(e,f,"whitespace")(P):f(P))}function f(P){return P===null||Pe(P)?(e.exit("codeFencedFence"),o.interrupt?t(P):e.check(wh,I,k)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(P))}function g(P){return P===null||Pe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(P)):Ze(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Xe(e,m,"whitespace")(P)):P===96&&P===l?n(P):(e.consume(P),g)}function m(P){return P===null||Pe(P)?f(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),C(P))}function C(P){return P===null||Pe(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(P)):P===96&&P===l?n(P):(e.consume(P),C)}function I(P){return e.attempt(i,k,b)(P)}function b(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),S}function S(P){return a>0&&Ze(P)?Xe(e,y,"linePrefix",a+1)(P):y(P)}function y(P){return P===null||Pe(P)?e.check(wh,I,k)(P):(e.enter("codeFlowValue"),T(P))}function T(P){return P===null||Pe(P)?(e.exit("codeFlowValue"),y(P)):(e.consume(P),T)}function k(P){return e.exit("codeFenced"),t(P)}function A(P,E,M){let B=0;return w;function w(se){return P.enter("lineEnding"),P.consume(se),P.exit("lineEnding"),V}function V(se){return P.enter("codeFencedFence"),Ze(se)?Xe(P,H,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(se):H(se)}function H(se){return se===l?(P.enter("codeFencedFenceSequence"),X(se)):M(se)}function X(se){return se===l?(B++,P.consume(se),X):B>=s?(P.exit("codeFencedFenceSequence"),Ze(se)?Xe(P,W,"whitespace")(se):W(se)):M(se)}function W(se){return se===null||Pe(se)?(P.exit("codeFencedFence"),E(se)):M(se)}}}function ZA(e,t,n){const o=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return o.parser.lazy[o.now().line]?n(s):t(s)}}const tc={name:"codeIndented",tokenize:KA},XA={partial:!0,tokenize:QA};function KA(e,t,n){const o=this;return i;function i(u){return e.enter("codeIndented"),Xe(e,a,"linePrefix",5)(u)}function a(u){const h=o.events[o.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?c(u):Pe(u)?e.attempt(XA,s,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||Pe(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function QA(e,t,n){const o=this;return i;function i(s){return o.parser.lazy[o.now().line]?n(s):Pe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):Xe(e,a,"linePrefix",5)(s)}function a(s){const l=o.events[o.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):Pe(s)?i(s):n(s)}}const JA={name:"codeText",previous:tk,resolve:ek,tokenize:nk};function ek(e){let t=e.length-4,n=3,o,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(o=n;++o<t;)if(e[o][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(o=n-1,t++;++o<=t;)i===void 0?o!==t&&e[o][1].type!=="lineEnding"&&(i=o):(o===t||e[o][1].type==="lineEnding")&&(e[i][1].type="codeTextData",o!==i+2&&(e[i][1].end=e[o-1][1].end,e.splice(i+2,o-i-2),t-=o-i-2,o=i+2),i=void 0);return e}function tk(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function nk(e,t,n){let o=0,i,a;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),l(f)}function l(f){return f===96?(e.consume(f),o++,l):(e.exit("codeTextSequence"),c(f))}function c(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),c):f===96?(a=e.enter("codeTextSequence"),i=0,h(f)):Pe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||Pe(f)?(e.exit("codeTextData"),c(f)):(e.consume(f),u)}function h(f){return f===96?(e.consume(f),i++,h):i===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",u(f))}}class rk{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const o=n??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(t,o):t>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(t,n,o){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return o&&Oi(this.left,o),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Oi(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Oi(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Oi(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Oi(this.left,n.reverse())}}}function Oi(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function xm(e){const t={};let n=-1,o,i,a,s,l,c,u;const h=new rk(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(o=h.get(n),n&&o[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(c=o[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(o[0]==="enter")o[1].contentType&&(Object.assign(t,ok(h,n)),n=t[n],u=!0);else if(o[1]._container){for(a=n,i=void 0;a--;)if(s=h.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(o[1].end={...h.get(i)[1].start},l=h.slice(i,n),l.unshift(o),h.splice(i,n-i+1,l))}}return qn(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!u}function ok(e,t){const n=e.get(t)[1],o=e.get(t)[2];let i=t-1;const a=[];let s=n._tokenizer;s||(s=o.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const l=s.events,c=[],u={};let h,f,g=-1,m=n,C=0,I=0;const b=[I];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(h=o.sliceStream(m),m.next||h.push(null),f&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(h),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++g<l.length;)l[g][0]==="exit"&&l[g-1][0]==="enter"&&l[g][1].type===l[g-1][1].type&&l[g][1].start.line!==l[g][1].end.line&&(I=g+1,b.push(I),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):b.pop(),g=b.length;g--;){const S=l.slice(b[g],b[g+1]),y=a.pop();c.push([y,y+S.length-1]),e.splice(y,2,S)}for(c.reverse(),g=-1;++g<c.length;)u[C+c[g][0]]=C+c[g][1],C+=c[g][1]-c[g][0]-1;return u}const ik={resolve:sk,tokenize:lk},ak={partial:!0,tokenize:ck};function sk(e){return xm(e),e}function lk(e,t){let n;return o;function o(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):Pe(l)?e.check(ak,s,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function s(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function ck(e,t,n){const o=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Xe(e,a,"linePrefix")}function a(s){if(s===null||Pe(s))return n(s);const l=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):e.interrupt(o.parser.constructs.flow,n,t)(s)}}function _m(e,t,n,o,i,a,s,l,c){const u=c||Number.POSITIVE_INFINITY;let h=0;return f;function f(S){return S===60?(e.enter(o),e.enter(i),e.enter(a),e.consume(S),e.exit(a),g):S===null||S===32||S===41||Hs(S)?n(S):(e.enter(o),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),I(S))}function g(S){return S===62?(e.enter(a),e.consume(S),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===62?(e.exit("chunkString"),e.exit(l),g(S)):S===null||S===60||Pe(S)?n(S):(e.consume(S),S===92?C:m)}function C(S){return S===60||S===62||S===92?(e.consume(S),m):m(S)}function I(S){return!h&&(S===null||S===41||ct(S))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(o),t(S)):h<u&&S===40?(e.consume(S),h++,I):S===41?(e.consume(S),h--,I):S===null||S===32||S===40||Hs(S)?n(S):(e.consume(S),S===92?b:I)}function b(S){return S===40||S===41||S===92?(e.consume(S),I):I(S)}}function wm(e,t,n,o,i,a){const s=this;let l=0,c;return u;function u(m){return e.enter(o),e.enter(i),e.consume(m),e.exit(i),e.enter(a),h}function h(m){return l>999||m===null||m===91||m===93&&!c||m===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(o),t):Pe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||Pe(m)||l++>999?(e.exit("chunkString"),h(m)):(e.consume(m),c||(c=!Ze(m)),m===92?g:f)}function g(m){return m===91||m===92||m===93?(e.consume(m),l++,f):f(m)}}function vm(e,t,n,o,i,a){let s;return l;function l(g){return g===34||g===39||g===40?(e.enter(o),e.enter(i),e.consume(g),e.exit(i),s=g===40?41:g,c):n(g)}function c(g){return g===s?(e.enter(i),e.consume(g),e.exit(i),e.exit(o),t):(e.enter(a),u(g))}function u(g){return g===s?(e.exit(a),c(s)):g===null?n(g):Pe(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Xe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===s||g===null||Pe(g)?(e.exit("chunkString"),u(g)):(e.consume(g),g===92?f:h)}function f(g){return g===s||g===92?(e.consume(g),h):h(g)}}function Ji(e,t){let n;return o;function o(i){return Pe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,o):Ze(i)?Xe(e,o,n?"linePrefix":"lineSuffix")(i):t(i)}}const uk={name:"definition",tokenize:hk},dk={partial:!0,tokenize:fk};function hk(e,t,n){const o=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return wm.call(o,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function l(m){return i=cr(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),c):n(m)}function c(m){return ct(m)?Ji(e,u)(m):u(m)}function u(m){return _m(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(dk,f,f)(m)}function f(m){return Ze(m)?Xe(e,g,"whitespace")(m):g(m)}function g(m){return m===null||Pe(m)?(e.exit("definition"),o.parser.defined.push(i),t(m)):n(m)}}function fk(e,t,n){return o;function o(l){return ct(l)?Ji(e,i)(l):n(l)}function i(l){return vm(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return Ze(l)?Xe(e,s,"whitespace")(l):s(l)}function s(l){return l===null||Pe(l)?t(l):n(l)}}const pk={name:"hardBreakEscape",tokenize:mk};function mk(e,t,n){return o;function o(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Pe(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const gk={name:"headingAtx",resolve:Ik,tokenize:Ck};function Ik(e,t){let n=e.length-2,o=3,i,a;return e[o][1].type==="whitespace"&&(o+=2),n-2>o&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(o===n-1||n-4>o&&e[n-2][1].type==="whitespace")&&(n-=o+1===n?2:4),n>o&&(i={type:"atxHeadingText",start:e[o][1].start,end:e[n][1].end},a={type:"chunkText",start:e[o][1].start,end:e[n][1].end,contentType:"text"},qn(e,o,n-o+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Ck(e,t,n){let o=0;return i;function i(h){return e.enter("atxHeading"),a(h)}function a(h){return e.enter("atxHeadingSequence"),s(h)}function s(h){return h===35&&o++<6?(e.consume(h),s):h===null||ct(h)?(e.exit("atxHeadingSequence"),l(h)):n(h)}function l(h){return h===35?(e.enter("atxHeadingSequence"),c(h)):h===null||Pe(h)?(e.exit("atxHeading"),t(h)):Ze(h)?Xe(e,l,"whitespace")(h):(e.enter("atxHeadingText"),u(h))}function c(h){return h===35?(e.consume(h),c):(e.exit("atxHeadingSequence"),l(h))}function u(h){return h===null||h===35||ct(h)?(e.exit("atxHeadingText"),l(h)):(e.consume(h),u)}}const bk=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ah=["pre","script","style","textarea"],Sk={concrete:!0,name:"htmlFlow",resolveTo:Tk,tokenize:xk},yk={partial:!0,tokenize:wk},Ek={partial:!0,tokenize:_k};function Tk(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function xk(e,t,n){const o=this;let i,a,s,l,c;return u;function u(L){return h(L)}function h(L){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(L),f}function f(L){return L===33?(e.consume(L),g):L===47?(e.consume(L),a=!0,I):L===63?(e.consume(L),i=3,o.interrupt?t:x):vn(L)?(e.consume(L),s=String.fromCharCode(L),b):n(L)}function g(L){return L===45?(e.consume(L),i=2,m):L===91?(e.consume(L),i=5,l=0,C):vn(L)?(e.consume(L),i=4,o.interrupt?t:x):n(L)}function m(L){return L===45?(e.consume(L),o.interrupt?t:x):n(L)}function C(L){const Z="CDATA[";return L===Z.charCodeAt(l++)?(e.consume(L),l===Z.length?o.interrupt?t:H:C):n(L)}function I(L){return vn(L)?(e.consume(L),s=String.fromCharCode(L),b):n(L)}function b(L){if(L===null||L===47||L===62||ct(L)){const Z=L===47,le=s.toLowerCase();return!Z&&!a&&Ah.includes(le)?(i=1,o.interrupt?t(L):H(L)):bk.includes(s.toLowerCase())?(i=6,Z?(e.consume(L),S):o.interrupt?t(L):H(L)):(i=7,o.interrupt&&!o.parser.lazy[o.now().line]?n(L):a?y(L):T(L))}return L===45||Sn(L)?(e.consume(L),s+=String.fromCharCode(L),b):n(L)}function S(L){return L===62?(e.consume(L),o.interrupt?t:H):n(L)}function y(L){return Ze(L)?(e.consume(L),y):w(L)}function T(L){return L===47?(e.consume(L),w):L===58||L===95||vn(L)?(e.consume(L),k):Ze(L)?(e.consume(L),T):w(L)}function k(L){return L===45||L===46||L===58||L===95||Sn(L)?(e.consume(L),k):A(L)}function A(L){return L===61?(e.consume(L),P):Ze(L)?(e.consume(L),A):T(L)}function P(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(e.consume(L),c=L,E):Ze(L)?(e.consume(L),P):M(L)}function E(L){return L===c?(e.consume(L),c=null,B):L===null||Pe(L)?n(L):(e.consume(L),E)}function M(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||ct(L)?A(L):(e.consume(L),M)}function B(L){return L===47||L===62||Ze(L)?T(L):n(L)}function w(L){return L===62?(e.consume(L),V):n(L)}function V(L){return L===null||Pe(L)?H(L):Ze(L)?(e.consume(L),V):n(L)}function H(L){return L===45&&i===2?(e.consume(L),Ce):L===60&&i===1?(e.consume(L),be):L===62&&i===4?(e.consume(L),ne):L===63&&i===3?(e.consume(L),x):L===93&&i===5?(e.consume(L),Le):Pe(L)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(yk,pe,X)(L)):L===null||Pe(L)?(e.exit("htmlFlowData"),X(L)):(e.consume(L),H)}function X(L){return e.check(Ek,W,pe)(L)}function W(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),se}function se(L){return L===null||Pe(L)?X(L):(e.enter("htmlFlowData"),H(L))}function Ce(L){return L===45?(e.consume(L),x):H(L)}function be(L){return L===47?(e.consume(L),s="",ve):H(L)}function ve(L){if(L===62){const Z=s.toLowerCase();return Ah.includes(Z)?(e.consume(L),ne):H(L)}return vn(L)&&s.length<8?(e.consume(L),s+=String.fromCharCode(L),ve):H(L)}function Le(L){return L===93?(e.consume(L),x):H(L)}function x(L){return L===62?(e.consume(L),ne):L===45&&i===2?(e.consume(L),x):H(L)}function ne(L){return L===null||Pe(L)?(e.exit("htmlFlowData"),pe(L)):(e.consume(L),ne)}function pe(L){return e.exit("htmlFlow"),t(L)}}function _k(e,t,n){const o=this;return i;function i(s){return Pe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return o.parser.lazy[o.now().line]?n(s):t(s)}}function wk(e,t,n){return o;function o(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ra,t,n)}}const vk={name:"htmlText",tokenize:Ak};function Ak(e,t,n){const o=this;let i,a,s;return l;function l(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),c}function c(x){return x===33?(e.consume(x),u):x===47?(e.consume(x),A):x===63?(e.consume(x),T):vn(x)?(e.consume(x),M):n(x)}function u(x){return x===45?(e.consume(x),h):x===91?(e.consume(x),a=0,C):vn(x)?(e.consume(x),y):n(x)}function h(x){return x===45?(e.consume(x),m):n(x)}function f(x){return x===null?n(x):x===45?(e.consume(x),g):Pe(x)?(s=f,be(x)):(e.consume(x),f)}function g(x){return x===45?(e.consume(x),m):f(x)}function m(x){return x===62?Ce(x):x===45?g(x):f(x)}function C(x){const ne="CDATA[";return x===ne.charCodeAt(a++)?(e.consume(x),a===ne.length?I:C):n(x)}function I(x){return x===null?n(x):x===93?(e.consume(x),b):Pe(x)?(s=I,be(x)):(e.consume(x),I)}function b(x){return x===93?(e.consume(x),S):I(x)}function S(x){return x===62?Ce(x):x===93?(e.consume(x),S):I(x)}function y(x){return x===null||x===62?Ce(x):Pe(x)?(s=y,be(x)):(e.consume(x),y)}function T(x){return x===null?n(x):x===63?(e.consume(x),k):Pe(x)?(s=T,be(x)):(e.consume(x),T)}function k(x){return x===62?Ce(x):T(x)}function A(x){return vn(x)?(e.consume(x),P):n(x)}function P(x){return x===45||Sn(x)?(e.consume(x),P):E(x)}function E(x){return Pe(x)?(s=E,be(x)):Ze(x)?(e.consume(x),E):Ce(x)}function M(x){return x===45||Sn(x)?(e.consume(x),M):x===47||x===62||ct(x)?B(x):n(x)}function B(x){return x===47?(e.consume(x),Ce):x===58||x===95||vn(x)?(e.consume(x),w):Pe(x)?(s=B,be(x)):Ze(x)?(e.consume(x),B):Ce(x)}function w(x){return x===45||x===46||x===58||x===95||Sn(x)?(e.consume(x),w):V(x)}function V(x){return x===61?(e.consume(x),H):Pe(x)?(s=V,be(x)):Ze(x)?(e.consume(x),V):B(x)}function H(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),i=x,X):Pe(x)?(s=H,be(x)):Ze(x)?(e.consume(x),H):(e.consume(x),W)}function X(x){return x===i?(e.consume(x),i=void 0,se):x===null?n(x):Pe(x)?(s=X,be(x)):(e.consume(x),X)}function W(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||ct(x)?B(x):(e.consume(x),W)}function se(x){return x===47||x===62||ct(x)?B(x):n(x)}function Ce(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function be(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),ve}function ve(x){return Ze(x)?Xe(e,Le,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):Le(x)}function Le(x){return e.enter("htmlTextData"),s(x)}}const ad={name:"labelEnd",resolveAll:Pk,resolveTo:Rk,tokenize:Dk},kk={tokenize:Ok},Lk={tokenize:Mk},Nk={tokenize:Bk};function Pk(e){let t=-1;const n=[];for(;++t<e.length;){const o=e[t][1];if(n.push(e[t]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const i=o.type==="labelImage"?4:2;o.type="data",t+=i}}return e.length!==n.length&&qn(e,0,e.length,n),e}function Rk(e,t){let n=e.length,o=0,i,a,s,l;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){o=2;break}}else i.type==="labelEnd"&&(s=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},h={type:"labelText",start:{...e[a+o+2][1].end},end:{...e[s-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=Qn(l,e.slice(a+1,a+o+3)),l=Qn(l,[["enter",h,t]]),l=Qn(l,gl(t.parser.constructs.insideSpan.null,e.slice(a+o+4,s-3),t)),l=Qn(l,[["exit",h,t],e[s-2],e[s-1],["exit",u,t]]),l=Qn(l,e.slice(s+1)),l=Qn(l,[["exit",c,t]]),qn(e,a,e.length,l),e}function Dk(e,t,n){const o=this;let i=o.events.length,a,s;for(;i--;)if((o.events[i][1].type==="labelImage"||o.events[i][1].type==="labelLink")&&!o.events[i][1]._balanced){a=o.events[i][1];break}return l;function l(g){return a?a._inactive?f(g):(s=o.parser.defined.includes(cr(o.sliceSerialize({start:a.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(kk,h,s?h:f)(g):g===91?e.attempt(Lk,h,s?u:f)(g):s?h(g):f(g)}function u(g){return e.attempt(Nk,h,f)(g)}function h(g){return t(g)}function f(g){return a._balanced=!0,n(g)}}function Ok(e,t,n){return o;function o(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return ct(f)?Ji(e,a)(f):a(f)}function a(f){return f===41?h(f):_m(e,s,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return ct(f)?Ji(e,c)(f):h(f)}function l(f){return n(f)}function c(f){return f===34||f===39||f===40?vm(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function u(f){return ct(f)?Ji(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Mk(e,t,n){const o=this;return i;function i(l){return wm.call(o,e,a,s,"reference","referenceMarker","referenceString")(l)}function a(l){return o.parser.defined.includes(cr(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function s(l){return n(l)}}function Bk(e,t,n){return o;function o(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const Fk={name:"labelStartImage",resolveAll:ad.resolveAll,tokenize:Hk};function Hk(e,t,n){const o=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),s):n(l)}function s(l){return l===94&&"_hiddenFootnoteSupport"in o.parser.constructs?n(l):t(l)}}const jk={name:"labelStartLink",resolveAll:ad.resolveAll,tokenize:Uk};function Uk(e,t,n){const o=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in o.parser.constructs?n(s):t(s)}}const nc={name:"lineEnding",tokenize:Vk};function Vk(e,t){return n;function n(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Xe(e,t,"linePrefix")}}const Ss={name:"thematicBreak",tokenize:zk};function zk(e,t,n){let o=0,i;return a;function a(u){return e.enter("thematicBreak"),s(u)}function s(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),c(u)):o>=3&&(u===null||Pe(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===i?(e.consume(u),o++,c):(e.exit("thematicBreakSequence"),Ze(u)?Xe(e,l,"whitespace")(u):l(u))}}const Nn={continuation:{tokenize:Gk},exit:Zk,name:"list",tokenize:qk},$k={partial:!0,tokenize:Xk},Wk={partial:!0,tokenize:Yk};function qk(e,t,n){const o=this,i=o.events[o.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return l;function l(m){const C=o.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!o.containerState.marker||m===o.containerState.marker:ou(m)){if(o.containerState.type||(o.containerState.type=C,e.enter(C,{_container:!0})),C==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Ss,n,u)(m):u(m);if(!o.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(m)}return n(m)}function c(m){return ou(m)&&++s<10?(e.consume(m),c):(!o.interrupt||s<2)&&(o.containerState.marker?m===o.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):n(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||m,e.check(Ra,o.interrupt?n:h,e.attempt($k,g,f))}function h(m){return o.containerState.initialBlankLine=!0,a++,g(m)}function f(m){return Ze(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return o.containerState.size=a+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function Gk(e,t,n){const o=this;return o.containerState._closeFlow=void 0,e.check(Ra,i,a);function i(l){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Xe(e,t,"listItemIndent",o.containerState.size+1)(l)}function a(l){return o.containerState.furtherBlankLines||!Ze(l)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,s(l)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(Wk,t,s)(l))}function s(l){return o.containerState._closeFlow=!0,o.interrupt=void 0,Xe(e,e.attempt(Nn,t,n),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Yk(e,t,n){const o=this;return Xe(e,i,"listItemIndent",o.containerState.size+1);function i(a){const s=o.events[o.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===o.containerState.size?t(a):n(a)}}function Zk(e){e.exit(this.containerState.type)}function Xk(e,t,n){const o=this;return Xe(e,i,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=o.events[o.events.length-1];return!Ze(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const kh={name:"setextUnderline",resolveTo:Kk,tokenize:Qk};function Kk(e,t){let n=e.length,o,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){o=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const s={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[o][1],t]),e[o][1].end={...e[a][1].end}):e[o][1]=s,e.push(["exit",s,t]),e}function Qk(e,t,n){const o=this;let i;return a;function a(u){let h=o.events.length,f;for(;h--;)if(o.events[h][1].type!=="lineEnding"&&o.events[h][1].type!=="linePrefix"&&o.events[h][1].type!=="content"){f=o.events[h][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||f)?(e.enter("setextHeadingLine"),i=u,s(u)):n(u)}function s(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Ze(u)?Xe(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||Pe(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const Jk={tokenize:eL};function eL(e){const t=this,n=e.attempt(Ra,o,e.attempt(this.parser.constructs.flowInitial,i,Xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ik,i)),"linePrefix")));return n;function o(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const tL={resolveAll:km()},nL=Am("string"),rL=Am("text");function Am(e){return{resolveAll:km(e==="text"?oL:void 0),tokenize:t};function t(n){const o=this,i=this.parser.constructs[e],a=n.attempt(i,s,l);return s;function s(h){return u(h)?a(h):l(h)}function l(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),c}function c(h){return u(h)?(n.exit("data"),a(h)):(n.consume(h),c)}function u(h){if(h===null)return!0;const f=i[h];let g=-1;if(f)for(;++g<f.length;){const m=f[g];if(!m.previous||m.previous.call(o,o.previous))return!0}return!1}}}function km(e){return t;function t(n,o){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,o):n}}function oL(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const o=e[n-1][1],i=t.sliceStream(o);let a=i.length,s=-1,l=0,c;for(;a--;){const u=i[a];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)l++,s--;if(s)break;s=-1}else if(u===-2)c=!0,l++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:o.start._bufferIndex+s,_index:o.start._index+a,line:o.end.line,column:o.end.column-l,offset:o.end.offset-l},end:{...o.end}};o.end={...u.start},o.start.offset===o.end.offset?Object.assign(o,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const iL={42:Nn,43:Nn,45:Nn,48:Nn,49:Nn,50:Nn,51:Nn,52:Nn,53:Nn,54:Nn,55:Nn,56:Nn,57:Nn,62:ym},aL={91:uk},sL={[-2]:tc,[-1]:tc,32:tc},lL={35:gk,42:Ss,45:[kh,Ss],60:Sk,61:kh,95:Ss,96:vh,126:vh},cL={38:Tm,92:Em},uL={[-5]:nc,[-4]:nc,[-3]:nc,33:Fk,38:Tm,42:iu,60:[jA,vk],91:jk,92:[pk,Em],93:ad,95:iu,96:JA},dL={null:[iu,tL]},hL={null:[42,95]},fL={null:[]},pL=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:hL,contentInitial:aL,disable:fL,document:iL,flow:lL,flowInitial:sL,insideSpan:dL,string:cL,text:uL},Symbol.toStringTag,{value:"Module"}));function mL(e,t,n){let o={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let s=[],l=[];const c={attempt:E(A),check:E(P),consume:y,enter:T,exit:k,interrupt:E(P,{interrupt:!0})},u={code:null,containerState:{},defineSkip:I,events:[],now:C,parser:e,previous:null,sliceSerialize:g,sliceStream:m,write:f};let h=t.tokenize.call(u,c);return t.resolveAll&&a.push(t),u;function f(V){return s=Qn(s,V),b(),s[s.length-1]!==null?[]:(M(t,0),u.events=gl(a,u.events,u),u.events)}function g(V,H){return IL(m(V),H)}function m(V){return gL(s,V)}function C(){const{_bufferIndex:V,_index:H,line:X,column:W,offset:se}=o;return{_bufferIndex:V,_index:H,line:X,column:W,offset:se}}function I(V){i[V.line]=V.column,w()}function b(){let V;for(;o._index<s.length;){const H=s[o._index];if(typeof H=="string")for(V=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===V&&o._bufferIndex<H.length;)S(H.charCodeAt(o._bufferIndex));else S(H)}}function S(V){h=h(V)}function y(V){Pe(V)?(o.line++,o.column=1,o.offset+=V===-3?2:1,w()):V!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===s[o._index].length&&(o._bufferIndex=-1,o._index++)),u.previous=V}function T(V,H){const X=H||{};return X.type=V,X.start=C(),u.events.push(["enter",X,u]),l.push(X),X}function k(V){const H=l.pop();return H.end=C(),u.events.push(["exit",H,u]),H}function A(V,H){M(V,H.from)}function P(V,H){H.restore()}function E(V,H){return X;function X(W,se,Ce){let be,ve,Le,x;return Array.isArray(W)?pe(W):"tokenize"in W?pe([W]):ne(W);function ne(ee){return Ie;function Ie(Se){const ae=Se!==null&&ee[Se],ce=Se!==null&&ee.null,Ue=[...Array.isArray(ae)?ae:ae?[ae]:[],...Array.isArray(ce)?ce:ce?[ce]:[]];return pe(Ue)(Se)}}function pe(ee){return be=ee,ve=0,ee.length===0?Ce:L(ee[ve])}function L(ee){return Ie;function Ie(Se){return x=B(),Le=ee,ee.partial||(u.currentConstruct=ee),ee.name&&u.parser.constructs.disable.null.includes(ee.name)?le():ee.tokenize.call(H?Object.assign(Object.create(u),H):u,c,Z,le)(Se)}}function Z(ee){return V(Le,x),se}function le(ee){return x.restore(),++ve<be.length?L(be[ve]):Ce}}}function M(V,H){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&qn(u.events,H,u.events.length-H,V.resolve(u.events.slice(H),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function B(){const V=C(),H=u.previous,X=u.currentConstruct,W=u.events.length,se=Array.from(l);return{from:W,restore:Ce};function Ce(){o=V,u.previous=H,u.currentConstruct=X,u.events.length=W,l=se,w()}}function w(){o.line in i&&o.column<2&&(o.column=i[o.line],o.offset+=i[o.line]-1)}}function gL(e,t){const n=t.start._index,o=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(o,a)];else{if(s=e.slice(n,i),o>-1){const l=s[0];typeof l=="string"?s[0]=l.slice(o):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function IL(e,t){let n=-1;const o=[];let i;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
|
|
126
126
|
`;break}case-3:{s=`\r
|
|
127
|
-
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,o.push(s)}return o.join("")}function CL(e){const o={constructs:bm([pL,...(e||{}).extensions||[]]),content:i(RA),defined:[],document:i(OA),flow:i(Jk),lazy:{},string:i(nL),text:i(rL)};return o;function i(a){return s;function s(l){return mL(o,a,l)}}}function bL(e){for(;!xm(e););return e}const Lh=/[\0\t\n\r]/g;function SL(){let e=1,t="",n=!0,o;return i;function i(a,s,l){const c=[];let u,h,f,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(Lh.lastIndex=f,u=Lh.exec(a),g=u&&u.index!==void 0?u.index:a.length,m=a.charCodeAt(g),!u){t=a.slice(f);break}if(m===10&&f===g&&o)c.push(-3),o=void 0;else switch(o&&(c.push(-5),o=void 0),f<g&&(c.push(a.slice(f,g)),e+=g-f),m){case 0:{c.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,c.push(-2);e++<h;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:o=!0,e=1}f=g+1}return l&&(o&&c.push(-5),t&&c.push(t),c.push(null)),c}}const yL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function EL(e){return e.replace(yL,TL)}function TL(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Sm(n.slice(a?2:1),a?16:10)}return id(n)||e}const Lm={}.hasOwnProperty;function xL(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_L(n)(bL(CL(n).document().write(SL()(e,t,!0))))}function _L(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a($e),autolinkProtocol:B,autolinkEmail:B,atxHeading:a(we),blockQuote:a(ce),characterEscape:B,characterReference:B,codeFenced:a(Ue),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Ue,s),codeText:a(Q,s),codeTextData:B,data:B,codeFlowValue:B,definition:a(Ve),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Te),hardBreakEscape:a(ze),hardBreakTrailing:a(ze),htmlFlow:a(Tt,s),htmlFlowData:B,htmlText:a(Tt,s),htmlTextData:B,image:a(wt),label:s,link:a($e),listItem:a(Tn),listItemValue:g,listOrdered:a(nt,f),listUnordered:a(nt),paragraph:a(gt),reference:L,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(we),strong:a(dn),thematicBreak:a(Lt)},exit:{atxHeading:c(),atxHeadingSequence:A,autolink:c(),autolinkEmail:ae,autolinkProtocol:Se,blockQuote:c(),characterEscapeValue:w,characterReferenceMarkerHexadecimal:le,characterReferenceMarkerNumeric:le,characterReferenceValue:ee,characterReference:Ie,codeFenced:c(b),codeFencedFence:I,codeFencedFenceInfo:m,codeFencedFenceMeta:C,codeFlowValue:w,codeIndented:c(S),codeText:c(se),codeTextData:w,data:w,definition:c(),definitionDestinationString:k,definitionLabelString:y,definitionTitleString:T,emphasis:c(),hardBreakEscape:c(H),hardBreakTrailing:c(H),htmlFlow:c(X),htmlFlowData:w,htmlText:c(W),htmlTextData:w,image:c(be),label:Le,labelText:ve,lineEnding:V,link:c(Ce),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Z,resourceDestinationString:x,resourceTitleString:ne,resource:pe,setextHeading:c(M),setextHeadingLineSequence:E,setextHeadingText:P,strong:c(),thematicBreak:c()}};Nm(t,(e||{}).mdastExtensions||[]);const n={};return o;function o(q){let oe={type:"root",children:[]};const _e={stack:[oe],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:h,data:n},Ae=[];let We=-1;for(;++We<q.length;)if(q[We][1].type==="listOrdered"||q[We][1].type==="listUnordered")if(q[We][0]==="enter")Ae.push(We);else{const rt=Ae.pop();We=i(q,rt,We)}for(We=-1;++We<q.length;){const rt=t[q[We][0]];Lm.call(rt,q[We][1].type)&&rt[q[We][1].type].call(Object.assign({sliceSerialize:q[We][2].sliceSerialize},_e),q[We][1])}if(_e.tokenStack.length>0){const rt=_e.tokenStack[_e.tokenStack.length-1];(rt[1]||Nh).call(_e,void 0,rt[0])}for(oe.position={start:Zr(q.length>0?q[0][1].start:{line:1,column:1,offset:0}),end:Zr(q.length>0?q[q.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)oe=t.transforms[We](oe)||oe;return oe}function i(q,oe,_e){let Ae=oe-1,We=-1,rt=!1,hn,Je,fn,pn;for(;++Ae<=_e;){const Nt=q[Ae];switch(Nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Nt[0]==="enter"?We++:We--,pn=void 0;break}case"lineEndingBlank":{Nt[0]==="enter"&&(hn&&!pn&&!We&&!fn&&(fn=Ae),pn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:pn=void 0}if(!We&&Nt[0]==="enter"&&Nt[1].type==="listItemPrefix"||We===-1&&Nt[0]==="exit"&&(Nt[1].type==="listUnordered"||Nt[1].type==="listOrdered")){if(hn){let Gn=Ae;for(Je=void 0;Gn--;){const zt=q[Gn];if(zt[1].type==="lineEnding"||zt[1].type==="lineEndingBlank"){if(zt[0]==="exit")continue;Je&&(q[Je][1].type="lineEndingBlank",rt=!0),zt[1].type="lineEnding",Je=Gn}else if(!(zt[1].type==="linePrefix"||zt[1].type==="blockQuotePrefix"||zt[1].type==="blockQuotePrefixWhitespace"||zt[1].type==="blockQuoteMarker"||zt[1].type==="listItemIndent"))break}fn&&(!Je||fn<Je)&&(hn._spread=!0),hn.end=Object.assign({},Je?q[Je][1].start:Nt[1].end),q.splice(Je||Ae,0,["exit",hn,Nt[2]]),Ae++,_e++}if(Nt[1].type==="listItemPrefix"){const Gn={type:"listItem",_spread:!1,start:Object.assign({},Nt[1].start),end:void 0};hn=Gn,q.splice(Ae,0,["enter",Gn,Nt[2]]),Ae++,_e++,fn=void 0,pn=!0}}}return q[oe][1]._spread=rt,_e}function a(q,oe){return _e;function _e(Ae){l.call(this,q(Ae),Ae),oe&&oe.call(this,Ae)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(q,oe,_e){this.stack[this.stack.length-1].children.push(q),this.stack.push(q),this.tokenStack.push([oe,_e||void 0]),q.position={start:Zr(oe.start),end:void 0}}function c(q){return oe;function oe(_e){q&&q.call(this,_e),u.call(this,_e)}}function u(q,oe){const _e=this.stack.pop(),Ae=this.tokenStack.pop();if(Ae)Ae[0].type!==q.type&&(oe?oe.call(this,q,Ae[0]):(Ae[1]||Nh).call(this,q,Ae[0]));else throw new Error("Cannot close `"+q.type+"` ("+Ki({start:q.start,end:q.end})+"): it’s not open");_e.position.end=Zr(q.end)}function h(){return od(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function g(q){if(this.data.expectingFirstListItemValue){const oe=this.stack[this.stack.length-2];oe.start=Number.parseInt(this.sliceSerialize(q),10),this.data.expectingFirstListItemValue=void 0}}function m(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.lang=q}function C(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.meta=q}function I(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q.replace(/(\r?\n|\r)$/g,"")}function y(q){const oe=this.resume(),_e=this.stack[this.stack.length-1];_e.label=oe,_e.identifier=cr(this.sliceSerialize(q)).toLowerCase()}function T(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.title=q}function k(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.url=q}function A(q){const oe=this.stack[this.stack.length-1];if(!oe.depth){const _e=this.sliceSerialize(q).length;oe.depth=_e}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function E(q){const oe=this.stack[this.stack.length-1];oe.depth=this.sliceSerialize(q).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function B(q){const _e=this.stack[this.stack.length-1].children;let Ae=_e[_e.length-1];(!Ae||Ae.type!=="text")&&(Ae=It(),Ae.position={start:Zr(q.start),end:void 0},_e.push(Ae)),this.stack.push(Ae)}function w(q){const oe=this.stack.pop();oe.value+=this.sliceSerialize(q),oe.position.end=Zr(q.end)}function V(q){const oe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const _e=oe.children[oe.children.length-1];_e.position.end=Zr(q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(oe.type)&&(B.call(this,q),w.call(this,q))}function H(){this.data.atHardBreak=!0}function X(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function W(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function se(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function Ce(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const oe=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=oe,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function be(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const oe=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=oe,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function ve(q){const oe=this.sliceSerialize(q),_e=this.stack[this.stack.length-2];_e.label=EL(oe),_e.identifier=cr(oe).toLowerCase()}function Le(){const q=this.stack[this.stack.length-1],oe=this.resume(),_e=this.stack[this.stack.length-1];if(this.data.inReference=!0,_e.type==="link"){const Ae=q.children;_e.children=Ae}else _e.alt=oe}function x(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.url=q}function ne(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.title=q}function pe(){this.data.inReference=void 0}function L(){this.data.referenceType="collapsed"}function Z(q){const oe=this.resume(),_e=this.stack[this.stack.length-1];_e.label=oe,_e.identifier=cr(this.sliceSerialize(q)).toLowerCase(),this.data.referenceType="full"}function le(q){this.data.characterReferenceType=q.type}function ee(q){const oe=this.sliceSerialize(q),_e=this.data.characterReferenceType;let Ae;_e?(Ae=Sm(oe,_e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ae=id(oe);const We=this.stack[this.stack.length-1];We.value+=Ae}function Ie(q){const oe=this.stack.pop();oe.position.end=Zr(q.end)}function Se(q){w.call(this,q);const oe=this.stack[this.stack.length-1];oe.url=this.sliceSerialize(q)}function ae(q){w.call(this,q);const oe=this.stack[this.stack.length-1];oe.url="mailto:"+this.sliceSerialize(q)}function ce(){return{type:"blockquote",children:[]}}function Ue(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function Ve(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Te(){return{type:"emphasis",children:[]}}function we(){return{type:"heading",depth:0,children:[]}}function ze(){return{type:"break"}}function Tt(){return{type:"html",value:""}}function wt(){return{type:"image",title:null,url:"",alt:null}}function $e(){return{type:"link",title:null,url:"",children:[]}}function nt(q){return{type:"list",ordered:q.type==="listOrdered",start:null,spread:q._spread,children:[]}}function Tn(q){return{type:"listItem",spread:q._spread,checked:null,children:[]}}function gt(){return{type:"paragraph",children:[]}}function dn(){return{type:"strong",children:[]}}function It(){return{type:"text",value:""}}function Lt(){return{type:"thematicBreak"}}}function Zr(e){return{line:e.line,column:e.column,offset:e.offset}}function Nm(e,t){let n=-1;for(;++n<t.length;){const o=t[n];Array.isArray(o)?Nm(e,o):wL(e,o)}}function wL(e,t){let n;for(n in t)if(Lm.call(t,n))switch(n){case"canContainEols":{const o=t[n];o&&e[n].push(...o);break}case"transforms":{const o=t[n];o&&e[n].push(...o);break}case"enter":case"exit":{const o=t[n];o&&Object.assign(e[n],o);break}}}function Nh(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ki({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ki({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ki({start:t.start,end:t.end})+") is still open")}function vL(e){const t=this;t.parser=n;function n(o){return xL(o,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function AL(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function kL(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
127
|
+
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,o.push(s)}return o.join("")}function CL(e){const o={constructs:bm([pL,...(e||{}).extensions||[]]),content:i(RA),defined:[],document:i(OA),flow:i(Jk),lazy:{},string:i(nL),text:i(rL)};return o;function i(a){return s;function s(l){return mL(o,a,l)}}}function bL(e){for(;!xm(e););return e}const Lh=/[\0\t\n\r]/g;function SL(){let e=1,t="",n=!0,o;return i;function i(a,s,l){const c=[];let u,h,f,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(Lh.lastIndex=f,u=Lh.exec(a),g=u&&u.index!==void 0?u.index:a.length,m=a.charCodeAt(g),!u){t=a.slice(f);break}if(m===10&&f===g&&o)c.push(-3),o=void 0;else switch(o&&(c.push(-5),o=void 0),f<g&&(c.push(a.slice(f,g)),e+=g-f),m){case 0:{c.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,c.push(-2);e++<h;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:o=!0,e=1}f=g+1}return l&&(o&&c.push(-5),t&&c.push(t),c.push(null)),c}}const yL=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function EL(e){return e.replace(yL,TL)}function TL(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Sm(n.slice(a?2:1),a?16:10)}return id(n)||e}const Lm={}.hasOwnProperty;function xL(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_L(n)(bL(CL(n).document().write(SL()(e,t,!0))))}function _L(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a($e),autolinkProtocol:B,autolinkEmail:B,atxHeading:a(we),blockQuote:a(ce),characterEscape:B,characterReference:B,codeFenced:a(Ue),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Ue,s),codeText:a(Q,s),codeTextData:B,data:B,codeFlowValue:B,definition:a(Ve),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Te),hardBreakEscape:a(ze),hardBreakTrailing:a(ze),htmlFlow:a(Tt,s),htmlFlowData:B,htmlText:a(Tt,s),htmlTextData:B,image:a(wt),label:s,link:a($e),listItem:a(Tn),listItemValue:g,listOrdered:a(nt,f),listUnordered:a(nt),paragraph:a(gt),reference:L,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(we),strong:a(dn),thematicBreak:a(Lt)},exit:{atxHeading:c(),atxHeadingSequence:A,autolink:c(),autolinkEmail:ae,autolinkProtocol:Se,blockQuote:c(),characterEscapeValue:w,characterReferenceMarkerHexadecimal:le,characterReferenceMarkerNumeric:le,characterReferenceValue:ee,characterReference:Ie,codeFenced:c(b),codeFencedFence:I,codeFencedFenceInfo:m,codeFencedFenceMeta:C,codeFlowValue:w,codeIndented:c(S),codeText:c(se),codeTextData:w,data:w,definition:c(),definitionDestinationString:k,definitionLabelString:y,definitionTitleString:T,emphasis:c(),hardBreakEscape:c(H),hardBreakTrailing:c(H),htmlFlow:c(X),htmlFlowData:w,htmlText:c(W),htmlTextData:w,image:c(be),label:Le,labelText:ve,lineEnding:V,link:c(Ce),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Z,resourceDestinationString:x,resourceTitleString:ne,resource:pe,setextHeading:c(M),setextHeadingLineSequence:E,setextHeadingText:P,strong:c(),thematicBreak:c()}};Nm(t,(e||{}).mdastExtensions||[]);const n={};return o;function o(q){let oe={type:"root",children:[]};const _e={stack:[oe],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:h,data:n},Ae=[];let We=-1;for(;++We<q.length;)if(q[We][1].type==="listOrdered"||q[We][1].type==="listUnordered")if(q[We][0]==="enter")Ae.push(We);else{const rt=Ae.pop();We=i(q,rt,We)}for(We=-1;++We<q.length;){const rt=t[q[We][0]];Lm.call(rt,q[We][1].type)&&rt[q[We][1].type].call(Object.assign({sliceSerialize:q[We][2].sliceSerialize},_e),q[We][1])}if(_e.tokenStack.length>0){const rt=_e.tokenStack[_e.tokenStack.length-1];(rt[1]||Nh).call(_e,void 0,rt[0])}for(oe.position={start:Zr(q.length>0?q[0][1].start:{line:1,column:1,offset:0}),end:Zr(q.length>0?q[q.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)oe=t.transforms[We](oe)||oe;return oe}function i(q,oe,_e){let Ae=oe-1,We=-1,rt=!1,hn,Je,fn,pn;for(;++Ae<=_e;){const Nt=q[Ae];switch(Nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Nt[0]==="enter"?We++:We--,pn=void 0;break}case"lineEndingBlank":{Nt[0]==="enter"&&(hn&&!pn&&!We&&!fn&&(fn=Ae),pn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:pn=void 0}if(!We&&Nt[0]==="enter"&&Nt[1].type==="listItemPrefix"||We===-1&&Nt[0]==="exit"&&(Nt[1].type==="listUnordered"||Nt[1].type==="listOrdered")){if(hn){let Gn=Ae;for(Je=void 0;Gn--;){const zt=q[Gn];if(zt[1].type==="lineEnding"||zt[1].type==="lineEndingBlank"){if(zt[0]==="exit")continue;Je&&(q[Je][1].type="lineEndingBlank",rt=!0),zt[1].type="lineEnding",Je=Gn}else if(!(zt[1].type==="linePrefix"||zt[1].type==="blockQuotePrefix"||zt[1].type==="blockQuotePrefixWhitespace"||zt[1].type==="blockQuoteMarker"||zt[1].type==="listItemIndent"))break}fn&&(!Je||fn<Je)&&(hn._spread=!0),hn.end=Object.assign({},Je?q[Je][1].start:Nt[1].end),q.splice(Je||Ae,0,["exit",hn,Nt[2]]),Ae++,_e++}if(Nt[1].type==="listItemPrefix"){const Gn={type:"listItem",_spread:!1,start:Object.assign({},Nt[1].start),end:void 0};hn=Gn,q.splice(Ae,0,["enter",Gn,Nt[2]]),Ae++,_e++,fn=void 0,pn=!0}}}return q[oe][1]._spread=rt,_e}function a(q,oe){return _e;function _e(Ae){l.call(this,q(Ae),Ae),oe&&oe.call(this,Ae)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(q,oe,_e){this.stack[this.stack.length-1].children.push(q),this.stack.push(q),this.tokenStack.push([oe,_e||void 0]),q.position={start:Zr(oe.start),end:void 0}}function c(q){return oe;function oe(_e){q&&q.call(this,_e),u.call(this,_e)}}function u(q,oe){const _e=this.stack.pop(),Ae=this.tokenStack.pop();if(Ae)Ae[0].type!==q.type&&(oe?oe.call(this,q,Ae[0]):(Ae[1]||Nh).call(this,q,Ae[0]));else throw new Error("Cannot close `"+q.type+"` ("+Qi({start:q.start,end:q.end})+"): it’s not open");_e.position.end=Zr(q.end)}function h(){return od(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function g(q){if(this.data.expectingFirstListItemValue){const oe=this.stack[this.stack.length-2];oe.start=Number.parseInt(this.sliceSerialize(q),10),this.data.expectingFirstListItemValue=void 0}}function m(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.lang=q}function C(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.meta=q}function I(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q.replace(/(\r?\n|\r)$/g,"")}function y(q){const oe=this.resume(),_e=this.stack[this.stack.length-1];_e.label=oe,_e.identifier=cr(this.sliceSerialize(q)).toLowerCase()}function T(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.title=q}function k(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.url=q}function A(q){const oe=this.stack[this.stack.length-1];if(!oe.depth){const _e=this.sliceSerialize(q).length;oe.depth=_e}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function E(q){const oe=this.stack[this.stack.length-1];oe.depth=this.sliceSerialize(q).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function B(q){const _e=this.stack[this.stack.length-1].children;let Ae=_e[_e.length-1];(!Ae||Ae.type!=="text")&&(Ae=It(),Ae.position={start:Zr(q.start),end:void 0},_e.push(Ae)),this.stack.push(Ae)}function w(q){const oe=this.stack.pop();oe.value+=this.sliceSerialize(q),oe.position.end=Zr(q.end)}function V(q){const oe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const _e=oe.children[oe.children.length-1];_e.position.end=Zr(q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(oe.type)&&(B.call(this,q),w.call(this,q))}function H(){this.data.atHardBreak=!0}function X(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function W(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function se(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function Ce(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const oe=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=oe,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function be(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const oe=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=oe,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function ve(q){const oe=this.sliceSerialize(q),_e=this.stack[this.stack.length-2];_e.label=EL(oe),_e.identifier=cr(oe).toLowerCase()}function Le(){const q=this.stack[this.stack.length-1],oe=this.resume(),_e=this.stack[this.stack.length-1];if(this.data.inReference=!0,_e.type==="link"){const Ae=q.children;_e.children=Ae}else _e.alt=oe}function x(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.url=q}function ne(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.title=q}function pe(){this.data.inReference=void 0}function L(){this.data.referenceType="collapsed"}function Z(q){const oe=this.resume(),_e=this.stack[this.stack.length-1];_e.label=oe,_e.identifier=cr(this.sliceSerialize(q)).toLowerCase(),this.data.referenceType="full"}function le(q){this.data.characterReferenceType=q.type}function ee(q){const oe=this.sliceSerialize(q),_e=this.data.characterReferenceType;let Ae;_e?(Ae=Sm(oe,_e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ae=id(oe);const We=this.stack[this.stack.length-1];We.value+=Ae}function Ie(q){const oe=this.stack.pop();oe.position.end=Zr(q.end)}function Se(q){w.call(this,q);const oe=this.stack[this.stack.length-1];oe.url=this.sliceSerialize(q)}function ae(q){w.call(this,q);const oe=this.stack[this.stack.length-1];oe.url="mailto:"+this.sliceSerialize(q)}function ce(){return{type:"blockquote",children:[]}}function Ue(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function Ve(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Te(){return{type:"emphasis",children:[]}}function we(){return{type:"heading",depth:0,children:[]}}function ze(){return{type:"break"}}function Tt(){return{type:"html",value:""}}function wt(){return{type:"image",title:null,url:"",alt:null}}function $e(){return{type:"link",title:null,url:"",children:[]}}function nt(q){return{type:"list",ordered:q.type==="listOrdered",start:null,spread:q._spread,children:[]}}function Tn(q){return{type:"listItem",spread:q._spread,checked:null,children:[]}}function gt(){return{type:"paragraph",children:[]}}function dn(){return{type:"strong",children:[]}}function It(){return{type:"text",value:""}}function Lt(){return{type:"thematicBreak"}}}function Zr(e){return{line:e.line,column:e.column,offset:e.offset}}function Nm(e,t){let n=-1;for(;++n<t.length;){const o=t[n];Array.isArray(o)?Nm(e,o):wL(e,o)}}function wL(e,t){let n;for(n in t)if(Lm.call(t,n))switch(n){case"canContainEols":{const o=t[n];o&&e[n].push(...o);break}case"transforms":{const o=t[n];o&&e[n].push(...o);break}case"enter":case"exit":{const o=t[n];o&&Object.assign(e[n],o);break}}}function Nh(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Qi({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Qi({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Qi({start:t.start,end:t.end})+") is still open")}function vL(e){const t=this;t.parser=n;function n(o){return xL(o,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function AL(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function kL(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
128
128
|
`}]}function LL(e,t){const n=t.value?t.value+`
|
|
129
|
-
`:"",o={};t.lang&&(o.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function NL(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function PL(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function RL(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",o=String(t.identifier).toUpperCase(),i=
|
|
129
|
+
`:"",o={};t.lang&&(o.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function NL(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function PL(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function RL(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",o=String(t.identifier).toUpperCase(),i=Ii(o.toLowerCase()),a=e.footnoteOrder.indexOf(o);let s,l=e.footnoteCounts.get(o);l===void 0?(l=0,e.footnoteOrder.push(o),s=e.footnoteOrder.length):s=a+1,l+=1,e.footnoteCounts.set(o,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function DL(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function OL(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Pm(e,t){const n=t.referenceType;let o="]";if(n==="collapsed"?o+="[]":n==="full"&&(o+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+o}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=o:i.push({type:"text",value:o}),i}function ML(e,t){const n=String(t.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return Pm(e,t);const i={src:Ii(o.url||""),alt:t.alt};o.title!==null&&o.title!==void 0&&(i.title=o.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function BL(e,t){const n={src:Ii(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)}function FL(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const o={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,o),e.applyData(t,o)}function HL(e,t){const n=String(t.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return Pm(e,t);const i={href:Ii(o.url||"")};o.title!==null&&o.title!==void 0&&(i.title=o.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function jL(e,t){const n={href:Ii(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function UL(e,t,n){const o=e.all(t),i=n?VL(n):Rm(t),a={},s=[];if(typeof t.checked=="boolean"){const h=o[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},o.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<o.length;){const h=o[l];(i||l!==0||h.type!=="element"||h.tagName!=="p")&&s.push({type:"text",value:`
|
|
130
130
|
`}),h.type==="element"&&h.tagName==="p"&&!i?s.push(...h.children):s.push(h)}const c=o[o.length-1];c&&(i||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
|
|
131
|
-
`});const u={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,u),e.applyData(t,u)}function VL(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let o=-1;for(;!t&&++o<n.length;)t=Rm(n[o])}return t}function Rm(e){const t=e.spread;return t??e.children.length>1}function zL(e,t){const n={},o=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<o.length;){const s=o[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)}function $L(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function WL(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function qL(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function GL(e,t){const n=e.all(t),o=n.shift(),i=[];if(o){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([o],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=Ar(t.children[1]),c=pl(t.children[t.children.length-1]);l&&c&&(s.position={start:l,end:c}),i.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function YL(e,t,n){const o=n?n.children:void 0,a=(o?o.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,l=s?s.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const f=t.children[c],g={},m=s?s[c]:void 0;m&&(g.align=m);let C={type:"element",tagName:a,properties:g,children:[]};f&&(C.children=e.all(f),e.patch(f,C),C=e.applyData(f,C)),u.push(C)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,h),e.applyData(t,h)}function ZL(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Ph=9,Rh=32;function XL(e){const t=String(e),n=/\r?\n|\r/g;let o=n.exec(t),i=0;const a=[];for(;o;)a.push(Dh(t.slice(i,o.index),i>0,!0),o[0]),i=o.index+o[0].length,o=n.exec(t);return a.push(Dh(t.slice(i),i>0,!1)),a.join("")}function Dh(e,t,n){let o=0,i=e.length;if(t){let a=e.codePointAt(o);for(;a===Ph||a===Rh;)o++,a=e.codePointAt(o)}if(n){let a=e.codePointAt(i-1);for(;a===Ph||a===Rh;)i--,a=e.codePointAt(i-1)}return i>o?e.slice(o,i):""}function KL(e,t){const n={type:"text",value:XL(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function QL(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const JL={blockquote:AL,break:kL,code:LL,delete:NL,emphasis:PL,footnoteReference:RL,heading:DL,html:OL,imageReference:ML,image:BL,inlineCode:FL,linkReference:HL,link:jL,listItem:UL,list:zL,paragraph:$L,root:WL,strong:qL,table:GL,tableCell:ZL,tableRow:YL,text:KL,thematicBreak:QL,toml:ns,yaml:ns,definition:ns,footnoteDefinition:ns};function ns(){}const Dm=-1,Il=0,
|
|
131
|
+
`});const u={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,u),e.applyData(t,u)}function VL(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let o=-1;for(;!t&&++o<n.length;)t=Rm(n[o])}return t}function Rm(e){const t=e.spread;return t??e.children.length>1}function zL(e,t){const n={},o=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<o.length;){const s=o[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)}function $L(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function WL(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function qL(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function GL(e,t){const n=e.all(t),o=n.shift(),i=[];if(o){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([o],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=Ar(t.children[1]),c=pl(t.children[t.children.length-1]);l&&c&&(s.position={start:l,end:c}),i.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function YL(e,t,n){const o=n?n.children:void 0,a=(o?o.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,l=s?s.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const f=t.children[c],g={},m=s?s[c]:void 0;m&&(g.align=m);let C={type:"element",tagName:a,properties:g,children:[]};f&&(C.children=e.all(f),e.patch(f,C),C=e.applyData(f,C)),u.push(C)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,h),e.applyData(t,h)}function ZL(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Ph=9,Rh=32;function XL(e){const t=String(e),n=/\r?\n|\r/g;let o=n.exec(t),i=0;const a=[];for(;o;)a.push(Dh(t.slice(i,o.index),i>0,!0),o[0]),i=o.index+o[0].length,o=n.exec(t);return a.push(Dh(t.slice(i),i>0,!1)),a.join("")}function Dh(e,t,n){let o=0,i=e.length;if(t){let a=e.codePointAt(o);for(;a===Ph||a===Rh;)o++,a=e.codePointAt(o)}if(n){let a=e.codePointAt(i-1);for(;a===Ph||a===Rh;)i--,a=e.codePointAt(i-1)}return i>o?e.slice(o,i):""}function KL(e,t){const n={type:"text",value:XL(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function QL(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const JL={blockquote:AL,break:kL,code:LL,delete:NL,emphasis:PL,footnoteReference:RL,heading:DL,html:OL,imageReference:ML,image:BL,inlineCode:FL,linkReference:HL,link:jL,listItem:UL,list:zL,paragraph:$L,root:WL,strong:qL,table:GL,tableCell:ZL,tableRow:YL,text:KL,thematicBreak:QL,toml:ns,yaml:ns,definition:ns,footnoteDefinition:ns};function ns(){}const Dm=-1,Il=0,ea=1,js=2,sd=3,ld=4,cd=5,ud=6,Om=7,Mm=8,Oh=typeof self=="object"?self:globalThis,eN=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),o=i=>{if(e.has(i))return e.get(i);const[a,s]=t[i];switch(a){case Il:case Dm:return n(s,i);case ea:{const l=n([],i);for(const c of s)l.push(o(c));return l}case js:{const l=n({},i);for(const[c,u]of s)l[o(c)]=o(u);return l}case sd:return n(new Date(s),i);case ld:{const{source:l,flags:c}=s;return n(new RegExp(l,c),i)}case cd:{const l=n(new Map,i);for(const[c,u]of s)l.set(o(c),o(u));return l}case ud:{const l=n(new Set,i);for(const c of s)l.add(o(c));return l}case Om:{const{name:l,message:c}=s;return n(new Oh[l](c),i)}case Mm:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:l}=new Uint8Array(s);return n(new DataView(l),s)}}return n(new Oh[a](s),i)};return o},Mh=e=>eN(new Map,e)(0),qo="",{toString:tN}={},{keys:nN}=Object,Mi=e=>{const t=typeof e;if(t!=="object"||!e)return[Il,t];const n=tN.call(e).slice(8,-1);switch(n){case"Array":return[ea,qo];case"Object":return[js,qo];case"Date":return[sd,qo];case"RegExp":return[ld,qo];case"Map":return[cd,qo];case"Set":return[ud,qo];case"DataView":return[ea,n]}return n.includes("Array")?[ea,n]:n.includes("Error")?[Om,n]:[js,n]},rs=([e,t])=>e===Il&&(t==="function"||t==="symbol"),rN=(e,t,n,o)=>{const i=(s,l)=>{const c=o.push(s)-1;return n.set(l,c),c},a=s=>{if(n.has(s))return n.get(s);let[l,c]=Mi(s);switch(l){case Il:{let h=s;switch(c){case"bigint":l=Mm,h=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);h=null;break;case"undefined":return i([Dm],s)}return i([l,h],s)}case ea:{if(c){let g=s;return c==="DataView"?g=new Uint8Array(s.buffer):c==="ArrayBuffer"&&(g=new Uint8Array(s)),i([c,[...g]],s)}const h=[],f=i([l,h],s);for(const g of s)h.push(a(g));return f}case js:{if(c)switch(c){case"BigInt":return i([c,s.toString()],s);case"Boolean":case"Number":case"String":return i([c,s.valueOf()],s)}if(t&&"toJSON"in s)return a(s.toJSON());const h=[],f=i([l,h],s);for(const g of nN(s))(e||!rs(Mi(s[g])))&&h.push([a(g),a(s[g])]);return f}case sd:return i([l,s.toISOString()],s);case ld:{const{source:h,flags:f}=s;return i([l,{source:h,flags:f}],s)}case cd:{const h=[],f=i([l,h],s);for(const[g,m]of s)(e||!(rs(Mi(g))||rs(Mi(m))))&&h.push([a(g),a(m)]);return f}case ud:{const h=[],f=i([l,h],s);for(const g of s)(e||!rs(Mi(g)))&&h.push(a(g));return f}}const{message:u}=s;return i([l,{name:c,message:u}],s)};return a},Bh=(e,{json:t,lossy:n}={})=>{const o=[];return rN(!(t||n),!!t,new Map,o)(e),o},oi=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Mh(Bh(e,t)):structuredClone(e):(e,t)=>Mh(Bh(e,t));function oN(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function iN(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function aN(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||oN,o=e.options.footnoteBackLabel||iN,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const h=e.all(u),f=String(u.identifier).toUpperCase(),g=Ii(f.toLowerCase());let m=0;const C=[],I=e.footnoteCounts.get(f);for(;I!==void 0&&++m<=I;){C.length>0&&C.push({type:"text",value:" "});let y=typeof n=="string"?n:n(c,m);typeof y=="string"&&(y={type:"text",value:y}),C.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(c,m),className:["data-footnote-backref"]},children:Array.isArray(y)?y:[y]})}const b=h[h.length-1];if(b&&b.type==="element"&&b.tagName==="p"){const y=b.children[b.children.length-1];y&&y.type==="text"?y.value+=" ":b.children.push({type:"text",value:" "}),b.children.push(...C)}else h.push(...C);const S={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(h,!0)};e.patch(u,S),l.push(S)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...oi(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
132
132
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
|
|
133
133
|
`}]}}const Cl=function(e){if(e==null)return uN;if(typeof e=="function")return bl(e);if(typeof e=="object")return Array.isArray(e)?sN(e):lN(e);if(typeof e=="string")return cN(e);throw new Error("Expected function, string, or object as test")};function sN(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Cl(e[n]);return bl(o);function o(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function lN(e){const t=e;return bl(n);function n(o){const i=o;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function cN(e){return bl(t);function t(n){return n&&n.type===e}}function bl(e){return t;function t(n,o,i){return!!(dN(n)&&e.call(this,n,typeof o=="number"?o:void 0,i||void 0))}}function uN(){return!0}function dN(e){return e!==null&&typeof e=="object"&&"type"in e}const Bm=[],hN=!0,au=!1,fN="skip";function Fm(e,t,n,o){let i;typeof t=="function"&&typeof n!="function"?(o=n,n=t):i=t;const a=Cl(i),s=o?-1:1;l(e,void 0,[])();function l(c,u,h){const f=c&&typeof c=="object"?c:{};if(typeof f.type=="string"){const m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(c.type+(m?"<"+m+">":""))+")"})}return g;function g(){let m=Bm,C,I,b;if((!t||a(c,u,h[h.length-1]||void 0))&&(m=pN(n(c,h)),m[0]===au))return m;if("children"in c&&c.children){const S=c;if(S.children&&m[0]!==fN)for(I=(o?S.children.length:-1)+s,b=h.concat(S);I>-1&&I<S.children.length;){const y=S.children[I];if(C=l(y,I,b)(),C[0]===au)return C;I=typeof C[1]=="number"?C[1]:I+s}}return m}}}function pN(e){return Array.isArray(e)?e:typeof e=="number"?[hN,e]:e==null?Bm:[e]}function Sl(e,t,n,o){let i,a,s;typeof t=="function"&&typeof n!="function"?(a=void 0,s=t,i=n):(a=t,s=n,i=o),Fm(e,a,l,i);function l(c,u){const h=u[u.length-1],f=h?h.children.indexOf(c):void 0;return s(c,f,h)}}const su={}.hasOwnProperty,mN={};function gN(e,t){const n=t||mN,o=new Map,i=new Map,a=new Map,s={...JL,...n.handlers},l={all:u,applyData:CN,definitionById:o,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:c,options:n,patch:IN,wrap:SN};return Sl(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?o:i,g=String(h.identifier).toUpperCase();f.has(g)||f.set(g,h)}}),l;function c(h,f){const g=h.type,m=l.handlers[g];if(su.call(l.handlers,g)&&m)return m(l,h,f);if(l.options.passThrough&&l.options.passThrough.includes(g)){if("children"in h){const{children:I,...b}=h,S=oi(b);return S.children=l.all(h),S}return oi(h)}return(l.options.unknownHandler||bN)(l,h,f)}function u(h){const f=[];if("children"in h){const g=h.children;let m=-1;for(;++m<g.length;){const C=l.one(g[m],h);if(C){if(m&&g[m-1].type==="break"&&(!Array.isArray(C)&&C.type==="text"&&(C.value=Fh(C.value)),!Array.isArray(C)&&C.type==="element")){const I=C.children[0];I&&I.type==="text"&&(I.value=Fh(I.value))}Array.isArray(C)?f.push(...C):f.push(C)}}}return f}}function IN(e,t){e.position&&(t.position=rA(e))}function CN(e,t){let n=t;if(e&&e.data){const o=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof o=="string")if(n.type==="element")n.tagName=o;else{const s="children"in n?n.children:[n];n={type:"element",tagName:o,properties:{},children:s}}n.type==="element"&&a&&Object.assign(n.properties,oi(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function bN(e,t){const n=t.data||{},o="value"in t&&!(su.call(n,"hProperties")||su.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function SN(e,t){const n=[];let o=-1;for(t&&n.push({type:"text",value:`
|
|
134
134
|
`});++o<e.length;)o&&n.push({type:"text",value:`
|
|
@@ -142,15 +142,15 @@ Valid keys: `+JSON.stringify(Object.keys(x),null," "));var Q=Ue(Ie,ce,Z,le,ee+"
|
|
|
142
142
|
`,encode:["`"],...l.current()})),f()}return h+=l.move(`
|
|
143
143
|
`),a&&(h+=l.move(a+`
|
|
144
144
|
`)),h+=l.move(c),u(),h}function jP(e,t,n){return(n?"":" ")+e}function fd(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function UP(e,t,n,o){const i=fd(n),a=i==='"'?"Quote":"Apostrophe",s=n.enter("definition");let l=n.enter("label");const c=n.createTracker(o);let u=c.move("[");return u+=c.move(n.safe(n.associationId(e),{before:u,after:"]",...c.current()})),u+=c.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(l=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":`
|
|
145
|
-
`,...c.current()}))),l(),e.title&&(l=n.enter(`title${a}`),u+=c.move(" "+i),u+=c.move(n.safe(e.title,{before:u,after:i,...c.current()})),u+=c.move(i),l()),s(),u}function VP(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function
|
|
145
|
+
`,...c.current()}))),l(),e.title&&(l=n.enter(`title${a}`),u+=c.move(" "+i),u+=c.move(n.safe(e.title,{before:u,after:i,...c.current()})),u+=c.move(i),l()),s(),u}function VP(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ia(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Us(e,t,n){const o=ri(e),i=ri(t);return o===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:o===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}qm.peek=zP;function qm(e,t,n,o){const i=VP(n),a=n.enter("emphasis"),s=n.createTracker(o),l=s.move(i);let c=s.move(n.containerPhrasing(e,{after:i,before:l,...s.current()}));const u=c.charCodeAt(0),h=Us(o.before.charCodeAt(o.before.length-1),u,i);h.inside&&(c=Ia(u)+c.slice(1));const f=c.charCodeAt(c.length-1),g=Us(o.after.charCodeAt(0),f,i);g.inside&&(c=c.slice(0,-1)+Ia(f));const m=s.move(i);return a(),n.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},l+c+m}function zP(e,t,n){return n.options.emphasis||"*"}function $P(e,t){let n=!1;return Sl(e,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return n=!0,au}),!!((!e.depth||e.depth<3)&&od(e)&&(t.options.setext||n))}function WP(e,t,n,o){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(o);if($P(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),g=n.containerPhrasing(e,{...a.current(),before:`
|
|
146
146
|
`,after:`
|
|
147
147
|
`});return f(),h(),g+`
|
|
148
148
|
`+(i===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(`
|
|
149
149
|
`))+1))}const s="#".repeat(i),l=n.enter("headingAtx"),c=n.enter("phrasing");a.move(s+" ");let u=n.containerPhrasing(e,{before:"# ",after:`
|
|
150
|
-
`,...a.current()});return/^[\t ]/.test(u)&&(u=
|
|
150
|
+
`,...a.current()});return/^[\t ]/.test(u)&&(u=Ia(u.charCodeAt(0))+u.slice(1)),u=u?s+" "+u:s,n.options.closeAtx&&(u+=" "+s),c(),l(),u}Gm.peek=qP;function Gm(e){return e.value||""}function qP(){return"<"}Ym.peek=GP;function Ym(e,t,n,o){const i=fd(n),a=i==='"'?"Quote":"Apostrophe",s=n.enter("image");let l=n.enter("label");const c=n.createTracker(o);let u=c.move("![");return u+=c.move(n.safe(e.alt,{before:u,after:"]",...c.current()})),u+=c.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()})),u+=c.move(">")):(l=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":")",...c.current()}))),l(),e.title&&(l=n.enter(`title${a}`),u+=c.move(" "+i),u+=c.move(n.safe(e.title,{before:u,after:i,...c.current()})),u+=c.move(i),l()),u+=c.move(")"),s(),u}function GP(){return"!"}Zm.peek=YP;function Zm(e,t,n,o){const i=e.referenceType,a=n.enter("imageReference");let s=n.enter("label");const l=n.createTracker(o);let c=l.move("![");const u=n.safe(e.alt,{before:c,after:"]",...l.current()});c+=l.move(u+"]["),s();const h=n.stack;n.stack=[],s=n.enter("reference");const f=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return s(),n.stack=h,a(),i==="full"||!u||u!==f?c+=l.move(f+"]"):i==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function YP(){return"!"}Xm.peek=ZP;function Xm(e,t,n){let o=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(o);)i+="`";for(/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++a<n.unsafe.length;){const s=n.unsafe[a],l=n.compilePattern(s);let c;if(s.atBreak)for(;c=l.exec(o);){let u=c.index;o.charCodeAt(u)===10&&o.charCodeAt(u-1)===13&&u--,o=o.slice(0,u)+" "+o.slice(c.index+1)}}return i+o+i}function ZP(){return"`"}function Km(e,t){const n=od(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Qm.peek=XP;function Qm(e,t,n,o){const i=fd(n),a=i==='"'?"Quote":"Apostrophe",s=n.createTracker(o);let l,c;if(Km(e,n)){const h=n.stack;n.stack=[],l=n.enter("autolink");let f=s.move("<");return f+=s.move(n.containerPhrasing(e,{before:f,after:">",...s.current()})),f+=s.move(">"),l(),n.stack=h,f}l=n.enter("link"),c=n.enter("label");let u=s.move("[");return u+=s.move(n.containerPhrasing(e,{before:u,after:"](",...s.current()})),u+=s.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(n.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(c=n.enter("destinationRaw"),u+=s.move(n.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),c(),e.title&&(c=n.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(n.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),c()),u+=s.move(")"),l(),u}function XP(e,t,n){return Km(e,n)?"<":"["}Jm.peek=KP;function Jm(e,t,n,o){const i=e.referenceType,a=n.enter("linkReference");let s=n.enter("label");const l=n.createTracker(o);let c=l.move("[");const u=n.containerPhrasing(e,{before:c,after:"]",...l.current()});c+=l.move(u+"]["),s();const h=n.stack;n.stack=[],s=n.enter("reference");const f=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return s(),n.stack=h,a(),i==="full"||!u||u!==f?c+=l.move(f+"]"):i==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function KP(){return"["}function pd(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function QP(e){const t=pd(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function JP(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function eg(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function eR(e,t,n,o){const i=n.enter("list"),a=n.bulletCurrent;let s=e.ordered?JP(n):pd(n);const l=e.ordered?s==="."?")":".":QP(n);let c=t&&n.bulletLastUsed?s===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),eg(n)===s&&h){let f=-1;for(;++f<e.children.length;){const g=e.children[f];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(s=l),n.bulletCurrent=s;const u=n.containerFlow(e,o);return n.bulletLastUsed=s,n.bulletCurrent=a,i(),u}function tR(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function nR(e,t,n,o){const i=tR(n);let a=n.bulletCurrent||pd(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let s=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const l=n.createTracker(o);l.move(a+" ".repeat(s-a.length)),l.shift(s);const c=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,l.current()),h);return c(),u;function h(f,g,m){return g?(m?"":" ".repeat(s))+f:(m?a:a+" ".repeat(s-a.length))+f}}function rR(e,t,n,o){const i=n.enter("paragraph"),a=n.enter("phrasing"),s=n.containerPhrasing(e,o);return a(),i(),s}const oR=Cl(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function iR(e,t,n,o){return(e.children.some(function(s){return oR(s)})?n.containerPhrasing:n.containerFlow).call(n,e,o)}function aR(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}tg.peek=sR;function tg(e,t,n,o){const i=aR(n),a=n.enter("strong"),s=n.createTracker(o),l=s.move(i+i);let c=s.move(n.containerPhrasing(e,{after:i,before:l,...s.current()}));const u=c.charCodeAt(0),h=Us(o.before.charCodeAt(o.before.length-1),u,i);h.inside&&(c=Ia(u)+c.slice(1));const f=c.charCodeAt(c.length-1),g=Us(o.after.charCodeAt(0),f,i);g.inside&&(c=c.slice(0,-1)+Ia(f));const m=s.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:g.outside,before:h.outside},l+c+m}function sR(e,t,n){return n.options.strong||"*"}function lR(e,t,n,o){return n.safe(e.value,o)}function cR(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function uR(e,t,n){const o=(eg(n)+(n.options.ruleSpaces?" ":"")).repeat(cR(n));return n.options.ruleSpaces?o.slice(0,-1):o}const ng={blockquote:RP,break:nf,code:HP,definition:UP,emphasis:qm,hardBreak:nf,heading:WP,html:Gm,image:Ym,imageReference:Zm,inlineCode:Xm,link:Qm,linkReference:Jm,list:eR,listItem:nR,paragraph:rR,root:iR,strong:tg,text:lR,thematicBreak:uR};function dR(){return{enter:{table:hR,tableData:rf,tableHeader:rf,tableRow:pR},exit:{codeText:mR,table:fR,tableData:fc,tableHeader:fc,tableRow:fc}}}function hR(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function fR(e){this.exit(e),this.data.inTable=void 0}function pR(e){this.enter({type:"tableRow",children:[]},e)}function fc(e){this.exit(e)}function rf(e){this.enter({type:"tableCell",children:[]},e)}function mR(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,gR));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function gR(e,t){return t==="|"?t:e}function IR(e){const t=e||{},n=t.tableCellPadding,o=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
151
151
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:g,table:s,tableCell:c,tableRow:l}};function s(m,C,I,b){return u(h(m,I,b),m.align)}function l(m,C,I,b){const S=f(m,I,b),y=u([S]);return y.slice(0,y.indexOf(`
|
|
152
|
-
`))}function c(m,C,I,b){const S=I.enter("tableCell"),y=I.enter("phrasing"),T=I.containerPhrasing(m,{...b,before:a,after:a});return y(),S(),T}function u(m,C){return NP(m,{align:C,alignDelimiters:o,padding:n,stringLength:i})}function h(m,C,I){const b=m.children;let S=-1;const y=[],T=C.enter("table");for(;++S<b.length;)y[S]=f(b[S],C,I);return T(),y}function f(m,C,I){const b=m.children;let S=-1;const y=[],T=C.enter("tableRow");for(;++S<b.length;)y[S]=c(b[S],m,C,I);return T(),y}function g(m,C,I){let b=ng.inlineCode(m,C,I);return I.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function CR(){return{exit:{taskListCheckValueChecked:of,taskListCheckValueUnchecked:of,paragraph:SR}}}function bR(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:yR}}}function of(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function SR(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const o=n.children[0];if(o&&o.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const l=i[a];if(l.type==="paragraph"){s=l;break}}s===n&&(o.value=o.value.slice(1),o.value.length===0?n.children.shift():n.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,n.position.start=Object.assign({},o.position.start)))}}this.exit(e)}function yR(e,t,n,o){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",l=n.createTracker(o);a&&l.move(s);let c=ng.listItem(e,t,n,{...o,...l.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),c;function u(h){return h+s}}function ER(){return[eP(),yP(),_P(),dR(),CR()]}function TR(e){return{extensions:[tP(),EP(e),wP(),IR(e),bR()]}}const xR={tokenize:LR,partial:!0},rg={tokenize:NR,partial:!0},og={tokenize:PR,partial:!0},ig={tokenize:RR,partial:!0},_R={tokenize:DR,partial:!0},ag={name:"wwwAutolink",tokenize:AR,previous:lg},sg={name:"protocolAutolink",tokenize:kR,previous:cg},qr={name:"emailAutolink",tokenize:vR,previous:ug},kr={};function wR(){return{text:kr}}let Io=48;for(;Io<123;)kr[Io]=qr,Io++,Io===58?Io=65:Io===91&&(Io=97);kr[43]=qr;kr[45]=qr;kr[46]=qr;kr[95]=qr;kr[72]=[qr,sg];kr[104]=[qr,sg];kr[87]=[qr,ag];kr[119]=[qr,ag];function vR(e,t,n){const o=this;let i,a;return s;function s(f){return!uu(f)||!ug.call(o,o.previous)||md(o.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(f))}function l(f){return uu(f)?(e.consume(f),l):f===64?(e.consume(f),c):n(f)}function c(f){return f===46?e.check(_R,h,u)(f):f===45||f===95||Sn(f)?(a=!0,e.consume(f),c):h(f)}function u(f){return e.consume(f),i=!0,c}function h(f){return a&&i&&vn(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function AR(e,t,n){const o=this;return i;function i(s){return s!==87&&s!==119||!lg.call(o,o.previous)||md(o.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(xR,e.attempt(rg,e.attempt(og,a),n),n)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function kR(e,t,n){const o=this;let i="",a=!1;return s;function s(f){return(f===72||f===104)&&cg.call(o,o.previous)&&!md(o.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),l):n(f)}function l(f){if(vn(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),l;if(f===58){const g=i.toLowerCase();if(g==="http"||g==="https")return e.consume(f),c}return n(f)}function c(f){return f===47?(e.consume(f),a?u:(a=!0,c)):n(f)}function u(f){return f===null||Hs(f)||ct(f)||Do(f)||ml(f)?n(f):e.attempt(rg,e.attempt(og,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function LR(e,t,n){let o=0;return i;function i(s){return(s===87||s===119)&&o<3?(o++,e.consume(s),i):s===46&&o===3?(e.consume(s),a):n(s)}function a(s){return s===null?n(s):t(s)}}function NR(e,t,n){let o,i,a;return s;function s(u){return u===46||u===95?e.check(ig,c,l)(u):u===null||ct(u)||Do(u)||u!==45&&ml(u)?c(u):(a=!0,e.consume(u),s)}function l(u){return u===95?o=!0:(i=o,o=void 0),e.consume(u),s}function c(u){return i||o||!a?n(u):t(u)}}function PR(e,t){let n=0,o=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&o<n?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(ig,t,a)(s):s===null||ct(s)||Do(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&o++,e.consume(s),i}}function RR(e,t,n){return o;function o(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),o):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||ct(l)||Do(l)?t(l):n(l)}function i(l){return l===null||l===40||l===91||ct(l)||Do(l)?t(l):o(l)}function a(l){return vn(l)?s(l):n(l)}function s(l){return l===59?(e.consume(l),o):vn(l)?(e.consume(l),s):n(l)}}function DR(e,t,n){return o;function o(a){return e.consume(a),i}function i(a){return Sn(a)?n(a):t(a)}}function lg(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ct(e)}function cg(e){return!vn(e)}function ug(e){return!(e===47||uu(e))}function uu(e){return e===43||e===45||e===46||e===95||Sn(e)}function md(e){let t=e.length,n=!1;for(;t--;){const o=e[t][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){n=!0;break}if(o._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const OR={tokenize:zR,partial:!0};function MR(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:jR,continuation:{tokenize:UR},exit:VR}},text:{91:{name:"gfmFootnoteCall",tokenize:HR},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:BR,resolveTo:FR}}}}function BR(e,t,n){const o=this;let i=o.events.length;const a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let s;for(;i--;){const c=o.events[i][1];if(c.type==="labelImage"){s=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!s||!s._balanced)return n(c);const u=cr(o.sliceSerialize({start:s.end,end:o.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function FR(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...l),e}function HR(e,t,n){const o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let a=0,s;return l;function l(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),c}function c(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(a>999||f===93&&!s||f===null||f===91||ct(f))return n(f);if(f===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return i.includes(cr(o.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return ct(f)||(s=!0),a++,e.consume(f),f===92?h:u}function h(f){return f===91||f===92||f===93?(e.consume(f),a++,u):u(f)}}function jR(e,t,n){const o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let a,s=0,l;return c;function c(C){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(C){return C===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(C)}function h(C){if(s>999||C===93&&!l||C===null||C===91||ct(C))return n(C);if(C===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return a=cr(o.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return ct(C)||(l=!0),s++,e.consume(C),C===92?f:h}function f(C){return C===91||C===92||C===93?(e.consume(C),s++,h):h(C)}function g(C){return C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),i.includes(a)||i.push(a),Xe(e,m,"gfmFootnoteDefinitionWhitespace")):n(C)}function m(C){return t(C)}}function UR(e,t,n){return e.check(Ra,t,e.attempt(OR,t,n))}function VR(e){e.exit("gfmFootnoteDefinition")}function zR(e,t,n){const o=this;return Xe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=o.events[o.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):n(a)}}function $R(e){let n=(e||{}).singleTilde;const o={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function i(s,l){let c=-1;for(;++c<s.length;)if(s[c][0]==="enter"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._close){let u=c;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[c][1].end.offset-s[c][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[c][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[c][1].end)},f={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[c][1].start)},g=[["enter",h,l],["enter",s[u][1],l],["exit",s[u][1],l],["enter",f,l]],m=l.parser.constructs.insideSpan.null;m&&Wn(g,g.length,0,gl(m,s.slice(u+1,c),l)),Wn(g,g.length,0,[["exit",f,l],["enter",s[c][1],l],["exit",s[c][1],l],["exit",h,l]]),Wn(s,u-1,c-u+3,g),c=u+g.length-2;break}}for(c=-1;++c<s.length;)s[c][1].type==="strikethroughSequenceTemporary"&&(s[c][1].type="data");return s}function a(s,l,c){const u=this.previous,h=this.events;let f=0;return g;function g(C){return u===126&&h[h.length-1][1].type!=="characterEscape"?c(C):(s.enter("strikethroughSequenceTemporary"),m(C))}function m(C){const I=ri(u);if(C===126)return f>1?c(C):(s.consume(C),f++,m);if(f<2&&!n)return c(C);const b=s.exit("strikethroughSequenceTemporary"),S=ri(C);return b._open=!S||S===2&&!!I,b._close=!I||I===2&&!!S,l(C)}}}class WR{constructor(){this.map=[]}add(t,n,o){qR(this,t,n,o)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const o=[];for(;n>0;)n-=1,o.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];o.push(t.slice()),t.length=0;let i=o.pop();for(;i;){for(const a of i)t.push(a);i=o.pop()}this.map.length=0}}function qR(e,t,n,o){let i=0;if(!(n===0&&o.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...o);return}i+=1}e.map.push([t,n,o])}}function GR(e,t){let n=!1;const o=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&o.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=o.length-1;o[a]=o[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return o}function YR(){return{flow:{null:{name:"table",tokenize:ZR,resolveAll:XR}}}}function ZR(e,t,n){const o=this;let i=0,a=0,s;return l;function l(w){let V=o.events.length-1;for(;V>-1;){const W=o.events[V][1].type;if(W==="lineEnding"||W==="linePrefix")V--;else break}const H=V>-1?o.events[V][1].type:null,X=H==="tableHead"||H==="tableRow"?P:c;return X===P&&o.parser.lazy[o.now().line]?n(w):X(w)}function c(w){return e.enter("tableHead"),e.enter("tableRow"),u(w)}function u(w){return w===124||(s=!0,a+=1),h(w)}function h(w){return w===null?n(w):Pe(w)?a>1?(a=0,o.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),m):n(w):Ze(w)?Xe(e,h,"whitespace")(w):(a+=1,s&&(s=!1,i+=1),w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),s=!0,h):(e.enter("data"),f(w)))}function f(w){return w===null||w===124||ct(w)?(e.exit("data"),h(w)):(e.consume(w),w===92?g:f)}function g(w){return w===92||w===124?(e.consume(w),f):f(w)}function m(w){return o.interrupt=!1,o.parser.lazy[o.now().line]?n(w):(e.enter("tableDelimiterRow"),s=!1,Ze(w)?Xe(e,C,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):C(w))}function C(w){return w===45||w===58?b(w):w===124?(s=!0,e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),I):A(w)}function I(w){return Ze(w)?Xe(e,b,"whitespace")(w):b(w)}function b(w){return w===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),S):w===45?(a+=1,S(w)):w===null||Pe(w)?k(w):A(w)}function S(w){return w===45?(e.enter("tableDelimiterFiller"),y(w)):A(w)}function y(w){return w===45?(e.consume(w),y):w===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(w))}function T(w){return Ze(w)?Xe(e,k,"whitespace")(w):k(w)}function k(w){return w===124?C(w):w===null||Pe(w)?!s||i!==a?A(w):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(w)):A(w)}function A(w){return n(w)}function P(w){return e.enter("tableRow"),E(w)}function E(w){return w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),E):w===null||Pe(w)?(e.exit("tableRow"),t(w)):Ze(w)?Xe(e,E,"whitespace")(w):(e.enter("data"),M(w))}function M(w){return w===null||w===124||ct(w)?(e.exit("data"),E(w)):(e.consume(w),w===92?B:M)}function B(w){return w===92||w===124?(e.consume(w),M):M(w)}}function XR(e,t){let n=-1,o=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],l=!1,c=0,u,h,f;const g=new WR;for(;++n<e.length;){const m=e[n],C=m[1];m[0]==="enter"?C.type==="tableHead"?(l=!1,c!==0&&(af(g,t,c,u,h),h=void 0,c=0),u={type:"table",start:Object.assign({},C.start),end:Object.assign({},C.end)},g.add(n,0,[["enter",u,t]])):C.type==="tableRow"||C.type==="tableDelimiterRow"?(o=!0,f=void 0,a=[0,0,0,0],s=[0,n+1,0,0],l&&(l=!1,h={type:"tableBody",start:Object.assign({},C.start),end:Object.assign({},C.end)},g.add(n,0,[["enter",h,t]])),i=C.type==="tableDelimiterRow"?2:h?3:1):i&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")?(o=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],f=is(g,t,a,i,void 0,f),a=[0,0,0,0]),s[2]=n)):C.type==="tableCellDivider"&&(o?o=!1:(a[1]!==0&&(s[0]=s[1],f=is(g,t,a,i,void 0,f)),a=s,s=[a[1],n,0,0])):C.type==="tableHead"?(l=!0,c=n):C.type==="tableRow"||C.type==="tableDelimiterRow"?(c=n,a[1]!==0?(s[0]=s[1],f=is(g,t,a,i,n,f)):s[1]!==0&&(f=is(g,t,s,i,n,f)),i=0):i&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")&&(s[3]=n)}for(c!==0&&af(g,t,c,u,h),g.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=GR(t.events,n))}return e}function is(e,t,n,o,i,a){const s=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(a.end=Object.assign({},Yo(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const c=Yo(t.events,n[1]);if(a={type:s,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const u=Yo(t.events,n[2]),h=Yo(t.events,n[3]),f={type:l,start:Object.assign({},u),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),o!==2){const g=t.events[n[2]],m=t.events[n[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",n[3]>n[2]+1){const C=n[2]+1,I=n[3]-n[2]-1;e.add(C,I,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},Yo(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function af(e,t,n,o,i){const a=[],s=Yo(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),o.end=Object.assign({},s),a.push(["exit",o,t]),e.add(n+1,0,a)}function Yo(e,t){const n=e[t],o=n[0]==="enter"?"start":"end";return n[1][o]}const KR={name:"tasklistCheck",tokenize:JR};function QR(){return{text:{91:KR}}}function JR(e,t,n){const o=this;return i;function i(c){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return ct(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),s):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),s):n(c)}function s(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Pe(c)?t(c):Ze(c)?e.check({tokenize:eD},t,n)(c):n(c)}}function eD(e,t,n){return Xe(e,o,"whitespace");function o(i){return i===null?n(i):t(i)}}function tD(e){return bm([wR(),MR(),$R(e),YR(),QR()])}const nD={};function dg(e){const t=this,n=e||nD,o=t.data(),i=o.micromarkExtensions||(o.micromarkExtensions=[]),a=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),s=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);i.push(tD(n)),a.push(ER()),s.push(TR(n))}const sf=/[#.]/g;function rD(e,t){const n=e||"",o={};let i=0,a,s;for(;i<n.length;){sf.lastIndex=i;const l=sf.exec(n),c=n.slice(i,l?l.index:n.length);c&&(a?a==="#"?o.id=c:Array.isArray(o.className)?o.className.push(c):o.className=[c]:s=c,i+=c.length),l&&(a=l[0],i++)}return{type:"element",tagName:s||t||"div",properties:o,children:[]}}function hg(e,t,n){const o=n?sD(n):void 0;function i(a,s,...l){let c;if(a==null){c={type:"root",children:[]};const u=s;l.unshift(u)}else{c=rD(a,t);const u=c.tagName.toLowerCase(),h=o?o.get(u):void 0;if(c.tagName=h||u,oD(s))l.unshift(s);else for(const[f,g]of Object.entries(s))iD(e,c.properties,f,g)}for(const u of l)du(c.children,u);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return i}function oD(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const o of n){const i=t[o];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const s of a)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function iD(e,t,n,o){const i=ed(e,n);let a;if(o!=null){if(typeof o=="number"){if(Number.isNaN(o))return;a=o}else typeof o=="boolean"?a=o:typeof o=="string"?i.spaceSeparated?a=fh(o):i.commaSeparated?a=lh(o):i.commaOrSpaceSeparated?a=fh(lh(o).join(" ")):a=lf(i,i.property,o):Array.isArray(o)?a=[...o]:a=i.property==="style"?aD(o):String(o);if(Array.isArray(a)){const s=[];for(const l of a)s.push(lf(i,i.property,l));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function du(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)du(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?du(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function lf(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||pa(n)===pa(t)))return!0}return n}function aD(e){const t=[];for(const[n,o]of Object.entries(e))t.push([n,o].join(": "));return t.join("; ")}function sD(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const lD=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],cD=hg(fl,"div"),uD=hg(mi,"g",lD);function dD(e){const t=String(e),n=[];return{toOffset:i,toPoint:o};function o(a){if(typeof a=="number"&&a>-1&&a<=t.length){let s=0;for(;;){let l=n[s];if(l===void 0){const c=cf(t,n[s-1]);l=c===-1?t.length+1:c+1,n[s]=l}if(l>a)return{line:s+1,column:a-(s>0?n[s-1]:0)+1,offset:a};s++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const l=n[n.length-1],c=cf(t,l),u=c===-1?t.length+1:c+1;if(l===u)break;n.push(u)}const s=(a.line>1?n[a.line-2]:0)+a.column-1;if(s<n[a.line-1])return s}}}function cf(e,t){const n=e.indexOf("\r",t),o=e.indexOf(`
|
|
153
|
-
`,t);return o===-1?n:n===-1||n+1===o?o:n<o?n:o}const wo={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},fg={}.hasOwnProperty,hD=Object.prototype;function fD(e,t){const n=t||{};return gd({file:n.file||void 0,location:!1,schema:n.space==="svg"?mi:fl,verbose:n.verbose||!1},e)}function gd(e,t){let n;switch(t.nodeName){case"#comment":{const o=t;return n={type:"comment",value:o.data},Es(e,o,n),n}case"#document":case"#document-fragment":{const o=t,i="mode"in o?o.mode==="quirks"||o.mode==="limited-quirks":!1;if(n={type:"root",children:pg(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),s=dD(a),l=s.toPoint(0),c=s.toPoint(a.length);n.position={start:l,end:c}}return n}case"#documentType":{const o=t;return n={type:"doctype"},Es(e,o,n),n}case"#text":{const o=t;return n={type:"text",value:o.value},Es(e,o,n),n}default:return n=pD(e,t),n}}function pg(e,t){let n=-1;const o=[];for(;++n<t.length;){const i=gd(e,t[n]);o.push(i)}return o}function pD(e,t){const n=e.schema;e.schema=t.namespaceURI===wo.svg?mi:fl;let o=-1;const i={};for(;++o<t.attrs.length;){const l=t.attrs[o],c=(l.prefix?l.prefix+":":"")+l.name;fg.call(hD,c)||(i[c]=l.value)}const s=(e.schema.space==="svg"?uD:cD)(t.tagName,i,pg(e,t.childNodes));if(Es(e,t,s),s.tagName==="template"){const l=t,c=l.sourceCodeLocation,u=c&&c.startTag&&Xo(c.startTag),h=c&&c.endTag&&Xo(c.endTag),f=gd(e,l.content);u&&h&&e.file&&(f.position={start:u.end,end:h.start}),s.content=f}return e.schema=n,s}function Es(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const o=mD(e,n,t.sourceCodeLocation);o&&(e.location=!0,n.position=o)}}function mD(e,t,n){const o=Xo(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(o&&!n.endTag&&i&&i.position&&i.position.end&&(o.end=Object.assign({},i.position.end)),e.verbose){const a={};let s;if(n.attrs)for(s in n.attrs)fg.call(n.attrs,s)&&(a[ed(e.schema,s).property]=Xo(n.attrs[s]));n.startTag;const l=Xo(n.startTag),c=n.endTag?Xo(n.endTag):void 0,u={opening:l};c&&(u.closing=c),u.properties=a,t.data={position:u}}}return o}function Xo(e){const t=uf({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=uf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function uf(e){return e.line&&e.column?e:void 0}class Oa{constructor(t,n,o){this.property=t,this.normal=n,o&&(this.space=o)}}Oa.prototype.property={};Oa.prototype.normal={};Oa.prototype.space=null;function mg(e,t){const n={},o={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(o,e[i].normal);return new Oa(n,o,t)}function hu(e){return e.toLowerCase()}class or{constructor(t,n){this.property=t,this.attribute=n}}or.prototype.space=null;or.prototype.boolean=!1;or.prototype.booleanish=!1;or.prototype.overloadedBoolean=!1;or.prototype.number=!1;or.prototype.commaSeparated=!1;or.prototype.spaceSeparated=!1;or.prototype.commaOrSpaceSeparated=!1;or.prototype.mustUseProperty=!1;or.prototype.defined=!1;let gD=0;const He=Mo(),Ht=Mo(),gg=Mo(),he=Mo(),dt=Mo(),ei=Mo(),Fn=Mo();function Mo(){return 2**++gD}const fu=Object.freeze(Object.defineProperty({__proto__:null,boolean:He,booleanish:Ht,commaOrSpaceSeparated:Fn,commaSeparated:ei,number:he,overloadedBoolean:gg,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),pc=Object.keys(fu);class Id extends or{constructor(t,n,o,i){let a=-1;if(super(t,n),df(this,"space",i),typeof o=="number")for(;++a<pc.length;){const s=pc[a];df(this,pc[a],(o&fu[s])===fu[s])}}}Id.prototype.defined=!0;function df(e,t,n){n&&(e[t]=n)}const ID={}.hasOwnProperty;function Ii(e){const t={},n={};let o;for(o in e.properties)if(ID.call(e.properties,o)){const i=e.properties[o],a=new Id(o,e.transform(e.attributes||{},o),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),t[o]=a,n[hu(o)]=o,n[hu(a.attribute)]=o}return new Oa(t,n,e.space)}const Ig=Ii({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Cg=Ii({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function bg(e,t){return t in e?e[t]:t}function Sg(e,t){return bg(e,t.toLowerCase())}const yg=Ii({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Sg,properties:{xmlns:null,xmlnsXLink:null}}),Eg=Ii({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ht,ariaAutoComplete:null,ariaBusy:Ht,ariaChecked:Ht,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:Ht,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:Ht,ariaFlowTo:dt,ariaGrabbed:Ht,ariaHasPopup:null,ariaHidden:Ht,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:he,ariaLive:null,ariaModal:Ht,ariaMultiLine:Ht,ariaMultiSelectable:Ht,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:Ht,ariaReadOnly:Ht,ariaRelevant:null,ariaRequired:Ht,ariaRoleDescription:dt,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:Ht,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null}}),CD=Ii({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Sg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ei,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:He,allowPaymentRequest:He,allowUserMedia:He,alt:null,as:null,async:He,autoCapitalize:null,autoComplete:dt,autoFocus:He,autoPlay:He,blocking:dt,capture:null,charSet:null,checked:He,cite:null,className:dt,cols:he,colSpan:null,content:null,contentEditable:Ht,controls:He,controlsList:dt,coords:he|ei,crossOrigin:null,data:null,dateTime:null,decoding:null,default:He,defer:He,dir:null,dirName:null,disabled:He,download:gg,draggable:Ht,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:He,formTarget:null,headers:dt,height:he,hidden:He,high:he,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:He,inputMode:null,integrity:null,is:null,isMap:He,itemId:null,itemProp:dt,itemRef:dt,itemScope:He,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:He,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:He,muted:He,name:null,nonce:null,noModule:He,noValidate:He,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:He,optimum:he,pattern:null,ping:dt,placeholder:null,playsInline:He,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:He,referrerPolicy:null,rel:dt,required:He,reversed:He,rows:he,rowSpan:he,sandbox:dt,scope:null,scoped:He,seamless:He,selected:He,shadowRootClonable:He,shadowRootDelegatesFocus:He,shadowRootMode:null,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:Ht,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:He,useMap:null,value:Ht,width:he,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:He,declare:He,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:He,noHref:He,noShade:He,noWrap:He,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:Ht,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:He,disableRemotePlayback:He,prefix:null,property:null,results:he,security:null,unselectable:null}}),bD=Ii({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:bg,properties:{about:Fn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:He,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ei,g2:ei,glyphName:ei,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:Fn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:he,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Fn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Fn,rev:Fn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Fn,requiredFeatures:Fn,requiredFonts:Fn,requiredFormats:Fn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:Fn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Fn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Fn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),SD=/^data[-\w.:]+$/i,hf=/-[a-z]/g,yD=/[A-Z]/g;function ED(e,t){const n=hu(t);let o=t,i=or;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&SD.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(hf,xD);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!hf.test(a)){let s=a.replace(yD,TD);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Id}return new i(o,t)}function TD(e){return"-"+e.toLowerCase()}function xD(e){return e.charAt(1).toUpperCase()}const _D=mg([Cg,Ig,yg,Eg,CD],"html"),Tg=mg([Cg,Ig,yg,Eg,bD],"svg"),wD={},vD={}.hasOwnProperty,xg=Wm("type",{handlers:{root:kD,element:DD,text:PD,comment:RD,doctype:ND}});function AD(e,t){const o=(t||wD).space;return xg(e,o==="svg"?Tg:_D)}function kD(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Cd(e.children,n,t),Ci(e,n),n}function LD(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Cd(e.children,n,t),Ci(e,n),n}function ND(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ci(e,t),t}function PD(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ci(e,t),t}function RD(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ci(e,t),t}function DD(e,t){const n=t;let o=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(o=Tg);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&vD.call(e.properties,a)){const c=OD(o,a,e.properties[a]);c&&i.push(c)}}const s=o.space,l={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:wo[s],childNodes:[],parentNode:null};return l.childNodes=Cd(e.children,l,o),Ci(e,l),e.tagName==="template"&&e.content&&(l.content=LD(e.content,o)),l}function OD(e,t,n){const o=ED(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&o.boolean)return;Array.isArray(n)&&(n=o.commaSeparated?nm(n):dm(n));const i={name:o.attribute,value:n===!0?"":String(n)};if(o.space&&o.space!=="html"&&o.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=o.attribute.slice(0,a)),i.namespace=wo[o.space]}return i}function Cd(e,t,n){let o=-1;const i=[];if(e)for(;++o<e.length;){const a=xg(e[o],n);a.parentNode=t,i.push(a)}return i}function Ci(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const MD=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],BD=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),bt="�";var v;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(v||(v={}));const An={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function _g(e){return e>=55296&&e<=57343}function FD(e){return e>=56320&&e<=57343}function HD(e,t){return(e-55296)*1024+9216+t}function wg(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function vg(e){return e>=64976&&e<=65007||BD.has(e)}var G;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(G||(G={}));const jD=65536;class UD{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=jD,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:o,col:i,offset:a}=this,s=i+n,l=a+n;return{code:t,startLine:o,endLine:o,startCol:s,endCol:s,startOffset:l,endOffset:l}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(FD(n))return this.pos++,this._addGap(),HD(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(G.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let o=0;o<t.length;o++)if((this.html.charCodeAt(this.pos+o)|32)!==t.charCodeAt(o))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;const o=this.html.charCodeAt(n);return o===v.CARRIAGE_RETURN?v.LINE_FEED:o}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let t=this.html.charCodeAt(this.pos);return t===v.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,v.LINE_FEED):t===v.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,_g(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===v.LINE_FEED||t===v.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){wg(t)?this._err(G.controlCharacterInInputStream):vg(t)&&this._err(G.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var qe;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(qe||(qe={}));function Ag(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const VD=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),zD=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function $D(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=zD.get(e))!==null&&t!==void 0?t:e}var rn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(rn||(rn={}));const WD=32;var no;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(no||(no={}));function pu(e){return e>=rn.ZERO&&e<=rn.NINE}function qD(e){return e>=rn.UPPER_A&&e<=rn.UPPER_F||e>=rn.LOWER_A&&e<=rn.LOWER_F}function GD(e){return e>=rn.UPPER_A&&e<=rn.UPPER_Z||e>=rn.LOWER_A&&e<=rn.LOWER_Z||pu(e)}function YD(e){return e===rn.EQUALS||GD(e)}var tn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(tn||(tn={}));var Fr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Fr||(Fr={}));class ZD{constructor(t,n,o){this.decodeTree=t,this.emitCodePoint=n,this.errors=o,this.state=tn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Fr.Strict}startEntity(t){this.decodeMode=t,this.state=tn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case tn.EntityStart:return t.charCodeAt(n)===rn.NUM?(this.state=tn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=tn.NamedEntity,this.stateNamedEntity(t,n));case tn.NumericStart:return this.stateNumericStart(t,n);case tn.NumericDecimal:return this.stateNumericDecimal(t,n);case tn.NumericHex:return this.stateNumericHex(t,n);case tn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|WD)===rn.LOWER_X?(this.state=tn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=tn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,o,i){if(n!==o){const a=o-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const o=n;for(;n<t.length;){const i=t.charCodeAt(n);if(pu(i)||qD(i))n+=1;else return this.addToNumericResult(t,o,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,o,n,16),-1}stateNumericDecimal(t,n){const o=n;for(;n<t.length;){const i=t.charCodeAt(n);if(pu(i))n+=1;else return this.addToNumericResult(t,o,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,o,n,10),-1}emitNumericEntity(t,n){var o;if(this.consumed<=n)return(o=this.errors)===null||o===void 0||o.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===rn.SEMI)this.consumed+=1;else if(this.decodeMode===Fr.Strict)return 0;return this.emitCodePoint($D(this.result),this.consumed),this.errors&&(t!==rn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:o}=this;let i=o[this.treeIndex],a=(i&no.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=XD(o,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===Fr.Attribute&&(a===0||YD(s))?0:this.emitNotTerminatedNamedEntity();if(i=o[this.treeIndex],a=(i&no.VALUE_LENGTH)>>14,a!==0){if(s===rn.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Fr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:o}=this,i=(o[n]&no.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,o){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~no.VALUE_LENGTH:i[t+1],o),n===3&&this.emitCodePoint(i[t+2],o),o}end(){var t;switch(this.state){case tn.NamedEntity:return this.result!==0&&(this.decodeMode!==Fr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case tn.NumericDecimal:return this.emitNumericEntity(0,2);case tn.NumericHex:return this.emitNumericEntity(0,3);case tn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tn.EntityStart:return 0}}}function XD(e,t,n,o){const i=(t&no.BRANCH_LENGTH)>>7,a=t&no.JUMP_TABLE;if(i===0)return a!==0&&o===a?n:-1;if(a){const c=o-a;return c<0||c>=i?-1:e[n+c]-1}let s=n,l=s+i-1;for(;s<=l;){const c=s+l>>>1,u=e[c];if(u<o)s=c+1;else if(u>o)l=c-1;else return e[c+i]}return-1}var re;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(re||(re={}));var ko;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(ko||(ko={}));var Jn;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Jn||(Jn={}));var j;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(j||(j={}));var p;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(p||(p={}));const KD=new Map([[j.A,p.A],[j.ADDRESS,p.ADDRESS],[j.ANNOTATION_XML,p.ANNOTATION_XML],[j.APPLET,p.APPLET],[j.AREA,p.AREA],[j.ARTICLE,p.ARTICLE],[j.ASIDE,p.ASIDE],[j.B,p.B],[j.BASE,p.BASE],[j.BASEFONT,p.BASEFONT],[j.BGSOUND,p.BGSOUND],[j.BIG,p.BIG],[j.BLOCKQUOTE,p.BLOCKQUOTE],[j.BODY,p.BODY],[j.BR,p.BR],[j.BUTTON,p.BUTTON],[j.CAPTION,p.CAPTION],[j.CENTER,p.CENTER],[j.CODE,p.CODE],[j.COL,p.COL],[j.COLGROUP,p.COLGROUP],[j.DD,p.DD],[j.DESC,p.DESC],[j.DETAILS,p.DETAILS],[j.DIALOG,p.DIALOG],[j.DIR,p.DIR],[j.DIV,p.DIV],[j.DL,p.DL],[j.DT,p.DT],[j.EM,p.EM],[j.EMBED,p.EMBED],[j.FIELDSET,p.FIELDSET],[j.FIGCAPTION,p.FIGCAPTION],[j.FIGURE,p.FIGURE],[j.FONT,p.FONT],[j.FOOTER,p.FOOTER],[j.FOREIGN_OBJECT,p.FOREIGN_OBJECT],[j.FORM,p.FORM],[j.FRAME,p.FRAME],[j.FRAMESET,p.FRAMESET],[j.H1,p.H1],[j.H2,p.H2],[j.H3,p.H3],[j.H4,p.H4],[j.H5,p.H5],[j.H6,p.H6],[j.HEAD,p.HEAD],[j.HEADER,p.HEADER],[j.HGROUP,p.HGROUP],[j.HR,p.HR],[j.HTML,p.HTML],[j.I,p.I],[j.IMG,p.IMG],[j.IMAGE,p.IMAGE],[j.INPUT,p.INPUT],[j.IFRAME,p.IFRAME],[j.KEYGEN,p.KEYGEN],[j.LABEL,p.LABEL],[j.LI,p.LI],[j.LINK,p.LINK],[j.LISTING,p.LISTING],[j.MAIN,p.MAIN],[j.MALIGNMARK,p.MALIGNMARK],[j.MARQUEE,p.MARQUEE],[j.MATH,p.MATH],[j.MENU,p.MENU],[j.META,p.META],[j.MGLYPH,p.MGLYPH],[j.MI,p.MI],[j.MO,p.MO],[j.MN,p.MN],[j.MS,p.MS],[j.MTEXT,p.MTEXT],[j.NAV,p.NAV],[j.NOBR,p.NOBR],[j.NOFRAMES,p.NOFRAMES],[j.NOEMBED,p.NOEMBED],[j.NOSCRIPT,p.NOSCRIPT],[j.OBJECT,p.OBJECT],[j.OL,p.OL],[j.OPTGROUP,p.OPTGROUP],[j.OPTION,p.OPTION],[j.P,p.P],[j.PARAM,p.PARAM],[j.PLAINTEXT,p.PLAINTEXT],[j.PRE,p.PRE],[j.RB,p.RB],[j.RP,p.RP],[j.RT,p.RT],[j.RTC,p.RTC],[j.RUBY,p.RUBY],[j.S,p.S],[j.SCRIPT,p.SCRIPT],[j.SEARCH,p.SEARCH],[j.SECTION,p.SECTION],[j.SELECT,p.SELECT],[j.SOURCE,p.SOURCE],[j.SMALL,p.SMALL],[j.SPAN,p.SPAN],[j.STRIKE,p.STRIKE],[j.STRONG,p.STRONG],[j.STYLE,p.STYLE],[j.SUB,p.SUB],[j.SUMMARY,p.SUMMARY],[j.SUP,p.SUP],[j.TABLE,p.TABLE],[j.TBODY,p.TBODY],[j.TEMPLATE,p.TEMPLATE],[j.TEXTAREA,p.TEXTAREA],[j.TFOOT,p.TFOOT],[j.TD,p.TD],[j.TH,p.TH],[j.THEAD,p.THEAD],[j.TITLE,p.TITLE],[j.TR,p.TR],[j.TRACK,p.TRACK],[j.TT,p.TT],[j.U,p.U],[j.UL,p.UL],[j.SVG,p.SVG],[j.VAR,p.VAR],[j.WBR,p.WBR],[j.XMP,p.XMP]]);function bi(e){var t;return(t=KD.get(e))!==null&&t!==void 0?t:p.UNKNOWN}const ue=p,QD={[re.HTML]:new Set([ue.ADDRESS,ue.APPLET,ue.AREA,ue.ARTICLE,ue.ASIDE,ue.BASE,ue.BASEFONT,ue.BGSOUND,ue.BLOCKQUOTE,ue.BODY,ue.BR,ue.BUTTON,ue.CAPTION,ue.CENTER,ue.COL,ue.COLGROUP,ue.DD,ue.DETAILS,ue.DIR,ue.DIV,ue.DL,ue.DT,ue.EMBED,ue.FIELDSET,ue.FIGCAPTION,ue.FIGURE,ue.FOOTER,ue.FORM,ue.FRAME,ue.FRAMESET,ue.H1,ue.H2,ue.H3,ue.H4,ue.H5,ue.H6,ue.HEAD,ue.HEADER,ue.HGROUP,ue.HR,ue.HTML,ue.IFRAME,ue.IMG,ue.INPUT,ue.LI,ue.LINK,ue.LISTING,ue.MAIN,ue.MARQUEE,ue.MENU,ue.META,ue.NAV,ue.NOEMBED,ue.NOFRAMES,ue.NOSCRIPT,ue.OBJECT,ue.OL,ue.P,ue.PARAM,ue.PLAINTEXT,ue.PRE,ue.SCRIPT,ue.SECTION,ue.SELECT,ue.SOURCE,ue.STYLE,ue.SUMMARY,ue.TABLE,ue.TBODY,ue.TD,ue.TEMPLATE,ue.TEXTAREA,ue.TFOOT,ue.TH,ue.THEAD,ue.TITLE,ue.TR,ue.TRACK,ue.UL,ue.WBR,ue.XMP]),[re.MATHML]:new Set([ue.MI,ue.MO,ue.MN,ue.MS,ue.MTEXT,ue.ANNOTATION_XML]),[re.SVG]:new Set([ue.TITLE,ue.FOREIGN_OBJECT,ue.DESC]),[re.XLINK]:new Set,[re.XML]:new Set,[re.XMLNS]:new Set},mu=new Set([ue.H1,ue.H2,ue.H3,ue.H4,ue.H5,ue.H6]);j.STYLE,j.SCRIPT,j.XMP,j.IFRAME,j.NOEMBED,j.NOFRAMES,j.PLAINTEXT;var R;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(R||(R={}));const Mt={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function JD(e){return e>=v.DIGIT_0&&e<=v.DIGIT_9}function Wi(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_Z}function eO(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_Z}function Kr(e){return eO(e)||Wi(e)}function ff(e){return Kr(e)||JD(e)}function as(e){return e+32}function kg(e){return e===v.SPACE||e===v.LINE_FEED||e===v.TABULATION||e===v.FORM_FEED}function pf(e){return kg(e)||e===v.SOLIDUS||e===v.GREATER_THAN_SIGN}function tO(e){return e===v.NULL?G.nullCharacterReference:e>1114111?G.characterReferenceOutsideUnicodeRange:_g(e)?G.surrogateCharacterReference:vg(e)?G.noncharacterCharacterReference:wg(e)||e===v.CARRIAGE_RETURN?G.controlCharacterReference:null}class nO{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new UD(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ZD(VD,(o,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(o)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(G.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:o=>{this._err(G.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+o)},validateNumericCharacterReference:o=>{const i=tO(o);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var o,i;(i=(o=this.handler).onParseError)===null||i===void 0||i.call(o,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,o){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||o==null||o()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:qe.START_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:qe.END_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:qe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:qe.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const o=this.currentToken;if(Ag(o,this.currentAttr.name)===null){if(o.attrs.push(this.currentAttr),o.location&&this.currentLocation){const i=(t=(n=o.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(G.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=bi(t.tagName),t.type===qe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(G.endTagWithAttributes),t.selfClosing&&this._err(G.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case qe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case qe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case qe.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:qe.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=kg(t)?qe.WHITESPACE_CHARACTER:t===v.NULL?qe.NULL_CHARACTER:qe.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(qe.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=R.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Fr.Attribute:Fr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case R.DATA:{this._stateData(t);break}case R.RCDATA:{this._stateRcdata(t);break}case R.RAWTEXT:{this._stateRawtext(t);break}case R.SCRIPT_DATA:{this._stateScriptData(t);break}case R.PLAINTEXT:{this._statePlaintext(t);break}case R.TAG_OPEN:{this._stateTagOpen(t);break}case R.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case R.TAG_NAME:{this._stateTagName(t);break}case R.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case R.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case R.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case R.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case R.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case R.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case R.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case R.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case R.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case R.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case R.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case R.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case R.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case R.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case R.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case R.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case R.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case R.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case R.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case R.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case R.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case R.BOGUS_COMMENT:{this._stateBogusComment(t);break}case R.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case R.COMMENT_START:{this._stateCommentStart(t);break}case R.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case R.COMMENT:{this._stateComment(t);break}case R.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case R.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case R.COMMENT_END:{this._stateCommentEnd(t);break}case R.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case R.DOCTYPE:{this._stateDoctype(t);break}case R.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case R.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case R.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case R.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case R.CDATA_SECTION:{this._stateCdataSection(t);break}case R.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case R.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case R.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case R.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case v.LESS_THAN_SIGN:{this.state=R.TAG_OPEN;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitCodePoint(t);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case v.AMPERSAND:{this._startCharacterReference();break}case v.LESS_THAN_SIGN:{this.state=R.RCDATA_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case v.LESS_THAN_SIGN:{this.state=R.RAWTEXT_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Kr(t))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case v.EXCLAMATION_MARK:{this.state=R.MARKUP_DECLARATION_OPEN;break}case v.SOLIDUS:{this.state=R.END_TAG_OPEN;break}case v.QUESTION_MARK:{this._err(G.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t);break}case v.EOF:{this._err(G.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(G.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Kr(t))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case v.GREATER_THAN_SIGN:{this._err(G.missingEndTagName),this.state=R.DATA;break}case v.EOF:{this._err(G.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(G.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_ATTRIBUTE_NAME;break}case v.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.tagName+=bt;break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Wi(t)?as(t):t)}}_stateRcdataLessThanSign(t){t===v.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Kr(t)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,!1;case v.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case v.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===v.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Kr(t)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case v.SOLIDUS:{this.state=R.SCRIPT_DATA_END_TAG_OPEN;break}case v.EXCLAMATION_MARK:{this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Kr(t)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===v.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===v.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case v.HYPHEN_MINUS:{this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===v.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Kr(t)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Kr(t)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(An.SCRIPT,!1)&&pf(this.preprocessor.peek(An.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<An.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case v.HYPHEN_MINUS:{this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===v.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(An.SCRIPT,!1)&&pf(this.preprocessor.peek(An.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<An.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:{this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case v.EQUALS_SIGN:{this._err(G.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:{this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case v.EQUALS_SIGN:{this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:{this._err(G.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.name+=bt;break}default:this.currentAttr.name+=String.fromCodePoint(Wi(t)?as(t):t)}}_stateAfterAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case v.EQUALS_SIGN:{this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break}default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case v.QUOTATION_MARK:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=bt;break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case v.APOSTROPHE:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=bt;break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=bt;break}case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:case v.EQUALS_SIGN:case v.GRAVE_ACCENT:{this._err(G.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case v.SOLIDUS:{this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break}case v.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case v.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._err(G.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case v.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.data+=bt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(An.DASH_DASH,!0)?(this._createCommentToken(An.DASH_DASH.length+1),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(An.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(An.DOCTYPE.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(An.CDATA_START,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(G.cdataInHtmlContent),this._createCommentToken(An.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(G.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_START_DASH;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=R.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(n);break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_END_DASH;break}case v.LESS_THAN_SIGN:{n.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.data+=bt;break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case v.EXCLAMATION_MARK:{n.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break}case v.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===v.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===v.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==v.GREATER_THAN_SIGN&&t!==v.EOF&&this._err(G.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case v.EXCLAMATION_MARK:{this.state=R.COMMENT_END_BANG;break}case v.HYPHEN_MINUS:{n.data+="-";break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{n.data+="--!",this.state=R.COMMENT_END_DASH;break}case v.GREATER_THAN_SIGN:{this._err(G.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(n);break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=R.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case v.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Wi(t))this._createDoctypeToken(String.fromCharCode(as(t))),this.state=R.DOCTYPE_NAME;else switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.NULL:{this._err(G.unexpectedNullCharacter),this._createDoctypeToken(bt),this.state=R.DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.AFTER_DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.name+=bt;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Wi(t)?as(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(An.PUBLIC,!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(An.SYSTEM,!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(G.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.QUOTATION_MARK:{this._err(G.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(G.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case v.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.publicId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case v.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.publicId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.QUOTATION_MARK:{this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.QUOTATION_MARK:{this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case v.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.systemId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case v.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.systemId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.NULL:{this._err(G.unexpectedNullCharacter);break}case v.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case v.RIGHT_SQUARE_BRACKET:{this.state=R.CDATA_SECTION_BRACKET;break}case v.EOF:{this._err(G.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===v.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case v.GREATER_THAN_SIGN:{this.state=R.DATA;break}case v.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ff(this.preprocessor.peek(1))?R.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){ff(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===v.SEMICOLON&&this._err(G.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Lg=new Set([p.DD,p.DT,p.LI,p.OPTGROUP,p.OPTION,p.P,p.RB,p.RP,p.RT,p.RTC]),mf=new Set([...Lg,p.CAPTION,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]),Vs=new Set([p.APPLET,p.CAPTION,p.HTML,p.MARQUEE,p.OBJECT,p.TABLE,p.TD,p.TEMPLATE,p.TH]),rO=new Set([...Vs,p.OL,p.UL]),oO=new Set([...Vs,p.BUTTON]),gf=new Set([p.ANNOTATION_XML,p.MI,p.MN,p.MO,p.MS,p.MTEXT]),If=new Set([p.DESC,p.FOREIGN_OBJECT,p.TITLE]),iO=new Set([p.TR,p.TEMPLATE,p.HTML]),aO=new Set([p.TBODY,p.TFOOT,p.THEAD,p.TEMPLATE,p.HTML]),sO=new Set([p.TABLE,p.TEMPLATE,p.HTML]),lO=new Set([p.TD,p.TH]);class cO{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,o){this.treeAdapter=n,this.handler=o,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=p.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===p.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===re.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const o=this._indexOf(t);this.items[o]=n,o===this.stackTop&&(this.current=n)}insertAfter(t,n,o){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,o),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==re.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const o=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(o,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(mu,re.HTML)}popUntilTableCellPopped(){this.popUntilPopped(lO,re.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let o=this.stackTop;o>=0;o--)if(t.has(this.tagIDs[o])&&this.treeAdapter.getNamespaceURI(this.items[o])===n)return o;return-1}clearBackTo(t,n){const o=this._indexOfTagNames(t,n);this.shortenToLength(o+1)}clearBackToTableContext(){this.clearBackTo(sO,re.HTML)}clearBackToTableBodyContext(){this.clearBackTo(aO,re.HTML)}clearBackToTableRowContext(){this.clearBackTo(iO,re.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===p.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===p.HTML}hasInDynamicScope(t,n){for(let o=this.stackTop;o>=0;o--){const i=this.tagIDs[o];switch(this.treeAdapter.getNamespaceURI(this.items[o])){case re.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case re.SVG:{if(If.has(i))return!1;break}case re.MATHML:{if(gf.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Vs)}hasInListItemScope(t){return this.hasInDynamicScope(t,rO)}hasInButtonScope(t){return this.hasInDynamicScope(t,oO)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case re.HTML:{if(mu.has(n))return!0;if(Vs.has(n))return!1;break}case re.SVG:{if(If.has(n))return!1;break}case re.MATHML:{if(gf.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===re.HTML)switch(this.tagIDs[n]){case t:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===re.HTML)switch(this.tagIDs[t]){case p.TBODY:case p.THEAD:case p.TFOOT:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===re.HTML)switch(this.tagIDs[n]){case t:return!0;case p.OPTION:case p.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Lg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&mf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&mf.has(this.currentTagId);)this.pop()}}const mc=3;var Tr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Tr||(Tr={}));const Cf={type:Tr.Marker};class uO{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const o=[],i=n.length,a=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let l=0;l<this.entries.length;l++){const c=this.entries[l];if(c.type===Tr.Marker)break;const{element:u}=c;if(this.treeAdapter.getTagName(u)===a&&this.treeAdapter.getNamespaceURI(u)===s){const h=this.treeAdapter.getAttrList(u);h.length===i&&o.push({idx:l,attrs:h})}}return o}_ensureNoahArkCondition(t){if(this.entries.length<mc)return;const n=this.treeAdapter.getAttrList(t),o=this._getNoahArkConditionCandidates(t,n);if(o.length<mc)return;const i=new Map(n.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<o.length;s++){const l=o[s];l.attrs.every(c=>i.get(c.name)===c.value)&&(a+=1,a>=mc&&this.entries.splice(l.idx,1))}}insertMarker(){this.entries.unshift(Cf)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Tr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const o=this.entries.indexOf(this.bookmark);this.entries.splice(o,0,{type:Tr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Cf);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(o=>o.type===Tr.Marker||this.treeAdapter.getTagName(o.element)===t);return n&&n.type===Tr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Tr.Element&&n.element===t)}}const Qr={createDocument(){return{nodeName:"#document",mode:Jn.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const o=e.childNodes.indexOf(n);e.childNodes.splice(o,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,o){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=o;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:o,parentNode:null};Qr.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Qr.isTextNode(n)){n.value+=t;return}}Qr.appendChild(e,Qr.createTextNode(t))},insertTextBefore(e,t,n){const o=e.childNodes[e.childNodes.indexOf(n)-1];o&&Qr.isTextNode(o)?o.value+=t:Qr.insertBefore(e,Qr.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(o=>o.name));for(let o=0;o<t.length;o++)n.has(t[o].name)||e.attrs.push(t[o])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Ng="html",dO="about:legacy-compat",hO="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Pg=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],fO=[...Pg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],pO=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Rg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],mO=[...Rg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function bf(e,t){return t.some(n=>e.startsWith(n))}function gO(e){return e.name===Ng&&e.publicId===null&&(e.systemId===null||e.systemId===dO)}function IO(e){if(e.name!==Ng)return Jn.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===hO)return Jn.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),pO.has(n))return Jn.QUIRKS;let o=t===null?fO:Pg;if(bf(n,o))return Jn.QUIRKS;if(o=t===null?Rg:mO,bf(n,o))return Jn.LIMITED_QUIRKS}return Jn.NO_QUIRKS}const Sf={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},CO="definitionurl",bO="definitionURL",SO=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),yO=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:re.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:re.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:re.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:re.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:re.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:re.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:re.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:re.XML}],["xml:space",{prefix:"xml",name:"space",namespace:re.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:re.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:re.XMLNS}]]),EO=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),TO=new Set([p.B,p.BIG,p.BLOCKQUOTE,p.BODY,p.BR,p.CENTER,p.CODE,p.DD,p.DIV,p.DL,p.DT,p.EM,p.EMBED,p.H1,p.H2,p.H3,p.H4,p.H5,p.H6,p.HEAD,p.HR,p.I,p.IMG,p.LI,p.LISTING,p.MENU,p.META,p.NOBR,p.OL,p.P,p.PRE,p.RUBY,p.S,p.SMALL,p.SPAN,p.STRONG,p.STRIKE,p.SUB,p.SUP,p.TABLE,p.TT,p.U,p.UL,p.VAR]);function xO(e){const t=e.tagID;return t===p.FONT&&e.attrs.some(({name:o})=>o===ko.COLOR||o===ko.SIZE||o===ko.FACE)||TO.has(t)}function Dg(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===CO){e.attrs[t].name=bO;break}}function Og(e){for(let t=0;t<e.attrs.length;t++){const n=SO.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function bd(e){for(let t=0;t<e.attrs.length;t++){const n=yO.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function _O(e){const t=EO.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=bi(e.tagName))}function wO(e,t){return t===re.MATHML&&(e===p.MI||e===p.MO||e===p.MN||e===p.MS||e===p.MTEXT)}function vO(e,t,n){if(t===re.MATHML&&e===p.ANNOTATION_XML){for(let o=0;o<n.length;o++)if(n[o].name===ko.ENCODING){const i=n[o].value.toLowerCase();return i===Sf.TEXT_HTML||i===Sf.APPLICATION_XML}}return t===re.SVG&&(e===p.FOREIGN_OBJECT||e===p.DESC||e===p.TITLE)}function AO(e,t,n,o){return(!o||o===re.HTML)&&vO(e,t,n)||(!o||o===re.MATHML)&&wO(e,t)}const kO="hidden",LO=8,NO=3;var D;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(D||(D={}));const PO={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Mg=new Set([p.TABLE,p.TBODY,p.TFOOT,p.THEAD,p.TR]),yf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Qr,onParseError:null};class Ef{constructor(t,n,o=null,i=null){this.fragmentContext=o,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=D.INITIAL,this.originalInsertionMode=D.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...yf,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new nO(this.options,this),this.activeFormattingElements=new uO(this.treeAdapter),this.fragmentContextID=o?bi(this.treeAdapter.getTagName(o)):p.UNKNOWN,this._setContextModes(o??this.document,this.fragmentContextID),this.openElements=new cO(this.document,this.treeAdapter,this)}static parse(t,n){const o=new this(n);return o.tokenizer.write(t,!0),o.document}static getFragmentParser(t,n){const o={...yf,...n};t??(t=o.treeAdapter.createElement(j.TEMPLATE,re.HTML,[]));const i=o.treeAdapter.createElement("documentmock",re.HTML,[]),a=new this(o,i,t);return a.fragmentContextID===p.TEMPLATE&&a.tmplInsertionModeStack.unshift(D.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,o){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:PO,s={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:o?a.startLine:a.endLine,endCol:o?a.startCol:a.endCol,endOffset:o?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(t,n,o){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),o&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var o,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(o=this.treeAdapter).onItemPop)===null||i===void 0||i.call(o,t,this.openElements.current),n){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(t,n){const o=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===re.HTML;this.currentNotInHTML=!o,this.tokenizer.inForeignNode=!o&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,re.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=D.TEXT}switchToPlaintextParsing(){this.insertionMode=D.TEXT,this.originalInsertionMode=D.IN_BODY,this.tokenizer.state=Mt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===j.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==re.HTML))switch(this.fragmentContextID){case p.TITLE:case p.TEXTAREA:{this.tokenizer.state=Mt.RCDATA;break}case p.STYLE:case p.XMP:case p.IFRAME:case p.NOEMBED:case p.NOFRAMES:case p.NOSCRIPT:{this.tokenizer.state=Mt.RAWTEXT;break}case p.SCRIPT:{this.tokenizer.state=Mt.SCRIPT_DATA;break}case p.PLAINTEXT:{this.tokenizer.state=Mt.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",o=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,o,i),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(l=>this.treeAdapter.isDocumentTypeNode(l));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const o=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,o)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const o=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(o??this.document,t)}}_appendElement(t,n){const o=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(o,t.location)}_insertElement(t,n){const o=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(o,t.location),this.openElements.push(o,t.tagID)}_insertFakeElement(t,n){const o=this.treeAdapter.createElement(t,re.HTML,[]);this._attachElementToTree(o,null),this.openElements.push(o,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,re.HTML,t.attrs),o=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,o),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(j.HTML,re.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,p.HTML)}_appendCommentNode(t,n){const o=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,o),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_insertCharacters(t){let n,o;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:o}=this._findFosterParentingLocation(),o?this.treeAdapter.insertTextBefore(n,t.chars,o):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=o?i.lastIndexOf(o):i.length,s=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:c,endCol:u,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:c,endCol:u,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,n){for(let o=this.treeAdapter.getFirstChild(t);o;o=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(o),this.treeAdapter.appendChild(n,o)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const o=n.location,i=this.treeAdapter.getTagName(t),a=n.type===qe.END_TAG&&i===n.tagName?{endTag:{...o},endLine:o.endLine,endCol:o.endCol,endOffset:o.endOffset}:{endLine:o.startLine,endCol:o.startCol,endOffset:o.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,o;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,o=this.fragmentContextID):{current:n,currentTagId:o}=this.openElements,t.tagID===p.SVG&&this.treeAdapter.getTagName(n)===j.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===re.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===p.MGLYPH||t.tagID===p.MALIGNMARK)&&o!==void 0&&!this._isIntegrationPoint(o,n,re.HTML)}_processToken(t){switch(t.type){case qe.CHARACTER:{this.onCharacter(t);break}case qe.NULL_CHARACTER:{this.onNullCharacter(t);break}case qe.COMMENT:{this.onComment(t);break}case qe.DOCTYPE:{this.onDoctype(t);break}case qe.START_TAG:{this._processStartTag(t);break}case qe.END_TAG:{this.onEndTag(t);break}case qe.EOF:{this.onEof(t);break}case qe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,o){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return AO(t,i,a,o)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Tr.Marker||this.openElements.contains(i.element)),o=n===-1?t-1:n-1;for(let i=o;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=D.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case p.TR:{this.insertionMode=D.IN_ROW;return}case p.TBODY:case p.THEAD:case p.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case p.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case p.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case p.TABLE:{this.insertionMode=D.IN_TABLE;return}case p.BODY:{this.insertionMode=D.IN_BODY;return}case p.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case p.SELECT:{this._resetInsertionModeForSelect(t);return}case p.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case p.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case p.TD:case p.TH:{if(t>0){this.insertionMode=D.IN_CELL;return}break}case p.HEAD:{if(t>0){this.insertionMode=D.IN_HEAD;return}break}}this.insertionMode=D.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const o=this.openElements.tagIDs[n];if(o===p.TEMPLATE)break;if(o===p.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(t){return Mg.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case p.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===re.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case p.TABLE:{const o=this.treeAdapter.getParentNode(n);return o?{parent:o,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const o=this.treeAdapter.getNamespaceURI(t);return QD[o].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){lB(this,t);return}switch(this.insertionMode){case D.INITIAL:{Mi(this,t);break}case D.BEFORE_HTML:{ea(this,t);break}case D.BEFORE_HEAD:{ta(this,t);break}case D.IN_HEAD:{na(this,t);break}case D.IN_HEAD_NO_SCRIPT:{ra(this,t);break}case D.AFTER_HEAD:{oa(this,t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{Fg(this,t);break}case D.TEXT:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{gc(this,t);break}case D.IN_TABLE_TEXT:{$g(this,t);break}case D.IN_COLUMN_GROUP:{zs(this,t);break}case D.AFTER_BODY:{$s(this,t);break}case D.AFTER_AFTER_BODY:{Ts(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sB(this,t);return}switch(this.insertionMode){case D.INITIAL:{Mi(this,t);break}case D.BEFORE_HTML:{ea(this,t);break}case D.BEFORE_HEAD:{ta(this,t);break}case D.IN_HEAD:{na(this,t);break}case D.IN_HEAD_NO_SCRIPT:{ra(this,t);break}case D.AFTER_HEAD:{oa(this,t);break}case D.TEXT:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{gc(this,t);break}case D.IN_COLUMN_GROUP:{zs(this,t);break}case D.AFTER_BODY:{$s(this,t);break}case D.AFTER_AFTER_BODY:{Ts(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){gu(this,t);return}switch(this.insertionMode){case D.INITIAL:case D.BEFORE_HTML:case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_TEMPLATE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{gu(this,t);break}case D.IN_TABLE_TEXT:{Bi(this,t);break}case D.AFTER_BODY:{HO(this,t);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{jO(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{UO(this,t);break}case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:{this._err(t,G.misplacedDoctype);break}case D.IN_TABLE_TEXT:{Bi(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,G.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?cB(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Mi(this,t);break}case D.BEFORE_HTML:{VO(this,t);break}case D.BEFORE_HEAD:{$O(this,t);break}case D.IN_HEAD:{mr(this,t);break}case D.IN_HEAD_NO_SCRIPT:{GO(this,t);break}case D.AFTER_HEAD:{ZO(this,t);break}case D.IN_BODY:{En(this,t);break}case D.IN_TABLE:{ii(this,t);break}case D.IN_TABLE_TEXT:{Bi(this,t);break}case D.IN_CAPTION:{WM(this,t);break}case D.IN_COLUMN_GROUP:{Ed(this,t);break}case D.IN_TABLE_BODY:{Tl(this,t);break}case D.IN_ROW:{xl(this,t);break}case D.IN_CELL:{YM(this,t);break}case D.IN_SELECT:{Gg(this,t);break}case D.IN_SELECT_IN_TABLE:{XM(this,t);break}case D.IN_TEMPLATE:{QM(this,t);break}case D.AFTER_BODY:{eB(this,t);break}case D.IN_FRAMESET:{tB(this,t);break}case D.AFTER_FRAMESET:{rB(this,t);break}case D.AFTER_AFTER_BODY:{iB(this,t);break}case D.AFTER_AFTER_FRAMESET:{aB(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?uB(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Mi(this,t);break}case D.BEFORE_HTML:{zO(this,t);break}case D.BEFORE_HEAD:{WO(this,t);break}case D.IN_HEAD:{qO(this,t);break}case D.IN_HEAD_NO_SCRIPT:{YO(this,t);break}case D.AFTER_HEAD:{XO(this,t);break}case D.IN_BODY:{El(this,t);break}case D.TEXT:{OM(this,t);break}case D.IN_TABLE:{Ia(this,t);break}case D.IN_TABLE_TEXT:{Bi(this,t);break}case D.IN_CAPTION:{qM(this,t);break}case D.IN_COLUMN_GROUP:{GM(this,t);break}case D.IN_TABLE_BODY:{Iu(this,t);break}case D.IN_ROW:{qg(this,t);break}case D.IN_CELL:{ZM(this,t);break}case D.IN_SELECT:{Yg(this,t);break}case D.IN_SELECT_IN_TABLE:{KM(this,t);break}case D.IN_TEMPLATE:{JM(this,t);break}case D.AFTER_BODY:{Xg(this,t);break}case D.IN_FRAMESET:{nB(this,t);break}case D.AFTER_FRAMESET:{oB(this,t);break}case D.AFTER_AFTER_BODY:{Ts(this,t);break}}}onEof(t){switch(this.insertionMode){case D.INITIAL:{Mi(this,t);break}case D.BEFORE_HTML:{ea(this,t);break}case D.BEFORE_HEAD:{ta(this,t);break}case D.IN_HEAD:{na(this,t);break}case D.IN_HEAD_NO_SCRIPT:{ra(this,t);break}case D.AFTER_HEAD:{oa(this,t);break}case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{Vg(this,t);break}case D.TEXT:{MM(this,t);break}case D.IN_TABLE_TEXT:{Bi(this,t);break}case D.IN_TEMPLATE:{Zg(this,t);break}case D.AFTER_BODY:case D.IN_FRAMESET:case D.AFTER_FRAMESET:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{yd(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===v.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.TEXT:case D.IN_COLUMN_GROUP:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{this._insertCharacters(t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:case D.AFTER_BODY:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Bg(this,t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{gc(this,t);break}case D.IN_TABLE_TEXT:{zg(this,t);break}}}}function RO(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ug(e,t),n}function DO(e,t){let n=null,o=e.openElements.stackTop;for(;o>=0;o--){const i=e.openElements.items[o];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[o])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(o,0)),e.activeFormattingElements.removeEntry(t)),n}function OO(e,t,n){let o=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);const l=e.activeFormattingElements.getElementEntry(s),c=l&&a>=NO;!l||c?(c&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(s)):(s=MO(e,l),o===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(o),e.treeAdapter.appendChild(s,o),o=s)}return o}function MO(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),o=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,o),t.element=o,o}function BO(e,t,n){const o=e.treeAdapter.getTagName(t),i=bi(o);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===p.TEMPLATE&&a===re.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function FO(e,t,n){const o=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,o,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Sd(e,t){for(let n=0;n<LO;n++){const o=RO(e,t);if(!o)break;const i=DO(e,o);if(!i)break;e.activeFormattingElements.bookmark=o;const a=OO(e,i,o.element),s=e.openElements.getCommonAncestor(o.element);e.treeAdapter.detachNode(a),s&&BO(e,s,a),FO(e,i,o)}}function gu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function HO(e,t){e._appendCommentNode(t,e.openElements.items[0])}function jO(e,t){e._appendCommentNode(t,e.document)}function yd(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let o=e.openElements.stackTop;o>=n;o--)e._setEndLocation(e.openElements.items[o],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const o=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(o);if(i&&!i.endTag&&(e._setEndLocation(o,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&e._setEndLocation(a,t)}}}}function UO(e,t){e._setDocumentType(t);const n=t.forceQuirks?Jn.QUIRKS:IO(t);gO(t)||e._err(t,G.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=D.BEFORE_HTML}function Mi(e,t){e._err(t,G.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Jn.QUIRKS),e.insertionMode=D.BEFORE_HTML,e._processToken(t)}function VO(e,t){t.tagID===p.HTML?(e._insertElement(t,re.HTML),e.insertionMode=D.BEFORE_HEAD):ea(e,t)}function zO(e,t){const n=t.tagID;(n===p.HTML||n===p.HEAD||n===p.BODY||n===p.BR)&&ea(e,t)}function ea(e,t){e._insertFakeRootElement(),e.insertionMode=D.BEFORE_HEAD,e._processToken(t)}function $O(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.HEAD:{e._insertElement(t,re.HTML),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD;break}default:ta(e,t)}}function WO(e,t){const n=t.tagID;n===p.HEAD||n===p.BODY||n===p.HTML||n===p.BR?ta(e,t):e._err(t,G.endTagWithoutMatchingOpenElement)}function ta(e,t){e._insertFakeElement(j.HEAD,p.HEAD),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD,e._processToken(t)}function mr(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.TITLE:{e._switchToTextParsing(t,Mt.RCDATA);break}case p.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Mt.RAWTEXT):(e._insertElement(t,re.HTML),e.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case p.NOFRAMES:case p.STYLE:{e._switchToTextParsing(t,Mt.RAWTEXT);break}case p.SCRIPT:{e._switchToTextParsing(t,Mt.SCRIPT_DATA);break}case p.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=D.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case p.HEAD:{e._err(t,G.misplacedStartTagForHeadElement);break}default:na(e,t)}}function qO(e,t){switch(t.tagID){case p.HEAD:{e.openElements.pop(),e.insertionMode=D.AFTER_HEAD;break}case p.BODY:case p.BR:case p.HTML:{na(e,t);break}case p.TEMPLATE:{Bo(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function Bo(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==p.TEMPLATE&&e._err(t,G.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,G.endTagWithoutMatchingOpenElement)}function na(e,t){e.openElements.pop(),e.insertionMode=D.AFTER_HEAD,e._processToken(t)}function GO(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.BASEFONT:case p.BGSOUND:case p.HEAD:case p.LINK:case p.META:case p.NOFRAMES:case p.STYLE:{mr(e,t);break}case p.NOSCRIPT:{e._err(t,G.nestedNoscriptInHead);break}default:ra(e,t)}}function YO(e,t){switch(t.tagID){case p.NOSCRIPT:{e.openElements.pop(),e.insertionMode=D.IN_HEAD;break}case p.BR:{ra(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function ra(e,t){const n=t.type===qe.EOF?G.openElementsLeftAfterEof:G.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=D.IN_HEAD,e._processToken(t)}function ZO(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.BODY:{e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_BODY;break}case p.FRAMESET:{e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET;break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{e._err(t,G.abandonedHeadElementChild),e.openElements.push(e.headElement,p.HEAD),mr(e,t),e.openElements.remove(e.headElement);break}case p.HEAD:{e._err(t,G.misplacedStartTagForHeadElement);break}default:oa(e,t)}}function XO(e,t){switch(t.tagID){case p.BODY:case p.HTML:case p.BR:{oa(e,t);break}case p.TEMPLATE:{Bo(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function oa(e,t){e._insertFakeElement(j.BODY,p.BODY),e.insertionMode=D.IN_BODY,yl(e,t)}function yl(e,t){switch(t.type){case qe.CHARACTER:{Fg(e,t);break}case qe.WHITESPACE_CHARACTER:{Bg(e,t);break}case qe.COMMENT:{gu(e,t);break}case qe.START_TAG:{En(e,t);break}case qe.END_TAG:{El(e,t);break}case qe.EOF:{Vg(e,t);break}}}function Bg(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Fg(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function KO(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function QO(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function JO(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET)}function eM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function tM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&mu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,re.HTML)}function nM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function rM(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),n||(e.formElement=e.openElements.current))}function oM(e,t){e.framesetOk=!1;const n=t.tagID;for(let o=e.openElements.stackTop;o>=0;o--){const i=e.openElements.tagIDs[o];if(n===p.LI&&i===p.LI||(n===p.DD||n===p.DT)&&(i===p.DD||i===p.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==p.ADDRESS&&i!==p.DIV&&i!==p.P&&e._isSpecialElement(e.openElements.items[o],i))break}e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function iM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.tokenizer.state=Mt.PLAINTEXT}function aM(e,t){e.openElements.hasInScope(p.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1}function sM(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(j.A);n&&(Sd(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function cM(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(p.NOBR)&&(Sd(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function uM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function dM(e,t){e.treeAdapter.getDocumentMode(e.document)!==Jn.QUIRKS&&e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_TABLE}function Hg(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function jg(e){const t=Ag(e,ko.TYPE);return t!=null&&t.toLowerCase()===kO}function hM(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),jg(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function fM(e,t){e._appendElement(t,re.HTML),t.ackSelfClosing=!0}function pM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function mM(e,t){t.tagName=j.IMG,t.tagID=p.IMG,Hg(e,t)}function gM(e,t){e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Mt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=D.TEXT}function IM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Mt.RAWTEXT)}function CM(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Mt.RAWTEXT)}function Tf(e,t){e._switchToTextParsing(t,Mt.RAWTEXT)}function bM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===D.IN_TABLE||e.insertionMode===D.IN_CAPTION||e.insertionMode===D.IN_TABLE_BODY||e.insertionMode===D.IN_ROW||e.insertionMode===D.IN_CELL?D.IN_SELECT_IN_TABLE:D.IN_SELECT}function SM(e,t){e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function yM(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,re.HTML)}function EM(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(p.RTC),e._insertElement(t,re.HTML)}function TM(e,t){e._reconstructActiveFormattingElements(),Dg(t),bd(t),t.selfClosing?e._appendElement(t,re.MATHML):e._insertElement(t,re.MATHML),t.ackSelfClosing=!0}function xM(e,t){e._reconstructActiveFormattingElements(),Og(t),bd(t),t.selfClosing?e._appendElement(t,re.SVG):e._insertElement(t,re.SVG),t.ackSelfClosing=!0}function xf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function En(e,t){switch(t.tagID){case p.I:case p.S:case p.B:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.SMALL:case p.STRIKE:case p.STRONG:{lM(e,t);break}case p.A:{sM(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{tM(e,t);break}case p.P:case p.DL:case p.OL:case p.UL:case p.DIV:case p.DIR:case p.NAV:case p.MAIN:case p.MENU:case p.ASIDE:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.DETAILS:case p.ADDRESS:case p.ARTICLE:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{eM(e,t);break}case p.LI:case p.DD:case p.DT:{oM(e,t);break}case p.BR:case p.IMG:case p.WBR:case p.AREA:case p.EMBED:case p.KEYGEN:{Hg(e,t);break}case p.HR:{pM(e,t);break}case p.RB:case p.RTC:{yM(e,t);break}case p.RT:case p.RP:{EM(e,t);break}case p.PRE:case p.LISTING:{nM(e,t);break}case p.XMP:{IM(e,t);break}case p.SVG:{xM(e,t);break}case p.HTML:{KO(e,t);break}case p.BASE:case p.LINK:case p.META:case p.STYLE:case p.TITLE:case p.SCRIPT:case p.BGSOUND:case p.BASEFONT:case p.TEMPLATE:{mr(e,t);break}case p.BODY:{QO(e,t);break}case p.FORM:{rM(e,t);break}case p.NOBR:{cM(e,t);break}case p.MATH:{TM(e,t);break}case p.TABLE:{dM(e,t);break}case p.INPUT:{hM(e,t);break}case p.PARAM:case p.TRACK:case p.SOURCE:{fM(e,t);break}case p.IMAGE:{mM(e,t);break}case p.BUTTON:{aM(e,t);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{uM(e,t);break}case p.IFRAME:{CM(e,t);break}case p.SELECT:{bM(e,t);break}case p.OPTION:case p.OPTGROUP:{SM(e,t);break}case p.NOEMBED:case p.NOFRAMES:{Tf(e,t);break}case p.FRAMESET:{JO(e,t);break}case p.TEXTAREA:{gM(e,t);break}case p.NOSCRIPT:{e.options.scriptingEnabled?Tf(e,t):xf(e,t);break}case p.PLAINTEXT:{iM(e,t);break}case p.COL:case p.TH:case p.TD:case p.TR:case p.HEAD:case p.FRAME:case p.TBODY:case p.TFOOT:case p.THEAD:case p.CAPTION:case p.COLGROUP:break;default:xf(e,t)}}function _M(e,t){if(e.openElements.hasInScope(p.BODY)&&(e.insertionMode=D.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function wM(e,t){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=D.AFTER_BODY,Xg(e,t))}function vM(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function AM(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(p.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(p.FORM):n&&e.openElements.remove(n))}function kM(e){e.openElements.hasInButtonScope(p.P)||e._insertFakeElement(j.P,p.P),e._closePElement()}function LM(e){e.openElements.hasInListItemScope(p.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(p.LI),e.openElements.popUntilTagNamePopped(p.LI))}function NM(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function PM(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function RM(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function DM(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(j.BR,p.BR),e.openElements.pop(),e.framesetOk=!1}function Ug(e,t){const n=t.tagName,o=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],s=e.openElements.tagIDs[i];if(o===s&&(o!==p.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,s))break}}function El(e,t){switch(t.tagID){case p.A:case p.B:case p.I:case p.S:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.NOBR:case p.SMALL:case p.STRIKE:case p.STRONG:{Sd(e,t);break}case p.P:{kM(e);break}case p.DL:case p.UL:case p.OL:case p.DIR:case p.DIV:case p.NAV:case p.PRE:case p.MAIN:case p.MENU:case p.ASIDE:case p.BUTTON:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.ADDRESS:case p.ARTICLE:case p.DETAILS:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.LISTING:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{vM(e,t);break}case p.LI:{LM(e);break}case p.DD:case p.DT:{NM(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{PM(e);break}case p.BR:{DM(e);break}case p.BODY:{_M(e,t);break}case p.HTML:{wM(e,t);break}case p.FORM:{AM(e);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{RM(e,t);break}case p.TEMPLATE:{Bo(e,t);break}default:Ug(e,t)}}function Vg(e,t){e.tmplInsertionModeStack.length>0?Zg(e,t):yd(e,t)}function OM(e,t){var n;t.tagID===p.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function MM(e,t){e._err(t,G.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function gc(e,t){if(e.openElements.currentTagId!==void 0&&Mg.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=D.IN_TABLE_TEXT,t.type){case qe.CHARACTER:{$g(e,t);break}case qe.WHITESPACE_CHARACTER:{zg(e,t);break}}else Ma(e,t)}function BM(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CAPTION}function FM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_COLUMN_GROUP}function HM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.COLGROUP,p.COLGROUP),e.insertionMode=D.IN_COLUMN_GROUP,Ed(e,t)}function jM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_TABLE_BODY}function UM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.TBODY,p.TBODY),e.insertionMode=D.IN_TABLE_BODY,Tl(e,t)}function VM(e,t){e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function zM(e,t){jg(t)?e._appendElement(t,re.HTML):Ma(e,t),t.ackSelfClosing=!0}function $M(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,re.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ii(e,t){switch(t.tagID){case p.TD:case p.TH:case p.TR:{UM(e,t);break}case p.STYLE:case p.SCRIPT:case p.TEMPLATE:{mr(e,t);break}case p.COL:{HM(e,t);break}case p.FORM:{$M(e,t);break}case p.TABLE:{VM(e,t);break}case p.TBODY:case p.TFOOT:case p.THEAD:{jM(e,t);break}case p.INPUT:{zM(e,t);break}case p.CAPTION:{BM(e,t);break}case p.COLGROUP:{FM(e,t);break}default:Ma(e,t)}}function Ia(e,t){switch(t.tagID){case p.TABLE:{e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode());break}case p.TEMPLATE:{Bo(e,t);break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:Ma(e,t)}}function Ma(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,yl(e,t),e.fosterParentingEnabled=n}function zg(e,t){e.pendingCharacterTokens.push(t)}function $g(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Bi(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ma(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Wg=new Set([p.CAPTION,p.COL,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]);function WM(e,t){const n=t.tagID;Wg.has(n)?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,ii(e,t)):En(e,t)}function qM(e,t){const n=t.tagID;switch(n){case p.CAPTION:case p.TABLE:{e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,n===p.TABLE&&Ia(e,t));break}case p.BODY:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:El(e,t)}}function Ed(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.COL:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.TEMPLATE:{mr(e,t);break}default:zs(e,t)}}function GM(e,t){switch(t.tagID){case p.COLGROUP:{e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case p.TEMPLATE:{Bo(e,t);break}case p.COL:break;default:zs(e,t)}}function zs(e,t){e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE,e._processToken(t))}function Tl(e,t){switch(t.tagID){case p.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_ROW;break}case p.TH:case p.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(j.TR,p.TR),e.insertionMode=D.IN_ROW,xl(e,t);break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ii(e,t));break}default:ii(e,t)}}function Iu(e,t){const n=t.tagID;switch(t.tagID){case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case p.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,Ia(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:case p.TR:break;default:Ia(e,t)}}function xl(e,t){switch(t.tagID){case p.TH:case p.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CELL,e.activeFormattingElements.insertMarker();break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Tl(e,t));break}default:ii(e,t)}}function qg(e,t){switch(t.tagID){case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY);break}case p.TABLE:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Iu(e,t));break}case p.TBODY:case p.TFOOT:case p.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(p.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Iu(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:break;default:Ia(e,t)}}function YM(e,t){const n=t.tagID;Wg.has(n)?(e.openElements.hasInTableScope(p.TD)||e.openElements.hasInTableScope(p.TH))&&(e._closeTableCell(),xl(e,t)):En(e,t)}function ZM(e,t){const n=t.tagID;switch(n){case p.TD:case p.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_ROW);break}case p.TABLE:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),qg(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:break;default:El(e,t)}}function Gg(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case p.OPTGROUP:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case p.HR:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.INPUT:case p.KEYGEN:case p.TEXTAREA:case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),t.tagID!==p.SELECT&&e._processStartTag(t));break}case p.SCRIPT:case p.TEMPLATE:{mr(e,t);break}}}function Yg(e,t){switch(t.tagID){case p.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===p.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===p.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop();break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop();break}case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode());break}case p.TEMPLATE:{Bo(e,t);break}}}function XM(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Gg(e,t)}function KM(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Yg(e,t)}function QM(e,t){switch(t.tagID){case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{mr(e,t);break}case p.CAPTION:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.tmplInsertionModeStack[0]=D.IN_TABLE,e.insertionMode=D.IN_TABLE,ii(e,t);break}case p.COL:{e.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,e.insertionMode=D.IN_COLUMN_GROUP,Ed(e,t);break}case p.TR:{e.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,e.insertionMode=D.IN_TABLE_BODY,Tl(e,t);break}case p.TD:case p.TH:{e.tmplInsertionModeStack[0]=D.IN_ROW,e.insertionMode=D.IN_ROW,xl(e,t);break}default:e.tmplInsertionModeStack[0]=D.IN_BODY,e.insertionMode=D.IN_BODY,En(e,t)}}function JM(e,t){t.tagID===p.TEMPLATE&&Bo(e,t)}function Zg(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):yd(e,t)}function eB(e,t){t.tagID===p.HTML?En(e,t):$s(e,t)}function Xg(e,t){var n;if(t.tagID===p.HTML){if(e.fragmentContext||(e.insertionMode=D.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===p.HTML){e._setEndLocation(e.openElements.items[0],t);const o=e.openElements.items[1];o&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(o))===null||n===void 0)&&n.endTag)&&e._setEndLocation(o,t)}}else $s(e,t)}function $s(e,t){e.insertionMode=D.IN_BODY,yl(e,t)}function tB(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.FRAMESET:{e._insertElement(t,re.HTML);break}case p.FRAME:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.NOFRAMES:{mr(e,t);break}}}function nB(e,t){t.tagID===p.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==p.FRAMESET&&(e.insertionMode=D.AFTER_FRAMESET))}function rB(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.NOFRAMES:{mr(e,t);break}}}function oB(e,t){t.tagID===p.HTML&&(e.insertionMode=D.AFTER_AFTER_FRAMESET)}function iB(e,t){t.tagID===p.HTML?En(e,t):Ts(e,t)}function Ts(e,t){e.insertionMode=D.IN_BODY,yl(e,t)}function aB(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.NOFRAMES:{mr(e,t);break}}}function sB(e,t){t.chars=bt,e._insertCharacters(t)}function lB(e,t){e._insertCharacters(t),e.framesetOk=!1}function Kg(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==re.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function cB(e,t){if(xO(t))Kg(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),o=e.treeAdapter.getNamespaceURI(n);o===re.MATHML?Dg(t):o===re.SVG&&(_O(t),Og(t)),bd(t),t.selfClosing?e._appendElement(t,o):e._insertElement(t,o),t.ackSelfClosing=!0}}function uB(e,t){if(t.tagID===p.P||t.tagID===p.BR){Kg(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const o=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(o)===re.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(o);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}j.AREA,j.BASE,j.BASEFONT,j.BGSOUND,j.BR,j.COL,j.EMBED,j.FRAME,j.HR,j.IMG,j.INPUT,j.KEYGEN,j.LINK,j.META,j.PARAM,j.SOURCE,j.TRACK,j.WBR;const dB=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,hB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),_f={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Qg(e,t){const n=EB(e),o=Wm("type",{handlers:{root:fB,element:pB,text:mB,comment:e2,doctype:gB,raw:CB},unknown:bB}),i={parser:n?new Ef(_f):Ef.getFragmentParser(void 0,_f),handle(l){o(l,i)},stitches:!1,options:t||{}};o(e,i),Si(i,Ar());const a=n?i.parser.document:i.parser.getFragment(),s=fD(a,{file:i.options.file});return i.stitches&&Sl(s,"comment",function(l,c,u){const h=l;if(h.value.stitch&&u&&c!==void 0){const f=u.children;return f[c]=h.value.stitch,c}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function Jg(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function fB(e,t){Jg(e.children,t)}function pB(e,t){SB(e,t),Jg(e.children,t),yB(e,t)}function mB(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:qe.CHARACTER,chars:e.value,location:Ba(e)};Si(t,Ar(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function gB(e,t){const n={type:qe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ba(e)};Si(t,Ar(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function IB(e,t){t.stitches=!0;const n=TB(e);if("children"in e&&"children"in n){const o=Qg({type:"root",children:e.children},t.options);n.children=o.children}e2({type:"comment",value:{stitch:n}},t)}function e2(e,t){const n=e.value,o={type:qe.COMMENT,data:n,location:Ba(e)};Si(t,Ar(e)),t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken)}function CB(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,t2(t,Ar(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(dB,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function bB(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))IB(n,t);else{let o="";throw hB.has(n.type)&&(o=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+o)}}function Si(e,t){t2(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Mt.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function t2(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function SB(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Mt.PLAINTEXT)return;Si(t,Ar(e));const o=t.parser.openElements.current;let i="namespaceURI"in o?o.namespaceURI:wo.html;i===wo.html&&n==="svg"&&(i=wo.svg);const a=AD({...e,children:[]},{space:i===wo.svg?"svg":"html"}),s={type:qe.START_TAG,tagName:n,tagID:bi(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Ba(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function yB(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&MD.includes(n)||t.parser.tokenizer.state===Mt.PLAINTEXT)return;Si(t,pl(e));const o={type:qe.END_TAG,tagName:n,tagID:bi(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ba(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Mt.RCDATA||t.parser.tokenizer.state===Mt.RAWTEXT||t.parser.tokenizer.state===Mt.SCRIPT_DATA)&&(t.parser.tokenizer.state=Mt.DATA)}function EB(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Ba(e){const t=Ar(e)||{line:void 0,column:void 0,offset:void 0},n=pl(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function TB(e){return"children"in e?oi({...e,children:[]}):oi(e)}function n2(e){return function(t,n){return Qg(t,{...e,file:n})}}var xB=/[ \u0020\t\n]*$/,_B=["*","_","~","`"],wB=/(\*|_|~|\\|`)/g,Jr={},Ic=0,Dr={"unordered-list-item":{open:function(){return"- "},close:function(){return""}},"ordered-list-item":{open:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return"".concat(n,". ")},close:function(){return""}},blockquote:{open:function(){return"> "},close:function(){return""}},"header-one":{open:function(){return"# "},close:function(){return""}},"header-two":{open:function(){return"## "},close:function(){return""}},"header-three":{open:function(){return"### "},close:function(){return""}},"header-four":{open:function(){return"#### "},close:function(){return""}},"header-five":{open:function(){return"##### "},close:function(){return""}},"header-six":{open:function(){return"###### "},close:function(){return""}},"code-block":{open:function(t){return"```"+(t.data.language||"")+`
|
|
152
|
+
`))}function c(m,C,I,b){const S=I.enter("tableCell"),y=I.enter("phrasing"),T=I.containerPhrasing(m,{...b,before:a,after:a});return y(),S(),T}function u(m,C){return NP(m,{align:C,alignDelimiters:o,padding:n,stringLength:i})}function h(m,C,I){const b=m.children;let S=-1;const y=[],T=C.enter("table");for(;++S<b.length;)y[S]=f(b[S],C,I);return T(),y}function f(m,C,I){const b=m.children;let S=-1;const y=[],T=C.enter("tableRow");for(;++S<b.length;)y[S]=c(b[S],m,C,I);return T(),y}function g(m,C,I){let b=ng.inlineCode(m,C,I);return I.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function CR(){return{exit:{taskListCheckValueChecked:of,taskListCheckValueUnchecked:of,paragraph:SR}}}function bR(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:yR}}}function of(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function SR(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const o=n.children[0];if(o&&o.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const l=i[a];if(l.type==="paragraph"){s=l;break}}s===n&&(o.value=o.value.slice(1),o.value.length===0?n.children.shift():n.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,n.position.start=Object.assign({},o.position.start)))}}this.exit(e)}function yR(e,t,n,o){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",l=n.createTracker(o);a&&l.move(s);let c=ng.listItem(e,t,n,{...o,...l.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),c;function u(h){return h+s}}function ER(){return[eP(),yP(),_P(),dR(),CR()]}function TR(e){return{extensions:[tP(),EP(e),wP(),IR(e),bR()]}}const xR={tokenize:LR,partial:!0},rg={tokenize:NR,partial:!0},og={tokenize:PR,partial:!0},ig={tokenize:RR,partial:!0},_R={tokenize:DR,partial:!0},ag={name:"wwwAutolink",tokenize:AR,previous:lg},sg={name:"protocolAutolink",tokenize:kR,previous:cg},qr={name:"emailAutolink",tokenize:vR,previous:ug},kr={};function wR(){return{text:kr}}let Io=48;for(;Io<123;)kr[Io]=qr,Io++,Io===58?Io=65:Io===91&&(Io=97);kr[43]=qr;kr[45]=qr;kr[46]=qr;kr[95]=qr;kr[72]=[qr,sg];kr[104]=[qr,sg];kr[87]=[qr,ag];kr[119]=[qr,ag];function vR(e,t,n){const o=this;let i,a;return s;function s(f){return!uu(f)||!ug.call(o,o.previous)||md(o.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(f))}function l(f){return uu(f)?(e.consume(f),l):f===64?(e.consume(f),c):n(f)}function c(f){return f===46?e.check(_R,h,u)(f):f===45||f===95||Sn(f)?(a=!0,e.consume(f),c):h(f)}function u(f){return e.consume(f),i=!0,c}function h(f){return a&&i&&vn(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function AR(e,t,n){const o=this;return i;function i(s){return s!==87&&s!==119||!lg.call(o,o.previous)||md(o.events)?n(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(xR,e.attempt(rg,e.attempt(og,a),n),n)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function kR(e,t,n){const o=this;let i="",a=!1;return s;function s(f){return(f===72||f===104)&&cg.call(o,o.previous)&&!md(o.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),l):n(f)}function l(f){if(vn(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),l;if(f===58){const g=i.toLowerCase();if(g==="http"||g==="https")return e.consume(f),c}return n(f)}function c(f){return f===47?(e.consume(f),a?u:(a=!0,c)):n(f)}function u(f){return f===null||Hs(f)||ct(f)||Do(f)||ml(f)?n(f):e.attempt(rg,e.attempt(og,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function LR(e,t,n){let o=0;return i;function i(s){return(s===87||s===119)&&o<3?(o++,e.consume(s),i):s===46&&o===3?(e.consume(s),a):n(s)}function a(s){return s===null?n(s):t(s)}}function NR(e,t,n){let o,i,a;return s;function s(u){return u===46||u===95?e.check(ig,c,l)(u):u===null||ct(u)||Do(u)||u!==45&&ml(u)?c(u):(a=!0,e.consume(u),s)}function l(u){return u===95?o=!0:(i=o,o=void 0),e.consume(u),s}function c(u){return i||o||!a?n(u):t(u)}}function PR(e,t){let n=0,o=0;return i;function i(s){return s===40?(n++,e.consume(s),i):s===41&&o<n?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(ig,t,a)(s):s===null||ct(s)||Do(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&o++,e.consume(s),i}}function RR(e,t,n){return o;function o(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),o):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||ct(l)||Do(l)?t(l):n(l)}function i(l){return l===null||l===40||l===91||ct(l)||Do(l)?t(l):o(l)}function a(l){return vn(l)?s(l):n(l)}function s(l){return l===59?(e.consume(l),o):vn(l)?(e.consume(l),s):n(l)}}function DR(e,t,n){return o;function o(a){return e.consume(a),i}function i(a){return Sn(a)?n(a):t(a)}}function lg(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ct(e)}function cg(e){return!vn(e)}function ug(e){return!(e===47||uu(e))}function uu(e){return e===43||e===45||e===46||e===95||Sn(e)}function md(e){let t=e.length,n=!1;for(;t--;){const o=e[t][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){n=!0;break}if(o._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const OR={tokenize:zR,partial:!0};function MR(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:jR,continuation:{tokenize:UR},exit:VR}},text:{91:{name:"gfmFootnoteCall",tokenize:HR},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:BR,resolveTo:FR}}}}function BR(e,t,n){const o=this;let i=o.events.length;const a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let s;for(;i--;){const c=o.events[i][1];if(c.type==="labelImage"){s=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!s||!s._balanced)return n(c);const u=cr(o.sliceSerialize({start:s.end,end:o.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function FR(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...l),e}function HR(e,t,n){const o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let a=0,s;return l;function l(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),c}function c(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(a>999||f===93&&!s||f===null||f===91||ct(f))return n(f);if(f===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return i.includes(cr(o.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return ct(f)||(s=!0),a++,e.consume(f),f===92?h:u}function h(f){return f===91||f===92||f===93?(e.consume(f),a++,u):u(f)}}function jR(e,t,n){const o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let a,s=0,l;return c;function c(C){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(C){return C===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(C)}function h(C){if(s>999||C===93&&!l||C===null||C===91||ct(C))return n(C);if(C===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return a=cr(o.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(C),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return ct(C)||(l=!0),s++,e.consume(C),C===92?f:h}function f(C){return C===91||C===92||C===93?(e.consume(C),s++,h):h(C)}function g(C){return C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),i.includes(a)||i.push(a),Xe(e,m,"gfmFootnoteDefinitionWhitespace")):n(C)}function m(C){return t(C)}}function UR(e,t,n){return e.check(Ra,t,e.attempt(OR,t,n))}function VR(e){e.exit("gfmFootnoteDefinition")}function zR(e,t,n){const o=this;return Xe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=o.events[o.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):n(a)}}function $R(e){let n=(e||{}).singleTilde;const o={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function i(s,l){let c=-1;for(;++c<s.length;)if(s[c][0]==="enter"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._close){let u=c;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[c][1].end.offset-s[c][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[c][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[c][1].end)},f={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[c][1].start)},g=[["enter",h,l],["enter",s[u][1],l],["exit",s[u][1],l],["enter",f,l]],m=l.parser.constructs.insideSpan.null;m&&qn(g,g.length,0,gl(m,s.slice(u+1,c),l)),qn(g,g.length,0,[["exit",f,l],["enter",s[c][1],l],["exit",s[c][1],l],["exit",h,l]]),qn(s,u-1,c-u+3,g),c=u+g.length-2;break}}for(c=-1;++c<s.length;)s[c][1].type==="strikethroughSequenceTemporary"&&(s[c][1].type="data");return s}function a(s,l,c){const u=this.previous,h=this.events;let f=0;return g;function g(C){return u===126&&h[h.length-1][1].type!=="characterEscape"?c(C):(s.enter("strikethroughSequenceTemporary"),m(C))}function m(C){const I=ri(u);if(C===126)return f>1?c(C):(s.consume(C),f++,m);if(f<2&&!n)return c(C);const b=s.exit("strikethroughSequenceTemporary"),S=ri(C);return b._open=!S||S===2&&!!I,b._close=!I||I===2&&!!S,l(C)}}}class WR{constructor(){this.map=[]}add(t,n,o){qR(this,t,n,o)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let n=this.map.length;const o=[];for(;n>0;)n-=1,o.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];o.push(t.slice()),t.length=0;let i=o.pop();for(;i;){for(const a of i)t.push(a);i=o.pop()}this.map.length=0}}function qR(e,t,n,o){let i=0;if(!(n===0&&o.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...o);return}i+=1}e.map.push([t,n,o])}}function GR(e,t){let n=!1;const o=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&o.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=o.length-1;o[a]=o[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return o}function YR(){return{flow:{null:{name:"table",tokenize:ZR,resolveAll:XR}}}}function ZR(e,t,n){const o=this;let i=0,a=0,s;return l;function l(w){let V=o.events.length-1;for(;V>-1;){const W=o.events[V][1].type;if(W==="lineEnding"||W==="linePrefix")V--;else break}const H=V>-1?o.events[V][1].type:null,X=H==="tableHead"||H==="tableRow"?P:c;return X===P&&o.parser.lazy[o.now().line]?n(w):X(w)}function c(w){return e.enter("tableHead"),e.enter("tableRow"),u(w)}function u(w){return w===124||(s=!0,a+=1),h(w)}function h(w){return w===null?n(w):Pe(w)?a>1?(a=0,o.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),m):n(w):Ze(w)?Xe(e,h,"whitespace")(w):(a+=1,s&&(s=!1,i+=1),w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),s=!0,h):(e.enter("data"),f(w)))}function f(w){return w===null||w===124||ct(w)?(e.exit("data"),h(w)):(e.consume(w),w===92?g:f)}function g(w){return w===92||w===124?(e.consume(w),f):f(w)}function m(w){return o.interrupt=!1,o.parser.lazy[o.now().line]?n(w):(e.enter("tableDelimiterRow"),s=!1,Ze(w)?Xe(e,C,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):C(w))}function C(w){return w===45||w===58?b(w):w===124?(s=!0,e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),I):A(w)}function I(w){return Ze(w)?Xe(e,b,"whitespace")(w):b(w)}function b(w){return w===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),S):w===45?(a+=1,S(w)):w===null||Pe(w)?k(w):A(w)}function S(w){return w===45?(e.enter("tableDelimiterFiller"),y(w)):A(w)}function y(w){return w===45?(e.consume(w),y):w===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(w))}function T(w){return Ze(w)?Xe(e,k,"whitespace")(w):k(w)}function k(w){return w===124?C(w):w===null||Pe(w)?!s||i!==a?A(w):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(w)):A(w)}function A(w){return n(w)}function P(w){return e.enter("tableRow"),E(w)}function E(w){return w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),E):w===null||Pe(w)?(e.exit("tableRow"),t(w)):Ze(w)?Xe(e,E,"whitespace")(w):(e.enter("data"),M(w))}function M(w){return w===null||w===124||ct(w)?(e.exit("data"),E(w)):(e.consume(w),w===92?B:M)}function B(w){return w===92||w===124?(e.consume(w),M):M(w)}}function XR(e,t){let n=-1,o=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],l=!1,c=0,u,h,f;const g=new WR;for(;++n<e.length;){const m=e[n],C=m[1];m[0]==="enter"?C.type==="tableHead"?(l=!1,c!==0&&(af(g,t,c,u,h),h=void 0,c=0),u={type:"table",start:Object.assign({},C.start),end:Object.assign({},C.end)},g.add(n,0,[["enter",u,t]])):C.type==="tableRow"||C.type==="tableDelimiterRow"?(o=!0,f=void 0,a=[0,0,0,0],s=[0,n+1,0,0],l&&(l=!1,h={type:"tableBody",start:Object.assign({},C.start),end:Object.assign({},C.end)},g.add(n,0,[["enter",h,t]])),i=C.type==="tableDelimiterRow"?2:h?3:1):i&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")?(o=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],f=is(g,t,a,i,void 0,f),a=[0,0,0,0]),s[2]=n)):C.type==="tableCellDivider"&&(o?o=!1:(a[1]!==0&&(s[0]=s[1],f=is(g,t,a,i,void 0,f)),a=s,s=[a[1],n,0,0])):C.type==="tableHead"?(l=!0,c=n):C.type==="tableRow"||C.type==="tableDelimiterRow"?(c=n,a[1]!==0?(s[0]=s[1],f=is(g,t,a,i,n,f)):s[1]!==0&&(f=is(g,t,s,i,n,f)),i=0):i&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")&&(s[3]=n)}for(c!==0&&af(g,t,c,u,h),g.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=GR(t.events,n))}return e}function is(e,t,n,o,i,a){const s=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(a.end=Object.assign({},Yo(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const c=Yo(t.events,n[1]);if(a={type:s,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const u=Yo(t.events,n[2]),h=Yo(t.events,n[3]),f={type:l,start:Object.assign({},u),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),o!==2){const g=t.events[n[2]],m=t.events[n[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",n[3]>n[2]+1){const C=n[2]+1,I=n[3]-n[2]-1;e.add(C,I,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},Yo(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function af(e,t,n,o,i){const a=[],s=Yo(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),o.end=Object.assign({},s),a.push(["exit",o,t]),e.add(n+1,0,a)}function Yo(e,t){const n=e[t],o=n[0]==="enter"?"start":"end";return n[1][o]}const KR={name:"tasklistCheck",tokenize:JR};function QR(){return{text:{91:KR}}}function JR(e,t,n){const o=this;return i;function i(c){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return ct(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),s):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),s):n(c)}function s(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Pe(c)?t(c):Ze(c)?e.check({tokenize:eD},t,n)(c):n(c)}}function eD(e,t,n){return Xe(e,o,"whitespace");function o(i){return i===null?n(i):t(i)}}function tD(e){return bm([wR(),MR(),$R(e),YR(),QR()])}const nD={};function dg(e){const t=this,n=e||nD,o=t.data(),i=o.micromarkExtensions||(o.micromarkExtensions=[]),a=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),s=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);i.push(tD(n)),a.push(ER()),s.push(TR(n))}const sf=/[#.]/g;function rD(e,t){const n=e||"",o={};let i=0,a,s;for(;i<n.length;){sf.lastIndex=i;const l=sf.exec(n),c=n.slice(i,l?l.index:n.length);c&&(a?a==="#"?o.id=c:Array.isArray(o.className)?o.className.push(c):o.className=[c]:s=c,i+=c.length),l&&(a=l[0],i++)}return{type:"element",tagName:s||t||"div",properties:o,children:[]}}function hg(e,t,n){const o=n?sD(n):void 0;function i(a,s,...l){let c;if(a==null){c={type:"root",children:[]};const u=s;l.unshift(u)}else{c=rD(a,t);const u=c.tagName.toLowerCase(),h=o?o.get(u):void 0;if(c.tagName=h||u,oD(s))l.unshift(s);else for(const[f,g]of Object.entries(s))iD(e,c.properties,f,g)}for(const u of l)du(c.children,u);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return i}function oD(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const o of n){const i=t[o];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const s of a)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function iD(e,t,n,o){const i=ed(e,n);let a;if(o!=null){if(typeof o=="number"){if(Number.isNaN(o))return;a=o}else typeof o=="boolean"?a=o:typeof o=="string"?i.spaceSeparated?a=fh(o):i.commaSeparated?a=lh(o):i.commaOrSpaceSeparated?a=fh(lh(o).join(" ")):a=lf(i,i.property,o):Array.isArray(o)?a=[...o]:a=i.property==="style"?aD(o):String(o);if(Array.isArray(a)){const s=[];for(const l of a)s.push(lf(i,i.property,l));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function du(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)du(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?du(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function lf(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||ma(n)===ma(t)))return!0}return n}function aD(e){const t=[];for(const[n,o]of Object.entries(e))t.push([n,o].join(": "));return t.join("; ")}function sD(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const lD=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],cD=hg(fl,"div"),uD=hg(gi,"g",lD);function dD(e){const t=String(e),n=[];return{toOffset:i,toPoint:o};function o(a){if(typeof a=="number"&&a>-1&&a<=t.length){let s=0;for(;;){let l=n[s];if(l===void 0){const c=cf(t,n[s-1]);l=c===-1?t.length+1:c+1,n[s]=l}if(l>a)return{line:s+1,column:a-(s>0?n[s-1]:0)+1,offset:a};s++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const l=n[n.length-1],c=cf(t,l),u=c===-1?t.length+1:c+1;if(l===u)break;n.push(u)}const s=(a.line>1?n[a.line-2]:0)+a.column-1;if(s<n[a.line-1])return s}}}function cf(e,t){const n=e.indexOf("\r",t),o=e.indexOf(`
|
|
153
|
+
`,t);return o===-1?n:n===-1||n+1===o?o:n<o?n:o}const wo={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},fg={}.hasOwnProperty,hD=Object.prototype;function fD(e,t){const n=t||{};return gd({file:n.file||void 0,location:!1,schema:n.space==="svg"?gi:fl,verbose:n.verbose||!1},e)}function gd(e,t){let n;switch(t.nodeName){case"#comment":{const o=t;return n={type:"comment",value:o.data},Es(e,o,n),n}case"#document":case"#document-fragment":{const o=t,i="mode"in o?o.mode==="quirks"||o.mode==="limited-quirks":!1;if(n={type:"root",children:pg(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),s=dD(a),l=s.toPoint(0),c=s.toPoint(a.length);n.position={start:l,end:c}}return n}case"#documentType":{const o=t;return n={type:"doctype"},Es(e,o,n),n}case"#text":{const o=t;return n={type:"text",value:o.value},Es(e,o,n),n}default:return n=pD(e,t),n}}function pg(e,t){let n=-1;const o=[];for(;++n<t.length;){const i=gd(e,t[n]);o.push(i)}return o}function pD(e,t){const n=e.schema;e.schema=t.namespaceURI===wo.svg?gi:fl;let o=-1;const i={};for(;++o<t.attrs.length;){const l=t.attrs[o],c=(l.prefix?l.prefix+":":"")+l.name;fg.call(hD,c)||(i[c]=l.value)}const s=(e.schema.space==="svg"?uD:cD)(t.tagName,i,pg(e,t.childNodes));if(Es(e,t,s),s.tagName==="template"){const l=t,c=l.sourceCodeLocation,u=c&&c.startTag&&Xo(c.startTag),h=c&&c.endTag&&Xo(c.endTag),f=gd(e,l.content);u&&h&&e.file&&(f.position={start:u.end,end:h.start}),s.content=f}return e.schema=n,s}function Es(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const o=mD(e,n,t.sourceCodeLocation);o&&(e.location=!0,n.position=o)}}function mD(e,t,n){const o=Xo(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(o&&!n.endTag&&i&&i.position&&i.position.end&&(o.end=Object.assign({},i.position.end)),e.verbose){const a={};let s;if(n.attrs)for(s in n.attrs)fg.call(n.attrs,s)&&(a[ed(e.schema,s).property]=Xo(n.attrs[s]));n.startTag;const l=Xo(n.startTag),c=n.endTag?Xo(n.endTag):void 0,u={opening:l};c&&(u.closing=c),u.properties=a,t.data={position:u}}}return o}function Xo(e){const t=uf({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=uf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function uf(e){return e.line&&e.column?e:void 0}class Oa{constructor(t,n,o){this.property=t,this.normal=n,o&&(this.space=o)}}Oa.prototype.property={};Oa.prototype.normal={};Oa.prototype.space=null;function mg(e,t){const n={},o={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(o,e[i].normal);return new Oa(n,o,t)}function hu(e){return e.toLowerCase()}class or{constructor(t,n){this.property=t,this.attribute=n}}or.prototype.space=null;or.prototype.boolean=!1;or.prototype.booleanish=!1;or.prototype.overloadedBoolean=!1;or.prototype.number=!1;or.prototype.commaSeparated=!1;or.prototype.spaceSeparated=!1;or.prototype.commaOrSpaceSeparated=!1;or.prototype.mustUseProperty=!1;or.prototype.defined=!1;let gD=0;const He=Mo(),Ht=Mo(),gg=Mo(),he=Mo(),dt=Mo(),ei=Mo(),Hn=Mo();function Mo(){return 2**++gD}const fu=Object.freeze(Object.defineProperty({__proto__:null,boolean:He,booleanish:Ht,commaOrSpaceSeparated:Hn,commaSeparated:ei,number:he,overloadedBoolean:gg,spaceSeparated:dt},Symbol.toStringTag,{value:"Module"})),pc=Object.keys(fu);class Id extends or{constructor(t,n,o,i){let a=-1;if(super(t,n),df(this,"space",i),typeof o=="number")for(;++a<pc.length;){const s=pc[a];df(this,pc[a],(o&fu[s])===fu[s])}}}Id.prototype.defined=!0;function df(e,t,n){n&&(e[t]=n)}const ID={}.hasOwnProperty;function Ci(e){const t={},n={};let o;for(o in e.properties)if(ID.call(e.properties,o)){const i=e.properties[o],a=new Id(o,e.transform(e.attributes||{},o),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),t[o]=a,n[hu(o)]=o,n[hu(a.attribute)]=o}return new Oa(t,n,e.space)}const Ig=Ci({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Cg=Ci({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function bg(e,t){return t in e?e[t]:t}function Sg(e,t){return bg(e,t.toLowerCase())}const yg=Ci({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Sg,properties:{xmlns:null,xmlnsXLink:null}}),Eg=Ci({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ht,ariaAutoComplete:null,ariaBusy:Ht,ariaChecked:Ht,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:dt,ariaCurrent:null,ariaDescribedBy:dt,ariaDetails:null,ariaDisabled:Ht,ariaDropEffect:dt,ariaErrorMessage:null,ariaExpanded:Ht,ariaFlowTo:dt,ariaGrabbed:Ht,ariaHasPopup:null,ariaHidden:Ht,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:dt,ariaLevel:he,ariaLive:null,ariaModal:Ht,ariaMultiLine:Ht,ariaMultiSelectable:Ht,ariaOrientation:null,ariaOwns:dt,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:Ht,ariaReadOnly:Ht,ariaRelevant:null,ariaRequired:Ht,ariaRoleDescription:dt,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:Ht,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null}}),CD=Ci({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Sg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ei,acceptCharset:dt,accessKey:dt,action:null,allow:null,allowFullScreen:He,allowPaymentRequest:He,allowUserMedia:He,alt:null,as:null,async:He,autoCapitalize:null,autoComplete:dt,autoFocus:He,autoPlay:He,blocking:dt,capture:null,charSet:null,checked:He,cite:null,className:dt,cols:he,colSpan:null,content:null,contentEditable:Ht,controls:He,controlsList:dt,coords:he|ei,crossOrigin:null,data:null,dateTime:null,decoding:null,default:He,defer:He,dir:null,dirName:null,disabled:He,download:gg,draggable:Ht,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:He,formTarget:null,headers:dt,height:he,hidden:He,high:he,href:null,hrefLang:null,htmlFor:dt,httpEquiv:dt,id:null,imageSizes:null,imageSrcSet:null,inert:He,inputMode:null,integrity:null,is:null,isMap:He,itemId:null,itemProp:dt,itemRef:dt,itemScope:He,itemType:dt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:He,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:He,muted:He,name:null,nonce:null,noModule:He,noValidate:He,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:He,optimum:he,pattern:null,ping:dt,placeholder:null,playsInline:He,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:He,referrerPolicy:null,rel:dt,required:He,reversed:He,rows:he,rowSpan:he,sandbox:dt,scope:null,scoped:He,seamless:He,selected:He,shadowRootClonable:He,shadowRootDelegatesFocus:He,shadowRootMode:null,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:Ht,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:He,useMap:null,value:Ht,width:he,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:dt,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:He,declare:He,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:He,noHref:He,noShade:He,noWrap:He,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:Ht,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:He,disableRemotePlayback:He,prefix:null,property:null,results:he,security:null,unselectable:null}}),bD=Ci({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:bg,properties:{about:Hn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:dt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:He,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ei,g2:ei,glyphName:ei,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:Hn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:he,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:dt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Hn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Hn,rev:Hn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Hn,requiredFeatures:Hn,requiredFonts:Hn,requiredFormats:Hn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:Hn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Hn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Hn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),SD=/^data[-\w.:]+$/i,hf=/-[a-z]/g,yD=/[A-Z]/g;function ED(e,t){const n=hu(t);let o=t,i=or;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&SD.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(hf,xD);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!hf.test(a)){let s=a.replace(yD,TD);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Id}return new i(o,t)}function TD(e){return"-"+e.toLowerCase()}function xD(e){return e.charAt(1).toUpperCase()}const _D=mg([Cg,Ig,yg,Eg,CD],"html"),Tg=mg([Cg,Ig,yg,Eg,bD],"svg"),wD={},vD={}.hasOwnProperty,xg=Wm("type",{handlers:{root:kD,element:DD,text:PD,comment:RD,doctype:ND}});function AD(e,t){const o=(t||wD).space;return xg(e,o==="svg"?Tg:_D)}function kD(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Cd(e.children,n,t),bi(e,n),n}function LD(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Cd(e.children,n,t),bi(e,n),n}function ND(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return bi(e,t),t}function PD(e){const t={nodeName:"#text",value:e.value,parentNode:null};return bi(e,t),t}function RD(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return bi(e,t),t}function DD(e,t){const n=t;let o=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(o=Tg);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&vD.call(e.properties,a)){const c=OD(o,a,e.properties[a]);c&&i.push(c)}}const s=o.space,l={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:wo[s],childNodes:[],parentNode:null};return l.childNodes=Cd(e.children,l,o),bi(e,l),e.tagName==="template"&&e.content&&(l.content=LD(e.content,o)),l}function OD(e,t,n){const o=ED(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&o.boolean)return;Array.isArray(n)&&(n=o.commaSeparated?nm(n):dm(n));const i={name:o.attribute,value:n===!0?"":String(n)};if(o.space&&o.space!=="html"&&o.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=o.attribute.slice(0,a)),i.namespace=wo[o.space]}return i}function Cd(e,t,n){let o=-1;const i=[];if(e)for(;++o<e.length;){const a=xg(e[o],n);a.parentNode=t,i.push(a)}return i}function bi(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const MD=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],BD=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),bt="�";var v;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(v||(v={}));const kn={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function _g(e){return e>=55296&&e<=57343}function FD(e){return e>=56320&&e<=57343}function HD(e,t){return(e-55296)*1024+9216+t}function wg(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function vg(e){return e>=64976&&e<=65007||BD.has(e)}var G;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(G||(G={}));const jD=65536;class UD{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=jD,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:o,col:i,offset:a}=this,s=i+n,l=a+n;return{code:t,startLine:o,endLine:o,startCol:s,endCol:s,startOffset:l,endOffset:l}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(FD(n))return this.pos++,this._addGap(),HD(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,v.EOF;return this._err(G.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let o=0;o<t.length;o++)if((this.html.charCodeAt(this.pos+o)|32)!==t.charCodeAt(o))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;const o=this.html.charCodeAt(n);return o===v.CARRIAGE_RETURN?v.LINE_FEED:o}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,v.EOF;let t=this.html.charCodeAt(this.pos);return t===v.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,v.LINE_FEED):t===v.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,_g(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===v.LINE_FEED||t===v.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){wg(t)?this._err(G.controlCharacterInInputStream):vg(t)&&this._err(G.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var qe;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(qe||(qe={}));function Ag(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const VD=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),zD=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function $D(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=zD.get(e))!==null&&t!==void 0?t:e}var rn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(rn||(rn={}));const WD=32;var no;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(no||(no={}));function pu(e){return e>=rn.ZERO&&e<=rn.NINE}function qD(e){return e>=rn.UPPER_A&&e<=rn.UPPER_F||e>=rn.LOWER_A&&e<=rn.LOWER_F}function GD(e){return e>=rn.UPPER_A&&e<=rn.UPPER_Z||e>=rn.LOWER_A&&e<=rn.LOWER_Z||pu(e)}function YD(e){return e===rn.EQUALS||GD(e)}var tn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(tn||(tn={}));var Fr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Fr||(Fr={}));class ZD{constructor(t,n,o){this.decodeTree=t,this.emitCodePoint=n,this.errors=o,this.state=tn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Fr.Strict}startEntity(t){this.decodeMode=t,this.state=tn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case tn.EntityStart:return t.charCodeAt(n)===rn.NUM?(this.state=tn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=tn.NamedEntity,this.stateNamedEntity(t,n));case tn.NumericStart:return this.stateNumericStart(t,n);case tn.NumericDecimal:return this.stateNumericDecimal(t,n);case tn.NumericHex:return this.stateNumericHex(t,n);case tn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|WD)===rn.LOWER_X?(this.state=tn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=tn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,o,i){if(n!==o){const a=o-n;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const o=n;for(;n<t.length;){const i=t.charCodeAt(n);if(pu(i)||qD(i))n+=1;else return this.addToNumericResult(t,o,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,o,n,16),-1}stateNumericDecimal(t,n){const o=n;for(;n<t.length;){const i=t.charCodeAt(n);if(pu(i))n+=1;else return this.addToNumericResult(t,o,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,o,n,10),-1}emitNumericEntity(t,n){var o;if(this.consumed<=n)return(o=this.errors)===null||o===void 0||o.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===rn.SEMI)this.consumed+=1;else if(this.decodeMode===Fr.Strict)return 0;return this.emitCodePoint($D(this.result),this.consumed),this.errors&&(t!==rn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:o}=this;let i=o[this.treeIndex],a=(i&no.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const s=t.charCodeAt(n);if(this.treeIndex=XD(o,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===Fr.Attribute&&(a===0||YD(s))?0:this.emitNotTerminatedNamedEntity();if(i=o[this.treeIndex],a=(i&no.VALUE_LENGTH)>>14,a!==0){if(s===rn.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Fr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:o}=this,i=(o[n]&no.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,o){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~no.VALUE_LENGTH:i[t+1],o),n===3&&this.emitCodePoint(i[t+2],o),o}end(){var t;switch(this.state){case tn.NamedEntity:return this.result!==0&&(this.decodeMode!==Fr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case tn.NumericDecimal:return this.emitNumericEntity(0,2);case tn.NumericHex:return this.emitNumericEntity(0,3);case tn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case tn.EntityStart:return 0}}}function XD(e,t,n,o){const i=(t&no.BRANCH_LENGTH)>>7,a=t&no.JUMP_TABLE;if(i===0)return a!==0&&o===a?n:-1;if(a){const c=o-a;return c<0||c>=i?-1:e[n+c]-1}let s=n,l=s+i-1;for(;s<=l;){const c=s+l>>>1,u=e[c];if(u<o)s=c+1;else if(u>o)l=c-1;else return e[c+i]}return-1}var re;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(re||(re={}));var ko;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(ko||(ko={}));var Jn;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Jn||(Jn={}));var j;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(j||(j={}));var p;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(p||(p={}));const KD=new Map([[j.A,p.A],[j.ADDRESS,p.ADDRESS],[j.ANNOTATION_XML,p.ANNOTATION_XML],[j.APPLET,p.APPLET],[j.AREA,p.AREA],[j.ARTICLE,p.ARTICLE],[j.ASIDE,p.ASIDE],[j.B,p.B],[j.BASE,p.BASE],[j.BASEFONT,p.BASEFONT],[j.BGSOUND,p.BGSOUND],[j.BIG,p.BIG],[j.BLOCKQUOTE,p.BLOCKQUOTE],[j.BODY,p.BODY],[j.BR,p.BR],[j.BUTTON,p.BUTTON],[j.CAPTION,p.CAPTION],[j.CENTER,p.CENTER],[j.CODE,p.CODE],[j.COL,p.COL],[j.COLGROUP,p.COLGROUP],[j.DD,p.DD],[j.DESC,p.DESC],[j.DETAILS,p.DETAILS],[j.DIALOG,p.DIALOG],[j.DIR,p.DIR],[j.DIV,p.DIV],[j.DL,p.DL],[j.DT,p.DT],[j.EM,p.EM],[j.EMBED,p.EMBED],[j.FIELDSET,p.FIELDSET],[j.FIGCAPTION,p.FIGCAPTION],[j.FIGURE,p.FIGURE],[j.FONT,p.FONT],[j.FOOTER,p.FOOTER],[j.FOREIGN_OBJECT,p.FOREIGN_OBJECT],[j.FORM,p.FORM],[j.FRAME,p.FRAME],[j.FRAMESET,p.FRAMESET],[j.H1,p.H1],[j.H2,p.H2],[j.H3,p.H3],[j.H4,p.H4],[j.H5,p.H5],[j.H6,p.H6],[j.HEAD,p.HEAD],[j.HEADER,p.HEADER],[j.HGROUP,p.HGROUP],[j.HR,p.HR],[j.HTML,p.HTML],[j.I,p.I],[j.IMG,p.IMG],[j.IMAGE,p.IMAGE],[j.INPUT,p.INPUT],[j.IFRAME,p.IFRAME],[j.KEYGEN,p.KEYGEN],[j.LABEL,p.LABEL],[j.LI,p.LI],[j.LINK,p.LINK],[j.LISTING,p.LISTING],[j.MAIN,p.MAIN],[j.MALIGNMARK,p.MALIGNMARK],[j.MARQUEE,p.MARQUEE],[j.MATH,p.MATH],[j.MENU,p.MENU],[j.META,p.META],[j.MGLYPH,p.MGLYPH],[j.MI,p.MI],[j.MO,p.MO],[j.MN,p.MN],[j.MS,p.MS],[j.MTEXT,p.MTEXT],[j.NAV,p.NAV],[j.NOBR,p.NOBR],[j.NOFRAMES,p.NOFRAMES],[j.NOEMBED,p.NOEMBED],[j.NOSCRIPT,p.NOSCRIPT],[j.OBJECT,p.OBJECT],[j.OL,p.OL],[j.OPTGROUP,p.OPTGROUP],[j.OPTION,p.OPTION],[j.P,p.P],[j.PARAM,p.PARAM],[j.PLAINTEXT,p.PLAINTEXT],[j.PRE,p.PRE],[j.RB,p.RB],[j.RP,p.RP],[j.RT,p.RT],[j.RTC,p.RTC],[j.RUBY,p.RUBY],[j.S,p.S],[j.SCRIPT,p.SCRIPT],[j.SEARCH,p.SEARCH],[j.SECTION,p.SECTION],[j.SELECT,p.SELECT],[j.SOURCE,p.SOURCE],[j.SMALL,p.SMALL],[j.SPAN,p.SPAN],[j.STRIKE,p.STRIKE],[j.STRONG,p.STRONG],[j.STYLE,p.STYLE],[j.SUB,p.SUB],[j.SUMMARY,p.SUMMARY],[j.SUP,p.SUP],[j.TABLE,p.TABLE],[j.TBODY,p.TBODY],[j.TEMPLATE,p.TEMPLATE],[j.TEXTAREA,p.TEXTAREA],[j.TFOOT,p.TFOOT],[j.TD,p.TD],[j.TH,p.TH],[j.THEAD,p.THEAD],[j.TITLE,p.TITLE],[j.TR,p.TR],[j.TRACK,p.TRACK],[j.TT,p.TT],[j.U,p.U],[j.UL,p.UL],[j.SVG,p.SVG],[j.VAR,p.VAR],[j.WBR,p.WBR],[j.XMP,p.XMP]]);function Si(e){var t;return(t=KD.get(e))!==null&&t!==void 0?t:p.UNKNOWN}const ue=p,QD={[re.HTML]:new Set([ue.ADDRESS,ue.APPLET,ue.AREA,ue.ARTICLE,ue.ASIDE,ue.BASE,ue.BASEFONT,ue.BGSOUND,ue.BLOCKQUOTE,ue.BODY,ue.BR,ue.BUTTON,ue.CAPTION,ue.CENTER,ue.COL,ue.COLGROUP,ue.DD,ue.DETAILS,ue.DIR,ue.DIV,ue.DL,ue.DT,ue.EMBED,ue.FIELDSET,ue.FIGCAPTION,ue.FIGURE,ue.FOOTER,ue.FORM,ue.FRAME,ue.FRAMESET,ue.H1,ue.H2,ue.H3,ue.H4,ue.H5,ue.H6,ue.HEAD,ue.HEADER,ue.HGROUP,ue.HR,ue.HTML,ue.IFRAME,ue.IMG,ue.INPUT,ue.LI,ue.LINK,ue.LISTING,ue.MAIN,ue.MARQUEE,ue.MENU,ue.META,ue.NAV,ue.NOEMBED,ue.NOFRAMES,ue.NOSCRIPT,ue.OBJECT,ue.OL,ue.P,ue.PARAM,ue.PLAINTEXT,ue.PRE,ue.SCRIPT,ue.SECTION,ue.SELECT,ue.SOURCE,ue.STYLE,ue.SUMMARY,ue.TABLE,ue.TBODY,ue.TD,ue.TEMPLATE,ue.TEXTAREA,ue.TFOOT,ue.TH,ue.THEAD,ue.TITLE,ue.TR,ue.TRACK,ue.UL,ue.WBR,ue.XMP]),[re.MATHML]:new Set([ue.MI,ue.MO,ue.MN,ue.MS,ue.MTEXT,ue.ANNOTATION_XML]),[re.SVG]:new Set([ue.TITLE,ue.FOREIGN_OBJECT,ue.DESC]),[re.XLINK]:new Set,[re.XML]:new Set,[re.XMLNS]:new Set},mu=new Set([ue.H1,ue.H2,ue.H3,ue.H4,ue.H5,ue.H6]);j.STYLE,j.SCRIPT,j.XMP,j.IFRAME,j.NOEMBED,j.NOFRAMES,j.PLAINTEXT;var R;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(R||(R={}));const Mt={DATA:R.DATA,RCDATA:R.RCDATA,RAWTEXT:R.RAWTEXT,SCRIPT_DATA:R.SCRIPT_DATA,PLAINTEXT:R.PLAINTEXT,CDATA_SECTION:R.CDATA_SECTION};function JD(e){return e>=v.DIGIT_0&&e<=v.DIGIT_9}function qi(e){return e>=v.LATIN_CAPITAL_A&&e<=v.LATIN_CAPITAL_Z}function eO(e){return e>=v.LATIN_SMALL_A&&e<=v.LATIN_SMALL_Z}function Kr(e){return eO(e)||qi(e)}function ff(e){return Kr(e)||JD(e)}function as(e){return e+32}function kg(e){return e===v.SPACE||e===v.LINE_FEED||e===v.TABULATION||e===v.FORM_FEED}function pf(e){return kg(e)||e===v.SOLIDUS||e===v.GREATER_THAN_SIGN}function tO(e){return e===v.NULL?G.nullCharacterReference:e>1114111?G.characterReferenceOutsideUnicodeRange:_g(e)?G.surrogateCharacterReference:vg(e)?G.noncharacterCharacterReference:wg(e)||e===v.CARRIAGE_RETURN?G.controlCharacterReference:null}class nO{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=R.DATA,this.returnState=R.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new UD(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ZD(VD,(o,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(o)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(G.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:o=>{this._err(G.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+o)},validateNumericCharacterReference:o=>{const i=tO(o);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var o,i;(i=(o=this.handler).onParseError)===null||i===void 0||i.call(o,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,o){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||o==null||o()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:qe.START_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:qe.END_TAG,tagName:"",tagID:p.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:qe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:qe.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const o=this.currentToken;if(Ag(o,this.currentAttr.name)===null){if(o.attrs.push(this.currentAttr),o.location&&this.currentLocation){const i=(t=(n=o.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(G.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Si(t.tagName),t.type===qe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(G.endTagWithAttributes),t.selfClosing&&this._err(G.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case qe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case qe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case qe.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:qe.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=kg(t)?qe.WHITESPACE_CHARACTER:t===v.NULL?qe.NULL_CHARACTER:qe.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(qe.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=R.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Fr.Attribute:Fr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===R.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===R.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case R.DATA:{this._stateData(t);break}case R.RCDATA:{this._stateRcdata(t);break}case R.RAWTEXT:{this._stateRawtext(t);break}case R.SCRIPT_DATA:{this._stateScriptData(t);break}case R.PLAINTEXT:{this._statePlaintext(t);break}case R.TAG_OPEN:{this._stateTagOpen(t);break}case R.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case R.TAG_NAME:{this._stateTagName(t);break}case R.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case R.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case R.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case R.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case R.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case R.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case R.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case R.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case R.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case R.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case R.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case R.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case R.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case R.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case R.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case R.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case R.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case R.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case R.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case R.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case R.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case R.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case R.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case R.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case R.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case R.BOGUS_COMMENT:{this._stateBogusComment(t);break}case R.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case R.COMMENT_START:{this._stateCommentStart(t);break}case R.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case R.COMMENT:{this._stateComment(t);break}case R.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case R.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case R.COMMENT_END:{this._stateCommentEnd(t);break}case R.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case R.DOCTYPE:{this._stateDoctype(t);break}case R.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case R.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case R.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case R.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case R.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case R.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case R.CDATA_SECTION:{this._stateCdataSection(t);break}case R.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case R.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case R.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case R.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case v.LESS_THAN_SIGN:{this.state=R.TAG_OPEN;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitCodePoint(t);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case v.AMPERSAND:{this._startCharacterReference();break}case v.LESS_THAN_SIGN:{this.state=R.RCDATA_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case v.LESS_THAN_SIGN:{this.state=R.RAWTEXT_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Kr(t))this._createStartTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case v.EXCLAMATION_MARK:{this.state=R.MARKUP_DECLARATION_OPEN;break}case v.SOLIDUS:{this.state=R.END_TAG_OPEN;break}case v.QUESTION_MARK:{this._err(G.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t);break}case v.EOF:{this._err(G.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(G.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=R.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Kr(t))this._createEndTagToken(),this.state=R.TAG_NAME,this._stateTagName(t);else switch(t){case v.GREATER_THAN_SIGN:{this._err(G.missingEndTagName),this.state=R.DATA;break}case v.EOF:{this._err(G.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(G.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_ATTRIBUTE_NAME;break}case v.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.tagName+=bt;break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(qi(t)?as(t):t)}}_stateRcdataLessThanSign(t){t===v.SOLIDUS?this.state=R.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Kr(t)?(this.state=R.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=R.BEFORE_ATTRIBUTE_NAME,!1;case v.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=R.SELF_CLOSING_START_TAG,!1;case v.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=R.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===v.SOLIDUS?this.state=R.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Kr(t)?(this.state=R.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case v.SOLIDUS:{this.state=R.SCRIPT_DATA_END_TAG_OPEN;break}case v.EXCLAMATION_MARK:{this.state=R.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=R.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Kr(t)?(this.state=R.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===v.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===v.HYPHEN_MINUS?(this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=R.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case v.HYPHEN_MINUS:{this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case v.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===v.SOLIDUS?this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Kr(t)?(this._emitChars("<"),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Kr(t)?(this.state=R.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(kn.SCRIPT,!1)&&pf(this.preprocessor.peek(kn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<kn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case v.HYPHEN_MINUS:{this._emitChars("-");break}case v.LESS_THAN_SIGN:{this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case v.GREATER_THAN_SIGN:{this.state=R.SCRIPT_DATA,this._emitChars(">");break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(bt);break}case v.EOF:{this._err(G.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===v.SOLIDUS?(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(kn.SCRIPT,!1)&&pf(this.preprocessor.peek(kn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<kn.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=R.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=R.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:{this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case v.EQUALS_SIGN:{this._err(G.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=R.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:case v.SOLIDUS:case v.GREATER_THAN_SIGN:case v.EOF:{this._leaveAttrName(),this.state=R.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case v.EQUALS_SIGN:{this._leaveAttrName(),this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:{this._err(G.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.name+=bt;break}default:this.currentAttr.name+=String.fromCodePoint(qi(t)?as(t):t)}}_stateAfterAttributeName(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.SOLIDUS:{this.state=R.SELF_CLOSING_START_TAG;break}case v.EQUALS_SIGN:{this.state=R.BEFORE_ATTRIBUTE_VALUE;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=R.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{this.state=R.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this.state=R.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingAttributeValue),this.state=R.DATA,this.emitCurrentTagToken();break}default:this.state=R.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case v.QUOTATION_MARK:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=bt;break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case v.APOSTROPHE:{this.state=R.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=bt;break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case v.AMPERSAND:{this._startCharacterReference();break}case v.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case v.NULL:{this._err(G.unexpectedNullCharacter),this.currentAttr.value+=bt;break}case v.QUOTATION_MARK:case v.APOSTROPHE:case v.LESS_THAN_SIGN:case v.EQUALS_SIGN:case v.GRAVE_ACCENT:{this._err(G.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this._leaveAttrValue(),this.state=R.BEFORE_ATTRIBUTE_NAME;break}case v.SOLIDUS:{this._leaveAttrValue(),this.state=R.SELF_CLOSING_START_TAG;break}case v.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=R.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBetweenAttributes),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case v.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=R.DATA,this.emitCurrentTagToken();break}case v.EOF:{this._err(G.eofInTag),this._emitEOFToken();break}default:this._err(G.unexpectedSolidusInTag),this.state=R.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case v.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.data+=bt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(kn.DASH_DASH,!0)?(this._createCommentToken(kn.DASH_DASH.length+1),this.state=R.COMMENT_START):this._consumeSequenceIfMatch(kn.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(kn.DOCTYPE.length+1),this.state=R.DOCTYPE):this._consumeSequenceIfMatch(kn.CDATA_START,!0)?this.inForeignNode?this.state=R.CDATA_SECTION:(this._err(G.cdataInHtmlContent),this._createCommentToken(kn.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=R.BOGUS_COMMENT):this._ensureHibernation()||(this._err(G.incorrectlyOpenedComment),this._createCommentToken(2),this.state=R.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_START_DASH;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=R.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptClosingOfEmptyComment),this.state=R.DATA,this.emitCurrentComment(n);break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_END_DASH;break}case v.LESS_THAN_SIGN:{n.data+="<",this.state=R.COMMENT_LESS_THAN_SIGN;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.data+=bt;break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case v.EXCLAMATION_MARK:{n.data+="!",this.state=R.COMMENT_LESS_THAN_SIGN_BANG;break}case v.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=R.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===v.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=R.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===v.HYPHEN_MINUS?this.state=R.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=R.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==v.GREATER_THAN_SIGN&&t!==v.EOF&&this._err(G.nestedComment),this.state=R.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{this.state=R.COMMENT_END;break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentComment(n);break}case v.EXCLAMATION_MARK:{this.state=R.COMMENT_END_BANG;break}case v.HYPHEN_MINUS:{n.data+="-";break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=R.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case v.HYPHEN_MINUS:{n.data+="--!",this.state=R.COMMENT_END_DASH;break}case v.GREATER_THAN_SIGN:{this._err(G.incorrectlyClosedComment),this.state=R.DATA,this.emitCurrentComment(n);break}case v.EOF:{this._err(G.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=R.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case v.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingWhitespaceBeforeDoctypeName),this.state=R.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(qi(t))this._createDoctypeToken(String.fromCharCode(as(t))),this.state=R.DOCTYPE_NAME;else switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.NULL:{this._err(G.unexpectedNullCharacter),this._createDoctypeToken(bt),this.state=R.DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=R.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.AFTER_DOCTYPE_NAME;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.name+=bt;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(qi(t)?as(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(kn.PUBLIC,!1)?this.state=R.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(kn.SYSTEM,!1)?this.state=R.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(G.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.QUOTATION_MARK:{this._err(G.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(G.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{n.publicId="",this.state=R.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case v.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.publicId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case v.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.publicId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case v.GREATER_THAN_SIGN:{this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.QUOTATION_MARK:{this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(G.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:{this.state=R.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.QUOTATION_MARK:{this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{this._err(G.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.QUOTATION_MARK:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case v.APOSTROPHE:{n.systemId="",this.state=R.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case v.GREATER_THAN_SIGN:{this._err(G.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.DATA,this.emitCurrentDoctype(n);break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case v.QUOTATION_MARK:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.systemId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case v.APOSTROPHE:{this.state=R.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case v.NULL:{this._err(G.unexpectedNullCharacter),n.systemId+=bt;break}case v.GREATER_THAN_SIGN:{this._err(G.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case v.SPACE:case v.LINE_FEED:case v.TABULATION:case v.FORM_FEED:break;case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.EOF:{this._err(G.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(G.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=R.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case v.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=R.DATA;break}case v.NULL:{this._err(G.unexpectedNullCharacter);break}case v.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case v.RIGHT_SQUARE_BRACKET:{this.state=R.CDATA_SECTION_BRACKET;break}case v.EOF:{this._err(G.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===v.RIGHT_SQUARE_BRACKET?this.state=R.CDATA_SECTION_END:(this._emitChars("]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case v.GREATER_THAN_SIGN:{this.state=R.DATA;break}case v.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=R.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(v.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ff(this.preprocessor.peek(1))?R.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){ff(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===v.SEMICOLON&&this._err(G.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Lg=new Set([p.DD,p.DT,p.LI,p.OPTGROUP,p.OPTION,p.P,p.RB,p.RP,p.RT,p.RTC]),mf=new Set([...Lg,p.CAPTION,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]),Vs=new Set([p.APPLET,p.CAPTION,p.HTML,p.MARQUEE,p.OBJECT,p.TABLE,p.TD,p.TEMPLATE,p.TH]),rO=new Set([...Vs,p.OL,p.UL]),oO=new Set([...Vs,p.BUTTON]),gf=new Set([p.ANNOTATION_XML,p.MI,p.MN,p.MO,p.MS,p.MTEXT]),If=new Set([p.DESC,p.FOREIGN_OBJECT,p.TITLE]),iO=new Set([p.TR,p.TEMPLATE,p.HTML]),aO=new Set([p.TBODY,p.TFOOT,p.THEAD,p.TEMPLATE,p.HTML]),sO=new Set([p.TABLE,p.TEMPLATE,p.HTML]),lO=new Set([p.TD,p.TH]);class cO{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,o){this.treeAdapter=n,this.handler=o,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=p.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===p.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===re.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const o=this._indexOf(t);this.items[o]=n,o===this.stackTop&&(this.current=n)}insertAfter(t,n,o){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,o),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==re.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const o=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(o,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(mu,re.HTML)}popUntilTableCellPopped(){this.popUntilPopped(lO,re.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let o=this.stackTop;o>=0;o--)if(t.has(this.tagIDs[o])&&this.treeAdapter.getNamespaceURI(this.items[o])===n)return o;return-1}clearBackTo(t,n){const o=this._indexOfTagNames(t,n);this.shortenToLength(o+1)}clearBackToTableContext(){this.clearBackTo(sO,re.HTML)}clearBackToTableBodyContext(){this.clearBackTo(aO,re.HTML)}clearBackToTableRowContext(){this.clearBackTo(iO,re.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===p.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===p.HTML}hasInDynamicScope(t,n){for(let o=this.stackTop;o>=0;o--){const i=this.tagIDs[o];switch(this.treeAdapter.getNamespaceURI(this.items[o])){case re.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case re.SVG:{if(If.has(i))return!1;break}case re.MATHML:{if(gf.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Vs)}hasInListItemScope(t){return this.hasInDynamicScope(t,rO)}hasInButtonScope(t){return this.hasInDynamicScope(t,oO)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case re.HTML:{if(mu.has(n))return!0;if(Vs.has(n))return!1;break}case re.SVG:{if(If.has(n))return!1;break}case re.MATHML:{if(gf.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===re.HTML)switch(this.tagIDs[n]){case t:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===re.HTML)switch(this.tagIDs[t]){case p.TBODY:case p.THEAD:case p.TFOOT:return!0;case p.TABLE:case p.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===re.HTML)switch(this.tagIDs[n]){case t:return!0;case p.OPTION:case p.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Lg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&mf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&mf.has(this.currentTagId);)this.pop()}}const mc=3;var Tr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Tr||(Tr={}));const Cf={type:Tr.Marker};class uO{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const o=[],i=n.length,a=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let l=0;l<this.entries.length;l++){const c=this.entries[l];if(c.type===Tr.Marker)break;const{element:u}=c;if(this.treeAdapter.getTagName(u)===a&&this.treeAdapter.getNamespaceURI(u)===s){const h=this.treeAdapter.getAttrList(u);h.length===i&&o.push({idx:l,attrs:h})}}return o}_ensureNoahArkCondition(t){if(this.entries.length<mc)return;const n=this.treeAdapter.getAttrList(t),o=this._getNoahArkConditionCandidates(t,n);if(o.length<mc)return;const i=new Map(n.map(s=>[s.name,s.value]));let a=0;for(let s=0;s<o.length;s++){const l=o[s];l.attrs.every(c=>i.get(c.name)===c.value)&&(a+=1,a>=mc&&this.entries.splice(l.idx,1))}}insertMarker(){this.entries.unshift(Cf)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Tr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const o=this.entries.indexOf(this.bookmark);this.entries.splice(o,0,{type:Tr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Cf);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(o=>o.type===Tr.Marker||this.treeAdapter.getTagName(o.element)===t);return n&&n.type===Tr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Tr.Element&&n.element===t)}}const Qr={createDocument(){return{nodeName:"#document",mode:Jn.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const o=e.childNodes.indexOf(n);e.childNodes.splice(o,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,o){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=o;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:o,parentNode:null};Qr.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Qr.isTextNode(n)){n.value+=t;return}}Qr.appendChild(e,Qr.createTextNode(t))},insertTextBefore(e,t,n){const o=e.childNodes[e.childNodes.indexOf(n)-1];o&&Qr.isTextNode(o)?o.value+=t:Qr.insertBefore(e,Qr.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(o=>o.name));for(let o=0;o<t.length;o++)n.has(t[o].name)||e.attrs.push(t[o])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Ng="html",dO="about:legacy-compat",hO="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Pg=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],fO=[...Pg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],pO=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Rg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],mO=[...Rg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function bf(e,t){return t.some(n=>e.startsWith(n))}function gO(e){return e.name===Ng&&e.publicId===null&&(e.systemId===null||e.systemId===dO)}function IO(e){if(e.name!==Ng)return Jn.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===hO)return Jn.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),pO.has(n))return Jn.QUIRKS;let o=t===null?fO:Pg;if(bf(n,o))return Jn.QUIRKS;if(o=t===null?Rg:mO,bf(n,o))return Jn.LIMITED_QUIRKS}return Jn.NO_QUIRKS}const Sf={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},CO="definitionurl",bO="definitionURL",SO=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),yO=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:re.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:re.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:re.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:re.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:re.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:re.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:re.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:re.XML}],["xml:space",{prefix:"xml",name:"space",namespace:re.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:re.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:re.XMLNS}]]),EO=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),TO=new Set([p.B,p.BIG,p.BLOCKQUOTE,p.BODY,p.BR,p.CENTER,p.CODE,p.DD,p.DIV,p.DL,p.DT,p.EM,p.EMBED,p.H1,p.H2,p.H3,p.H4,p.H5,p.H6,p.HEAD,p.HR,p.I,p.IMG,p.LI,p.LISTING,p.MENU,p.META,p.NOBR,p.OL,p.P,p.PRE,p.RUBY,p.S,p.SMALL,p.SPAN,p.STRONG,p.STRIKE,p.SUB,p.SUP,p.TABLE,p.TT,p.U,p.UL,p.VAR]);function xO(e){const t=e.tagID;return t===p.FONT&&e.attrs.some(({name:o})=>o===ko.COLOR||o===ko.SIZE||o===ko.FACE)||TO.has(t)}function Dg(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===CO){e.attrs[t].name=bO;break}}function Og(e){for(let t=0;t<e.attrs.length;t++){const n=SO.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function bd(e){for(let t=0;t<e.attrs.length;t++){const n=yO.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function _O(e){const t=EO.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Si(e.tagName))}function wO(e,t){return t===re.MATHML&&(e===p.MI||e===p.MO||e===p.MN||e===p.MS||e===p.MTEXT)}function vO(e,t,n){if(t===re.MATHML&&e===p.ANNOTATION_XML){for(let o=0;o<n.length;o++)if(n[o].name===ko.ENCODING){const i=n[o].value.toLowerCase();return i===Sf.TEXT_HTML||i===Sf.APPLICATION_XML}}return t===re.SVG&&(e===p.FOREIGN_OBJECT||e===p.DESC||e===p.TITLE)}function AO(e,t,n,o){return(!o||o===re.HTML)&&vO(e,t,n)||(!o||o===re.MATHML)&&wO(e,t)}const kO="hidden",LO=8,NO=3;var D;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(D||(D={}));const PO={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Mg=new Set([p.TABLE,p.TBODY,p.TFOOT,p.THEAD,p.TR]),yf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Qr,onParseError:null};class Ef{constructor(t,n,o=null,i=null){this.fragmentContext=o,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=D.INITIAL,this.originalInsertionMode=D.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...yf,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new nO(this.options,this),this.activeFormattingElements=new uO(this.treeAdapter),this.fragmentContextID=o?Si(this.treeAdapter.getTagName(o)):p.UNKNOWN,this._setContextModes(o??this.document,this.fragmentContextID),this.openElements=new cO(this.document,this.treeAdapter,this)}static parse(t,n){const o=new this(n);return o.tokenizer.write(t,!0),o.document}static getFragmentParser(t,n){const o={...yf,...n};t??(t=o.treeAdapter.createElement(j.TEMPLATE,re.HTML,[]));const i=o.treeAdapter.createElement("documentmock",re.HTML,[]),a=new this(o,i,t);return a.fragmentContextID===p.TEMPLATE&&a.tmplInsertionModeStack.unshift(D.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,o){var i;if(!this.onParseError)return;const a=(i=t.location)!==null&&i!==void 0?i:PO,s={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:o?a.startLine:a.endLine,endCol:o?a.startCol:a.endCol,endOffset:o?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(t,n,o){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),o&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var o,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(o=this.treeAdapter).onItemPop)===null||i===void 0||i.call(o,t,this.openElements.current),n){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(t,n){const o=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===re.HTML;this.currentNotInHTML=!o,this.tokenizer.inForeignNode=!o&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,re.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=D.TEXT}switchToPlaintextParsing(){this.insertionMode=D.TEXT,this.originalInsertionMode=D.IN_BODY,this.tokenizer.state=Mt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===j.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==re.HTML))switch(this.fragmentContextID){case p.TITLE:case p.TEXTAREA:{this.tokenizer.state=Mt.RCDATA;break}case p.STYLE:case p.XMP:case p.IFRAME:case p.NOEMBED:case p.NOFRAMES:case p.NOSCRIPT:{this.tokenizer.state=Mt.RAWTEXT;break}case p.SCRIPT:{this.tokenizer.state=Mt.SCRIPT_DATA;break}case p.PLAINTEXT:{this.tokenizer.state=Mt.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",o=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,o,i),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(l=>this.treeAdapter.isDocumentTypeNode(l));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const o=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,o)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const o=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(o??this.document,t)}}_appendElement(t,n){const o=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(o,t.location)}_insertElement(t,n){const o=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(o,t.location),this.openElements.push(o,t.tagID)}_insertFakeElement(t,n){const o=this.treeAdapter.createElement(t,re.HTML,[]);this._attachElementToTree(o,null),this.openElements.push(o,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,re.HTML,t.attrs),o=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,o),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(j.HTML,re.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,p.HTML)}_appendCommentNode(t,n){const o=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,o),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_insertCharacters(t){let n,o;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:o}=this._findFosterParentingLocation(),o?this.treeAdapter.insertTextBefore(n,t.chars,o):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=o?i.lastIndexOf(o):i.length,s=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:c,endCol:u,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:c,endCol:u,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,n){for(let o=this.treeAdapter.getFirstChild(t);o;o=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(o),this.treeAdapter.appendChild(n,o)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const o=n.location,i=this.treeAdapter.getTagName(t),a=n.type===qe.END_TAG&&i===n.tagName?{endTag:{...o},endLine:o.endLine,endCol:o.endCol,endOffset:o.endOffset}:{endLine:o.startLine,endCol:o.startCol,endOffset:o.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,o;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,o=this.fragmentContextID):{current:n,currentTagId:o}=this.openElements,t.tagID===p.SVG&&this.treeAdapter.getTagName(n)===j.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===re.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===p.MGLYPH||t.tagID===p.MALIGNMARK)&&o!==void 0&&!this._isIntegrationPoint(o,n,re.HTML)}_processToken(t){switch(t.type){case qe.CHARACTER:{this.onCharacter(t);break}case qe.NULL_CHARACTER:{this.onNullCharacter(t);break}case qe.COMMENT:{this.onComment(t);break}case qe.DOCTYPE:{this.onDoctype(t);break}case qe.START_TAG:{this._processStartTag(t);break}case qe.END_TAG:{this.onEndTag(t);break}case qe.EOF:{this.onEof(t);break}case qe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,o){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return AO(t,i,a,o)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Tr.Marker||this.openElements.contains(i.element)),o=n===-1?t-1:n-1;for(let i=o;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=D.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case p.TR:{this.insertionMode=D.IN_ROW;return}case p.TBODY:case p.THEAD:case p.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case p.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case p.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case p.TABLE:{this.insertionMode=D.IN_TABLE;return}case p.BODY:{this.insertionMode=D.IN_BODY;return}case p.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case p.SELECT:{this._resetInsertionModeForSelect(t);return}case p.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case p.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case p.TD:case p.TH:{if(t>0){this.insertionMode=D.IN_CELL;return}break}case p.HEAD:{if(t>0){this.insertionMode=D.IN_HEAD;return}break}}this.insertionMode=D.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const o=this.openElements.tagIDs[n];if(o===p.TEMPLATE)break;if(o===p.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(t){return Mg.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case p.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===re.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case p.TABLE:{const o=this.treeAdapter.getParentNode(n);return o?{parent:o,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const o=this.treeAdapter.getNamespaceURI(t);return QD[o].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){lB(this,t);return}switch(this.insertionMode){case D.INITIAL:{Bi(this,t);break}case D.BEFORE_HTML:{ta(this,t);break}case D.BEFORE_HEAD:{na(this,t);break}case D.IN_HEAD:{ra(this,t);break}case D.IN_HEAD_NO_SCRIPT:{oa(this,t);break}case D.AFTER_HEAD:{ia(this,t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{Fg(this,t);break}case D.TEXT:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{gc(this,t);break}case D.IN_TABLE_TEXT:{$g(this,t);break}case D.IN_COLUMN_GROUP:{zs(this,t);break}case D.AFTER_BODY:{$s(this,t);break}case D.AFTER_AFTER_BODY:{Ts(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sB(this,t);return}switch(this.insertionMode){case D.INITIAL:{Bi(this,t);break}case D.BEFORE_HTML:{ta(this,t);break}case D.BEFORE_HEAD:{na(this,t);break}case D.IN_HEAD:{ra(this,t);break}case D.IN_HEAD_NO_SCRIPT:{oa(this,t);break}case D.AFTER_HEAD:{ia(this,t);break}case D.TEXT:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{gc(this,t);break}case D.IN_COLUMN_GROUP:{zs(this,t);break}case D.AFTER_BODY:{$s(this,t);break}case D.AFTER_AFTER_BODY:{Ts(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){gu(this,t);return}switch(this.insertionMode){case D.INITIAL:case D.BEFORE_HTML:case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_TEMPLATE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{gu(this,t);break}case D.IN_TABLE_TEXT:{Fi(this,t);break}case D.AFTER_BODY:{HO(this,t);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{jO(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{UO(this,t);break}case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:{this._err(t,G.misplacedDoctype);break}case D.IN_TABLE_TEXT:{Fi(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,G.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?cB(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Bi(this,t);break}case D.BEFORE_HTML:{VO(this,t);break}case D.BEFORE_HEAD:{$O(this,t);break}case D.IN_HEAD:{mr(this,t);break}case D.IN_HEAD_NO_SCRIPT:{GO(this,t);break}case D.AFTER_HEAD:{ZO(this,t);break}case D.IN_BODY:{En(this,t);break}case D.IN_TABLE:{ii(this,t);break}case D.IN_TABLE_TEXT:{Fi(this,t);break}case D.IN_CAPTION:{WM(this,t);break}case D.IN_COLUMN_GROUP:{Ed(this,t);break}case D.IN_TABLE_BODY:{Tl(this,t);break}case D.IN_ROW:{xl(this,t);break}case D.IN_CELL:{YM(this,t);break}case D.IN_SELECT:{Gg(this,t);break}case D.IN_SELECT_IN_TABLE:{XM(this,t);break}case D.IN_TEMPLATE:{QM(this,t);break}case D.AFTER_BODY:{eB(this,t);break}case D.IN_FRAMESET:{tB(this,t);break}case D.AFTER_FRAMESET:{rB(this,t);break}case D.AFTER_AFTER_BODY:{iB(this,t);break}case D.AFTER_AFTER_FRAMESET:{aB(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?uB(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Bi(this,t);break}case D.BEFORE_HTML:{zO(this,t);break}case D.BEFORE_HEAD:{WO(this,t);break}case D.IN_HEAD:{qO(this,t);break}case D.IN_HEAD_NO_SCRIPT:{YO(this,t);break}case D.AFTER_HEAD:{XO(this,t);break}case D.IN_BODY:{El(this,t);break}case D.TEXT:{OM(this,t);break}case D.IN_TABLE:{Ca(this,t);break}case D.IN_TABLE_TEXT:{Fi(this,t);break}case D.IN_CAPTION:{qM(this,t);break}case D.IN_COLUMN_GROUP:{GM(this,t);break}case D.IN_TABLE_BODY:{Iu(this,t);break}case D.IN_ROW:{qg(this,t);break}case D.IN_CELL:{ZM(this,t);break}case D.IN_SELECT:{Yg(this,t);break}case D.IN_SELECT_IN_TABLE:{KM(this,t);break}case D.IN_TEMPLATE:{JM(this,t);break}case D.AFTER_BODY:{Xg(this,t);break}case D.IN_FRAMESET:{nB(this,t);break}case D.AFTER_FRAMESET:{oB(this,t);break}case D.AFTER_AFTER_BODY:{Ts(this,t);break}}}onEof(t){switch(this.insertionMode){case D.INITIAL:{Bi(this,t);break}case D.BEFORE_HTML:{ta(this,t);break}case D.BEFORE_HEAD:{na(this,t);break}case D.IN_HEAD:{ra(this,t);break}case D.IN_HEAD_NO_SCRIPT:{oa(this,t);break}case D.AFTER_HEAD:{ia(this,t);break}case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{Vg(this,t);break}case D.TEXT:{MM(this,t);break}case D.IN_TABLE_TEXT:{Fi(this,t);break}case D.IN_TEMPLATE:{Zg(this,t);break}case D.AFTER_BODY:case D.IN_FRAMESET:case D.AFTER_FRAMESET:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{yd(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===v.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.TEXT:case D.IN_COLUMN_GROUP:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{this._insertCharacters(t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:case D.AFTER_BODY:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Bg(this,t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{gc(this,t);break}case D.IN_TABLE_TEXT:{zg(this,t);break}}}}function RO(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ug(e,t),n}function DO(e,t){let n=null,o=e.openElements.stackTop;for(;o>=0;o--){const i=e.openElements.items[o];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[o])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(o,0)),e.activeFormattingElements.removeEntry(t)),n}function OO(e,t,n){let o=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);const l=e.activeFormattingElements.getElementEntry(s),c=l&&a>=NO;!l||c?(c&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(s)):(s=MO(e,l),o===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(o),e.treeAdapter.appendChild(s,o),o=s)}return o}function MO(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),o=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,o),t.element=o,o}function BO(e,t,n){const o=e.treeAdapter.getTagName(t),i=Si(o);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===p.TEMPLATE&&a===re.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function FO(e,t,n){const o=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,o,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function Sd(e,t){for(let n=0;n<LO;n++){const o=RO(e,t);if(!o)break;const i=DO(e,o);if(!i)break;e.activeFormattingElements.bookmark=o;const a=OO(e,i,o.element),s=e.openElements.getCommonAncestor(o.element);e.treeAdapter.detachNode(a),s&&BO(e,s,a),FO(e,i,o)}}function gu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function HO(e,t){e._appendCommentNode(t,e.openElements.items[0])}function jO(e,t){e._appendCommentNode(t,e.document)}function yd(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let o=e.openElements.stackTop;o>=n;o--)e._setEndLocation(e.openElements.items[o],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const o=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(o);if(i&&!i.endTag&&(e._setEndLocation(o,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&e._setEndLocation(a,t)}}}}function UO(e,t){e._setDocumentType(t);const n=t.forceQuirks?Jn.QUIRKS:IO(t);gO(t)||e._err(t,G.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=D.BEFORE_HTML}function Bi(e,t){e._err(t,G.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Jn.QUIRKS),e.insertionMode=D.BEFORE_HTML,e._processToken(t)}function VO(e,t){t.tagID===p.HTML?(e._insertElement(t,re.HTML),e.insertionMode=D.BEFORE_HEAD):ta(e,t)}function zO(e,t){const n=t.tagID;(n===p.HTML||n===p.HEAD||n===p.BODY||n===p.BR)&&ta(e,t)}function ta(e,t){e._insertFakeRootElement(),e.insertionMode=D.BEFORE_HEAD,e._processToken(t)}function $O(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.HEAD:{e._insertElement(t,re.HTML),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD;break}default:na(e,t)}}function WO(e,t){const n=t.tagID;n===p.HEAD||n===p.BODY||n===p.HTML||n===p.BR?na(e,t):e._err(t,G.endTagWithoutMatchingOpenElement)}function na(e,t){e._insertFakeElement(j.HEAD,p.HEAD),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD,e._processToken(t)}function mr(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.TITLE:{e._switchToTextParsing(t,Mt.RCDATA);break}case p.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Mt.RAWTEXT):(e._insertElement(t,re.HTML),e.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case p.NOFRAMES:case p.STYLE:{e._switchToTextParsing(t,Mt.RAWTEXT);break}case p.SCRIPT:{e._switchToTextParsing(t,Mt.SCRIPT_DATA);break}case p.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=D.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case p.HEAD:{e._err(t,G.misplacedStartTagForHeadElement);break}default:ra(e,t)}}function qO(e,t){switch(t.tagID){case p.HEAD:{e.openElements.pop(),e.insertionMode=D.AFTER_HEAD;break}case p.BODY:case p.BR:case p.HTML:{ra(e,t);break}case p.TEMPLATE:{Bo(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function Bo(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==p.TEMPLATE&&e._err(t,G.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,G.endTagWithoutMatchingOpenElement)}function ra(e,t){e.openElements.pop(),e.insertionMode=D.AFTER_HEAD,e._processToken(t)}function GO(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.BASEFONT:case p.BGSOUND:case p.HEAD:case p.LINK:case p.META:case p.NOFRAMES:case p.STYLE:{mr(e,t);break}case p.NOSCRIPT:{e._err(t,G.nestedNoscriptInHead);break}default:oa(e,t)}}function YO(e,t){switch(t.tagID){case p.NOSCRIPT:{e.openElements.pop(),e.insertionMode=D.IN_HEAD;break}case p.BR:{oa(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function oa(e,t){const n=t.type===qe.EOF?G.openElementsLeftAfterEof:G.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=D.IN_HEAD,e._processToken(t)}function ZO(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.BODY:{e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_BODY;break}case p.FRAMESET:{e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET;break}case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{e._err(t,G.abandonedHeadElementChild),e.openElements.push(e.headElement,p.HEAD),mr(e,t),e.openElements.remove(e.headElement);break}case p.HEAD:{e._err(t,G.misplacedStartTagForHeadElement);break}default:ia(e,t)}}function XO(e,t){switch(t.tagID){case p.BODY:case p.HTML:case p.BR:{ia(e,t);break}case p.TEMPLATE:{Bo(e,t);break}default:e._err(t,G.endTagWithoutMatchingOpenElement)}}function ia(e,t){e._insertFakeElement(j.BODY,p.BODY),e.insertionMode=D.IN_BODY,yl(e,t)}function yl(e,t){switch(t.type){case qe.CHARACTER:{Fg(e,t);break}case qe.WHITESPACE_CHARACTER:{Bg(e,t);break}case qe.COMMENT:{gu(e,t);break}case qe.START_TAG:{En(e,t);break}case qe.END_TAG:{El(e,t);break}case qe.EOF:{Vg(e,t);break}}}function Bg(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Fg(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function KO(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function QO(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function JO(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET)}function eM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function tM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&mu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,re.HTML)}function nM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function rM(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),n||(e.formElement=e.openElements.current))}function oM(e,t){e.framesetOk=!1;const n=t.tagID;for(let o=e.openElements.stackTop;o>=0;o--){const i=e.openElements.tagIDs[o];if(n===p.LI&&i===p.LI||(n===p.DD||n===p.DT)&&(i===p.DD||i===p.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==p.ADDRESS&&i!==p.DIV&&i!==p.P&&e._isSpecialElement(e.openElements.items[o],i))break}e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function iM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.tokenizer.state=Mt.PLAINTEXT}function aM(e,t){e.openElements.hasInScope(p.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1}function sM(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(j.A);n&&(Sd(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function cM(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(p.NOBR)&&(Sd(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function uM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function dM(e,t){e.treeAdapter.getDocumentMode(e.document)!==Jn.QUIRKS&&e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_TABLE}function Hg(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function jg(e){const t=Ag(e,ko.TYPE);return t!=null&&t.toLowerCase()===kO}function hM(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),jg(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function fM(e,t){e._appendElement(t,re.HTML),t.ackSelfClosing=!0}function pM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function mM(e,t){t.tagName=j.IMG,t.tagID=p.IMG,Hg(e,t)}function gM(e,t){e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Mt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=D.TEXT}function IM(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Mt.RAWTEXT)}function CM(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Mt.RAWTEXT)}function Tf(e,t){e._switchToTextParsing(t,Mt.RAWTEXT)}function bM(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===D.IN_TABLE||e.insertionMode===D.IN_CAPTION||e.insertionMode===D.IN_TABLE_BODY||e.insertionMode===D.IN_ROW||e.insertionMode===D.IN_CELL?D.IN_SELECT_IN_TABLE:D.IN_SELECT}function SM(e,t){e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function yM(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,re.HTML)}function EM(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(p.RTC),e._insertElement(t,re.HTML)}function TM(e,t){e._reconstructActiveFormattingElements(),Dg(t),bd(t),t.selfClosing?e._appendElement(t,re.MATHML):e._insertElement(t,re.MATHML),t.ackSelfClosing=!0}function xM(e,t){e._reconstructActiveFormattingElements(),Og(t),bd(t),t.selfClosing?e._appendElement(t,re.SVG):e._insertElement(t,re.SVG),t.ackSelfClosing=!0}function xf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function En(e,t){switch(t.tagID){case p.I:case p.S:case p.B:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.SMALL:case p.STRIKE:case p.STRONG:{lM(e,t);break}case p.A:{sM(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{tM(e,t);break}case p.P:case p.DL:case p.OL:case p.UL:case p.DIV:case p.DIR:case p.NAV:case p.MAIN:case p.MENU:case p.ASIDE:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.DETAILS:case p.ADDRESS:case p.ARTICLE:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{eM(e,t);break}case p.LI:case p.DD:case p.DT:{oM(e,t);break}case p.BR:case p.IMG:case p.WBR:case p.AREA:case p.EMBED:case p.KEYGEN:{Hg(e,t);break}case p.HR:{pM(e,t);break}case p.RB:case p.RTC:{yM(e,t);break}case p.RT:case p.RP:{EM(e,t);break}case p.PRE:case p.LISTING:{nM(e,t);break}case p.XMP:{IM(e,t);break}case p.SVG:{xM(e,t);break}case p.HTML:{KO(e,t);break}case p.BASE:case p.LINK:case p.META:case p.STYLE:case p.TITLE:case p.SCRIPT:case p.BGSOUND:case p.BASEFONT:case p.TEMPLATE:{mr(e,t);break}case p.BODY:{QO(e,t);break}case p.FORM:{rM(e,t);break}case p.NOBR:{cM(e,t);break}case p.MATH:{TM(e,t);break}case p.TABLE:{dM(e,t);break}case p.INPUT:{hM(e,t);break}case p.PARAM:case p.TRACK:case p.SOURCE:{fM(e,t);break}case p.IMAGE:{mM(e,t);break}case p.BUTTON:{aM(e,t);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{uM(e,t);break}case p.IFRAME:{CM(e,t);break}case p.SELECT:{bM(e,t);break}case p.OPTION:case p.OPTGROUP:{SM(e,t);break}case p.NOEMBED:case p.NOFRAMES:{Tf(e,t);break}case p.FRAMESET:{JO(e,t);break}case p.TEXTAREA:{gM(e,t);break}case p.NOSCRIPT:{e.options.scriptingEnabled?Tf(e,t):xf(e,t);break}case p.PLAINTEXT:{iM(e,t);break}case p.COL:case p.TH:case p.TD:case p.TR:case p.HEAD:case p.FRAME:case p.TBODY:case p.TFOOT:case p.THEAD:case p.CAPTION:case p.COLGROUP:break;default:xf(e,t)}}function _M(e,t){if(e.openElements.hasInScope(p.BODY)&&(e.insertionMode=D.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function wM(e,t){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=D.AFTER_BODY,Xg(e,t))}function vM(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function AM(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(p.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(p.FORM):n&&e.openElements.remove(n))}function kM(e){e.openElements.hasInButtonScope(p.P)||e._insertFakeElement(j.P,p.P),e._closePElement()}function LM(e){e.openElements.hasInListItemScope(p.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(p.LI),e.openElements.popUntilTagNamePopped(p.LI))}function NM(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function PM(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function RM(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function DM(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(j.BR,p.BR),e.openElements.pop(),e.framesetOk=!1}function Ug(e,t){const n=t.tagName,o=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],s=e.openElements.tagIDs[i];if(o===s&&(o!==p.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,s))break}}function El(e,t){switch(t.tagID){case p.A:case p.B:case p.I:case p.S:case p.U:case p.EM:case p.TT:case p.BIG:case p.CODE:case p.FONT:case p.NOBR:case p.SMALL:case p.STRIKE:case p.STRONG:{Sd(e,t);break}case p.P:{kM(e);break}case p.DL:case p.UL:case p.OL:case p.DIR:case p.DIV:case p.NAV:case p.PRE:case p.MAIN:case p.MENU:case p.ASIDE:case p.BUTTON:case p.CENTER:case p.FIGURE:case p.FOOTER:case p.HEADER:case p.HGROUP:case p.DIALOG:case p.ADDRESS:case p.ARTICLE:case p.DETAILS:case p.SEARCH:case p.SECTION:case p.SUMMARY:case p.LISTING:case p.FIELDSET:case p.BLOCKQUOTE:case p.FIGCAPTION:{vM(e,t);break}case p.LI:{LM(e);break}case p.DD:case p.DT:{NM(e,t);break}case p.H1:case p.H2:case p.H3:case p.H4:case p.H5:case p.H6:{PM(e);break}case p.BR:{DM(e);break}case p.BODY:{_M(e,t);break}case p.HTML:{wM(e,t);break}case p.FORM:{AM(e);break}case p.APPLET:case p.OBJECT:case p.MARQUEE:{RM(e,t);break}case p.TEMPLATE:{Bo(e,t);break}default:Ug(e,t)}}function Vg(e,t){e.tmplInsertionModeStack.length>0?Zg(e,t):yd(e,t)}function OM(e,t){var n;t.tagID===p.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function MM(e,t){e._err(t,G.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function gc(e,t){if(e.openElements.currentTagId!==void 0&&Mg.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=D.IN_TABLE_TEXT,t.type){case qe.CHARACTER:{$g(e,t);break}case qe.WHITESPACE_CHARACTER:{zg(e,t);break}}else Ma(e,t)}function BM(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CAPTION}function FM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_COLUMN_GROUP}function HM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.COLGROUP,p.COLGROUP),e.insertionMode=D.IN_COLUMN_GROUP,Ed(e,t)}function jM(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_TABLE_BODY}function UM(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.TBODY,p.TBODY),e.insertionMode=D.IN_TABLE_BODY,Tl(e,t)}function VM(e,t){e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function zM(e,t){jg(t)?e._appendElement(t,re.HTML):Ma(e,t),t.ackSelfClosing=!0}function $M(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,re.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ii(e,t){switch(t.tagID){case p.TD:case p.TH:case p.TR:{UM(e,t);break}case p.STYLE:case p.SCRIPT:case p.TEMPLATE:{mr(e,t);break}case p.COL:{HM(e,t);break}case p.FORM:{$M(e,t);break}case p.TABLE:{VM(e,t);break}case p.TBODY:case p.TFOOT:case p.THEAD:{jM(e,t);break}case p.INPUT:{zM(e,t);break}case p.CAPTION:{BM(e,t);break}case p.COLGROUP:{FM(e,t);break}default:Ma(e,t)}}function Ca(e,t){switch(t.tagID){case p.TABLE:{e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode());break}case p.TEMPLATE:{Bo(e,t);break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:Ma(e,t)}}function Ma(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,yl(e,t),e.fosterParentingEnabled=n}function zg(e,t){e.pendingCharacterTokens.push(t)}function $g(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Fi(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ma(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Wg=new Set([p.CAPTION,p.COL,p.COLGROUP,p.TBODY,p.TD,p.TFOOT,p.TH,p.THEAD,p.TR]);function WM(e,t){const n=t.tagID;Wg.has(n)?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,ii(e,t)):En(e,t)}function qM(e,t){const n=t.tagID;switch(n){case p.CAPTION:case p.TABLE:{e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,n===p.TABLE&&Ca(e,t));break}case p.BODY:case p.COL:case p.COLGROUP:case p.HTML:case p.TBODY:case p.TD:case p.TFOOT:case p.TH:case p.THEAD:case p.TR:break;default:El(e,t)}}function Ed(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.COL:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.TEMPLATE:{mr(e,t);break}default:zs(e,t)}}function GM(e,t){switch(t.tagID){case p.COLGROUP:{e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case p.TEMPLATE:{Bo(e,t);break}case p.COL:break;default:zs(e,t)}}function zs(e,t){e.openElements.currentTagId===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE,e._processToken(t))}function Tl(e,t){switch(t.tagID){case p.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_ROW;break}case p.TH:case p.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(j.TR,p.TR),e.insertionMode=D.IN_ROW,xl(e,t);break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ii(e,t));break}default:ii(e,t)}}function Iu(e,t){const n=t.tagID;switch(t.tagID){case p.TBODY:case p.TFOOT:case p.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case p.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,Ca(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:case p.TR:break;default:Ca(e,t)}}function xl(e,t){switch(t.tagID){case p.TH:case p.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CELL,e.activeFormattingElements.insertMarker();break}case p.CAPTION:case p.COL:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Tl(e,t));break}default:ii(e,t)}}function qg(e,t){switch(t.tagID){case p.TR:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY);break}case p.TABLE:{e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Iu(e,t));break}case p.TBODY:case p.TFOOT:case p.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(p.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Iu(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:case p.TD:case p.TH:break;default:Ca(e,t)}}function YM(e,t){const n=t.tagID;Wg.has(n)?(e.openElements.hasInTableScope(p.TD)||e.openElements.hasInTableScope(p.TH))&&(e._closeTableCell(),xl(e,t)):En(e,t)}function ZM(e,t){const n=t.tagID;switch(n){case p.TD:case p.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_ROW);break}case p.TABLE:case p.TBODY:case p.TFOOT:case p.THEAD:case p.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),qg(e,t));break}case p.BODY:case p.CAPTION:case p.COL:case p.COLGROUP:case p.HTML:break;default:El(e,t)}}function Gg(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case p.OPTGROUP:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case p.HR:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop(),e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.INPUT:case p.KEYGEN:case p.TEXTAREA:case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),t.tagID!==p.SELECT&&e._processStartTag(t));break}case p.SCRIPT:case p.TEMPLATE:{mr(e,t);break}}}function Yg(e,t){switch(t.tagID){case p.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===p.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===p.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===p.OPTGROUP&&e.openElements.pop();break}case p.OPTION:{e.openElements.currentTagId===p.OPTION&&e.openElements.pop();break}case p.SELECT:{e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode());break}case p.TEMPLATE:{Bo(e,t);break}}}function XM(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Gg(e,t)}function KM(e,t){const n=t.tagID;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Yg(e,t)}function QM(e,t){switch(t.tagID){case p.BASE:case p.BASEFONT:case p.BGSOUND:case p.LINK:case p.META:case p.NOFRAMES:case p.SCRIPT:case p.STYLE:case p.TEMPLATE:case p.TITLE:{mr(e,t);break}case p.CAPTION:case p.COLGROUP:case p.TBODY:case p.TFOOT:case p.THEAD:{e.tmplInsertionModeStack[0]=D.IN_TABLE,e.insertionMode=D.IN_TABLE,ii(e,t);break}case p.COL:{e.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,e.insertionMode=D.IN_COLUMN_GROUP,Ed(e,t);break}case p.TR:{e.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,e.insertionMode=D.IN_TABLE_BODY,Tl(e,t);break}case p.TD:case p.TH:{e.tmplInsertionModeStack[0]=D.IN_ROW,e.insertionMode=D.IN_ROW,xl(e,t);break}default:e.tmplInsertionModeStack[0]=D.IN_BODY,e.insertionMode=D.IN_BODY,En(e,t)}}function JM(e,t){t.tagID===p.TEMPLATE&&Bo(e,t)}function Zg(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):yd(e,t)}function eB(e,t){t.tagID===p.HTML?En(e,t):$s(e,t)}function Xg(e,t){var n;if(t.tagID===p.HTML){if(e.fragmentContext||(e.insertionMode=D.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===p.HTML){e._setEndLocation(e.openElements.items[0],t);const o=e.openElements.items[1];o&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(o))===null||n===void 0)&&n.endTag)&&e._setEndLocation(o,t)}}else $s(e,t)}function $s(e,t){e.insertionMode=D.IN_BODY,yl(e,t)}function tB(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.FRAMESET:{e._insertElement(t,re.HTML);break}case p.FRAME:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case p.NOFRAMES:{mr(e,t);break}}}function nB(e,t){t.tagID===p.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==p.FRAMESET&&(e.insertionMode=D.AFTER_FRAMESET))}function rB(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.NOFRAMES:{mr(e,t);break}}}function oB(e,t){t.tagID===p.HTML&&(e.insertionMode=D.AFTER_AFTER_FRAMESET)}function iB(e,t){t.tagID===p.HTML?En(e,t):Ts(e,t)}function Ts(e,t){e.insertionMode=D.IN_BODY,yl(e,t)}function aB(e,t){switch(t.tagID){case p.HTML:{En(e,t);break}case p.NOFRAMES:{mr(e,t);break}}}function sB(e,t){t.chars=bt,e._insertCharacters(t)}function lB(e,t){e._insertCharacters(t),e.framesetOk=!1}function Kg(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==re.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function cB(e,t){if(xO(t))Kg(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),o=e.treeAdapter.getNamespaceURI(n);o===re.MATHML?Dg(t):o===re.SVG&&(_O(t),Og(t)),bd(t),t.selfClosing?e._appendElement(t,o):e._insertElement(t,o),t.ackSelfClosing=!0}}function uB(e,t){if(t.tagID===p.P||t.tagID===p.BR){Kg(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const o=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(o)===re.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(o);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}j.AREA,j.BASE,j.BASEFONT,j.BGSOUND,j.BR,j.COL,j.EMBED,j.FRAME,j.HR,j.IMG,j.INPUT,j.KEYGEN,j.LINK,j.META,j.PARAM,j.SOURCE,j.TRACK,j.WBR;const dB=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,hB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),_f={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Qg(e,t){const n=EB(e),o=Wm("type",{handlers:{root:fB,element:pB,text:mB,comment:e2,doctype:gB,raw:CB},unknown:bB}),i={parser:n?new Ef(_f):Ef.getFragmentParser(void 0,_f),handle(l){o(l,i)},stitches:!1,options:t||{}};o(e,i),yi(i,Ar());const a=n?i.parser.document:i.parser.getFragment(),s=fD(a,{file:i.options.file});return i.stitches&&Sl(s,"comment",function(l,c,u){const h=l;if(h.value.stitch&&u&&c!==void 0){const f=u.children;return f[c]=h.value.stitch,c}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function Jg(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function fB(e,t){Jg(e.children,t)}function pB(e,t){SB(e,t),Jg(e.children,t),yB(e,t)}function mB(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:qe.CHARACTER,chars:e.value,location:Ba(e)};yi(t,Ar(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function gB(e,t){const n={type:qe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ba(e)};yi(t,Ar(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function IB(e,t){t.stitches=!0;const n=TB(e);if("children"in e&&"children"in n){const o=Qg({type:"root",children:e.children},t.options);n.children=o.children}e2({type:"comment",value:{stitch:n}},t)}function e2(e,t){const n=e.value,o={type:qe.COMMENT,data:n,location:Ba(e)};yi(t,Ar(e)),t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken)}function CB(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,t2(t,Ar(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(dB,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function bB(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))IB(n,t);else{let o="";throw hB.has(n.type)&&(o=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+o)}}function yi(e,t){t2(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Mt.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function t2(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function SB(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Mt.PLAINTEXT)return;yi(t,Ar(e));const o=t.parser.openElements.current;let i="namespaceURI"in o?o.namespaceURI:wo.html;i===wo.html&&n==="svg"&&(i=wo.svg);const a=AD({...e,children:[]},{space:i===wo.svg?"svg":"html"}),s={type:qe.START_TAG,tagName:n,tagID:Si(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Ba(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function yB(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&MD.includes(n)||t.parser.tokenizer.state===Mt.PLAINTEXT)return;yi(t,pl(e));const o={type:qe.END_TAG,tagName:n,tagID:Si(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ba(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Mt.RCDATA||t.parser.tokenizer.state===Mt.RAWTEXT||t.parser.tokenizer.state===Mt.SCRIPT_DATA)&&(t.parser.tokenizer.state=Mt.DATA)}function EB(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Ba(e){const t=Ar(e)||{line:void 0,column:void 0,offset:void 0},n=pl(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function TB(e){return"children"in e?oi({...e,children:[]}):oi(e)}function n2(e){return function(t,n){return Qg(t,{...e,file:n})}}var xB=/[ \u0020\t\n]*$/,_B=["*","_","~","`"],wB=/(\*|_|~|\\|`)/g,Jr={},Ic=0,Dr={"unordered-list-item":{open:function(){return"- "},close:function(){return""}},"ordered-list-item":{open:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return"".concat(n,". ")},close:function(){return""}},blockquote:{open:function(){return"> "},close:function(){return""}},"header-one":{open:function(){return"# "},close:function(){return""}},"header-two":{open:function(){return"## "},close:function(){return""}},"header-three":{open:function(){return"### "},close:function(){return""}},"header-four":{open:function(){return"#### "},close:function(){return""}},"header-five":{open:function(){return"##### "},close:function(){return""}},"header-six":{open:function(){return"###### "},close:function(){return""}},"code-block":{open:function(t){return"```"+(t.data.language||"")+`
|
|
154
154
|
`},close:function(){return"\n```"}},BOLD:{open:function(){return"**"},close:function(){return"**"}},ITALIC:{open:function(){return"_"},close:function(){return"_"}},STRIKETHROUGH:{open:function(){return"~~"},close:function(){return"~~"}},CODE:{open:function(){return"`"},close:function(){return"`"}}},ss={LINK:{open:function(t){return"["},close:function(t){return"](".concat(t.data.url||t.data.href,")")}}},ls=["unordered-list-item","ordered-list-item"];function vB(e){return e.text.length===0&&e.entityRanges.length===0&&Object.keys(e.data||{}).length===0}function AB(e,t,n,o){var i=[],a="",s=o.styleItems||{},l=o.entityItems||{},c=o.hasOwnProperty("escapeMarkdownCharacters")?o.escapeMarkdownCharacters:!0,u=e.type,h=[];vB(e)&&!o.preserveNewlines&&(u="unstyled"),s[u]||Dr[u]?((u==="unordered-list-item"||u==="ordered-list-item")&&(a+=" ".repeat(e.depth*4)),u==="ordered-list-item"?(Jr[e.depth]=Jr[e.depth]||1,a+=(s[u]||Dr[u]).open(e,Jr[e.depth]),Jr[e.depth]++,Ic>e.depth&&(Jr[Ic]=1),Ic=e.depth):(Jr={},a+=(s[u]||Dr[u]).open(e))):Jr={};var f=[];function g(b){if(f.push(b),b.style){if(s[b.style]||Dr[b.style]){var S=(s[b.style]||Dr[b.style]).open();i.push({type:"style",style:b,value:S})}}else{var y=n.entityMap[b.key];if(l[y.type]||ss[y.type]){var T=(l[y.type]||ss[y.type]).open(y,e);i.push({type:"entity",value:T})}}}function m(b){var S=f.pop();if(b!==S)throw new Error("Invariant violation: Cannot close a tag before all inner tags have been closed");if(b.style){if(s[b.style]||Dr[b.style]){var y=xB.exec(a);a=a.slice(0,a.length-y[0].length),a+=(s[b.style]||Dr[b.style]).close(),a+=y[0]}}else{var T=n.entityMap[b.key];(l[T.type]||ss[T.type])&&(a+=(l[T.type]||ss[T.type]).close(T,e))}}var C=function(S,y){return y.offset+y.length-(S.offset+S.length)},I=function(S){return S.concat().reverse()};return Array.from(e.text).some(function(b,S){I(f).forEach(function(w){if(w.offset+w.length===S){var V=f.slice(f.indexOf(w)+1);I(V).forEach(m),m(w),V.sort(C).forEach(g)}});var y=e.inlineStyleRanges.filter(function(w){return w.offset===S}),T=e.entityRanges.filter(function(w){return w.offset===S});if(y.concat(T).sort(C).forEach(g),b!==" "&&i.length&&(a+=i.map(function(w){return w.value}).join(""),i=[]),e.type!=="code-block"&&c){var k=f.find(function(w){return w.style==="CODE"});if(!k){if(S===0&&b==="#"&&e.text[1]&&e.text[1]===" "?b=b.replace("#","\\#"):S===0&&b===">"&&(b=b.replace(">","\\>")),_B.includes(b)){var A=h.find(function(w){return w.character===b});if(!A&&e.text[S-1]===" "&&e.text[S+1]!==" ")h.push({character:b,index:S,markdownStringIndexStart:a.length+b.length-1,markdownStringIndexEnd:a.length+b.length});else if(A&&e.text[S-1]===b&&S===A.index+1)A.markdownStringIndexEnd+=1;else if(A){var P=A.markdownStringIndexEnd-A.markdownStringIndexStart,E=!1,M=!1;if(P===1&&(e.text[S+1]===" "||!e.text[S+1])&&(M=!0,E=!0),P===2&&e.text[S+1]===b&&(E=!0),P===2&&e.text[S-1]===b&&(e.text[S+1]===" "||!e.text[S+1])&&(M=!0,E=!0),M){h.splice(h.indexOf(A),1);var B=a.slice(A.markdownStringIndexStart,A.markdownStringIndexEnd);B=B.replace(wB,"\\$1"),a=a.slice(0,A.markdownStringIndexStart)+B+a.slice(A.markdownStringIndexEnd)}E&&(b="\\".concat(b))}}}}b===`
|
|
155
155
|
`&&u==="blockquote"?a+=`
|
|
156
156
|
> `:a+=b}),I(f).forEach(m),(s[u]||Dr[u])&&(a+=(s[u]||Dr[u]).close(e)),ls.indexOf(u)!==-1&&n.blocks[t+1]&&ls.indexOf(n.blocks[t+1].type)!==-1?a+=`
|
|
@@ -160,5 +160,5 @@ Valid keys: `+JSON.stringify(Object.keys(x),null," "));var Q=Ue(Ie,ce,Z,le,ee+"
|
|
|
160
160
|
`:a+=`
|
|
161
161
|
|
|
162
162
|
`:o.preserveNewlines&&(a+=`
|
|
163
|
-
`)),a}function kB(e,t){t=t||{};var n="";return e.blocks.forEach(function(o,i){n+=AB(o,i,e,t)}),Jr={},n}var r2=[];for(var wf=0;wf<256;wf++)r2.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){r2[e.charCodeAt(0)]=1});function _l(e,t){return e=e.source,t=t||"",function n(o,i){return o?(i=i.source||i,e=e.replace(o,i),n):new RegExp(e,t)}}var LB=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,NB=/[^"'=<>`\x00-\x20]+/,PB=/'[^']*'/,RB=/"[^"]*"/,DB=_l(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",NB)("single_quoted",PB)("double_quoted",RB)(),OB=_l(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",LB)("attr_value",DB)(),MB=_l(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",OB)(),BB=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,FB=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,HB=/<[?].*?[?]>/,jB=/<![A-Z]+\s+[^>]*>/,UB=/<!\[CDATA\[[\s\S]*?\]\]>/;_l(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",MB)("close_tag",BB)("comment",FB)("processing",HB)("declaration",jB)("cdata",UB)();const o2=e=>{try{const t=JSON.parse(e);return kB(t,{styleItems:{UNDERLINE:{open:()=>"<u>",close:()=>"</u>"}}})}catch{return e}},i2=()=>{const{shopTerms:e}=uo(),{isAntistock:t}=mt();return!(e!=null&&e.showTermsOfServiceOnProduct)||!(e!=null&&e.termsOfService)?null:d.jsxs("div",{className:
|
|
164
|
-
`):t.deliveryItems[0].textData,l=()=>{i(!1),a?e(!1):setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{className:ge(en.modal,{[en.modalAntistock]:a}),onClick:c=>c.stopPropagation(),children:[d.jsxs("div",{className:en.header,children:[d.jsx("h3",{id:"h3",className:en.title,children:a?"View Content":"Thank you for the purchase!"}),d.jsx(ie,{name:"X",hoverable:!0,onClick:l,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:en.bottomSheet,children:[d.jsx("div",{className:en.content,children:o?d.jsx("div",{className:en.discordMessage,children:d.jsx("p",{className:en.discordMessageTitle,id:"md",children:"Discord role has been granted"})}):d.jsxs("div",{children:[d.jsxs("div",{className:en.section,children:[!a&&d.jsx("p",{className:en.contentTitle,id:"md",children:"Content"}),!a&&d.jsxs(_t,{className:en.copyButton,type:"Secondary",onClick:()=>n(s),children:[d.jsx(ie,{name:"Copy"}),"Copy to Clipboard"]})]}),d.jsx("div",{className:ge(en.scrollableBox,{[en.scrollableBoxAntistock]:a}),children:d.jsx("p",{className:en.contentText,id:"md",children:d.jsx(hd,{remarkPlugins:[dg],rehypePlugins:[n2],components:{a:({node:c,...u})=>d.jsx("a",{...u,target:"_blank",rel:"noopener noreferrer",className:en.link})},children:s})})})]})}),a&&d.jsxs(_t,{className:en.copyButtonAntistock,type:"Secondary",onClick:()=>n(s),children:[d.jsx(ie,{name:"Copy"}),"Copy to Clipboard"]}),!a&&d.jsx("div",{className:en.buttonGroup,children:d.jsx("div",{className:en.buttonWrapper,children:d.jsx(_t,{type:"Secondary",onClick:l,children:"Close"})})})]})]})},cF="_chargeStatusBlock_12swd_4",uF="_isAntistock_12swd_13",dF="_chargeStatusIcon_12swd_19",hF="_chargeStatusTitle_12swd_27",fF="_chargeStatusDescription_12swd_33",pF="_pickUpButton_12swd_39",mF="_actionButtons_12swd_49",gF="_actionButton_12swd_49",jn={chargeStatusBlock:cF,isAntistock:uF,chargeStatusIcon:dF,chargeStatusTitle:hF,chargeStatusDescription:fF,pickUpButton:pF,actionButtons:mF,actionButton:gF},qi={[it.Paid]:"Payment Successful",[it.Pending]:"Payment Pending",[it.Expired]:"Payment Expired",[it.Cancelled]:"Payment Cancelled",[it.NotPaid]:"Payment Failed"},IF={[it.Paid]:"Your payment has successfully been processed. Tap on the button below to be redirected back to our website.",[it.Pending]:"Your payment is currently pending. We recommend checking back shortly for confirmation.",[it.Expired]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[it.Cancelled]:"You canceled the warrant. If there are any problems, please contact support",[it.NotPaid]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below."},CF={[it.Paid]:d.jsx("div",{className:`${jn.chargeStatusIcon}`,children:d.jsx(ie,{name:"Check",fill:"var(--text-success)"})}),[it.Pending]:d.jsx("div",{className:jn.chargeStatusIcon,children:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"})}),[it.Expired]:d.jsx("div",{className:jn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[it.Cancelled]:d.jsx("div",{className:jn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[it.NotPaid]:d.jsx("div",{className:jn.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})})},bF=({charge:e})=>{const t=e.status,n=Vr(),{shopDomain:o}=uo(),{isAntistock:i}=mt(),a=_.useRef(),[s,l]=qf(),c=()=>{var h,f;if(!((h=e.order)!=null&&h.id))return;const u=s.get("redirectRoute");if((e==null?void 0:e.status)===it.Paid&&e.redirectUrl&&!a.current){const m=JSON.parse(localStorage.getItem("orders")||"{}")[((f=e==null?void 0:e.order)==null?void 0:f.id)||""];m?window.open(m.fullAccessToken?`${e.redirectUrl}/${m.fullAccessToken}`:`${e.redirectUrl}`,"_self"):window.open(e.redirectUrl,"_self")}(e==null?void 0:e.status)===it.Paid&&a.current&&n(a.current,{replace:!0}),u&&a&&(a.current=u,s.delete("redirectRoute"),l(s))};return d.jsxs("div",{className:ge(jn.chargeStatusBlock,{[jn.isAntistock]:i}),children:[CF[t],d.jsx("h2",{className:jn.chargeStatusTitle,children:qi[t]}),d.jsx("p",{className:jn.chargeStatusDescription,children:IF[t]}),t===it.Paid?d.jsx("div",{className:jn.pickUpButton,style:i?{justifyContent:"flex-start"}:void 0,children:d.jsxs(_t,{onClick:c,style:{width:"100%",maxWidth:"250px",display:"flex",alignItems:"center",gap:"5px"},type:"Secondary",children:[d.jsx(ie,{name:"ArrowLineUpRight"}),i?"View Order":"Pick up Order"]})}):d.jsxs("div",{className:jn.actionButtons,children:[d.jsx("div",{className:jn.actionButton,children:d.jsxs(_t,{type:"Secondary",onClick:()=>window.open(`https://${o}`),style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:jn.actionButton,children:d.jsxs(_t,{type:"Secondary",style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},onClick:()=>{i?window.open(`https://${o}/support`):n("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},SF="_trackPaymentContainer_fk3b6_1",yF="_trackPaymentBox_fk3b6_5",EF="_trackPaymentBoxActive_fk3b6_18",TF="_trackPaymentHeader_fk3b6_23",xF="_trackPaymentTitle_fk3b6_27",_F="_trackPaymentTimeline_fk3b6_33",wF="_trackPaymentItem_fk3b6_42",vF="_itemHeader_fk3b6_48",AF="_itemDate_fk3b6_55",kF="_itemMessage_fk3b6_59",LF="_trackPaymentToggle_fk3b6_64",NF="_trackPaymentToggleContent_fk3b6_75",PF="_trackPaymentToggleText_fk3b6_81",RF="_antistock_fk3b6_88",_n={trackPaymentContainer:SF,trackPaymentBox:yF,trackPaymentBoxActive:EF,trackPaymentHeader:TF,trackPaymentTitle:xF,trackPaymentTimeline:_F,trackPaymentItem:wF,itemHeader:vF,itemDate:AF,itemMessage:kF,trackPaymentToggle:LF,trackPaymentToggleContent:NF,trackPaymentToggleText:PF,antistock:RF},vf=(e,t)=>{const n=e.getDate().toString().padStart(2,"0"),o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getFullYear(),a=e.getHours(),s=e.getMinutes().toString().padStart(2,"0"),l=e.getSeconds().toString().padStart(2,"0"),c=a>=12?"PM":"AM",u=(a%12||12).toString().padStart(2,"0");return t==="dd.MM.yyyy"?`${n}.${o}.${i}`:t==="hh:mm:ss aa"?`${u}:${s}:${l} ${c}`:""},DF={[it.Paid]:{displayName:qi[it.Paid],displayMessage:"The invoice has been completed and the product has been delivered.",type:"success"},[it.Pending]:{displayName:qi[it.Pending],displayMessage:"The invoice has been created and we are now waiting to receive the payment.",type:"warning"},[it.Expired]:{displayName:qi[it.Expired],displayMessage:"Your payment has expired due to the payment not being sent in time.",type:"error"},[it.Cancelled]:{displayName:qi[it.Cancelled],displayMessage:"The order has been canceled. The payment was not sent within the time limit.",type:"error"},[it.NotPaid]:{displayName:"New",displayMessage:"The charge has been created and is awaiting payment.",type:"success"}},OF=({date:e,chargeStatus:t})=>d.jsxs("div",{className:_n.trackPaymentItem,children:[d.jsxs("div",{className:_n.itemHeader,children:[d.jsx("p",{className:_n.itemDate,id:"md-bold",children:vf(new Date(e),"dd.MM.yyyy")}),d.jsx("p",{className:_n.itemTime,id:"md",children:vf(new Date(e),"hh:mm:ss aa")})]}),d.jsx("p",{className:_n.itemMessage,id:"md",children:DF[t].displayMessage})]}),MF=({timeline:e,className:t})=>{const[n,o]=_.useState(!1),{isAntistock:i}=mt();return d.jsxs("div",{className:ge(_n.trackPaymentContainer,t,{[_n.antistock]:i}),children:[d.jsxs("div",{className:`${_n.trackPaymentBox} ${n?_n.trackPaymentBoxActive:""}`,style:i?{border:"1px solid var(--border-secondary)"}:void 0,children:[d.jsx("header",{className:_n.trackPaymentHeader,children:d.jsx("h2",{className:_n.trackPaymentTitle,id:"h4",children:"Track Payment"})}),d.jsx("div",{className:_n.trackPaymentTimeline,children:Object.keys(e).map(a=>d.jsx(OF,{date:e[a],chargeStatus:a},a))})]}),d.jsxs("div",{className:_n.trackPaymentToggle,onClick:()=>o(!n),style:i?{padding:"1.25rem",border:"1px solid var(--border-secondary)",borderRadius:"var(--border-radius)"}:void 0,children:[d.jsxs("div",{className:_n.trackPaymentToggleContent,children:[i?null:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)"}),d.jsx("p",{className:_n.trackPaymentToggleText,id:"h5",children:"Track Payment"})]}),d.jsx(ie,{name:"CaretRight",fill:"var(--text-primary)",width:16,height:16})]})]})},BF="_wrapper_it2rc_1",FF="_dateTime_it2rc_15",HF="_date_it2rc_15",jF="_tableItem_it2rc_29",UF="_status_it2rc_33",VF="_statusInProgress_it2rc_42",zF="_statusText_it2rc_46",$F="_statusIcon_it2rc_50",WF="_statusInProgressText_it2rc_54",qF="_statusInProgressIcon_it2rc_58",gn={wrapper:BF,dateTime:FF,date:HF,tableItem:jF,status:UF,statusInProgress:VF,statusText:zF,statusIcon:$F,statusInProgressText:WF,statusInProgressIcon:qF},GF=({item:e})=>{const[t,n]=ca(e.createdAt),i=(s=>s.length>30?s.slice(0,27)+"...":s)(e.latestMessage),a=Vr();return d.jsxs("div",{className:gn.wrapper,onClick:()=>a(`/ticket/${e.id}/${e.accessToken}`),children:[d.jsx(un,{className:gn.tableItem,children:d.jsx("div",{className:gn.ticketId,children:d.jsxs("span",{id:"md",children:["#",e.id]})})}),d.jsx(un,{className:ge(gn.message,gn.tableItem),children:i}),d.jsx(un,{className:gn.tableItem,children:d.jsxs("div",{className:gn.date,children:[d.jsx("div",{id:"md",children:t}),d.jsx("div",{className:gn.dateTime,id:"md",children:n})]})}),d.jsx(un,{className:gn.tableItem,children:d.jsx(YF,{status:e.status})})]},e.id)},YF=({status:e})=>d.jsxs("div",{className:ge(gn.status,{[gn.statusClosed]:e==="CLOSED",[gn.statusInProgress]:e!=="CLOSED"}),children:[d.jsx("div",{className:ge(gn.statusIcon,{[gn.statusInProgressIcon]:e!=="CLOSED"}),children:e==="CLOSED"?d.jsx(ie,{name:"CheckCircle"}):d.jsx(ie,{name:"Clock"})}),d.jsx("div",{className:ge(gn.statusText,{[gn.statusInProgressText]:e!=="CLOSED"}),id:"md",children:e==="CLOSED"?"Closed":"In Progress"})]}),ZF="_tableContainer_1eytq_1",XF="_table_1eytq_1",KF="_productInfo_1eytq_19",QF="_productImage_1eytq_26",JF="_productName_1eytq_35",eH="_expirationDate_1eytq_46",tH="_overflowItem_1eytq_51",nH="_gatewayContainer_1eytq_57",rH="_gatewayImage_1eytq_62",oH="_dateTime_1eytq_67",iH="_tableLoader_1eytq_72",aH="_tableItem_1eytq_81",ln={tableContainer:ZF,table:XF,productInfo:KF,productImage:QF,productName:JF,expirationDate:eH,overflowItem:tH,gatewayContainer:nH,gatewayImage:rH,dateTime:oH,tableLoader:iH,tableItem:aH},sH="_badge_1oac8_1",lH="_active_1oac8_12",cH="_awaitingPayment_1oac8_17",uH="_cancelled_1oac8_22",dH="_changedGateway_1oac8_27",hH="_expired_1oac8_32",fH="_rial_1oac8_37",pH="_pastDue_1oac8_42",mH="_replaced_1oac8_47",Mr={badge:sH,active:lH,awaitingPayment:cH,cancelled:uH,changedGateway:dH,expired:hH,rial:fH,pastDue:pH,replaced:mH},gH={[Or.ACTIVE]:{icon:d.jsx(ie,{name:"CheckCircle"}),title:"Active",className:Mr.active},[Or.AWAITING_PAYMENT]:{icon:d.jsx(ie,{name:"Clock"}),title:"Awaiting Payment",className:Mr.awaitingPayment},[Or.CANCELLED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Cancelled",className:Mr.cancelled},[Or.CHANGED_GATEWAY]:{icon:d.jsx(ie,{name:"Warning"}),title:"Upgraded",className:Mr.changedGateway},[Or.EXPIRED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Expired",className:Mr.expired},[Or.RIAL]:{icon:d.jsx(ie,{name:"Clock"}),title:"Active",className:Mr.rial},[Or.PAST_DUE]:{icon:d.jsx(ie,{name:"Clock"}),title:"Trial",className:Mr.pastDue},[Or.REPLACED]:{icon:d.jsx(ie,{name:"Warning"}),title:"Replaced",className:Mr.replaced}},s2=({status:e})=>{const t=gH[e];return d.jsxs("div",{className:`${Mr.badge} ${t.className}`,children:[t.icon,d.jsx("p",{id:"md",children:t.title})]})},IH=(e,t)=>{const n=t.find(o=>o.name===e);return n?d.jsxs("div",{className:ln.gatewayContainer,children:[d.jsx("img",{alt:n.displayName,src:er(n.logoCfImageId),className:ln.gatewayImage}),d.jsx("div",{children:n.displayName})]}):null},CH=({item:e,gatewaysDetail:t})=>{const[n,o]=ca(e.createdAt),[i]=ca(e.activeTo||""),a=ll();return d.jsxs(_.Fragment,{children:[d.jsx(un,{children:d.jsxs("div",{className:ln.productInfo,children:[d.jsx("div",{className:ln.productImage,children:d.jsx(ie,{name:"Image",width:20,height:20,fill:"var(--text-secondary)"})}),d.jsxs("div",{children:[d.jsx(As,{to:`/subscriptions/${e.id}/${e.accessToken}`,className:ln.productName,id:"md",children:e.productName}),d.jsx("p",{className:ln.expirationDate,children:e.activeTo&&`expires at ${i}`})]})]})}),d.jsx(un,{className:ln.overflowItem,onClick:()=>a(e.id),children:e.id}),d.jsx(un,{children:d.jsx(s2,{status:e.status})}),d.jsx(un,{children:Pn(e.price)}),d.jsx(un,{children:IH(e.gatewayName,t)}),d.jsx(un,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:ln.dateTime,id:"md",children:o})]})})]},e.id)},bH=({subscriptions:e,gatewaysDetail:t,totalCount:n,page:o,setPage:i})=>{const s=!(!(e!=null&&e.length)||!t);return d.jsxs("div",{className:ln.tableContainer,children:[d.jsxs(Qu,{className:ln.table,children:[d.jsx(Cn,{className:ln.tableItem,children:"Product name"}),d.jsx(Cn,{className:ln.tableItem,children:"ID"}),d.jsx(Cn,{className:ln.tableItem,children:"Status"}),d.jsx(Cn,{className:ln.tableItem,children:"Value"}),d.jsx(Cn,{className:ln.tableItem,children:"Payment"}),d.jsx(Cn,{className:ln.tableItem,children:"Date"}),s&&(e==null?void 0:e.map(l=>d.jsx(CH,{item:l,gatewaysDetail:t},l.id)))]}),!s&&d.jsx("div",{className:ln.tableLoader,children:d.jsx(qn,{})}),s&&d.jsx(hl,{currentPage:o,totalCount:n,onPageChange:i})]})},SH="_orderStatusBlock_2wo4y_2",yH="_orderStatusBlockAntistock_2wo4y_11",EH="_iconWrapper_2wo4y_16",TH="_orderStatusTitle_2wo4y_26",xH="_orderStatusDescription_2wo4y_31",_H="_actionButtons_2wo4y_36",wH="_actionButton_2wo4y_36",vH="_button_2wo4y_47",Sr={orderStatusBlock:SH,orderStatusBlockAntistock:yH,iconWrapper:EH,orderStatusTitle:TH,orderStatusDescription:xH,actionButtons:_H,actionButton:wH,button:vH},AH={[Ge.New]:"New",[Ge.Pending]:"Order Pending",[Ge.Expired]:"Order Expired",[Ge.Cancelled]:"Order Canceled",[Ge.Failed]:"Order Failed",[Ge.FullDeliveryFailure]:"Delivery Failure",[Ge.PartiallyDelivered]:"Partial Delivery Failure",[Ge.Refunded]:"Order Refunded",[Ge.Completed]:"Order Completed"},kH={[Ge.New]:"Your order has been created and is awaiting payment.",[Ge.Pending]:"Your order is currently pending. We recommend checking back shortly for confirmation.",[Ge.Expired]:"Your order has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Ge.Cancelled]:"You canceled the warrant. If there are any problems, please contact support.",[Ge.Failed]:"Your order could not be processed due to a payment or system error. Please try again or contact support.",[Ge.FullDeliveryFailure]:"Your payment was successful but the product is currently out of stock. Please contact us below to get this sorted.",[Ge.PartiallyDelivered]:"Your payment was successful but some products were out of stock. Please contact us below to get this sorted.",[Ge.Refunded]:"Your order was refunded. Please check your payment method for confirmation.",[Ge.Completed]:"Your order has successfully been processed. View your products below or check your email for additional information."},LH={[Ge.Completed]:d.jsx(ie,{name:"Check",fill:"var(--text-success)"}),[Ge.Pending]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ge.New]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ge.Expired]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ge.Cancelled]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ge.Failed]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ge.FullDeliveryFailure]:d.jsx(ie,{name:"Warning",fill:"var(--text-warning)"}),[Ge.PartiallyDelivered]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"}),[Ge.Refunded]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"})},NH=({orderStatus:e,className:t})=>{const{shopDomain:n}=uo(),{isAntistock:o}=mt(),i=Vr();return d.jsxs("div",{className:ge(Sr.orderStatusBlock,t,{[Sr.orderStatusBlockAntistock]:o}),children:[d.jsx("div",{className:Sr.iconWrapper,style:o?{background:"none"}:void 0,children:LH[e]}),d.jsx("h2",{className:Sr.orderStatusTitle,children:AH[e]}),d.jsx("p",{className:Sr.orderStatusDescription,children:kH[e]}),d.jsxs("div",{className:Sr.actionButtons,children:[d.jsx("div",{className:Sr.actionButton,children:d.jsxs(_t,{type:"Secondary",className:Sr.button,onClick:()=>window.open(`https://${n}`),children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:Sr.actionButton,children:d.jsxs(_t,{type:"Secondary",className:Sr.button,onClick:()=>{o?window.open(`https://${n}/support`):i("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},PH="_modal_1rkmj_1",RH="_modalPayment_1rkmj_7",DH="_title_1rkmj_15",OH="_description_1rkmj_20",cs={modal:PH,modalPayment:RH,title:DH,description:OH},l2=()=>d.jsxs("div",{className:ge(cs.modal,cs.modalPayment),onClick:e=>e.stopPropagation(),children:[d.jsx(qn,{style:{border:"4px solid var(--surface-action1)",borderLeftColor:"var(--surface-secondary)",width:"40px",height:"40px"}}),d.jsx("h2",{id:"h3",className:cs.title,children:"Processing Payment"}),d.jsx("p",{className:cs.description,children:"This payment is currently being processed. If you're here, it simply means that the payment was created but not complete."})]});exports.AlignText=Fp;exports.Auth=em;exports.BalanceModal=O0;exports.Button=ti;exports.Button$1=_t;exports.ButtonPopup=Y7;exports.CSS=ni;exports.ChargeStatus=it;exports.ChargeStatusBlock=bF;exports.Checkbox=Mp;exports.CheckoutPaymentMethod=_v;exports.ChooseImage=xa;exports.ChooseImageModal=sb;exports.ContentLoader=ka;exports.CustomerDashboard=P_;exports.DeliveryItem=lv;exports.DndContext=o0;exports.ErrorableBlock=Wc;exports.FilledStar=p9;exports.Fuse=Wr;exports.IS_LOCAL_HOST=Vt;exports.Icon=ie;exports.Input=nr;exports.Input$1=Ro;exports.ItemPopup=U7;exports.ItemsSettings=f0;exports.ListingPopup=s8;exports.Loader=qn;exports.Markdown=hd;exports.Modal=cl;exports.OrderStatus=Ge;exports.OrderStatusBlock=NH;exports.OtherAndTagsSettings=Hp;exports.Outlet=L3;exports.PRODUCT_VARIANT_EXTRA_FIELD_TYPE=Jy;exports.PointerSensor=ol;exports.PreviewContent=ME;exports.ProcessingPaymentModal=l2;exports.Radio=EE;exports.RangeSelector=p0;exports.ReCaptchaProvider=G0;exports.RenderAnnouncement=C0;exports.RenderBlock=m0;exports.RenderFooter=g0;exports.RenderHeader=I0;exports.RouterProvider=J3;exports.SecuredBySsl=a2;exports.Select=ao;exports.Select$1=w0;exports.SelectInfiniteList=Lu;exports.SelectTypeText=Mu;exports.SortableContext=u0;exports.StableText=T0;exports.SubscriptionStatusBadge=s2;exports.SvgMiniLogoAntistock=B0;exports.Switch=vr;exports.TermsOfService=i2;exports.TextSettings=Bu;exports.Textarea=Ou;exports.Textarea$1=Z8;exports.Tip=Bp;exports.TrackPayment=MF;exports.TypesText=Du;exports.Visa=m9;exports.Wrapper=_0;exports.aspectRatio=Zf;exports.aspectRatioOptions=Xf;exports.axios=ht;exports.cancelSubscription=Fy;exports.changeSubscriptionGateway=Hy;exports.clx=ge;exports.convertCfImageIdToUrl=er;exports.createBrowserRouter=q3;exports.defaultPagePaths=Yf;exports.extendSubscription=Vy;exports.extractDateAndTime=ca;exports.fetchAuthorizedOrder=Dy;exports.fetchGatewaysDetail=b0;exports.fetchOrder=Ry;exports.fetchSubscription=My;exports.fetchTicket=zy;exports.formatPrice=Pn;exports.getBalance=qu;exports.getBalanceSettings=v0;exports.getCommonCustomFields=o8;exports.getDisplayName=zi;exports.getDynamicPage=yy;exports.getGatewaysDetail=Aa;exports.getSubscriptionUpgradePlans=Uy;exports.getTsId=so;exports.jsxRuntimeExports=d;exports.jwtDecode=Dp;exports.navbarBlocks=Gf;exports.normalizeInterval=OC;exports.pages=I5;exports.parseDraftJsText=o2;exports.percentageDifference=DC;exports.request=lt;exports.sendTicketMessage=$y;exports.splitTextIntoSpans=E0;exports.styles=Co;exports.styles$1=Go;exports.styles$2=Vi;exports.styles$3=Dt;exports.useAdaptiveStyles=x0;exports.useApiStore=kt;exports.useBlocksStore=Lo;exports.useCart=a8;exports.useCartStore=Br;exports.useChooseImageStore=Au;exports.useColorPickerStore=v5;exports.useConfirmationModalStore=Qf;exports.useCopy=ll;exports.useCustomerDashboardStore=rr;exports.useDeviceStore=g5;exports.useDiscordStore=Op;exports.useErrorStore=Kf;exports.useFontsStore=w5;exports.useGeneralInfo=W0;exports.useGeneralStore=mt;exports.useHistoryStore=wn;exports.useLayersStore=Hr;exports.useLocation=Ur;exports.useModalStore=$r;exports.useNavbarStore=C5;exports.useNavigate=Vr;exports.useNotificationStore=cn;exports.useOnClickOutside=si;exports.usePagesStore=zr;exports.useParams=g3;exports.usePreviewStore=Xs;exports.useReCaptcha=Ku;exports.useRouteError=Uf;exports.useSearchParams=qf;exports.useSensor=zp;exports.useSensors=$p;exports.useSettingsStore=Sa;exports.useShareLinkStore=A5;exports.useSortable=h0;exports.useStorefrontStore=uo;exports.useSubmodalStore=_5;exports.useSubscriptionStore=VC;exports.useThemeSettingsStore=No;exports.useTooltipStore=k5;exports.useTrackingAnalytics=jC;exports.v4=pt;exports.verticalListSortingStrategy=s0;
|
|
163
|
+
`)),a}function kB(e,t){t=t||{};var n="";return e.blocks.forEach(function(o,i){n+=AB(o,i,e,t)}),Jr={},n}var r2=[];for(var wf=0;wf<256;wf++)r2.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){r2[e.charCodeAt(0)]=1});function _l(e,t){return e=e.source,t=t||"",function n(o,i){return o?(i=i.source||i,e=e.replace(o,i),n):new RegExp(e,t)}}var LB=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,NB=/[^"'=<>`\x00-\x20]+/,PB=/'[^']*'/,RB=/"[^"]*"/,DB=_l(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",NB)("single_quoted",PB)("double_quoted",RB)(),OB=_l(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",LB)("attr_value",DB)(),MB=_l(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",OB)(),BB=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,FB=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,HB=/<[?].*?[?]>/,jB=/<![A-Z]+\s+[^>]*>/,UB=/<!\[CDATA\[[\s\S]*?\]\]>/;_l(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",MB)("close_tag",BB)("comment",FB)("processing",HB)("declaration",jB)("cdata",UB)();const o2=e=>{try{const t=JSON.parse(e);return kB(t,{styleItems:{UNDERLINE:{open:()=>"<u>",close:()=>"</u>"}}})}catch{return e}},i2=()=>{const{shopTerms:e}=uo(),{isAntistock:t}=mt();return!(e!=null&&e.showTermsOfServiceOnProduct)||!(e!=null&&e.termsOfService)?null:d.jsxs("div",{className:Di.container,children:[d.jsx("div",{className:Di.icon,children:d.jsx(ie,{name:"FileCloud",fill:"var(--text-secondary)"})}),d.jsx(hd,{remarkPlugins:[dg],rehypePlugins:[n2],className:Di.text,components:{a:({node:n,...o})=>d.jsx("a",{...o,target:"_blank",rel:"noopener noreferrer",className:Di.link,id:"md"}),p:({node:n,...o})=>d.jsx("p",{...o,className:Di.text,id:"md"})},children:t?o2(e.termsOfService):e==null?void 0:e.termsOfService})]})},VB="_securedBySsl_1ng38_2",zB="_text_1ng38_9",Cc={securedBySsl:VB,text:zB},a2=({isAntistock:e})=>d.jsxs("div",{className:Cc.securedBySsl,children:[d.jsx("div",{className:Cc.iconWrapper,children:d.jsx(ie,{name:"ShieldCheck",fill:"var(--text-secondary)"})}),d.jsx("p",{className:Cc.text,id:"md",children:e?"Your data is secured by extended validation SSL certificates (256-bit encryption).":"Your data is secured by extended validation SSL certificates (256-bit encryption). This complies with the strongest payment security standard available today."})]}),$B="_bottomSheet_1a6cu_1",WB="_title_1a6cu_8",qB="_contentTitle_1a6cu_12",GB="_contentText_1a6cu_16",YB="_discordMessageTitle_1a6cu_20",ZB="_content_1a6cu_12",XB="_section_1a6cu_27",KB="_copyButton_1a6cu_32",QB="_scrollableBox_1a6cu_37",JB="_scrollableBoxAntistock_1a6cu_47",eF="_discordMessage_1a6cu_20",tF="_link_1a6cu_61",nF="_buttonGroup_1a6cu_68",rF="_buttonWrapper_1a6cu_80",oF="_modal_1a6cu_84",iF="_modalAntistock_1a6cu_91",aF="_header_1a6cu_96",sF="_copyButtonAntistock_1a6cu_104",en={bottomSheet:$B,title:WB,contentTitle:qB,contentText:GB,discordMessageTitle:YB,content:ZB,section:XB,copyButton:KB,scrollableBox:QB,scrollableBoxAntistock:JB,discordMessage:eF,link:tF,buttonGroup:nF,buttonWrapper:rF,modal:oF,modalAntistock:iF,header:aF,copyButtonAntistock:sF},lF=({setIsOpen:e,deliveryConfiguration:t})=>{const n=ll(),o=t.type===at.Discord,{setIsOpen:i}=$r(),{isAntistock:a}=mt(),s=t.type===at.Serial?t.deliveryItems.map(c=>c.serialKey).join(`
|
|
164
|
+
`):t.deliveryItems[0].textData,l=()=>{i(!1),a?e(!1):setTimeout(()=>{e(!1)},300)};return d.jsxs("div",{className:ge(en.modal,{[en.modalAntistock]:a}),onClick:c=>c.stopPropagation(),children:[d.jsxs("div",{className:en.header,children:[d.jsx("h3",{id:"h3",className:en.title,children:a?"View Content":"Thank you for the purchase!"}),d.jsx(ie,{name:"X",hoverable:!0,onClick:l,fill:"var(--text-primary)"})]}),d.jsxs("div",{className:en.bottomSheet,children:[d.jsx("div",{className:en.content,children:o?d.jsx("div",{className:en.discordMessage,children:d.jsx("p",{className:en.discordMessageTitle,id:"md",children:"Discord role has been granted"})}):d.jsxs("div",{children:[d.jsxs("div",{className:en.section,children:[!a&&d.jsx("p",{className:en.contentTitle,id:"md",children:"Content"}),!a&&d.jsxs(_t,{className:en.copyButton,type:"Secondary",onClick:()=>n(s),children:[d.jsx(ie,{name:"Copy"}),"Copy to Clipboard"]})]}),d.jsx("div",{className:ge(en.scrollableBox,{[en.scrollableBoxAntistock]:a}),children:d.jsx("p",{className:en.contentText,id:"md",children:d.jsx(hd,{remarkPlugins:[dg],rehypePlugins:[n2],components:{a:({node:c,...u})=>d.jsx("a",{...u,target:"_blank",rel:"noopener noreferrer",className:en.link})},children:s})})})]})}),a&&d.jsxs(_t,{className:en.copyButtonAntistock,type:"Secondary",onClick:()=>n(s),children:[d.jsx(ie,{name:"Copy"}),"Copy to Clipboard"]}),!a&&d.jsx("div",{className:en.buttonGroup,children:d.jsx("div",{className:en.buttonWrapper,children:d.jsx(_t,{type:"Secondary",onClick:l,children:"Close"})})})]})]})},cF="_chargeStatusBlock_12swd_4",uF="_isAntistock_12swd_13",dF="_chargeStatusIcon_12swd_19",hF="_chargeStatusTitle_12swd_27",fF="_chargeStatusDescription_12swd_33",pF="_pickUpButton_12swd_39",mF="_actionButtons_12swd_49",gF="_actionButton_12swd_49",Un={chargeStatusBlock:cF,isAntistock:uF,chargeStatusIcon:dF,chargeStatusTitle:hF,chargeStatusDescription:fF,pickUpButton:pF,actionButtons:mF,actionButton:gF},Gi={[it.Paid]:"Payment Successful",[it.Pending]:"Payment Pending",[it.Expired]:"Payment Expired",[it.Cancelled]:"Payment Cancelled",[it.NotPaid]:"Payment Failed"},IF={[it.Paid]:"Your payment has successfully been processed. Tap on the button below to be redirected back to our website.",[it.Pending]:"Your payment is currently pending. We recommend checking back shortly for confirmation.",[it.Expired]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[it.Cancelled]:"You canceled the warrant. If there are any problems, please contact support",[it.NotPaid]:"Your payment has expired due to the payment not being sent in time. If you already sent the payment, please contact us below."},CF={[it.Paid]:d.jsx("div",{className:`${Un.chargeStatusIcon}`,children:d.jsx(ie,{name:"Check",fill:"var(--text-success)"})}),[it.Pending]:d.jsx("div",{className:Un.chargeStatusIcon,children:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"})}),[it.Expired]:d.jsx("div",{className:Un.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[it.Cancelled]:d.jsx("div",{className:Un.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})}),[it.NotPaid]:d.jsx("div",{className:Un.chargeStatusIcon,children:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"})})},bF=({charge:e})=>{const t=e.status,n=Vr(),{shopDomain:o}=uo(),{isAntistock:i}=mt(),a=_.useRef(),[s,l]=qf(),c=()=>{var h,f;if(!((h=e.order)!=null&&h.id))return;const u=s.get("redirectRoute");if((e==null?void 0:e.status)===it.Paid&&e.redirectUrl&&!a.current){const m=JSON.parse(localStorage.getItem("orders")||"{}")[((f=e==null?void 0:e.order)==null?void 0:f.id)||""];m?window.open(m.fullAccessToken?`${e.redirectUrl}/${m.fullAccessToken}`:`${e.redirectUrl}`,"_self"):window.open(e.redirectUrl,"_self")}(e==null?void 0:e.status)===it.Paid&&a.current&&n(a.current,{replace:!0}),u&&a&&(a.current=u,s.delete("redirectRoute"),l(s))};return d.jsxs("div",{className:ge(Un.chargeStatusBlock,{[Un.isAntistock]:i}),children:[CF[t],d.jsx("h2",{className:Un.chargeStatusTitle,children:Gi[t]}),d.jsx("p",{className:Un.chargeStatusDescription,children:IF[t]}),t===it.Paid?d.jsx("div",{className:Un.pickUpButton,style:i?{justifyContent:"flex-start"}:void 0,children:d.jsxs(_t,{onClick:c,style:{width:"100%",maxWidth:"250px",display:"flex",alignItems:"center",gap:"5px"},type:"Secondary",children:[d.jsx(ie,{name:"ArrowLineUpRight"}),i?"View Order":"Pick up Order"]})}):d.jsxs("div",{className:Un.actionButtons,children:[d.jsx("div",{className:Un.actionButton,children:d.jsxs(_t,{type:"Secondary",onClick:()=>window.open(`https://${o}`),style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:Un.actionButton,children:d.jsxs(_t,{type:"Secondary",style:{width:"100%",display:"flex",alignItems:"center",gap:"5px"},onClick:()=>{i?window.open(`https://${o}/support`):n("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},SF="_trackPaymentContainer_fk3b6_1",yF="_trackPaymentBox_fk3b6_5",EF="_trackPaymentBoxActive_fk3b6_18",TF="_trackPaymentHeader_fk3b6_23",xF="_trackPaymentTitle_fk3b6_27",_F="_trackPaymentTimeline_fk3b6_33",wF="_trackPaymentItem_fk3b6_42",vF="_itemHeader_fk3b6_48",AF="_itemDate_fk3b6_55",kF="_itemMessage_fk3b6_59",LF="_trackPaymentToggle_fk3b6_64",NF="_trackPaymentToggleContent_fk3b6_75",PF="_trackPaymentToggleText_fk3b6_81",RF="_antistock_fk3b6_88",_n={trackPaymentContainer:SF,trackPaymentBox:yF,trackPaymentBoxActive:EF,trackPaymentHeader:TF,trackPaymentTitle:xF,trackPaymentTimeline:_F,trackPaymentItem:wF,itemHeader:vF,itemDate:AF,itemMessage:kF,trackPaymentToggle:LF,trackPaymentToggleContent:NF,trackPaymentToggleText:PF,antistock:RF},vf=(e,t)=>{const n=e.getDate().toString().padStart(2,"0"),o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getFullYear(),a=e.getHours(),s=e.getMinutes().toString().padStart(2,"0"),l=e.getSeconds().toString().padStart(2,"0"),c=a>=12?"PM":"AM",u=(a%12||12).toString().padStart(2,"0");return t==="dd.MM.yyyy"?`${n}.${o}.${i}`:t==="hh:mm:ss aa"?`${u}:${s}:${l} ${c}`:""},DF={[it.Paid]:{displayName:Gi[it.Paid],displayMessage:"The invoice has been completed and the product has been delivered.",type:"success"},[it.Pending]:{displayName:Gi[it.Pending],displayMessage:"The invoice has been created and we are now waiting to receive the payment.",type:"warning"},[it.Expired]:{displayName:Gi[it.Expired],displayMessage:"Your payment has expired due to the payment not being sent in time.",type:"error"},[it.Cancelled]:{displayName:Gi[it.Cancelled],displayMessage:"The order has been canceled. The payment was not sent within the time limit.",type:"error"},[it.NotPaid]:{displayName:"New",displayMessage:"The charge has been created and is awaiting payment.",type:"success"}},OF=({date:e,chargeStatus:t})=>d.jsxs("div",{className:_n.trackPaymentItem,children:[d.jsxs("div",{className:_n.itemHeader,children:[d.jsx("p",{className:_n.itemDate,id:"md-bold",children:vf(new Date(e),"dd.MM.yyyy")}),d.jsx("p",{className:_n.itemTime,id:"md",children:vf(new Date(e),"hh:mm:ss aa")})]}),d.jsx("p",{className:_n.itemMessage,id:"md",children:DF[t].displayMessage})]}),MF=({timeline:e,className:t})=>{const[n,o]=_.useState(!1),{isAntistock:i}=mt();return d.jsxs("div",{className:ge(_n.trackPaymentContainer,t,{[_n.antistock]:i}),children:[d.jsxs("div",{className:`${_n.trackPaymentBox} ${n?_n.trackPaymentBoxActive:""}`,style:i?{border:"1px solid var(--border-secondary)"}:void 0,children:[d.jsx("header",{className:_n.trackPaymentHeader,children:d.jsx("h2",{className:_n.trackPaymentTitle,id:"h4",children:"Track Payment"})}),d.jsx("div",{className:_n.trackPaymentTimeline,children:Object.keys(e).map(a=>d.jsx(OF,{date:e[a],chargeStatus:a},a))})]}),d.jsxs("div",{className:_n.trackPaymentToggle,onClick:()=>o(!n),style:i?{padding:"1.25rem",border:"1px solid var(--border-secondary)",borderRadius:"var(--border-radius)"}:void 0,children:[d.jsxs("div",{className:_n.trackPaymentToggleContent,children:[i?null:d.jsx(ie,{name:"MagnifyingGlass",fill:"var(--text-secondary)"}),d.jsx("p",{className:_n.trackPaymentToggleText,id:"h5",children:"Track Payment"})]}),d.jsx(ie,{name:"CaretRight",fill:"var(--text-primary)",width:16,height:16})]})]})},BF="_wrapper_it2rc_1",FF="_dateTime_it2rc_15",HF="_date_it2rc_15",jF="_tableItem_it2rc_29",UF="_status_it2rc_33",VF="_statusInProgress_it2rc_42",zF="_statusText_it2rc_46",$F="_statusIcon_it2rc_50",WF="_statusInProgressText_it2rc_54",qF="_statusInProgressIcon_it2rc_58",gn={wrapper:BF,dateTime:FF,date:HF,tableItem:jF,status:UF,statusInProgress:VF,statusText:zF,statusIcon:$F,statusInProgressText:WF,statusInProgressIcon:qF},GF=({item:e})=>{const[t,n]=ua(e.createdAt),i=(s=>s.length>30?s.slice(0,27)+"...":s)(e.latestMessage),a=Vr();return d.jsxs("div",{className:gn.wrapper,onClick:()=>a(`/ticket/${e.id}/${e.accessToken}`),children:[d.jsx(un,{className:gn.tableItem,children:d.jsx("div",{className:gn.ticketId,children:d.jsxs("span",{id:"md",children:["#",e.id]})})}),d.jsx(un,{className:ge(gn.message,gn.tableItem),children:i}),d.jsx(un,{className:gn.tableItem,children:d.jsxs("div",{className:gn.date,children:[d.jsx("div",{id:"md",children:t}),d.jsx("div",{className:gn.dateTime,id:"md",children:n})]})}),d.jsx(un,{className:gn.tableItem,children:d.jsx(YF,{status:e.status})})]},e.id)},YF=({status:e})=>d.jsxs("div",{className:ge(gn.status,{[gn.statusClosed]:e==="CLOSED",[gn.statusInProgress]:e!=="CLOSED"}),children:[d.jsx("div",{className:ge(gn.statusIcon,{[gn.statusInProgressIcon]:e!=="CLOSED"}),children:e==="CLOSED"?d.jsx(ie,{name:"CheckCircle"}):d.jsx(ie,{name:"Clock"})}),d.jsx("div",{className:ge(gn.statusText,{[gn.statusInProgressText]:e!=="CLOSED"}),id:"md",children:e==="CLOSED"?"Closed":"In Progress"})]}),ZF="_tableContainer_1eytq_1",XF="_table_1eytq_1",KF="_productInfo_1eytq_19",QF="_productImage_1eytq_26",JF="_productName_1eytq_35",eH="_expirationDate_1eytq_46",tH="_overflowItem_1eytq_51",nH="_gatewayContainer_1eytq_57",rH="_gatewayImage_1eytq_62",oH="_dateTime_1eytq_67",iH="_tableLoader_1eytq_72",aH="_tableItem_1eytq_81",ln={tableContainer:ZF,table:XF,productInfo:KF,productImage:QF,productName:JF,expirationDate:eH,overflowItem:tH,gatewayContainer:nH,gatewayImage:rH,dateTime:oH,tableLoader:iH,tableItem:aH},sH="_badge_1oac8_1",lH="_active_1oac8_12",cH="_awaitingPayment_1oac8_17",uH="_cancelled_1oac8_22",dH="_changedGateway_1oac8_27",hH="_expired_1oac8_32",fH="_rial_1oac8_37",pH="_pastDue_1oac8_42",mH="_replaced_1oac8_47",Mr={badge:sH,active:lH,awaitingPayment:cH,cancelled:uH,changedGateway:dH,expired:hH,rial:fH,pastDue:pH,replaced:mH},gH={[Or.ACTIVE]:{icon:d.jsx(ie,{name:"CheckCircle"}),title:"Active",className:Mr.active},[Or.AWAITING_PAYMENT]:{icon:d.jsx(ie,{name:"Clock"}),title:"Awaiting Payment",className:Mr.awaitingPayment},[Or.CANCELLED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Cancelled",className:Mr.cancelled},[Or.CHANGED_GATEWAY]:{icon:d.jsx(ie,{name:"Warning"}),title:"Upgraded",className:Mr.changedGateway},[Or.EXPIRED]:{icon:d.jsx(ie,{name:"XCircle"}),title:"Expired",className:Mr.expired},[Or.RIAL]:{icon:d.jsx(ie,{name:"Clock"}),title:"Active",className:Mr.rial},[Or.PAST_DUE]:{icon:d.jsx(ie,{name:"Clock"}),title:"Trial",className:Mr.pastDue},[Or.REPLACED]:{icon:d.jsx(ie,{name:"Warning"}),title:"Replaced",className:Mr.replaced}},s2=({status:e})=>{const t=gH[e];return d.jsxs("div",{className:`${Mr.badge} ${t.className}`,children:[t.icon,d.jsx("p",{id:"md",children:t.title})]})},IH=(e,t)=>{const n=t.find(o=>o.name===e);return n?d.jsxs("div",{className:ln.gatewayContainer,children:[d.jsx("img",{alt:n.displayName,src:er(n.logoCfImageId),className:ln.gatewayImage}),d.jsx("div",{children:n.displayName})]}):null},CH=({item:e,gatewaysDetail:t})=>{const[n,o]=ua(e.createdAt),[i]=ua(e.activeTo||""),a=ll();return d.jsxs(_.Fragment,{children:[d.jsx(un,{children:d.jsxs("div",{className:ln.productInfo,children:[d.jsx("div",{className:ln.productImage,children:d.jsx(ie,{name:"Image",width:20,height:20,fill:"var(--text-secondary)"})}),d.jsxs("div",{children:[d.jsx(As,{to:`/subscriptions/${e.id}/${e.accessToken}`,className:ln.productName,id:"md",children:e.productName}),d.jsx("p",{className:ln.expirationDate,children:e.activeTo&&`expires at ${i}`})]})]})}),d.jsx(un,{className:ln.overflowItem,onClick:()=>a(e.id),children:e.id}),d.jsx(un,{children:d.jsx(s2,{status:e.status})}),d.jsx(un,{children:Rn(e.price)}),d.jsx(un,{children:IH(e.gatewayName,t)}),d.jsx(un,{children:d.jsxs("div",{children:[d.jsx("div",{id:"md",children:n}),d.jsx("div",{className:ln.dateTime,id:"md",children:o})]})})]},e.id)},bH=({subscriptions:e,gatewaysDetail:t,totalCount:n,page:o,setPage:i})=>{const s=!(!(e!=null&&e.length)||!t);return d.jsxs("div",{className:ln.tableContainer,children:[d.jsxs(Qu,{className:ln.table,children:[d.jsx(Cn,{className:ln.tableItem,children:"Product name"}),d.jsx(Cn,{className:ln.tableItem,children:"ID"}),d.jsx(Cn,{className:ln.tableItem,children:"Status"}),d.jsx(Cn,{className:ln.tableItem,children:"Value"}),d.jsx(Cn,{className:ln.tableItem,children:"Payment"}),d.jsx(Cn,{className:ln.tableItem,children:"Date"}),s&&(e==null?void 0:e.map(l=>d.jsx(CH,{item:l,gatewaysDetail:t},l.id)))]}),!s&&d.jsx("div",{className:ln.tableLoader,children:d.jsx(An,{})}),s&&d.jsx(hl,{currentPage:o,totalCount:n,onPageChange:i})]})},SH="_orderStatusBlock_2wo4y_2",yH="_orderStatusBlockAntistock_2wo4y_11",EH="_iconWrapper_2wo4y_16",TH="_orderStatusTitle_2wo4y_26",xH="_orderStatusDescription_2wo4y_31",_H="_actionButtons_2wo4y_36",wH="_actionButton_2wo4y_36",vH="_button_2wo4y_47",Sr={orderStatusBlock:SH,orderStatusBlockAntistock:yH,iconWrapper:EH,orderStatusTitle:TH,orderStatusDescription:xH,actionButtons:_H,actionButton:wH,button:vH},AH={[Ge.New]:"New",[Ge.Pending]:"Order Pending",[Ge.Expired]:"Order Expired",[Ge.Cancelled]:"Order Canceled",[Ge.Failed]:"Order Failed",[Ge.FullDeliveryFailure]:"Delivery Failure",[Ge.PartiallyDelivered]:"Partial Delivery Failure",[Ge.Refunded]:"Order Refunded",[Ge.Completed]:"Order Completed"},kH={[Ge.New]:"Your order has been created and is awaiting payment.",[Ge.Pending]:"Your order is currently pending. We recommend checking back shortly for confirmation.",[Ge.Expired]:"Your order has expired due to the payment not being sent in time. If you already sent the payment, please contact us below.",[Ge.Cancelled]:"You canceled the warrant. If there are any problems, please contact support.",[Ge.Failed]:"Your order could not be processed due to a payment or system error. Please try again or contact support.",[Ge.FullDeliveryFailure]:"Your payment was successful but the product is currently out of stock. Please contact us below to get this sorted.",[Ge.PartiallyDelivered]:"Your payment was successful but some products were out of stock. Please contact us below to get this sorted.",[Ge.Refunded]:"Your order was refunded. Please check your payment method for confirmation.",[Ge.Completed]:"Your order has successfully been processed. View your products below or check your email for additional information."},LH={[Ge.Completed]:d.jsx(ie,{name:"Check",fill:"var(--text-success)"}),[Ge.Pending]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ge.New]:d.jsx(ie,{name:"Clock",fill:"var(--text-warning)"}),[Ge.Expired]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ge.Cancelled]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ge.Failed]:d.jsx(ie,{name:"XCircle",fill:"var(--text-action)"}),[Ge.FullDeliveryFailure]:d.jsx(ie,{name:"Warning",fill:"var(--text-warning)"}),[Ge.PartiallyDelivered]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"}),[Ge.Refunded]:d.jsx(ie,{name:"WarningDiamond",fill:"var(--text-warning)"})},NH=({orderStatus:e,className:t})=>{const{shopDomain:n}=uo(),{isAntistock:o}=mt(),i=Vr();return d.jsxs("div",{className:ge(Sr.orderStatusBlock,t,{[Sr.orderStatusBlockAntistock]:o}),children:[d.jsx("div",{className:Sr.iconWrapper,style:o?{background:"none"}:void 0,children:LH[e]}),d.jsx("h2",{className:Sr.orderStatusTitle,children:AH[e]}),d.jsx("p",{className:Sr.orderStatusDescription,children:kH[e]}),d.jsxs("div",{className:Sr.actionButtons,children:[d.jsx("div",{className:Sr.actionButton,children:d.jsxs(_t,{type:"Secondary",className:Sr.button,onClick:()=>window.open(`https://${n}`),children:[d.jsx(ie,{name:"ArrowLineUpRight"}),"Visit Website"]})}),d.jsx("div",{className:Sr.actionButton,children:d.jsxs(_t,{type:"Secondary",className:Sr.button,onClick:()=>{o?window.open(`https://${n}/support`):i("/contact")},children:[d.jsx(ie,{name:"ChatsTeardrop"}),"Contact Support"]})})]})]})},PH="_modal_1rkmj_1",RH="_modalPayment_1rkmj_7",DH="_title_1rkmj_15",OH="_description_1rkmj_20",cs={modal:PH,modalPayment:RH,title:DH,description:OH},l2=()=>d.jsxs("div",{className:ge(cs.modal,cs.modalPayment),onClick:e=>e.stopPropagation(),children:[d.jsx(An,{style:{border:"4px solid var(--surface-action1)",borderLeftColor:"var(--surface-secondary)",width:"40px",height:"40px"}}),d.jsx("h2",{id:"h3",className:cs.title,children:"Processing Payment"}),d.jsx("p",{className:cs.description,children:"This payment is currently being processed. If you're here, it simply means that the payment was created but not complete."})]});exports.AlignText=Fp;exports.Auth=em;exports.BalanceModal=O0;exports.Button=ti;exports.Button$1=_t;exports.ButtonPopup=Y7;exports.CSS=ni;exports.ChargeStatus=it;exports.ChargeStatusBlock=bF;exports.Checkbox=Mp;exports.CheckoutPaymentMethod=_v;exports.ChooseImage=_a;exports.ChooseImageModal=sb;exports.ContentLoader=pi;exports.CustomerDashboard=P_;exports.DeliveryItem=lv;exports.DndContext=o0;exports.ErrorableBlock=Wc;exports.FilledStar=p9;exports.Fuse=Wr;exports.IS_LOCAL_HOST=Vt;exports.Icon=ie;exports.Input=nr;exports.Input$1=Ro;exports.ItemPopup=U7;exports.ItemsSettings=f0;exports.ListingPopup=s8;exports.Loader=An;exports.Markdown=hd;exports.Modal=cl;exports.OrderStatus=Ge;exports.OrderStatusBlock=NH;exports.OtherAndTagsSettings=Hp;exports.Outlet=L3;exports.PRODUCT_VARIANT_EXTRA_FIELD_TYPE=Jy;exports.PointerSensor=ol;exports.PreviewContent=ME;exports.ProcessingPaymentModal=l2;exports.Radio=EE;exports.RangeSelector=p0;exports.ReCaptchaProvider=G0;exports.RenderAnnouncement=C0;exports.RenderBlock=m0;exports.RenderFooter=g0;exports.RenderHeader=I0;exports.RouterProvider=J3;exports.SecuredBySsl=a2;exports.Select=ao;exports.Select$1=w0;exports.SelectInfiniteList=Lu;exports.SelectTypeText=Mu;exports.SortableContext=u0;exports.StableText=T0;exports.SubscriptionStatusBadge=s2;exports.SvgMiniLogoAntistock=B0;exports.Switch=vr;exports.TermsOfService=i2;exports.TextSettings=Bu;exports.Textarea=Ou;exports.Textarea$1=Z8;exports.Tip=Bp;exports.TrackPayment=MF;exports.TypesText=Du;exports.Visa=m9;exports.Wrapper=_0;exports.aspectRatio=Zf;exports.aspectRatioOptions=Xf;exports.axios=ht;exports.cancelSubscription=Fy;exports.changeSubscriptionGateway=Hy;exports.clx=ge;exports.convertCfImageIdToUrl=er;exports.createBrowserRouter=q3;exports.defaultPagePaths=Yf;exports.extendSubscription=Vy;exports.extractDateAndTime=ua;exports.fetchAuthorizedOrder=Dy;exports.fetchGatewaysDetail=b0;exports.fetchOrder=Ry;exports.fetchSubscription=My;exports.fetchTicket=zy;exports.formatPrice=Rn;exports.getBalance=qu;exports.getBalanceSettings=v0;exports.getCommonCustomFields=o8;exports.getDisplayName=$i;exports.getDynamicPage=yy;exports.getGatewaysDetail=ka;exports.getSubscriptionUpgradePlans=Uy;exports.getTsId=so;exports.jsxRuntimeExports=d;exports.jwtDecode=Dp;exports.navbarBlocks=Gf;exports.normalizeInterval=OC;exports.pages=I5;exports.parseDraftJsText=o2;exports.percentageDifference=DC;exports.request=lt;exports.sendTicketMessage=$y;exports.splitTextIntoSpans=E0;exports.styles=Co;exports.styles$1=Go;exports.styles$2=zi;exports.styles$3=Dt;exports.useAdaptiveStyles=x0;exports.useApiStore=kt;exports.useBlocksStore=Lo;exports.useCart=a8;exports.useCartStore=Br;exports.useChooseImageStore=Au;exports.useColorPickerStore=v5;exports.useConfirmationModalStore=Qf;exports.useCopy=ll;exports.useCustomerDashboardStore=rr;exports.useDeviceStore=g5;exports.useDiscordStore=Op;exports.useErrorStore=Kf;exports.useFontsStore=w5;exports.useGeneralInfo=W0;exports.useGeneralStore=mt;exports.useHistoryStore=wn;exports.useLayersStore=Hr;exports.useLocation=Ur;exports.useModalStore=$r;exports.useNavbarStore=C5;exports.useNavigate=Vr;exports.useNotificationStore=cn;exports.useOnClickOutside=si;exports.usePagesStore=zr;exports.useParams=g3;exports.usePreviewStore=Xs;exports.useReCaptcha=Ku;exports.useRouteError=Uf;exports.useSearchParams=qf;exports.useSensor=zp;exports.useSensors=$p;exports.useSettingsStore=ya;exports.useShareLinkStore=A5;exports.useSortable=h0;exports.useStorefrontStore=uo;exports.useSubmodalStore=_5;exports.useSubscriptionStore=VC;exports.useThemeSettingsStore=No;exports.useTooltipStore=k5;exports.useTrackingAnalytics=jC;exports.v4=pt;exports.verticalListSortingStrategy=s0;
|