access-simple
Version:
## Introduction `access-simple` is an open-source React library that provides an accessible menu component. This library is designed to enhance accessibility for end users with features like adjustable font sizes and contrast settings.
32 lines (29 loc) • 110 kB
JavaScript
(function(ae,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(ae=typeof globalThis<"u"?globalThis:ae||self,k(ae["access-simple"]={},ae.React))})(this,function(ae,k){"use strict";function pn(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const M=pn(k);var We={exports:{}},Se={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var dt;function hn(){if(dt)return Se;dt=1;var n=k,e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function o(a,u,f){var d,g={},c=null,h=null;f!==void 0&&(c=""+f),u.key!==void 0&&(c=""+u.key),u.ref!==void 0&&(h=u.ref);for(d in u)r.call(u,d)&&!s.hasOwnProperty(d)&&(g[d]=u[d]);if(a&&a.defaultProps)for(d in u=a.defaultProps,u)g[d]===void 0&&(g[d]=u[d]);return{$$typeof:e,type:a,key:c,ref:h,props:g,_owner:i.current}}return Se.Fragment=t,Se.jsx=o,Se.jsxs=o,Se}var xe={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var gt;function mn(){return gt||(gt=1,process.env.NODE_ENV!=="production"&&function(){var n=k,e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator,C="@@iterator";function E(l){if(l===null||typeof l!="object")return null;var p=m&&l[m]||l[C];return typeof p=="function"?p:null}var S=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(l){{for(var p=arguments.length,b=new Array(p>1?p-1:0),w=1;w<p;w++)b[w-1]=arguments[w];A("error",l,b)}}function A(l,p,b){{var w=S.ReactDebugCurrentFrame,P=w.getStackAddendum();P!==""&&(p+="%s",b=b.concat([P]));var $=b.map(function(N){return String(N)});$.unshift("Warning: "+p),Function.prototype.apply.call(console[l],console,$)}}var O=!1,I=!1,L=!1,T=!1,H=!1,q;q=Symbol.for("react.module.reference");function U(l){return!!(typeof l=="string"||typeof l=="function"||l===r||l===s||H||l===i||l===f||l===d||T||l===h||O||I||L||typeof l=="object"&&l!==null&&(l.$$typeof===c||l.$$typeof===g||l.$$typeof===o||l.$$typeof===a||l.$$typeof===u||l.$$typeof===q||l.getModuleId!==void 0))}function V(l,p,b){var w=l.displayName;if(w)return w;var P=p.displayName||p.name||"";return P!==""?b+"("+P+")":b}function te(l){return l.displayName||"Context"}function W(l){if(l==null)return null;if(typeof l.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case r:return"Fragment";case t:return"Portal";case s:return"Profiler";case i:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case a:var p=l;return te(p)+".Consumer";case o:var b=l;return te(b._context)+".Provider";case u:return V(l,l.render,"ForwardRef");case g:var w=l.displayName||null;return w!==null?w:W(l.type)||"Memo";case c:{var P=l,$=P._payload,N=P._init;try{return W(N($))}catch{return null}}}return null}var G=Object.assign,Y=0,ie,se,B,ne,oe,Te,qt;function Xt(){}Xt.__reactDisabledLog=!0;function Wi(){{if(Y===0){ie=console.log,se=console.info,B=console.warn,ne=console.error,oe=console.group,Te=console.groupCollapsed,qt=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Xt,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Y++}}function Hi(){{if(Y--,Y===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},l,{value:ie}),info:G({},l,{value:se}),warn:G({},l,{value:B}),error:G({},l,{value:ne}),group:G({},l,{value:oe}),groupCollapsed:G({},l,{value:Te}),groupEnd:G({},l,{value:qt})})}Y<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var rt=S.ReactCurrentDispatcher,it;function ze(l,p,b){{if(it===void 0)try{throw Error()}catch(P){var w=P.stack.trim().match(/\n( *(at )?)/);it=w&&w[1]||""}return`
`+it+l}}var st=!1,Ge;{var Ki=typeof WeakMap=="function"?WeakMap:Map;Ge=new Ki}function Qt(l,p){if(!l||st)return"";{var b=Ge.get(l);if(b!==void 0)return b}var w;st=!0;var P=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $;$=rt.current,rt.current=null,Wi();try{if(p){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(Z){w=Z}Reflect.construct(l,[],N)}else{try{N.call()}catch(Z){w=Z}l.call(N.prototype)}}else{try{throw Error()}catch(Z){w=Z}l()}}catch(Z){if(Z&&w&&typeof Z.stack=="string"){for(var R=Z.stack.split(`
`),J=w.stack.split(`
`),_=R.length-1,D=J.length-1;_>=1&&D>=0&&R[_]!==J[D];)D--;for(;_>=1&&D>=0;_--,D--)if(R[_]!==J[D]){if(_!==1||D!==1)do if(_--,D--,D<0||R[_]!==J[D]){var X=`
`+R[_].replace(" at new "," at ");return l.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",l.displayName)),typeof l=="function"&&Ge.set(l,X),X}while(_>=1&&D>=0);break}}}finally{st=!1,rt.current=$,Hi(),Error.prepareStackTrace=P}var ve=l?l.displayName||l.name:"",ce=ve?ze(ve):"";return typeof l=="function"&&Ge.set(l,ce),ce}function Ji(l,p,b){return Qt(l,!1)}function Yi(l){var p=l.prototype;return!!(p&&p.isReactComponent)}function Ue(l,p,b){if(l==null)return"";if(typeof l=="function")return Qt(l,Yi(l));if(typeof l=="string")return ze(l);switch(l){case f:return ze("Suspense");case d:return ze("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case u:return Ji(l.render);case g:return Ue(l.type,p,b);case c:{var w=l,P=w._payload,$=w._init;try{return Ue($(P),p,b)}catch{}}}return""}var Pe=Object.prototype.hasOwnProperty,en={},tn=S.ReactDebugCurrentFrame;function Ve(l){if(l){var p=l._owner,b=Ue(l.type,l._source,p?p.type:null);tn.setExtraStackFrame(b)}else tn.setExtraStackFrame(null)}function Zi(l,p,b,w,P){{var $=Function.call.bind(Pe);for(var N in l)if($(l,N)){var R=void 0;try{if(typeof l[N]!="function"){var J=Error((w||"React class")+": "+b+" type `"+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[N]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw J.name="Invariant Violation",J}R=l[N](p,N,w,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){R=_}R&&!(R instanceof Error)&&(Ve(P),v("%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).",w||"React class",b,N,typeof R),Ve(null)),R instanceof Error&&!(R.message in en)&&(en[R.message]=!0,Ve(P),v("Failed %s type: %s",b,R.message),Ve(null))}}}var qi=Array.isArray;function ot(l){return qi(l)}function Xi(l){{var p=typeof Symbol=="function"&&Symbol.toStringTag,b=p&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function Qi(l){try{return nn(l),!1}catch{return!0}}function nn(l){return""+l}function rn(l){if(Qi(l))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xi(l)),nn(l)}var je=S.ReactCurrentOwner,es={key:!0,ref:!0,__self:!0,__source:!0},sn,on,at;at={};function ts(l){if(Pe.call(l,"ref")){var p=Object.getOwnPropertyDescriptor(l,"ref").get;if(p&&p.isReactWarning)return!1}return l.ref!==void 0}function ns(l){if(Pe.call(l,"key")){var p=Object.getOwnPropertyDescriptor(l,"key").get;if(p&&p.isReactWarning)return!1}return l.key!==void 0}function rs(l,p){if(typeof l.ref=="string"&&je.current&&p&&je.current.stateNode!==p){var b=W(je.current.type);at[b]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',W(je.current.type),l.ref),at[b]=!0)}}function is(l,p){{var b=function(){sn||(sn=!0,v("%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)",p))};b.isReactWarning=!0,Object.defineProperty(l,"key",{get:b,configurable:!0})}}function ss(l,p){{var b=function(){on||(on=!0,v("%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)",p))};b.isReactWarning=!0,Object.defineProperty(l,"ref",{get:b,configurable:!0})}}var os=function(l,p,b,w,P,$,N){var R={$$typeof:e,type:l,key:p,ref:b,props:N,_owner:$};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function as(l,p,b,w,P){{var $,N={},R=null,J=null;b!==void 0&&(rn(b),R=""+b),ns(p)&&(rn(p.key),R=""+p.key),ts(p)&&(J=p.ref,rs(p,P));for($ in p)Pe.call(p,$)&&!es.hasOwnProperty($)&&(N[$]=p[$]);if(l&&l.defaultProps){var _=l.defaultProps;for($ in _)N[$]===void 0&&(N[$]=_[$])}if(R||J){var D=typeof l=="function"?l.displayName||l.name||"Unknown":l;R&&is(N,D),J&&ss(N,D)}return os(l,R,J,P,w,je.current,N)}}var lt=S.ReactCurrentOwner,an=S.ReactDebugCurrentFrame;function ye(l){if(l){var p=l._owner,b=Ue(l.type,l._source,p?p.type:null);an.setExtraStackFrame(b)}else an.setExtraStackFrame(null)}var ut;ut=!1;function ct(l){return typeof l=="object"&&l!==null&&l.$$typeof===e}function ln(){{if(lt.current){var l=W(lt.current.type);if(l)return`
Check the render method of \``+l+"`."}return""}}function ls(l){{if(l!==void 0){var p=l.fileName.replace(/^.*[\\\/]/,""),b=l.lineNumber;return`
Check your code at `+p+":"+b+"."}return""}}var un={};function us(l){{var p=ln();if(!p){var b=typeof l=="string"?l:l.displayName||l.name;b&&(p=`
Check the top-level render call using <`+b+">.")}return p}}function cn(l,p){{if(!l._store||l._store.validated||l.key!=null)return;l._store.validated=!0;var b=us(p);if(un[b])return;un[b]=!0;var w="";l&&l._owner&&l._owner!==lt.current&&(w=" It was passed a child from "+W(l._owner.type)+"."),ye(l),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,w),ye(null)}}function fn(l,p){{if(typeof l!="object")return;if(ot(l))for(var b=0;b<l.length;b++){var w=l[b];ct(w)&&cn(w,p)}else if(ct(l))l._store&&(l._store.validated=!0);else if(l){var P=E(l);if(typeof P=="function"&&P!==l.entries)for(var $=P.call(l),N;!(N=$.next()).done;)ct(N.value)&&cn(N.value,p)}}}function cs(l){{var p=l.type;if(p==null||typeof p=="string")return;var b;if(typeof p=="function")b=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===u||p.$$typeof===g))b=p.propTypes;else return;if(b){var w=W(p);Zi(b,l.props,"prop",w,l)}else if(p.PropTypes!==void 0&&!ut){ut=!0;var P=W(p);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",P||"Unknown")}typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function fs(l){{for(var p=Object.keys(l.props),b=0;b<p.length;b++){var w=p[b];if(w!=="children"&&w!=="key"){ye(l),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w),ye(null);break}}l.ref!==null&&(ye(l),v("Invalid attribute `ref` supplied to `React.Fragment`."),ye(null))}}var dn={};function gn(l,p,b,w,P,$){{var N=U(l);if(!N){var R="";(l===void 0||typeof l=="object"&&l!==null&&Object.keys(l).length===0)&&(R+=" 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 J=ls(P);J?R+=J:R+=ln();var _;l===null?_="null":ot(l)?_="array":l!==void 0&&l.$$typeof===e?(_="<"+(W(l.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):_=typeof l,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,R)}var D=as(l,p,b,P,$);if(D==null)return D;if(N){var X=p.children;if(X!==void 0)if(w)if(ot(X)){for(var ve=0;ve<X.length;ve++)fn(X[ve],l);Object.freeze&&Object.freeze(X)}else v("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 fn(X,l)}if(Pe.call(p,"key")){var ce=W(l),Z=Object.keys(p).filter(function(bs){return bs!=="key"}),ft=Z.length>0?"{key: someKey, "+Z.join(": ..., ")+": ...}":"{key: someKey}";if(!dn[ce+ft]){var ms=Z.length>0?"{"+Z.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,ft,ce,ms,ce),dn[ce+ft]=!0}}return l===r?fs(D):cs(D),D}}function ds(l,p,b){return gn(l,p,b,!0)}function gs(l,p,b){return gn(l,p,b,!1)}var ps=gs,hs=ds;xe.Fragment=r,xe.jsx=ps,xe.jsxs=hs}()),xe}process.env.NODE_ENV==="production"?We.exports=hn():We.exports=mn();var x=We.exports;function bn(){if(console&&console.warn){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];typeof e[0]=="string"&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const pt={};function He(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];typeof e[0]=="string"&&pt[e[0]]||(typeof e[0]=="string"&&(pt[e[0]]=new Date),bn(...e))}const ht=(n,e)=>()=>{if(n.isInitialized)e();else{const t=()=>{setTimeout(()=>{n.off("initialized",t)},0),e()};n.on("initialized",t)}};function mt(n,e,t){n.loadNamespaces(e,ht(n,t))}function bt(n,e,t,r){typeof t=="string"&&(t=[t]),t.forEach(i=>{n.options.ns.indexOf(i)<0&&n.options.ns.push(i)}),n.loadLanguages(e,ht(n,r))}function yn(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=e.languages[0],i=e.options?e.options.fallbackLng:!1,s=e.languages[e.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(a,u)=>{const f=e.services.backendConnector.state[`${a}|${u}`];return f===-1||f===2};return t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!o(e.isLanguageChangingTo,n)?!1:!!(e.hasResourceBundle(r,n)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||o(r,n)&&(!i||o(s,n)))}function vn(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(He("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(n,{lng:t.lng,precheck:(i,s)=>{if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!s(i.isLanguageChangingTo,n))return!1}}):yn(n,e,t)}const Sn=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,xn={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},En=n=>xn[n];let Ke={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:n=>n.replace(Sn,En)};function Cn(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ke={...Ke,...n}}function wn(){return Ke}let yt;function On(n){yt=n}function Ln(){return yt}const Rn={type:"3rdParty",init(n){Cn(n.options.react),On(n)}},kn=k.createContext();class Nn{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const In=(n,e)=>{const t=k.useRef();return k.useEffect(()=>{t.current=e?t.current:n},[n,e]),t.current};function fe(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:t}=e,{i18n:r,defaultNS:i}=k.useContext(kn)||{},s=t||r||Ln();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Nn),!s){He("You will need to pass in an i18next instance by using initReactI18next");const A=(I,L)=>typeof L=="string"?L:L&&typeof L=="object"&&typeof L.defaultValue=="string"?L.defaultValue:Array.isArray(I)?I[I.length-1]:I,O=[A,{},!1];return O.t=A,O.i18n={},O.ready=!1,O}s.options.react&&s.options.react.wait!==void 0&&He("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...wn(),...s.options.react,...e},{useSuspense:a,keyPrefix:u}=o;let f=n||i||s.options&&s.options.defaultNS;f=typeof f=="string"?[f]:f||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(f);const d=(s.isInitialized||s.initializedStoreOnce)&&f.every(A=>vn(A,s,o));function g(){return s.getFixedT(e.lng||null,o.nsMode==="fallback"?f:f[0],u)}const[c,h]=k.useState(g);let m=f.join();e.lng&&(m=`${e.lng}${m}`);const C=In(m),E=k.useRef(!0);k.useEffect(()=>{const{bindI18n:A,bindI18nStore:O}=o;E.current=!0,!d&&!a&&(e.lng?bt(s,e.lng,f,()=>{E.current&&h(g)}):mt(s,f,()=>{E.current&&h(g)})),d&&C&&C!==m&&E.current&&h(g);function I(){E.current&&h(g)}return A&&s&&s.on(A,I),O&&s&&s.store.on(O,I),()=>{E.current=!1,A&&s&&A.split(" ").forEach(L=>s.off(L,I)),O&&s&&O.split(" ").forEach(L=>s.store.off(L,I))}},[s,m]);const S=k.useRef(!0);k.useEffect(()=>{E.current&&!S.current&&h(g),S.current=!1},[s,u]);const v=[c,s,d];if(v.t=c,v.i18n=s,v.ready=d,d||!d&&!a)return v;throw new Promise(A=>{e.lng?bt(s,e.lng,f,()=>A()):mt(s,f,()=>A())})}const Tn=(n,e)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Layer_1","data-name":"Layer 1",viewBox:"0 0 122.88 122.88",role:"img",className:"cw-svg",ref:e,...n},M.createElement("title",null,"accessibility"),M.createElement("path",{fill:"#fff",d:"M61.44,0A61.46,61.46,0,1,1,18,18,61.21,61.21,0,0,1,61.44,0Zm-.39,74.18L52.1,98.91a4.94,4.94,0,0,1-2.58,2.83A5,5,0,0,1,42.7,95.5l6.24-17.28a26.3,26.3,0,0,0,1.17-4,40.64,40.64,0,0,0,.54-4.18c.24-2.53.41-5.27.54-7.9s.22-5.18.29-7.29c.09-2.63-.62-2.8-2.73-3.3l-.44-.1-18-3.39A5,5,0,0,1,27.08,46a5,5,0,0,1,5.05-7.74l19.34,3.63c.77.07,1.52.16,2.31.25a57.64,57.64,0,0,0,7.18.53A81.13,81.13,0,0,0,69.9,42c.9-.1,1.75-.21,2.6-.29l18.25-3.42A5,5,0,0,1,94.5,39a5,5,0,0,1,1.3,7,5,5,0,0,1-3.21,2.09L75.15,51.37c-.58.13-1.1.22-1.56.29-1.82.31-2.72.47-2.61,3.06.08,1.89.31,4.15.61,6.51.35,2.77.81,5.71,1.29,8.4.31,1.77.6,3.19,1,4.55s.79,2.75,1.39,4.42l6.11,16.9a5,5,0,0,1-6.82,6.24,4.94,4.94,0,0,1-2.58-2.83L63,74.23,62,72.4l-1,1.78Zm.39-53.52a8.83,8.83,0,1,1-6.24,2.59,8.79,8.79,0,0,1,6.24-2.59Zm36.35,4.43a51.42,51.42,0,1,0,15,36.35,51.27,51.27,0,0,0-15-36.35Z"})),Pn=k.forwardRef(Tn),jn=(n,e)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:28,height:28,viewBox:"0 0 28 28",fill:"none",role:"img",className:"cw-svg",ref:e,...n},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.60782 7C8.92224 6.99968 9.20439 7.19283 9.31757 7.48588L14.1959 20.1174C14.347 20.5086 14.152 20.948 13.7605 21.0989C13.3689 21.2498 12.929 21.055 12.778 20.6639L11.1804 16.5274H6.05686L4.46965 20.6624C4.3194 21.0538 3.87992 21.2495 3.48805 21.0995C3.09619 20.9494 2.90032 20.5103 3.05058 20.1189L7.89905 7.48733C8.01162 7.19406 8.29338 7.00032 8.60782 7ZM8.61078 9.87374L10.6821 15.2369H6.55218L8.61078 9.87374ZM19.5644 10.7303C17.0708 10.7303 15.1725 12.9752 15.1725 15.8963C15.1725 18.9692 17.2227 21.0623 19.5644 21.0623C20.8144 21.0623 22.1108 20.5413 22.9922 19.5585V20.3299C22.9922 20.7072 23.2983 21.0131 23.6761 21.0131C24.0538 21.0131 24.36 20.7072 24.36 20.3299V11.5091C24.36 11.1318 24.0538 10.8259 23.6761 10.8259C23.2983 10.8259 22.9922 11.1318 22.9922 11.5091V12.273C22.1579 11.3284 20.9223 10.7303 19.5644 10.7303ZM22.9922 17.7007V13.9108C22.3988 12.8163 21.1488 12.0216 19.8499 12.0216C18.3636 12.0216 16.7316 13.4005 16.7316 15.8961C16.7316 18.2398 18.2116 19.7705 19.8499 19.7705C21.1924 19.7705 22.411 18.7589 22.9922 17.7007Z",fill:"white"}),M.createElement("rect",{x:.5,y:.5,width:27,height:27,rx:4.5,stroke:"white"})),$n=k.forwardRef(jn),An=(n,e)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none",role:"img",className:"cw-svg",ref:e,...n},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6064 1.68975C13.7734 1.51686 13.8658 1.28531 13.8637 1.04496C13.8616 0.804615 13.7652 0.574704 13.5953 0.404747C13.4253 0.234789 13.1954 0.138384 12.955 0.136296C12.7147 0.134207 12.4831 0.226602 12.3103 0.393581L7 5.70383L1.68975 0.393581C1.51687 0.226602 1.28532 0.134207 1.04497 0.136296C0.804622 0.138384 0.57471 0.234789 0.404753 0.404747C0.234795 0.574704 0.13839 0.804615 0.136302 1.04496C0.134213 1.28531 0.226608 1.51686 0.393587 1.68975L5.70384 7L0.393587 12.3102C0.306036 12.3948 0.236202 12.496 0.18816 12.6078C0.140119 12.7196 0.114831 12.8399 0.113774 12.9616C0.112716 13.0833 0.135909 13.204 0.182 13.3167C0.228091 13.4294 0.296156 13.5317 0.382224 13.6178C0.468293 13.7038 0.57064 13.7719 0.683295 13.818C0.79595 13.8641 0.916657 13.8873 1.03837 13.8862C1.16009 13.8852 1.28037 13.8599 1.39221 13.8118C1.50404 13.7638 1.60519 13.694 1.68975 13.6064L7 8.29616L12.3103 13.6064C12.4831 13.7734 12.7147 13.8658 12.955 13.8637C13.1954 13.8616 13.4253 13.7652 13.5953 13.5952C13.7652 13.4253 13.8616 13.1954 13.8637 12.955C13.8658 12.7147 13.7734 12.4831 13.6064 12.3102L8.29617 7L13.6064 1.68975Z",fill:"white"})),Fn=k.forwardRef(An),Mn=(n,e)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:26,height:26,viewBox:"0 0 26 26",fill:"none",role:"img",className:"cw-svg",ref:e,...n},M.createElement("g",{clipPath:"url(#clip0_241_3)"},M.createElement("path",{d:"M5.03125 18.9531C4.64583 18.9531 4.3151 18.8151 4.03906 18.5391C3.76302 18.263 3.625 17.9323 3.625 17.5469C3.625 17.1615 3.76302 16.8307 4.03906 16.5547C4.3151 16.2786 4.64583 16.1406 5.03125 16.1406C5.41667 16.1406 5.7474 16.2786 6.02344 16.5547C6.29948 16.8307 6.4375 17.1615 6.4375 17.5469C6.4375 17.8021 6.3724 18.0365 6.24219 18.25C6.11719 18.4635 5.94792 18.6354 5.73438 18.7656C5.52604 18.8906 5.29167 18.9531 5.03125 18.9531ZM5.03125 10.8594C4.64583 10.8594 4.3151 10.7214 4.03906 10.4453C3.76302 10.1693 3.625 9.83854 3.625 9.45312C3.625 9.06771 3.76302 8.73698 4.03906 8.46094C4.3151 8.1849 4.64583 8.04687 5.03125 8.04687C5.41667 8.04687 5.7474 8.1849 6.02344 8.46094C6.29948 8.73698 6.4375 9.06771 6.4375 9.45312C6.4375 9.70833 6.3724 9.94271 6.24219 10.1562C6.11719 10.3698 5.94792 10.5417 5.73438 10.6719C5.52604 10.7969 5.29167 10.8594 5.03125 10.8594ZM14.9336 21H9.99609V5H15.1523C16.7044 5 18.0326 5.32031 19.1367 5.96094C20.2409 6.59635 21.0872 7.51042 21.6758 8.70312C22.2643 9.89062 22.5586 11.3125 22.5586 12.9687C22.5586 14.6354 22.2617 16.0703 21.668 17.2734C21.0742 18.4714 20.2096 19.3932 19.0742 20.0391C17.9388 20.6797 16.5586 21 14.9336 21ZM11.9336 19.2812H14.8086C16.1315 19.2812 17.2279 19.026 18.0977 18.5156C18.9674 18.0052 19.6159 17.2786 20.043 16.3359C20.4701 15.3932 20.6836 14.2708 20.6836 12.9687C20.6836 11.6771 20.4727 10.5651 20.0508 9.63281C19.6289 8.69531 18.9987 7.97656 18.1602 7.47656C17.3216 6.97135 16.2773 6.71875 15.0273 6.71875H11.9336V19.2812Z",fill:"white"})),M.createElement("rect",{x:.5,y:.5,width:25,height:25,rx:3.5,stroke:"white"}),M.createElement("defs",null,M.createElement("clipPath",{id:"clip0_241_3"},M.createElement("rect",{width:26,height:26,rx:4,fill:"white"})))),_n=k.forwardRef(Mn),Bn=(n,e)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:26,height:26,viewBox:"0 0 26 26",fill:"none",role:"img",className:"cw-svg",ref:e,...n},M.createElement("path",{d:"M20.5 5.5V20.5M20.5 5.5L23.5 8.5M20.5 5.5L17.5 8.5M20.5 20.5L23.5 17.5M20.5 20.5L17.5 17.5M1.99998 5.5H15M8.49999 5.5C8.49999 5.5 8.49999 15.8463 8.49999 20.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("rect",{x:.5,y:.5,width:25,height:25,rx:3.5,stroke:"white"})),de=k.forwardRef(Bn),Dn=(n,e)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:26,height:26,viewBox:"0 0 26 26",fill:"none",role:"img",className:"cw-svg",ref:e,...n},M.createElement("path",{d:"M2.16666 19.5H23.8333M2.16666 19.5L5.41666 16.25M2.16666 19.5L5.41666 22.75M23.8333 19.5L20.5833 16.25M23.8333 19.5L20.5833 22.75M7.58333 3.25H18.4167M13 3.25V15.1667",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("rect",{x:.5,y:.5,width:25,height:25,rx:3.5,stroke:"white"})),zn=k.forwardRef(Dn);var Q;(function(n){n[n.INCREASE=0]="INCREASE",n[n.TOGGLE=1]="TOGGLE"})(Q||(Q={}));var Ee;(function(n){n.FONT_SIZE="font-size",n.LETTER_SPACING="letter-spacing",n.LINE_HEIGHT="line-height"})(Ee||(Ee={}));const Gn=n=>{if(!document)return;const e=document.body,r=1+(n?50:0)/100;e.style.filter=`contrast(${r})`},Un=n=>{if(!document)return;const e=document.body;n?e.style.filter="invert(1)":e.style.filter=e.style.filter.replace("invert(1)","")};let Je=1,vt=0;const Vn=n=>{if(!document)return;Je=(100+n+vt)/100,vt+=n,document.body.style.transformOrigin="0 0",document.body.style.transform=`scale(${Je})`,document.querySelectorAll(".accessibleMenu").forEach(t=>{const r=1/Je;t.style.transformOrigin="0 0",t.style.transform=`scale(${r})`})},Wn=n=>{if(!document)return;document.querySelectorAll("*:not(.accessibleMenu, .accessibleMenu *)").forEach(t=>{const r=window.getComputedStyle(t,null).getPropertyValue("width"),i=window.getComputedStyle(t,null).getPropertyValue("height");if(r.endsWith("px")&&i.endsWith("px")){const s=parseFloat(r)*(1+n/100),o=parseFloat(i)*(1+n/100);t.style.width=`${s}px`,t.style.height=`${o}px`}})},Hn=n=>{document.querySelectorAll("*").forEach(t=>{n?(t.style.animation="none",t.style.transition="none"):(t.style.animation="",t.style.transition="")})},Ye=null,Ze="accessibleMenu",$e=(n,e,t,r)=>{if(!n||n.classList.contains(r))return;const i=window.getComputedStyle(n,null).getPropertyValue(e),o=(parseFloat(i)||1)*(1+t/100);n.style[e]=`${o}px`;for(const a of n.children)$e(a,e,t,r)},Kn=n=>$e(Ye,Ee.FONT_SIZE,n,Ze),Jn=n=>$e(Ye,Ee.LETTER_SPACING,n,Ze),Yn=n=>$e(Ye,Ee.LINE_HEIGHT,n,Ze),Zn=()=>{const{t:n}=fe();return[{groupName:n("FONT_CONFIG.TITLE"),content:[{name:n("FONT_CONFIG.SIZE"),key:"font-size",inputType:Q.INCREASE,icon:x.jsx($n,{className:"toolsList-item-icon"}),featureFunction:Kn},{name:n("FONT_CONFIG.SPACING"),key:"font-spacing",inputType:Q.INCREASE,icon:x.jsx(zn,{className:"toolsList-item-icon"}),featureFunction:Jn},{name:n("FONT_CONFIG.LINE_HEIGHT"),key:"font-line-height",inputType:Q.INCREASE,icon:x.jsx(de,{className:"toolsList-item-icon"}),featureFunction:Yn}]},{groupName:n("COLOR_CONFIG.TITLE"),content:[{name:n("COLOR_CONFIG.INCREASE_CONTRAST"),key:"color-contrast",inputType:Q.TOGGLE,icon:x.jsx(de,{className:"toolsList-item-icon"}),featureFunction:Gn},{name:n("COLOR_CONFIG.INVERT_COLOR"),key:"color-invert",inputType:Q.TOGGLE,icon:x.jsx(de,{className:"toolsList-item-icon"}),featureFunction:Un}]},{groupName:n("OTHER_CONFIG.TITLE"),content:[{name:n("OTHER_CONFIG.ZOOM"),key:"zoom",inputType:Q.INCREASE,icon:x.jsx(de,{className:"toolsList-item-icon"}),featureFunction:Vn},{name:n("OTHER_CONFIG.INCREASE_ELEMENTS"),key:"elements-increase",inputType:Q.INCREASE,icon:x.jsx(de,{className:"toolsList-item-icon"}),featureFunction:Wn},{name:n("OTHER_CONFIG.DISABLE_ANIMATIONS"),key:"disable-animation",inputType:Q.TOGGLE,icon:x.jsx(de,{className:"toolsList-item-icon"}),featureFunction:Hn}]}]},St={"font-size":0,"font-spacing":0,"font-line-height":0,"color-contrast":!1,"color-invert":!1,zoom:0,"elements-increase":0,"disable-animation":!1},xt=k.createContext(St),Et=k.createContext({}),qn=({children:n})=>{const[e,t]=k.useReducer(Xn,St);return x.jsx(xt.Provider,{value:e,children:x.jsx(Et.Provider,{value:t,children:n})})},Ct=()=>k.useContext(xt),qe=()=>k.useContext(Et),Xn=(n,e)=>{switch(e.type){case"reset":return{"font-size":0,"font-spacing":0,"font-line-height":0,"color-contrast":!1,"color-invert":!1,zoom:0,"elements-increase":0,"disable-animation":!1};case"font-size":return n["font-size"]=e.value,Object.assign({},n);case"font-spacing":return n["font-spacing"]=e.value,Object.assign({},n);case"font-line-height":return n["font-line-height"]=e.value,Object.assign({},n);case"color-contrast":return n["color-contrast"]=e.value,Object.assign({},n);case"color-invert":return n["color-invert"]=e.value,Object.assign({},n);case"disable-animation":return n["disable-animation"]=e.value,Object.assign({},n);case"zoom":return n.zoom=e.value,Object.assign({},n);case"elements-increase":return n["elements-increase"]=e.value,Object.assign({},n);default:throw Error("Unknown action: "+e.type)}};var j="colors",K="sizes",y="space",Qn={gap:y,gridGap:y,columnGap:y,gridColumnGap:y,rowGap:y,gridRowGap:y,inset:y,insetBlock:y,insetBlockEnd:y,insetBlockStart:y,insetInline:y,insetInlineEnd:y,insetInlineStart:y,margin:y,marginTop:y,marginRight:y,marginBottom:y,marginLeft:y,marginBlock:y,marginBlockEnd:y,marginBlockStart:y,marginInline:y,marginInlineEnd:y,marginInlineStart:y,padding:y,paddingTop:y,paddingRight:y,paddingBottom:y,paddingLeft:y,paddingBlock:y,paddingBlockEnd:y,paddingBlockStart:y,paddingInline:y,paddingInlineEnd:y,paddingInlineStart:y,top:y,right:y,bottom:y,left:y,scrollMargin:y,scrollMarginTop:y,scrollMarginRight:y,scrollMarginBottom:y,scrollMarginLeft:y,scrollMarginX:y,scrollMarginY:y,scrollMarginBlock:y,scrollMarginBlockEnd:y,scrollMarginBlockStart:y,scrollMarginInline:y,scrollMarginInlineEnd:y,scrollMarginInlineStart:y,scrollPadding:y,scrollPaddingTop:y,scrollPaddingRight:y,scrollPaddingBottom:y,scrollPaddingLeft:y,scrollPaddingX:y,scrollPaddingY:y,scrollPaddingBlock:y,scrollPaddingBlockEnd:y,scrollPaddingBlockStart:y,scrollPaddingInline:y,scrollPaddingInlineEnd:y,scrollPaddingInlineStart:y,fontSize:"fontSizes",background:j,backgroundColor:j,backgroundImage:j,borderImage:j,border:j,borderBlock:j,borderBlockEnd:j,borderBlockStart:j,borderBottom:j,borderBottomColor:j,borderColor:j,borderInline:j,borderInlineEnd:j,borderInlineStart:j,borderLeft:j,borderLeftColor:j,borderRight:j,borderRightColor:j,borderTop:j,borderTopColor:j,caretColor:j,color:j,columnRuleColor:j,fill:j,outline:j,outlineColor:j,stroke:j,textDecorationColor:j,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:K,minBlockSize:K,maxBlockSize:K,inlineSize:K,minInlineSize:K,maxInlineSize:K,width:K,minWidth:K,maxWidth:K,height:K,minHeight:K,maxHeight:K,flexBasis:K,gridTemplateColumns:K,gridTemplateRows:K,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},er=(n,e)=>typeof e=="function"?{"()":Function.prototype.toString.call(e)}:e,ge=()=>{const n=Object.create(null);return(e,t,...r)=>{const i=(s=>JSON.stringify(s,er))(e);return i in n?n[i]:n[i]=t(e,...r)}},le=Symbol.for("sxs.internal"),Xe=(n,e)=>Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)),wt=n=>{for(const e in n)return!0;return!1},{hasOwnProperty:tr}=Object.prototype,Qe=n=>n.includes("-")?n:n.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()),nr=/\s+(?![^()]*\))/,pe=n=>e=>n(...typeof e=="string"?String(e).split(nr):[e]),Ot={appearance:n=>({WebkitAppearance:n,appearance:n}),backfaceVisibility:n=>({WebkitBackfaceVisibility:n,backfaceVisibility:n}),backdropFilter:n=>({WebkitBackdropFilter:n,backdropFilter:n}),backgroundClip:n=>({WebkitBackgroundClip:n,backgroundClip:n}),boxDecorationBreak:n=>({WebkitBoxDecorationBreak:n,boxDecorationBreak:n}),clipPath:n=>({WebkitClipPath:n,clipPath:n}),content:n=>({content:n.includes('"')||n.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(n)?n:`"${n}"`}),hyphens:n=>({WebkitHyphens:n,hyphens:n}),maskImage:n=>({WebkitMaskImage:n,maskImage:n}),maskSize:n=>({WebkitMaskSize:n,maskSize:n}),tabSize:n=>({MozTabSize:n,tabSize:n}),textSizeAdjust:n=>({WebkitTextSizeAdjust:n,textSizeAdjust:n}),userSelect:n=>({WebkitUserSelect:n,userSelect:n}),marginBlock:pe((n,e)=>({marginBlockStart:n,marginBlockEnd:e||n})),marginInline:pe((n,e)=>({marginInlineStart:n,marginInlineEnd:e||n})),maxSize:pe((n,e)=>({maxBlockSize:n,maxInlineSize:e||n})),minSize:pe((n,e)=>({minBlockSize:n,minInlineSize:e||n})),paddingBlock:pe((n,e)=>({paddingBlockStart:n,paddingBlockEnd:e||n})),paddingInline:pe((n,e)=>({paddingInlineStart:n,paddingInlineEnd:e||n}))},et=/([\d.]+)([^]*)/,rr=(n,e)=>n.length?n.reduce((t,r)=>(t.push(...e.map(i=>i.includes("&")?i.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(i)?`:is(${r})`:r):r+" "+i)),t),[]):e,ir=(n,e)=>n in sr&&typeof e=="string"?e.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(t,r,i,s)=>r+(i==="stretch"?`-moz-available${s};${Qe(n)}:${r}-webkit-fill-available`:`-moz-fit-content${s};${Qe(n)}:${r}fit-content`)+s):String(e),sr={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},re=n=>n?n+"-":"",Lt=(n,e,t)=>n.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,i,s,o,a)=>o=="$"==!!s?r:(i||o=="--"?"calc(":"")+"var(--"+(o==="$"?re(e)+(a.includes("$")?"":re(t))+a.replace(/\$/g,"-"):a)+")"+(i||o=="--"?"*"+(i||"")+(s||"1")+")":"")),or=/\s*,\s*(?![^()]*\))/,ar=Object.prototype.toString,he=(n,e,t,r,i)=>{let s,o,a;const u=(f,d,g)=>{let c,h;const m=C=>{for(c in C){const v=c.charCodeAt(0)===64,A=v&&Array.isArray(C[c])?C[c]:[C[c]];for(h of A){const O=/[A-Z]/.test(S=c)?S:S.replace(/-[^]/g,L=>L[1].toUpperCase()),I=typeof h=="object"&&h&&h.toString===ar&&(!r.utils[O]||!d.length);if(O in r.utils&&!I){const L=r.utils[O];if(L!==o){o=L,m(L(h)),o=null;continue}}else if(O in Ot){const L=Ot[O];if(L!==a){a=L,m(L(h)),a=null;continue}}if(v&&(E=c.slice(1)in r.media?"@media "+r.media[c.slice(1)]:c,c=E.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(L,T,H,q,U,V)=>{const te=et.test(T),W=.0625*(te?-1:1),[G,Y]=te?[q,T]:[T,q];return"("+(H[0]==="="?"":H[0]===">"===te?"max-":"min-")+G+":"+(H[0]!=="="&&H.length===1?Y.replace(et,(ie,se,B)=>Number(se)+W*(H===">"?1:-1)+B):Y)+(U?") and ("+(U[0]===">"?"min-":"max-")+G+":"+(U.length===1?V.replace(et,(ie,se,B)=>Number(se)+W*(U===">"?-1:1)+B):V):"")+")"})),I){const L=v?g.concat(c):[...g],T=v?[...d]:rr(d,c.split(or));s!==void 0&&i(Rt(...s)),s=void 0,u(h,T,L)}else s===void 0&&(s=[[],d,g]),c=v||c.charCodeAt(0)!==36?c:`--${re(r.prefix)}${c.slice(1).replace(/\$/g,"-")}`,h=I?h:typeof h=="number"?h&&O in lr?String(h)+"px":String(h):Lt(ir(O,h??""),r.prefix,r.themeMap[O]),s[0].push(`${v?`${c} `:`${Qe(c)}:`}${h}`)}}var E,S};m(f),s!==void 0&&i(Rt(...s)),s=void 0};u(n,e,t)},Rt=(n,e,t)=>`${t.map(r=>`${r}{`).join("")}${e.length?`${e.join(",")}{`:""}${n.join(";")}${e.length?"}":""}${Array(t.length?t.length+1:0).join("}")}`,lr={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},kt=n=>String.fromCharCode(n+(n>25?39:97)),ue=n=>(e=>{let t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=kt(t%52)+r;return kt(t%52)+r})(((e,t)=>{let r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return e})(5381,JSON.stringify(n))>>>0),Ce=["themed","global","styled","onevar","resonevar","allvar","inline"],ur=n=>{if(n.href&&!n.href.startsWith(location.origin))return!1;try{return!!n.cssRules}catch{return!1}},cr=n=>{let e;const t=()=>{const{cssRules:i}=e.sheet;return[].map.call(i,(s,o)=>{const{cssText:a}=s;let u="";if(a.startsWith("--sxs"))return"";if(i[o-1]&&(u=i[o-1].cssText).startsWith("--sxs")){if(!s.cssRules.length)return"";for(const f in e.rules)if(e.rules[f].group===s)return`--sxs{--sxs:${[...e.rules[f].cache].join(" ")}}${a}`;return s.cssRules.length?`${u}${a}`:""}return a}).join("")},r=()=>{if(e){const{rules:a,sheet:u}=e;if(!u.deleteRule){for(;Object(Object(u.cssRules)[0]).type===3;)u.cssRules.splice(0,1);u.cssRules=[]}for(const f in a)delete a[f]}const i=Object(n).styleSheets||[];for(const a of i)if(ur(a)){for(let u=0,f=a.cssRules;f[u];++u){const d=Object(f[u]);if(d.type!==1)continue;const g=Object(f[u+1]);if(g.type!==4)continue;++u;const{cssText:c}=d;if(!c.startsWith("--sxs"))continue;const h=c.slice(14,-3).trim().split(/\s+/),m=Ce[h[0]];m&&(e||(e={sheet:a,reset:r,rules:{},toString:t}),e.rules[m]={group:g,index:u,cache:new Set(h)})}if(e)break}if(!e){const a=(u,f)=>({type:f,cssRules:[],insertRule(d,g){this.cssRules.splice(g,0,a(d,{import:3,undefined:1}[(d.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return u==="@media{}"?`@media{${[].map.call(this.cssRules,d=>d.cssText).join("")}}`:u}});e={sheet:n?(n.head||n).appendChild(document.createElement("style")).sheet:a("","text/css"),rules:{},reset:r,toString:t}}const{sheet:s,rules:o}=e;for(let a=Ce.length-1;a>=0;--a){const u=Ce[a];if(!o[u]){const f=Ce[a+1],d=o[f]?o[f].index:s.cssRules.length;s.insertRule("@media{}",d),s.insertRule(`--sxs{--sxs:${a}}`,d),o[u]={group:s.cssRules[d+1],index:d,cache:new Set([a])}}fr(o[u])}};return r(),e},fr=n=>{const e=n.group;let t=e.cssRules.length;n.apply=r=>{try{e.insertRule(r,t),++t}catch{}}},we=Symbol(),dr=ge(),Nt=(n,e)=>dr(n,()=>(...t)=>{let r={type:null,composers:new Set};for(const i of t)if(i!=null)if(i[le]){r.type==null&&(r.type=i[le].type);for(const s of i[le].composers)r.composers.add(s)}else i.constructor!==Object||i.$$typeof?r.type==null&&(r.type=i):r.composers.add(gr(i,n));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),pr(n,r,e)}),gr=({variants:n,compoundVariants:e,defaultVariants:t,...r},i)=>{const s=`${re(i.prefix)}c-${ue(r)}`,o=[],a=[],u=Object.create(null),f=[];for(const c in t)u[c]=String(t[c]);if(typeof n=="object"&&n)for(const c in n){d=u,g=c,tr.call(d,g)||(u[c]="undefined");const h=n[c];for(const m in h){const C={[c]:String(m)};String(m)==="undefined"&&f.push(c);const E=h[m],S=[C,E,!wt(E)];o.push(S)}}var d,g;if(typeof e=="object"&&e)for(const c of e){let{css:h,...m}=c;h=typeof h=="object"&&h||{};for(const E in m)m[E]=String(m[E]);const C=[m,h,!wt(h)];a.push(C)}return[s,r,o,a,u,f]},pr=(n,e,t)=>{const[r,i,s,o]=hr(e.composers),a=typeof e.type=="function"||e.type.$$typeof?(g=>{function c(){for(let h=0;h<c[we].length;h++){const[m,C]=c[we][h];g.rules[m].apply(C)}return c[we]=[],null}return c[we]=[],c.rules={},Ce.forEach(h=>c.rules[h]={apply:m=>c[we].push([h,m])}),c})(t):null,u=(a||t).rules,f=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,d=g=>{g=typeof g=="object"&&g||mr;const{css:c,...h}=g,m={};for(const S in s)if(delete h[S],S in g){let v=g[S];typeof v=="object"&&v?m[S]={"@initial":s[S],...v}:(v=String(v),m[S]=v!=="undefined"||o.has(S)?v:s[S])}else m[S]=s[S];const C=new Set([...i]);for(const[S,v,A,O]of e.composers){t.rules.styled.cache.has(S)||(t.rules.styled.cache.add(S),he(v,[`.${S}`],[],n,T=>{u.styled.apply(T)}));const I=It(A,m,n.media),L=It(O,m,n.media,!0);for(const T of I)if(T!==void 0)for(const[H,q,U]of T){const V=`${S}-${ue(q)}-${H}`;C.add(V);const te=(U?t.rules.resonevar:t.rules.onevar).cache,W=U?u.resonevar:u.onevar;te.has(V)||(te.add(V),he(q,[`.${V}`],[],n,G=>{W.apply(G)}))}for(const T of L)if(T!==void 0)for(const[H,q]of T){const U=`${S}-${ue(q)}-${H}`;C.add(U),t.rules.allvar.cache.has(U)||(t.rules.allvar.cache.add(U),he(q,[`.${U}`],[],n,V=>{u.allvar.apply(V)}))}}if(typeof c=="object"&&c){const S=`${r}-i${ue(c)}-css`;C.add(S),t.rules.inline.cache.has(S)||(t.rules.inline.cache.add(S),he(c,[`.${S}`],[],n,v=>{u.inline.apply(v)}))}for(const S of String(g.className||"").trim().split(/\s+/))S&&C.add(S);const E=h.className=[...C].join(" ");return{type:e.type,className:E,selector:f,props:h,toString:()=>E,deferredInjector:a}};return Xe(d,{className:r,selector:f,[le]:e,toString:()=>(t.rules.styled.cache.has(r)||d(),r)})},hr=n=>{let e="";const t=[],r={},i=[];for(const[s,,,,o,a]of n){e===""&&(e=s),t.push(s),i.push(...a);for(const u in o){const f=o[u];(r[u]===void 0||f!=="undefined"||a.includes(f))&&(r[u]=f)}}return[e,t,r,new Set(i)]},It=(n,e,t,r)=>{const i=[];e:for(let[s,o,a]of n){if(a)continue;let u,f=0,d=!1;for(u in s){const g=s[u];let c=e[u];if(c!==g){if(typeof c!="object"||!c)continue e;{let h,m,C=0;for(const E in c){if(g===String(c[E])){if(E!=="@initial"){const S=E.slice(1);(m=m||[]).push(S in t?t[S]:E.replace(/^@media ?/,"")),d=!0}f+=C,h=!0}++C}if(m&&m.length&&(o={["@media "+m.join(", ")]:o}),!h)continue e}}}(i[f]=i[f]||[]).push([r?"cv":`${u}-${s[u]}`,o,d])}return i},mr={},br=ge(),yr=(n,e)=>br(n,()=>(...t)=>{const r=()=>{for(let i of t){i=typeof i=="object"&&i||{};let s=ue(i);if(!e.rules.global.cache.has(s)){if(e.rules.global.cache.add(s),"@import"in i){let o=[].indexOf.call(e.sheet.cssRules,e.rules.themed.group)-1;for(let a of[].concat(i["@import"]))a=a.includes('"')||a.includes("'")?a:`"${a}"`,e.sheet.insertRule(`@import ${a};`,o++);delete i["@import"]}he(i,[],[],n,o=>{e.rules.global.apply(o)})}}return""};return Xe(r,{toString:r})}),vr=ge(),Sr=(n,e)=>vr(n,()=>t=>{const r=`${re(n.prefix)}k-${ue(t)}`,i=()=>{if(!e.rules.global.cache.has(r)){e.rules.global.cache.add(r);const s=[];he(t,[],[],n,a=>s.push(a));const o=`@keyframes ${r}{${s.join("")}}`;e.rules.global.apply(o)}return r};return Xe(i,{get name(){return i()},toString:i})}),xr=class{constructor(n,e,t,r){this.token=n==null?"":String(n),this.value=e==null?"":String(e),this.scale=t==null?"":String(t),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+re(this.prefix)+re(this.scale)+this.token}toString(){return this.computedValue}},Er=ge(),Cr=(n,e)=>Er(n,()=>(t,r)=>{r=typeof t=="object"&&t||Object(r);const i=`.${t=(t=typeof t=="string"?t:"")||`${re(n.prefix)}t-${ue(r)}`}`,s={},o=[];for(const u in r){s[u]={};for(const f in r[u]){const d=`--${re(n.prefix)}${u}-${f}`,g=Lt(String(r[u][f]),n.prefix,u);s[u][f]=new xr(f,g,u,n.prefix),o.push(`${d}:${g}`)}}const a=()=>{if(o.length&&!e.rules.themed.cache.has(t)){e.rules.themed.cache.add(t);const u=`${r===n.theme?":root,":""}.${t}{${o.join(";")}}`;e.rules.themed.apply(u)}return t};return{...s,get className(){return a()},selector:i,toString:a}}),wr=ge(),Tt,Or=ge(),Lr=n=>{const e=(t=>{let r=!1;const i=wr(t,s=>{r=!0;const o="prefix"in(s=typeof s=="object"&&s||{})?String(s.prefix):"",a=typeof s.media=="object"&&s.media||{},u=typeof s.root=="object"?s.root||null:globalThis.document||null,f=typeof s.theme=="object"&&s.theme||{},d={prefix:o,media:a,theme:f,themeMap:typeof s.themeMap=="object"&&s.themeMap||{...Qn},utils:typeof s.utils=="object"&&s.utils||{}},g=cr(u),c={css:Nt(d,g),globalCss:yr(d,g),keyframes:Sr(d,g),createTheme:Cr(d,g),reset(){g.reset(),c.theme.toString()},theme:{},sheet:g,config:d,prefix:o,getCssText:g.toString,toString:g.toString};return String(c.theme=c.createTheme(f)),c});return r||i.reset(),i})(n);return e.styled=(({config:t,sheet:r})=>Or(t,()=>{const i=Nt(t,r);return(...s)=>{const o=i(...s),a=o[le].type,u=k.forwardRef((f,d)=>{const g=f&&f.as||a,{props:c,deferredInjector:h}=o(f);return delete c.as,c.ref=d,h?k.createElement(k.Fragment,null,k.createElement(g,c),k.createElement(h,null)):k.createElement(g,c)});return u.className=o.className,u.displayName=`Styled.${a.displayName||a.name||a}`,u.selector=o.selector,u.toString=()=>o.selector,u[le]=o[le],u}}))(e),e},Rr=()=>Tt||(Tt=Lr()),F=(...n)=>Rr().styled(...n);const kr=F("div",{display:"flex",alignItems:"center"}),Nr=F("div",{margin:"0 10px",backgroundColor:"#fff",color:"#000",height:"18px",width:"85px",borderRadius:"4px",boxSizing:"border-box",lineHeight:"1.2",fontSize:"16px",textAlign:"center"}),Pt=F("button",{backgroundColor:"#fff",border:"0",color:"#000",height:"18px",width:"18px",borderRadius:"50%"}),Ir=({handleClik:n,featureKey:e})=>{const t=qe(),r=Ct(),i=()=>{n(1),r&&t&&t({type:e,value:r[e]+1})},s=()=>{n(-1),r&&t&&t({type:e,value:r[e]-1})};return x.jsxs(kr,{children:[x.jsx(Pt,{onClick:s,disabled:(r==null?void 0:r[e])===0,className:"counterInput-button",children:"-"}),x.jsxs(Nr,{className:"counterInput-display",children:[r==null?void 0:r[e]," %"]}),x.jsx(Pt,{onClick:i,className:"counterInput-button",disabled:(r==null?void 0:r[e])===70,children:"+"})]})},Tr=F("label",{cursor:"pointer",width:"100px",height:"22px",background:"#fff",position:"relative",transition:"background-color 0.2s",borderRadius:"16px",color:"#000",fontSize:"12px",":checked + .react-switch-button":{left:"calc(100% - 2px)",transform:"translateX(-100%)",color:"red"},":active + .react-switch-button":{width:"60px"}}),Pr=F("input",{height:"0",width:"0",position:"absolute",visibility:"hidden"}),jr=F("div",{position:"absolute",zIndex:"1",top:"2px",left:"2px",width:"45px",height:"18px",transition:"0.2s",background:"#000",boxShadow:"0 0 2px 0 rgba(10, 10, 10, 0.29)",borderRadius:"16px"}),$r=F("div",{display:"relative",zIndex:"0",height:"100%",font:'14pt "Segoe UI", Verdana, sans-serif',span:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",width:"50%",height:"100%",fontSize:"14px"},"span:first-child":{left:"0"},"span:last-child":{right:"0"}}),Ar=({handleToggle:n,featureKey:e})=>{const t=qe(),r=Ct(),{t:i}=fe();return k.useEffect(()=>{r&&n(!!r[e])},[r,n,e]),x.jsxs(Tr,{children:[x.jsx(Pr,{onChange:()=>{r&&t&&t({type:e,value:!r[e]})},type:"checkbox",checked:!!(r!=null&&r[e])}),x.jsx(jr,{className:"react-switch-button"}),x.jsxs($r,{children:[x.jsx("span",{children:i("GENERAL.NO")}),x.jsx("span",{children:i("GENERAL.YES")})]})]})},Fr=F("h3",{fontSize:"18px",marginBottom:"8px",textAlign:"start"}),Mr=F("li",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"8px"}),_r=F("div",{display:"flex",alignItems:"center"}),Br=F("span",{fontSize:"16px",marginLeft:"10px"}),Dr=({groupName:n,content:e})=>x.jsxs(x.Fragment,{children:[x.jsx(Fr,{children:n}),e.map(({name:t,icon:r,inputType:i,featureFunction:s,key:o})=>x.jsxs(Mr,{children:[x.jsxs(_r,{children:[r,x.jsx(Br,{children:t})]}),i===Q.INCREASE?x.jsx(Ir,{handleClik:s,featureKey:o}):x.jsx(Ar,{handleToggle:s,featureKey:o})]},