!function(e,t,r,n,o){var a,i="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{},s="function"==typeof i[n]&&i[n],l=s.i||{},c=s.cache||{},u="u">typeof module&&"function"==typeof module.require&&module.require.bind(module);function d(t,r){if(!c[t]){if(!e[t]){if(o[t])return o[t];var a="function"==typeof i[n]&&i[n];if(!r&&a)return a(t,!0);if(s)return s(t,!0);if(u&&"string"==typeof t)return u(t);var l=Error("Cannot find module '"+t+"'");throw l.code="MODULE_NOT_FOUND",l}h.resolve=function(r){var n=e[t][1][r];return null!=n?n:r},h.cache={};var p=c[t]=new d.Module(t);e[t][0].call(p.exports,h,p,p.exports,i)}return c[t].exports;function h(e){var t=h.resolve(e);if(!1===t)return{};if(Array.isArray(t)){var r={__esModule:!0};return t.forEach(function(e){var t=e[0],n=e[1],o=e[2]||e[0],a=d(n);"*"===t?Object.keys(a).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}})}):"*"===o?Object.defineProperty(r,t,{enumerable:!0,value:a}):Object.defineProperty(r,t,{enumerable:!0,get:function(){return"default"===o?a.__esModule?a.default:a:a[o]}})}),r}return d(t)}}d.isParcelRequire=!0,d.Module=function(e){this.id=e,this.bundle=d,this.require=u,this.exports={}},d.modules=e,d.cache=c,d.parent=s,d.distDir="./",d.publicUrl="/",d.devServer=void 0,d.i=l,d.register=function(t,r){e[t]=[function(e,t){t.exports=r},{}]},d.resolve=function(e){if(e=l[e]||e,!a)try{throw Error()}catch(r){var t=(""+r.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(!t)return"./"+e;a=t[0]}return new URL("./"+e,a).toString()},d.extendImportMap=function(e){Object.assign(l,e)},Object.defineProperty(d,"root",{get:function(){return i[n]}}),i[n]=d;for(var p=0;ptypeof module?module.exports=h:"function"==typeof define&&define.amd&&define("htMod",function(){return h})}}({cGEQt:[function(e,t,r,n){t.bundle.extendImportMap({apud0:"es.73e61188.js","3BNMk":"en.1757c0e9.js","4mRqr":"sign.2d068bf2.js","4TH8k":"sign.a7f74259.js","4aaBw":"AddonsApp.bb05817a.js"})},{}],fQI3t:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r);var a=e("@swc/helpers/_/_class_private_field_get"),i=e("@swc/helpers/_/_class_private_field_init"),s=e("@swc/helpers/_/_class_private_field_set"),l=e("@swc/helpers/_/_define_property"),c=e("@swc/helpers/_/_object_spread"),u=e("@swc/helpers/_/_object_spread_props"),d=e("react/jsx-runtime"),p=e("./constants/config"),h=e("events"),g=e("preact"),f=e("./services/domUtils"),m=e("./apps"),y=o.interopDefault(m),v=e("./services/translationService"),M=e("./services/textCollectorService"),_=e("./services/signLanguageTranslatorService/coreService"),S=e("./services/signLanguageTranslatorService/signLanguageService"),N=e("./services/pageSpeechService"),x=e("./commands/signLanguageTranslatorCommands/ActiveSignLanguageTranslatorCommand"),A=e("./commands/addonsCommands/ActiveAddonsCommand"),j=e("./infra/providers/RemoteConfigProvider"),T=e("./domain/use-cases/ParseConfigUseCase"),b=o.interopDefault(T),C=e("./services/addonsService"),D=e("./services/wordCollectorService/CollectorService"),I=e("./stores/useHTGlobalStore"),L=e("./stores/useThemeStore"),w=new WeakMap,E=new WeakMap,z=new WeakMap;class k extends h.EventEmitter{get config(){return(0,a._)(this,w)}get version(){return p.version}static get version(){return p.version}checkIfExistAnInstanceOfClassHT(){if("u">typeof window){if(window.isHTClassInstanceInWindow)throw Error("Nao foi possivel criar uma nova instancia da classe HT, pois uma instancia ja esta ativa.");window.isHTClassInstanceInWindow=!0}}constructor(e){super(),(0,i._)(this,w,{writable:!0,value:void 0}),(0,i._)(this,E,{writable:!0,value:void 0}),(0,l._)(this,"themeStore",(0,L.createThemeStore)()),(0,i._)(this,z,{writable:!0,value:async e=>{let t=new(0,j.RemoteConfigProvider)(p.remoteConfigBaseUrl),r=new(0,b.default)(t);(0,s._)(this,w,await r.execute({defaultConfig:p.defaultConfig,userConfig:e}));let n=document.createElement("div"),{token:o,avatar:i,doNotTrack:l,zIndex:h,parentElement:m,language:x,authMethod:A,alpha:T,antialias:C,height:L,width:z,fpsLimit:k}=(0,a._)(this,w),O={token:o,avatar:i,doNotTrack:l,language:x,authMethod:A,apiEndpoint:"",debug:!1,experimental:!1,alpha:T,antialias:C,height:L,width:z,fpsLimit:k,storageUrl:p.coreStorageUrl,parentElement:n,apiKey:"",showStats:!1};(0,s._)(this,E,document.createElement("div")),(0,a._)(this,E).className="ht-skip",(0,a._)(this,E).style.zIndex=h.toString(),m.appendChild((0,a._)(this,E));let{theme:U}=this.themeStore.getState(),R=(0,p.getCursorByTranslatorLanguage)(this.config.language);(0,f.loadFont)(),(0,f.injectGlobalStyle)(document,R,U);let{setState:P}=I.useHTGlobalStore;P((0,u._)((0,c._)({},p.HTInitialState),{opacity:(0,a._)(this,w).opacity,highContrast:(0,a._)(this,w).highContrast,element:(0,a._)(this,E),customStyle:(0,c._)({},p.HTInitialState.customStyle,(0,a._)(this,w).customStyle)}));let Q=D.WordCollectorService.getInstance();v.initialize((0,a._)(this,w),p.translationKey),M.initialize((0,a._)(this,w)),Q.initialize((0,a._)(this,w)),S.initialize((0,a._)(this,w)),_.initialize((0,a._)(this,w),O,this),N.initialize((0,a._)(this,w)),(0,g.render)((0,d.jsx)(y.default,{defaultConfig:(0,a._)(this,w),themeStore:this.themeStore}),(0,a._)(this,E))}}),(0,l._)(this,"removeListenersFromIframe",({contentWindow:e})=>e&&M.removeClickListenerFromWindow(e)),(0,l._)(this,"addListenersToIframe",({contentWindow:e})=>{"true"==S.getSignLanguageActivatedValue()&&e&&M.addClickListenerToWindow(e)}),(0,l._)(this,"removeListenersFromIframes",()=>M.toggleListenersFromIframes(!1,document.querySelectorAll("iframe"))),(0,l._)(this,"addListenersToIframes",()=>{"true"==S.getSignLanguageActivatedValue()&&M.toggleListenersFromIframes(!0,document.querySelectorAll("iframe"))}),(0,l._)(this,"openWebsiteTranslator",()=>{"true"==(0,C.getAddonsActivatedValue)()||new(0,x.ActiveSignLanguageTranslatorCommand)((0,a._)(this,w)).execute()}),(0,l._)(this,"openAccessibilityFeatures",()=>{"true"==S.getSignLanguageActivatedValue()||new(0,A.ActiveAddonsCommand)((0,a._)(this,w)).execute()}),(0,l._)(this,"destroy",()=>{M.toggleWindowListeners(!1),(0,a._)(this,E).remove(),window.HT=this,Reflect.deleteProperty(window,"ht"),Reflect.deleteProperty(window,"isHTClassInstanceInWindow")}),(0,l._)(this,"setTheme",(e,t)=>{let{setTheme:r}=this.themeStore.getState();r(e,t)}),this.checkIfExistAnInstanceOfClassHT(),(0,a._)(this,z).call(this,e)}}window.HT=k,r.default=k},{"@swc/helpers/_/_class_private_field_get":"k7QBP","@swc/helpers/_/_class_private_field_init":"2W8KH","@swc/helpers/_/_class_private_field_set":"iVazn","@swc/helpers/_/_define_property":"kJ3aC","@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","react/jsx-runtime":"52k9Q","./constants/config":"kqbjQ",events:"cctv7",preact:"gdb49","./services/domUtils":"1UlS3","./apps":"hWQ7a","./services/translationService":"bkux0","./services/textCollectorService":"5h9gT","./services/signLanguageTranslatorService/coreService":"hPo59","./services/signLanguageTranslatorService/signLanguageService":"8ovJ9","./services/pageSpeechService":"dj1hh","./commands/signLanguageTranslatorCommands/ActiveSignLanguageTranslatorCommand":"gGno5","./commands/addonsCommands/ActiveAddonsCommand":"1RXT2","./infra/providers/RemoteConfigProvider":"jUc4Z","./domain/use-cases/ParseConfigUseCase":"9ecqu","./services/addonsService":"yQkod","./services/wordCollectorService/CollectorService":"ptRIP","./stores/useHTGlobalStore":"aSfyl","./stores/useThemeStore":"f7qpQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],k7QBP:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"_",()=>s);var a=e("./_class_apply_descriptor_get.js"),i=e("./_class_extract_field_descriptor.js");function s(e,t){var r=(0,i._)(e,t,"get");return(0,a._)(e,r)}},{"./_class_apply_descriptor_get.js":"2na0W","./_class_extract_field_descriptor.js":"3Cxbe","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2na0W":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){return t.get?t.get.call(e):t.value}o.defineInteropFlag(r),o.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4yirv":[function(e,t,r,n){r.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},r.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.exportAll=function(e,t){return Object.keys(e).forEach(function(r){"default"===r||"__esModule"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),t},r.export=function(e,t,r){Object.defineProperty(e,t,{enumerable:!0,get:r})}},{}],"3Cxbe":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}o.defineInteropFlag(r),o.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2W8KH":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"_",()=>i);var a=e("./_check_private_redeclaration.js");function i(e,t,r){(0,a._)(e,t),t.set(e,r)}},{"./_check_private_redeclaration.js":"adom0","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],adom0:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}o.defineInteropFlag(r),o.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iVazn:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"_",()=>s);var a=e("./_class_apply_descriptor_set.js"),i=e("./_class_extract_field_descriptor.js");function s(e,t,r){var n=(0,i._)(e,t,"set");return(0,a._)(e,n,r),r}},{"./_class_apply_descriptor_set.js":"Wo8uQ","./_class_extract_field_descriptor.js":"3Cxbe","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],Wo8uQ:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}o.defineInteropFlag(r),o.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],kJ3aC:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o.defineInteropFlag(r),o.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8KZ4Y":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"_",()=>i);var a=e("./_define_property.js");function i(e){for(var t=1;ta)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"52k9Q":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"Fragment",()=>a.Fragment),o.export(r,"jsx",()=>d),o.export(r,"jsxAttr",()=>f),o.export(r,"jsxDEV",()=>d),o.export(r,"jsxEscape",()=>function e(t){if(null==t||"boolean"==typeof t||"function"==typeof t)return null;if("object"==typeof t){if(void 0===t.constructor)return t;if(u(t)){for(var r=0;rp),o.export(r,"jsxs",()=>d);var a=e("preact"),i=/["&<]/;function s(e){if(0===e.length||!1===i.test(e))return e;for(var t=0,r=0,n="",o="";rC),o.export(r,"Fragment",()=>b),o.export(r,"cloneElement",()=>Y),o.export(r,"createContext",()=>B),o.export(r,"createElement",()=>A),o.export(r,"createRef",()=>T),o.export(r,"h",()=>A),o.export(r,"hydrate",()=>F),o.export(r,"isValidElement",()=>l),o.export(r,"options",()=>i),o.export(r,"render",()=>H),o.export(r,"toChildArray",()=>function e(t,r){return r=r||[],null==t||"boolean"==typeof t||(S(t)?t.some(function(t){e(t,r)}):r.push(t)),r});var a,i,s,l,c,u,d,p,h,g,f,m,y,v={},M=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,S=Array.isArray;function N(e,t){for(var r in t)e[r]=t[r];return e}function x(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function A(e,t,r){var n,o,i,s={};for(i in t)"key"==i?n=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return j(e,s,n,o,null)}function j(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++s:o,__i:-1,__u:0};return null==o&&null!=i.vnode&&i.vnode(a),a}function T(){return{current:null}}function b(e){return e.children}function C(e,t){this.props=e,this.context=t}function D(e,t){if(null==t)return e.__?D(e.__,e.__i+1):null;for(var r;ts&&c.sort(p),e=c.shift(),s=c.length,e.__d&&(t=void 0,r=void 0,n=(r=e.__v).__e,o=[],a=[],e.__P&&((t=N({},r)).__v=r.__v+1,i.vnode&&i.vnode(t),O(e.__P,t,r,e.__n,e.__P.namespaceURI,32&r.__u?[n]:null,o,null==n?D(r):n,!!(32&r.__u),a),t.__v=r.__v,t.__.__k[t.__i]=t,R(o,t,a),r.__e=r.__=null,t.__e!=n&&function e(t){var r,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,r=0;r0?s=e.__k[a]=j(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[a]=s,c=a+h,s.__=e,s.__b=e.__b+1,l=null,-1!=(u=s.__i=function(e,t,r,n){var o,a,i,s=e.key,l=e.type,c=t[r],u=null!=c&&0==(2&c.__u);if(null===c&&null==s||u&&s==c.key&&l==c.type)return r;if(n>+!!u){for(o=r-1,a=r+1;o>=0||a=0?o--:a++])&&0==(2&c.__u)&&s==c.key&&l==c.type)return i}return -1}(s,r,c,p))&&(p--,(l=r[u])&&(l.__u|=2)),null==l||null==l.__v?(-1==u&&(o>d?h--:oc?h--:h++,s.__u|=4))):e.__k[a]=null;if(p)for(a=0;a0?t:S(t)?t.map(e):N({},t)}(p.props.children)),c=w(e,S(O)?O:[O],t,r,n,o,s,l,c,u,d),h.base=t.__e,t.__u&=-161,h.__h.length&&l.push(h),M&&(h.__E=h.__=null)}catch(e){if(t.__v=null,u||null!=s)if(e.then){for(t.__u|=u?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;s[s.indexOf(c)]=null,t.__e=c}else{for(R=s.length;R--;)x(s[R]);U(t)}else t.__e=r.__e,t.__k=r.__k,e.then||U(t);i.__e(e,t,r)}else null==s&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):c=t.__e=function(e,t,r,n,o,s,l,c,u){var d,p,h,g,f,m,y,M=r.props||v,_=t.props,N=t.type;if("svg"==N?o="http://www.w3.org/2000/svg":"math"==N?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=s){for(d=0;d2&&(l.children=arguments.length>3?a.call(arguments,2):r),j(e.type,l,n||e.key,o||e.ref,null)}function B(e){function t(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&r.forEach(function(e){e.__e=!0,I(e)})},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+y++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}a=M.slice,i={__e:function(e,t,r,n){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,n||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}},s=0,l=function(e){return null!=e&&void 0===e.constructor},C.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=N({},this.state),"function"==typeof e&&(e=e(N({},r),this.props)),e&&N(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),I(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),I(this))},C.prototype.render=b,c=[],d="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,p=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,h=/(PointerCapture)$|Capture$/i,g=0,f=k(!1),m=k(!0),y=0},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],kqbjQ:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"handtalkUrl",()=>d),o.export(r,"version",()=>p),o.export(r,"portraitScaleFactor",()=>h),o.export(r,"portraitWidthBreakpoint",()=>g),o.export(r,"landscapeWidthBreakpoint",()=>f),o.export(r,"maxWidth",()=>m),o.export(r,"maxHeight",()=>y),o.export(r,"proportionWidth",()=>v),o.export(r,"proportionHeight",()=>M),o.export(r,"signLanguageHoverClassName",()=>_),o.export(r,"speechHoverClassName",()=>S),o.export(r,"mobileHoverClassName",()=>N),o.export(r,"invalidTextClassName",()=>x),o.export(r,"loadingHoverClassName",()=>A),o.export(r,"magnifierHoverClassName",()=>j),o.export(r,"coreStorageUrl",()=>b),o.export(r,"translationUrl",()=>I),o.export(r,"translationKey",()=>L),o.export(r,"remoteConfigBaseUrl",()=>w),o.export(r,"iframeUrl",()=>E),o.export(r,"animationsUrl",()=>z),o.export(r,"idHTCoreElement",()=>k),o.export(r,"idHTCoreScript",()=>O),o.export(r,"idHTCoreViewer",()=>U),o.export(r,"idMobileMenuTranslationElement",()=>R),o.export(r,"idDesktopMenuTranslationElement",()=>P),o.export(r,"idInfoMenuElement",()=>Q),o.export(r,"idCloseTranslatorElement",()=>H),o.export(r,"idPluginAccessibilityText",()=>F),o.export(r,"readerModeViewId",()=>Y),o.export(r,"closeTopBarClassName",()=>B),o.export(r,"coloredButtonClassname",()=>G),o.export(r,"translatorMenu",()=>$),o.export(r,"screenReaderStatus",()=>V),o.export(r,"configMenu",()=>W),o.export(r,"htAddonsException",()=>Z),o.export(r,"htTranslatorException",()=>q),o.export(r,"htPromptLinkException",()=>K),o.export(r,"googleAnalyticsHitDelay",()=>J),o.export(r,"analyticsDebounceTime",()=>X),o.export(r,"defaultConfig",()=>ee),o.export(r,"waitForEventTimeout",()=>et),o.export(r,"ga4TrackCode",()=>er),o.export(r,"gaScriptUrl",()=>en),o.export(r,"ga4ScriptUrl",()=>eo),o.export(r,"speeds",()=>ea),o.export(r,"speedPt",()=>ei),o.export(r,"HTInitialState",()=>es),o.export(r,"maxTextLimit",()=>el),o.export(r,"defaultSignInfo",()=>ec),o.export(r,"opacities",()=>eu),o.export(r,"defaultLineHeight",()=>ed),o.export(r,"defaultLetterSpacing",()=>ep),o.export(r,"lineHeightScaleList",()=>eh),o.export(r,"letterSpacingScaleList",()=>eg),o.export(r,"fontSizeScaleList",()=>ef),o.export(r,"speechSpeedList",()=>em),o.export(r,"readerModeList",()=>ey),o.export(r,"contrastList",()=>ev),o.export(r,"colorIntensityList",()=>eM),o.export(r,"readingMaskList",()=>e_),o.export(r,"highlightLinksList",()=>eS),o.export(r,"textStyleList",()=>eN),o.export(r,"readingGuideList",()=>ex),o.export(r,"magnifierList",()=>eA),o.export(r,"pauseAnimationsList",()=>ej),o.export(r,"highlightHeadingsList",()=>eT),o.export(r,"hideImagesList",()=>eb),o.export(r,"highlightedLettersList",()=>eC),o.export(r,"colorblindList",()=>eD),o.export(r,"colorblindDegreeList",()=>eI),o.export(r,"disableSoundsList",()=>eL),o.export(r,"signTranslatorList",()=>ew),o.export(r,"getCursorByTranslatorLanguage",()=>eE);var a=e("../assets/media/cursor/sign-language-valid.svg"),i=o.interopDefault(a),s=e("../assets/media/cursor/sign-asl-valid.svg"),l=o.interopDefault(s),c=e("md5"),u=o.interopDefault(c);let d={"ptBR-bzs":"https://www.handtalk.me/br/plugin/","en-ase":"https://www.handtalk.me/en/plugin/"},p="12.5.0",h=.5,g=1024,f=1366,m=250,y=400,v=50,M=80,_="ht-signlanguage-hover",S="ht-speech-hover",N="ht-mobile-hover",x="ht-invalid-text",A="ht-loading-hover",j="ht-magnifier-hover",T="2.3.1",b=`https://plugin.handtalk.me/corejs/${T}`,C="http://localhost:1234/",D="https://www.google-analytics.com/analytics_debug.js",I="https://translation-v3.handtalk.me",L="2b28e79b5d5ee2c3d6b1a531c2d1d316";D="https://www.google-analytics.com/analytics.js",C=`https://plugin.handtalk.me/web/${p}/`;let w="https://plugin.handtalk.me/remote-config",E=`${C}iframe.html`,z={"ptBR-bzs":`${C}animations/ptBR-bzs/`,"en-ase":`${C}animations/en-ase/`},k=(0,u.default)("HTCoreElement"),O=(0,u.default)("HTCoreScript"),U=(0,u.default)("HTCoreViewer"),R=(0,u.default)("HTMobileMenuTranslationElement"),P=(0,u.default)("HTDesktopMenuTranslationElement"),Q=(0,u.default)("HTInfoMenuElement"),H=(0,u.default)("HTCloseTranslatorElement"),F=(0,u.default)("HTPluginAccessibilityText"),Y=(0,u.default)("htReaderModeView"),B=(0,u.default)("HTCloseTopbar"),G=(0,u.default)("HTColoredButton"),$=(0,u.default)("HTTranslatorMenu"),V=(0,u.default)("HTScreenReaderStatus"),W=(0,u.default)("HTConfigMenu"),Z="ht-addons-exception",q="ht-translator-exception",K="ht-prompt-link-exception",J=400,X=1500,ee={align:"default",alpha:!0,antialias:!0,coreVersion:T,storageUrl:C,authMethod:"default",avatar:"HUGO",doNotTrack:!1,exceptions:[`.${q}`,`.${K}`,"input","textarea"],experimental:!1,fpsLimit:0,height:400,highContrast:!1,maxTextSize:800,mobileConfig:{},mobileEnabled:!0,remoteConfigEnabled:!0,addonsEnabled:!0,opacity:50,parentElement:document.body,side:"right",textEnabled:!0,token:"",width:250,zIndex:1e6,clickables:["a","button","[role=button]","[role=link]"],language:"ptBR-bzs",languageInterface:document.documentElement.lang||"pt-BR",colorButton:"a11yColorMain",offRedirection:!1,apiEndpoint:I,addonsMap:{aiAssistant:{signTranslator:!0,synonymsMeanings:!0},fontControl:{fontSize:!0,textStyle:!0,lineHeight:!0,letterSpacing:!0,highlightLetters:!0},navigation:{pageSpeech:!0,readerMode:!0,readingMask:!0,readingGuide:!0,highlightLinks:!0,pageStructure:!0,magnifier:!0,hideImages:!0,highlightHeadings:!0,pauseAnimations:!0,disableSounds:!0},colorControl:{contrastMode:!0,saturationMode:!0,pageColors:!0}},customStyle:{borderRadius:16}},et=15e3,er="G-H8MH82K9NF",en=D,eo=`https://www.googletagmanager.com/gtag/js?id=${er}`,ea={veryFast:2,fast:1.7,normal:1,slow:.5,paused:0},ei={veryFast:"Muito rápido",fast:"Rápido",slow:"Lento",normal:"Normal",paused:"Pausado"},es={modalMessage:null,currentText:"",coreLoadProgress:0,promptLinkShowing:null,isAuthenticating:!1,highContrast:!1,isCoreDownloadingPhrase:!1,isCoreReady:!1,isCoreSignalizingPhrase:!1,isMobile:!1,isAddonsActive:!1,isSignLanguageActive:!1,isActiveConfigMenu:!1,opacity:50,speed:localStorage.HTSpeed||"normal",messages:{},onboarding:null,side:"right",sendHitChangeSide:!1,sendHitChangeContrast:!1,sendHitChangeOpacity:!1,sendHitChangeSpeed:!1,isClosingPlugin:!1,isNewTranslate:!1,element:document.body,readerModeState:"none",pageSpeechState:"none",fontSizeScaleState:"none",lineHeightScaleState:"none",letterSpacingScaleState:"none",readingMaskState:"none",contrastState:"none",colorIntensityState:"none",highlightLinksState:"none",magnifierState:"none",pauseAnimationsState:"none",highlightHeadingsState:"none",hideImagesState:"none",hasAddonsAppsActive:!1,textStyleState:"none",readingGuideState:"none",pageStructureState:"none",highlightedLettersState:"none",addonsViewExpandState:!1,colorblindModeState:"none",disableSoundsState:"none",synonymsMeaningsState:"none",signTranslatorState:"none",customStyle:{borderRadius:16},avatar:"HUGO",isOpenTranslateFromResources:!1},el=1e3,ec={type:"animation"},eu=[0,50,100],ed=1.2,ep=3,eh=[1,1.2,1.5,2],eg=[1,1.2,1.5,2],ef=[1,1.2,1.5,2],em=[{},{type:"speechNormalSpeedText",speed:1},{type:"speechFastSpeedText",speed:1.5},{type:"speechVeryFastSpeedText",speed:2},{type:"speechSlowSpeedText",speed:.5}],ey=["none","light","dark"],ev=["none","dark","light"],eM=["none","default","high","low"],e_=["none","small","medium","large"],eS=["none","blackAndYellow","whiteAndYellow","yellowAndBlack"],eN=["none","atksonHyperlegible","newsreader","openDyslexic"],ex=["none","orange","blackAndYellow"],eA=["none","active"],ej=["none","active"],eT=["none","active"],eb=["none","active"],eC=["none","active"],eD=["deuteranopia","protanopia","tritanopia"],eI=[90,0,200],eL=["none","active"],ew=["none","active"],eE=e=>({"ptBR-bzs":i.default,"en-ase":l.default})[e]||i.default},{"../assets/media/cursor/sign-language-valid.svg":"1rBYO","../assets/media/cursor/sign-asl-valid.svg":"9R36P",md5:"i0UlR","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1rBYO":[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA3MyA3MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03MCAzNkM3MCA1NC4yMjU0IDU1LjIyNTQgNjkgMzcgNjlDMTguNzc0NiA2OSA0IDU0LjIyNTQgNCAzNkM0IDMwLjk2MDUgNS4xMjk2MSAyNi4xODQ5IDcuMTQ5NDUgMjEuOTEyNUw0LjcyNDcgNS4zODIwNkM0LjUzMDM0IDQuMDU3MDUgNS42Njc3NCAyLjkxOTExIDYuOTkyODQgMy4xMTI4M0wyMy41NjY1IDUuNTM1ODVDMjMuNzI1MyA1LjU1OTA2IDIzLjg3NDggNS41OTg5NSAyNC4wMTQ0IDUuNjUzMTNDMjcuOTk5OSAzLjk0NTQ4IDMyLjM4OTUgMyAzNyAzQzU1LjIyNTQgMyA3MCAxNy43NzQ2IDcwIDM2WiIgZmlsbD0iIzAwMzA4NyIvPgo8cGF0aCBkPSJNMzcgNjFDNTAuODA3MSA2MSA2MiA0OS44MDcxIDYyIDM2QzYyIDIyLjE5MjkgNTAuODA3MSAxMSAzNyAxMUMyMy4xOTI5IDExIDEyIDIyLjE5MjkgMTIgMzZDMTIgNDkuODA3MSAyMy4xOTI5IDYxIDM3IDYxWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTQ3LjcyNzUgMjkuMDY2NkM0OC4yNiAyOC45OTk4IDQ4LjgwMTkgMjkuMDYzOSA0OS4yOTk4IDI5LjI1MjhDNDkuNzk3NyAyOS40NDE2IDUwLjIzNDUgMjkuNzQ4NiA1MC41NjcgMzAuMTQzNUM1MS4zODQ3IDMxLjAzNTUgNTIuNDA3NSAzMS43NDI4IDUzLjU1ODggMzIuMjEyM0M1NC41MzEzIDMyLjYwMDYgNTQuODkxMSAzMy4zMjg2IDU1LjEwMTggMzQuMTkzMkM1NS40MDMyIDM1LjQ0NiA1NS4wNjYxIDM2LjY0MTIgNTQuNjYwOSAzNy44MTIxQzU0LjI4ODMgMzguOTczNCA1My44MjkxIDQwLjEwODcgNTMuMjg2NiA0MS4yMDk3QzUyLjUzOTQgNDIuNjg1NCA1Mi4xNzk0IDQ0LjMwNjcgNTIuMjM2MyA0NS45Mzg5QzUyLjIzNjMgNDcuNjI4NSA1Mi4yMzYzIDQ5LjMyMTIgNTIuMjM2MyA1MS4wMTA5QzUyLjIzNjMgNTEuNTAyMyA1Mi4xNzggNTEuOTkzNyA1Mi4xMzI2IDUyLjQ4MjFDNTIuMDgwOCA1My4wNTI0IDUxLjc1MDEgNTMuMzY3OSA1MS4yMTg1IDUzLjM5MjJDNTEuMDkzOSA1My4zOTU4IDUwLjk2OTYgNTMuMzc2MyA1MC44NTMxIDUzLjMzNDdDNTAuNzM2NSA1My4yOTMxIDUwLjYyOTkgNTMuMjMwMyA1MC41Mzk1IDUzLjE0OTlDNTAuNDQ5MSA1My4wNjk1IDUwLjM3NjYgNTIuOTczMSA1MC4zMjYyIDUyLjg2NjNDNTAuMjc1OCA1Mi43NTk0IDUwLjI0ODYgNTIuNjQ0NCA1MC4yNDYxIDUyLjUyNzZDNTAuMTI5NCA1MS42NzUyIDUwLjAzNTQgNTAuODE2NyA0OS45MjIgNDkuOTY0M0M0OS43ODU4IDQ4Ljc3MjIgNDkuNjY1OSA0Ny41OCA0OS41MDM4IDQ2LjM5MDlDNDkuNDU4OCA0Ni4xMDQyIDQ5LjM0ODMgNDUuODMgNDkuMTc5NyA0NS41ODdDNDguOTAwOSA0NS4xODY2IDQ4LjUwMjIgNDUuMjAxNyA0OC4zMzM3IDQ1LjY0NzdDNDguMTA2NyA0Ni4yNjU4IDQ3LjkzMjIgNDYuODk5OCA0Ny44MTE4IDQ3LjU0MzZDNDcuMzY3NyA0OS44MjE4IDQ2Ljk1NjEgNTIuMDkzOCA0Ni41MTUyIDU0LjM5MDJDNDYuNDcyNiA1NC42MTYzIDQ2LjM5OTYgNTQuODM2NCA0Ni4yOTgxIDU1LjA0NTRDNDYuMDMyMyA1NS41OTQ1IDQ1LjY5ODQgNTUuNzI0OSA0NS4wMjA5IDU1LjU4MjRDNDQuNzkwNyA1NS41MzkxIDQ0LjU4OCA1NS40MTI1IDQ0LjQ1NjkgNTUuMjMwMkM0NC4zMjU4IDU1LjA0NzkgNDQuMjc2OSA1NC44MjQ1IDQ0LjMyMDggNTQuNjA4NkM0NC40NDA3IDUzLjMzNzYgNDQuNTk5NiA1Mi4wNzI2IDQ0Ljc0NTQgNTAuODA0NkM0NC45MjA1IDQ5LjMwNjEgNDUuMTIxNCA0Ny44MTM2IDQ1LjI2NCA0Ni4zMTVDNDUuMjMxMiA0Ni4wMTIyIDQ1LjE0MzUgNDUuNzE2NyA0NS4wMDQ3IDQ1LjQ0MTRDNDQuNzUwMSA0NS42MTIzIDQ0LjUyMyA0NS44MTY2IDQ0LjMzMDUgNDYuMDQ4MUM0Mi43MjA2IDQ4LjY4OTMgNDEuMTI0OCA1MS4zMzk1IDM5LjU0MjkgNTMuOTk4OUMzOS40NjA2IDU0LjE4MjEgMzkuMzI2NiA1NC4zNDA5IDM5LjE1NTMgNTQuNDU4NEMzOC45ODQxIDU0LjU3NTkgMzguNzgyIDU0LjY0NzggMzguNTcwNSA1NC42NjYzQzM4LjM1NjIgNTQuNjc3NyAzOC4xNDI0IDU0LjYzNiAzNy45NTA4IDU0LjU0NTNDMzcuNzU5MiA1NC40NTQ2IDM3LjU5NjYgNTQuMzE4MSAzNy40Nzk1IDU0LjE0OTdDMzcuMzYyNCA1My45ODEzIDM3LjI5NDkgNTMuNzg2OSAzNy4yODM4IDUzLjU4NjJDMzcuMjcyOCA1My4zODU2IDM3LjMxODYgNTMuMTg1NyAzNy40MTY2IDUzLjAwNjlDMzguMDY0OSA1MS41NTM5IDM4Ljc4MTIgNTAuMTEzIDM5LjQ3ODEgNDguNjcyMUM0MC4xMjY0IDQ3LjM0MzQgNDAuNzkwOSA0Ni4wMjY5IDQxLjQyMyA0NC42OTgyQzQxLjYwMTIgNDQuMzI1MSA0MS44ODMyIDQzLjg1MTggNDEuNDM5MiA0My41NTc2QzQwLjk5NTEgNDMuMjYzMyA0MC42Njc3IDQzLjcwMzIgNDAuMzc2IDQzLjk3OTJDMzguMjQ5NiA0NS45ODk0IDM2LjEyNzYgNDguMDA1NyAzNC4wMDk4IDUwLjAyOEMzMy45MzAyIDUwLjEyMjIgMzMuODMwOSA1MC4yMDAxIDMzLjcxNzkgNTAuMjU3QzMzLjYwNDggNTAuMzEzOSAzMy40ODA2IDUwLjM0ODUgMzMuMzUyNyA1MC4zNTg3QzMzLjIyNDkgNTAuMzY4OSAzMy4wOTYyIDUwLjM1NDYgMzIuOTc0NSA1MC4zMTY1QzMyLjg1MjggNTAuMjc4NCAzMi43NDA3IDUwLjIxNzQgMzIuNjQ1MiA1MC4xMzcyQzMyLjA5MDkgNDkuNzI3NyAzMS45NDUxIDQ5LjE0NTMgMzIuMzIxMSA0OC42NDE3QzMyLjg3MjEgNDcuOTMxOSAzMy40NzUgNDcuMjU4NSAzNC4wMjkzIDQ2LjU1NDdDMzUuNzQ0IDQ0LjM3NjYgMzcuNTAwOSA0Mi4yMjU5IDM5LjEyOCAzOS45OTAyQzM5LjczNiAzOS4wODA4IDQwLjIxMTMgMzguMDk5MyA0MC41NDEzIDM3LjA3MkM0MC45MzY4IDM1Ljk4OSA0MC4zODkgMzUuMzY0MSAzOS4xNzAyIDM1LjM3NjJDMzguMjg1MyAzNS4zNzYyIDM3LjQwMDQgMzUuNDYxMiAzNi41MTU1IDM1LjUwOTdDMzUuNDY4NSAzNS41NjQzIDM0LjQ0MSAzNS41MDk3IDMzLjUxMzkgMzQuOTk0QzMzLjEzMTQgMzQuNzgxNyAzMi42ODczIDM0LjUzNiAzMi43NzgxIDM0LjA1MDZDMzIuODY4OSAzMy41NjUyIDMzLjM4MSAzMy41ODM0IDMzLjc3OTcgMzMuNTUwMUMzNi4xNDI3IDMzLjMzMTcgMzguMjU2MSAzMi40OTc1IDQwLjM1NjUgMzEuNTM4OUM0Mi4wNTE4IDMwLjc3MTQgNDMuNzgyNyAzMC4wNjE2IDQ1LjU0MjggMjkuNDE1NEM0Ni4yNDk3IDI5LjIwMjkgNDYuOTg1MyAyOS4wODU1IDQ3LjcyNzUgMjkuMDY2NloiIGZpbGw9IiMwMDMwODciLz4KPHBhdGggZD0iTTM3LjM4NDIgMzkuMzEwNUMzNi4xODE3IDQwLjkyNzQgMzQuOTIwNyA0Mi41MDc4IDMzLjY2MzEgNDQuMDc5MkMzMy41MjQzIDQ0LjIxNDQgMzMuMzM0OSA0NC4yOTM4IDMzLjEzNDcgNDQuMzAwNkMzMi4yMTA5IDQ0LjM1NTIgMzEuMjgzOSA0NC4zODg2IDMwLjM2MDEgNDQuNDAzOEMzMC4wODQgNDQuNDA2NyAyOS44MTExIDQ0LjM0OTYgMjkuNTYyNyA0NC4yMzY5QzI4LjQ4MjEgNDMuNzA3IDI3LjY1MjggNDIuODE3MyAyNy4yMzg2IDQxLjc0MzRDMjYuNDg4NiAzOS45OTAzIDI1Ljk3NzkgMzguMTU1NyAyNS43MTgzIDM2LjI4MzFDMjUuNDg2MyAzNC45MzIzIDI0LjkzMjQgMzMuNjQ3NyAyNC4wOTc2IDMyLjUyNDZDMjIuODYzNyAzMC43NTUgMjEuNjM0MiAyOC45ODg1IDIwLjQwODkgMjcuMjI1MUMyMC4yODk2IDI3LjA0MjkgMjAuMTgxNCAyNi44NTQ1IDIwLjA4NDggMjYuNjYwOEMyMC4wMjA1IDI2LjU3MDggMTkuOTc2IDI2LjQ2OTcgMTkuOTUzOCAyNi4zNjM1QzE5LjkzMTYgMjYuMjU3MiAxOS45MzIxIDI2LjE0NzkgMTkuOTU1MyAyNi4wNDE4QzE5Ljk3ODUgMjUuOTM1NyAyMC4wMjQgMjUuODM1IDIwLjA4OSAyNS43NDU1QzIwLjE1NDEgMjUuNjU2IDIwLjIzNzUgMjUuNTc5NCAyMC4zMzQzIDI1LjUyMDJDMjAuNTExNSAyNS4zODk3IDIwLjczNjMgMjUuMzI5MyAyMC45NjA1IDI1LjM1MTlDMjEuMTg0NyAyNS4zNzQ2IDIxLjM5MDQgMjUuNDc4NiAyMS41MzM3IDI1LjY0MTZDMjEuOTY4IDI2LjA2MzIgMjIuMzYzNSAyNi41MTUyIDIyLjc2MjIgMjYuOTY0MkMyMy43NzY3IDI4LjA5NTcgMjQuNzcxOSAyOS4yMzkzIDI1Ljc5NjEgMzAuMzYxN0MyNy4xNjQgMzEuODM2IDI3Ljc3MzQgMzEuNDY4OSAyNy4wNyAyOS42MzA2QzI3LjAxMTcgMjkuNDc1OSAyNi45NTAxIDI5LjMyNzMgMjYuODc4OCAyOS4xNzg2QzI1Ljg4NjkgMjcuMDM3IDI0Ljg1OTQgMjQuODY1IDIzLjg0OCAyMi42OTkxQzIzLjY4NzEgMjIuMzYyOSAyMy41NTU5IDIyLjAxNDkgMjMuNDU1OCAyMS42NTg2QzIzLjI5MDUgMjEuMDczMSAyMy40OTQ3IDIwLjc0ODYgMjQuMTA0MSAyMC41MDI4QzI0LjYzMjUgMjAuMjkzNSAyNS4wMjc5IDIwLjQwMjcgMjUuMzMyNiAyMC45MzY2QzI2LjExMDYgMjIuMjg2NSAyNi44NTI4IDIzLjY2NjggMjcuNjAxNiAyNS4wMTk3QzI4LjE3NTMgMjYuMDU0MSAyOC43NDU4IDI3LjA5MTYgMjkuMzMyNSAyOC4xMjNDMjkuNDYzOSAyOC4zNTIyIDI5LjYyMzkgMjguNTY2IDI5LjgwOSAyOC43NkMyOS44NTUyIDI4LjgwODggMjkuOTEzIDI4Ljg0NjkgMjkuOTc3NyAyOC44NzExQzMwLjA0MjUgMjguODk1NCAzMC4xMTIzIDI4LjkwNTEgMzAuMTgxOCAyOC44OTk2QzMwLjI3OSAyOC44NjYyIDMwLjM1NjggMjguNjkzMyAzMC4zNzk1IDI4LjU3MTlDMzAuNDAzOCAyOC4zODg2IDMwLjQwMzggMjguMjAzMiAzMC4zNzk1IDI4LjAxOThDMzAuMjIzOSAyNS44OTY0IDMwLjA1NTQgMjMuNzcyOSAyOS45MDMgMjEuNjI4M0MyOS44NTc2IDIwLjY2NjYgMjkuNzQ3NCAxOS42OTkgMjkuNjU5OSAxOC43MzQzQzI5LjY2NDUgMTguNDU5OSAyOS43NzYxIDE4LjE5NjUgMjkuOTczNyAxNy45OTM3QzMwLjE3MTMgMTcuNzkwOSAzMC40NDEzIDE3LjY2MjcgMzAuNzMyOCAxNy42MzMyQzMxLjIwNjEgMTcuNTU3MyAzMS44OTY1IDE4LjAyMTQgMzIuMDI5NCAxOC41Nzk2QzMyLjI1MyAxOS41ODM3IDMyLjQzNDYgMjAuNTk5OSAzMi42MDk2IDIxLjYxMzFDMzIuOTU5NyAyMy42NDU1IDMzLjI4MzggMjUuNjc4IDMzLjYzNzEgMjcuNzA3NEMzMy43MDg0IDI4LjEwNzggMzMuNzc2NSAyOC42NDc4IDM0LjMyMTEgMjguNjQ0N0MzNC44NjU2IDI4LjY0MTcgMzQuODU5MSAyOC4wOTI2IDM0LjkzNjkgMjcuNzM0N0MzNS40OTQ1IDI0Ljk1NiAzNi4wNjUgMjIuMTgzNCAzNi42Mzg3IDE5LjQxMDhDMzYuNzY1MSAxOC44MDQxIDM3LjE3MDMgMTguNTQwMiAzNy44NTEgMTguNjI1MUMzNy45OTkgMTguNjM4IDM4LjE0MjcgMTguNjc4MiAzOC4yNzQgMTguNzQzNEMzOC40MDUzIDE4LjgwODYgMzguNTIxNCAxOC44OTc1IDM4LjYxNTggMTkuMDA1QzM4LjcxMDEgMTkuMTEyNSAzOC43ODA4IDE5LjIzNjQgMzguODIzNiAxOS4zNjk1QzM4Ljg2NjUgMTkuNTAyNyAzOC44ODA3IDE5LjY0MjUgMzguODY1NSAxOS43ODA5QzM4Ljc4MTMgMjAuOTk0MyAzOC42NzExIDIyLjIzMTkgMzguNjAzIDIzLjQ2MDVDMzguNDc1NSAyNS42NDI2IDM4LjM2ODUgMjcuODE0NiAzOC4yODIxIDI5Ljk3NjRDMzguMjczOCAzMC4xNDg4IDM4LjIwOTUgMzAuMzE0NyAzOC4wOTc3IDMwLjQ1MThDMzcuOTg1OSAzMC41ODkgMzcuODMxOSAzMC42OTA5IDM3LjY1NjUgMzAuNzQzOUMzNi42MjkgMzEuMDYyNCAzNS42MTEyIDMxLjQxMTMgMzQuNTczOSAzMS42OTM0QzM0LjA3NDEgMzEuNzc1NSAzMy41Njk4IDMxLjgzMTIgMzMuMDYzNCAzMS44NjAzQzMyLjAyNjEgMzIuMDI0MSAzMS4yNDgyIDMyLjUzMzcgMzAuOTc5MiAzMy41MTY1QzMwLjg0MDkgMzMuOTgxMSAzMC44NTU0IDM0LjQ3MzggMzEuMDIwOCAzNC45MzA1QzMxLjE4NjEgMzUuMzg3MiAzMS40OTQ3IDM1Ljc4NjYgMzEuOTA2MiAzNi4wNzY4QzMyLjg1NDggMzYuODMwOSAzNC4wNTU0IDM3LjI1MDYgMzUuMyAzNy4yNjI5QzM2LjIzMzUgMzcuMjg0MSAzNy4xNzAzIDM3LjE1NjcgMzguMTA3MSAzNy4xODRDMzguOTcyNSAzNy4yMTEzIDM3Ljg1NDIgMzguNjc5NiAzNy4zODQyIDM5LjMxMDVaIiBmaWxsPSIjMDAzMDg3Ii8+Cjwvc3ZnPgo="},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9R36P":[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA3MyA3MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03MCAzNkM3MCA1NC4yMjU0IDU1LjIyNTQgNjkgMzcgNjlDMTguNzc0NiA2OSA0IDU0LjIyNTQgNCAzNkM0IDMwLjk2MDUgNS4xMjk2MSAyNi4xODQ5IDcuMTQ5NDUgMjEuOTEyNUw0LjcyNDcgNS4zODIwNkM0LjUzMDM0IDQuMDU3MDUgNS42Njc3NCAyLjkxOTExIDYuOTkyODQgMy4xMTI4M0wyMy41NjY1IDUuNTM1ODVDMjMuNzI1MyA1LjU1OTA2IDIzLjg3NDggNS41OTg5NSAyNC4wMTQ0IDUuNjUzMTNDMjcuOTk5OSAzLjk0NTQ4IDMyLjM4OTUgMyAzNyAzQzU1LjIyNTQgMyA3MCAxNy43NzQ2IDcwIDM2WiIgZmlsbD0iIzAwMzA4NyIvPgo8cGF0aCBkPSJNMzcgNjFDNTAuODA3MSA2MSA2MiA0OS44MDcxIDYyIDM2QzYyIDIyLjE5MjkgNTAuODA3MSAxMSAzNyAxMUMyMy4xOTI5IDExIDEyIDIyLjE5MjkgMTIgMzZDMTIgNDkuODA3MSAyMy4xOTI5IDYxIDM3IDYxWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTIzLjY0MDIgMzcuMjQyM0MyMy41NjU3IDM0LjYwOTQgMjMuNDg2NSAzMy43MzMyIDIzLjQ4NjUgMzMuNzE5NUwyMy4wMDcgMjQuOTEwM0MyMy4wMDcgMjQuOTEwMyAyMi44MjA4IDIzLjA4NTEgMjQuMzY2NCAyMy4wMDc1QzI1LjkxMiAyMi45Mjk5IDI1LjkxMiAyNC42NzA4IDI1LjkxMiAyNC42NzA4QzI1LjkxMiAyNC42NzA4IDI2LjAzMyAyOC4zODc1IDI2LjA2NzkgMjkuMzM2NkMyNi4wNzg0IDI5LjQyNzggMjYuMTI0IDI5LjUxMTcgMjYuMTk1MyAyOS41NzExQzI2LjI2NjcgMjkuNjMwNSAyNi4zNTg1IDI5LjY2MSAyNi40NTIgMjkuNjU2M0MyNi41NDU2IDI5LjY1MTcgMjYuNjMzOCAyOS42MTIyIDI2LjY5ODYgMjkuNTQ2QzI2Ljc2MzUgMjkuNDc5OCAyNi44MDAyIDI5LjM5MTkgMjYuODAxMSAyOS4zMDAxTDI3LjE1NzMgMjYuMjAxN0MyNy4xNjk0IDI2LjE2MjggMjcuMTg3NCAyNi4xMjU5IDI3LjIxMDggMjYuMDkyMkwyOS4zODI1IDIyLjQ1NTRDMjkuMzgyNSAyMi40NTU0IDI5Ljk1MDUgMjEuNjM0IDMxLjE5MTIgMjIuMTk3NUMzMi40MzE4IDIyLjc2MTEgMzEuNjkxNiAyNC4wNTI1IDMxLjY4MjMgMjQuMDYzOUwyOS43NDEgMjcuMjc0MUwyOS4zMzM3IDI5LjE5MDZDMjkuMzMzNyAyOS4xNzIzIDI5LjMzMzcgMjkuMjA4OCAyOS4zMzM3IDI5LjE5MDZDMjkuMjY4NSAyOS42MDEzIDI5Ljk2NjggMjkuNzIyMiAzMC4wODc4IDI5LjMyMjlMMzAuNzg2MSAyNy4yMzUzQzMwLjgxNTQgMjcuMTk0NCAzMC44NTI2IDI3LjE1OTUgMzAuODk1NSAyNy4xMzI2TDM0LjM4NzEgMjUuMDMzNUMzNC4zODcxIDI1LjAzMzUgMzUuNDMyMiAyNC40MzEyIDM2LjEwMDIgMjUuMjYxN0MzNi42OTYxIDI2LjAwNTUgMzYuMTIzNSAyNi43OTk1IDM1Ljk2NzYgMjYuOTEzNkwzNS44OTc3IDI2Ljk2MTVMMzMuMDYwMyAyOC41NTg2QzMzLjAxNjkgMjguNTkwOCAzMi45ODA1IDI4LjYzMTEgMzIuOTUzMiAyOC42NzcyTDMyLjQwODUgMzAuMjk3MkMzMi4yNjQyIDMwLjU1NSAzMi40Mjk1IDMwLjgyNDIgMzIuNzY5MyAzMC44NDQ3TDM0LjA0MjYgMzAuOTkzQzM0LjEwNjcgMzAuOTg5NCAzNC4xNzA5IDMwLjk5OTMgMzQuMjMwNyAzMS4wMjIxQzM0LjI5MDYgMzEuMDQ1IDM0LjM0NDcgMzEuMDgwMiAzNC4zODk0IDMxLjEyNTRMMzYuODEwMiAzMy40Njg2QzM3LjE4NDkgMzMuNzg4IDM3LjEzMzcgMzQuNTg2NSAzNi41Nzc0IDM0LjkxMjhDMzUuNzMyNSAzNS40MDU2IDM1LjA3MTQgMzQuNzAwNiAzNC45NDggMzQuNjQ4MUwzMy4yNTgxIDMzLjMxMzRDMzIuODY5NCAzMy4wNDY1IDMxLjY3NTMgMzMuMDIzNyAzMC43ODE1IDMzLjY5MjJDMzAuMDgzMiAzNC4yMDc4IDI5LjY5MjEgMzUuNTYwOCAzMC4xODU2IDM2LjUwOTlDMzAuNzkwOCAzNy42NzU4IDMyLjk2MjUgMzcuOTM4MiAzMy43NDkzIDM2LjY3ODhDMzQuMDE0NiAzNi4yNTIxIDM0LjYyOTEgMzUuNDE3IDM1LjM5OTYgMzUuMzgyOEMzNS43MDIzIDM1LjMzNzYgMzYuMDExOCAzNS4zODk2IDM2LjI4MTggMzUuNTMxMUMzNi4zODIgMzUuNTc4NSAzNi40NjI3IDM1LjY1NzggMzYuNTEwOSAzNS43NTZDMzYuNTU5MSAzNS44NTQyIDM2LjU3MTkgMzUuOTY1NiAzNi41NDcyIDM2LjA3MTlMMzYuMTE0MiAzOC4zMTQ3TDM2LjEwMDIgMzguMzY5NEMzNC44OTIyIDQxLjg3MTYgMzAuMTMyMSA0MS41NDMxIDMwLjExNTggNDEuNTQzMUMyNi45NjQxIDQxLjY4NDYgMjMuNzIxNiA0MC4xMzA4IDIzLjY0MDIgMzcuMjQyM1oiIGZpbGw9IiMwMDMwODciLz4KPHBhdGggZD0iTTUwLjM3MzYgMzMuMDAwOEM1MC40NDgxIDM1LjYzMzggNTAuNTI3MiAzNi41MDk5IDUwLjUyNzIgMzYuNTIxM0w1MC45OTI4IDQ1LjMzMDVDNTAuOTkyOCA0NS4zMzA1IDUxLjE4MTMgNDcuMTU1OCA0OS42MzM0IDQ3LjIzMzRDNDguMDg1NSA0Ny4zMTA5IDQ4LjA4NzggNDUuNTcwMSA0OC4wODc4IDQ1LjU3MDFMNDcuOTM4OCA0MC45MDQzQzQ3LjkyMDIgNDAuODIxNCA0Ny44NzIyIDQwLjc0NzYgNDcuODAzNSA0MC42OTU5QzQ3LjczNDggNDAuNjQ0MyA0Ny42NDk3IDQwLjYxODEgNDcuNTYzMiA0MC42MjE5QzQ3LjQ3NjcgNDAuNjI1NyA0Ny4zOTQzIDQwLjY1OTMgNDcuMzMwNiA0MC43MTY4QzQ3LjI2NjkgNDAuNzc0MyA0Ny4yMjU5IDQwLjg1MiA0Ny4yMTQ5IDQwLjkzNjJMNDYuODU4OCA0NC4wMzIzQzQ2Ljg0OCA0NC4wNzIgNDYuODMwNyA0NC4xMDk4IDQ2LjgwNzYgNDQuMTQ0MUw0NC42MzU5IDQ3Ljc5NDZDNDQuNjM1OSA0Ny43OTQ2IDQ0LjA2NTYgNDguNjE2IDQyLjgyNzIgNDguMDUyNUM0MS41ODg5IDQ3LjQ4ODkgNDIuMzI2OCA0Ni4xOTUzIDQyLjMyNjggNDYuMTgzOEw0NC4yNzUxIDQyLjk2NjhMNDQuNjgyNCA0MS4wNTAzQzQ0LjY4MjQgNDEuMDY4NSA0NC42ODI0IDQxLjAzMiA0NC42ODI0IDQxLjA1MDNDNDQuNzQ5OSA0MC42NDE5IDQ0LjA1MTYgNDAuNTE4NyA0My45MjgyIDQwLjkxNzlMNDMuMjI5OSA0My4wMDU2QzQzLjE5OTggNDMuMDQ2NSA0My4xNjE4IDQzLjA4MTQgNDMuMTE4MiA0My4xMDgzTDM5LjYyNjcgNDUuMjA3M0MzOS42MjY3IDQ1LjIwNzMgMzguNTgxNiA0NS44MTE5IDM3LjkxMTIgNDQuOTc5MkMzNy4zMTUzIDQ0LjIzNzcgMzcuODkwMiA0My40NDE0IDM4LjA0NjIgNDMuMzI3M0wzOC4xMTYgNDMuMjc5NEw0MC45NTExIDQxLjY4MjNDNDAuOTk1NiA0MS42NTEzIDQxLjAzMjMgNDEuNjEwNyA0MS4wNTgyIDQxLjU2MzZMNDEuNjAyOSAzOS45NDM3QzQxLjc0NzIgMzkuNjg1OSA0MS41ODE5IDM5LjQxNjcgNDEuMjQ0NCAzOS4zOTg0TDM5Ljk2ODkgMzkuMjUwMUMzOS45MDUxIDM5LjI1MTEgMzkuODQxOSAzOS4yMzkzIDM5Ljc4MyAzOS4yMTUzQzM5LjcyNDIgMzkuMTkxNCAzOS42NzEgMzkuMTU1OCAzOS42MjY3IDM5LjExMDlMMzcuMjA1OSAzNi43NzQ2QzM2LjgzMzUgMzYuNDUyOSAzNi44ODIzIDM1LjY1NDMgMzcuNDM4NyAzNS4zMjgxQzM4LjI4MzYgMzQuODM1MiAzOC45NDQ3IDM1LjU0MjUgMzkuMDY4IDM1LjU5MjdMNDAuNzYwMyAzNi45Mjc1QzQxLjEzOTcgMzcuMTk2NyA0Mi4zMjY4IDM3LjIxNzIgNDMuMjI5OSAzNi41NTFDNDMuOTI4MiAzNi4wMzU0IDQ0LjMxNyAzNC42ODAxIDQzLjgyMzUgMzMuNzMxQzQzLjIyMDYgMzIuNTY3MyA0MS4wNDY2IDMyLjMwNSA0MC4yNTk4IDMzLjU2NDRDMzkuOTk5MSAzMy45OTExIDM5LjM4MjMgMzQuODIzOCAzOC42MDI1IDM0Ljg1ODFDMzguMjk5MyAzNC45MDM4IDM3Ljk4OTEgMzQuODUyNiAzNy43MTggMzQuNzEyQzM3LjYxODIgMzQuNjYzNiAzNy41Mzc4IDM0LjU4MzggMzcuNDg5NyAzNC40ODU0QzM3LjQ0MTYgMzQuMzg3IDM3LjQyODYgMzQuMjc1NiAzNy40NTI2IDM0LjE2OUwzNy45MDQyIDMxLjkyODVDMzcuOTA2NiAzMS45MDk4IDM3LjkxMTMgMzEuODkxNCAzNy45MTgyIDMxLjg3MzdDMzkuMTI4NiAyOC4zNjkyIDQzLjg4ODcgMjguNzAwMSA0My45MDUgMjguNzAwMUM0Ny4wNTkgMjguNTU4NiA1MC4yOTQ1IDMwLjExMjQgNTAuMzczNiAzMy4wMDA4WiIgZmlsbD0iIzAwMzA4NyIvPgo8L3N2Zz4K"},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],i0UlR:[function(e,t,r,n){var o,a,i,s,l;o=e("147051b0540e7f7"),a=e("1f77507fdd0c665").utf8,i=e("fdee90c617e2c15d"),s=e("1f77507fdd0c665").bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.stringToBytes(e):a.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var r=o.bytesToWords(e),n=8*e.length,c=0x67452301,u=-0x10325477,d=-0x67452302,p=0x10325476,h=0;h>>24)&0xff00ff|(r[h]<<24|r[h]>>>8)&0xff00ff00;r[n>>>5]|=128<>>9<<4)+14]=n;for(var g=l._ff,f=l._gg,m=l._hh,y=l._ii,h=0;h>>0,u=u+M>>>0,d=d+_>>>0,p=p+S>>>0}return o.endian([c,u,d,p])})._ff=function(e,t,r,n,o,a,i){var s=e+(t&r|~t&n)+(o>>>0)+i;return(s<>>32-a)+t},l._gg=function(e,t,r,n,o,a,i){var s=e+(t&n|r&~n)+(o>>>0)+i;return(s<>>32-a)+t},l._hh=function(e,t,r,n,o,a,i){var s=e+(t^r^n)+(o>>>0)+i;return(s<>>32-a)+t},l._ii=function(e,t,r,n,o,a,i){var s=e+(r^(t|~n))+(o>>>0)+i;return(s<>>32-a)+t},l._blocksize=16,l._digestsize=16,t.exports=function(e,t){if(null==e)throw Error("Illegal argument "+e);var r=o.wordsToBytes(l(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):o.bytesToHex(r)}},{"147051b0540e7f7":"8LP5O","1f77507fdd0c665":"h8x3n",fdee90c617e2c15d:"clCG0"}],"8LP5O":[function(e,t,r,n){var o,a;o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t.exports=a={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 0xff00ff&a.rotl(e,8)|0xff00ff00&a.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/ig,"");for(var t=[],r=0,n=0;r>>6-2*n);return t}}},{}],h8x3n:[function(e,t,r,n){var o={utf8:{stringToBytes:function(e){return o.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(o.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r0&&i.length>o&&!i.warned){i.warned=!0;var o,a,i,s=Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=i.length,console&&console.warn&&console.warn(s)}return e}function h(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=h.bind(n);return o.listener=r,n.wrapFn=o,o}function f(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else for(var c=l.length,u=y(l,c),r=0;r=0;a--)if(r[a]===t||r[a].listener===t){i=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},l.prototype.listeners=function(e){return f(this,e,!0)},l.prototype.rawListeners=function(e){return f(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},l.prototype.listenerCount=m,l.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},{}],"1UlS3":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"loadFont",()=>h),o.export(r,"waitForEvent",()=>g),o.export(r,"htFont",()=>f),o.export(r,"injectScript",()=>m),o.export(r,"injectGlobalStyle",()=>y),o.export(r,"isUpdatedBrowser",()=>N),o.export(r,"isMobileBrowser",()=>x),o.export(r,"addMatchesPolyfill",()=>A),o.export(r,"mobileCheck",()=>j),o.export(r,"getErrorType",()=>T),o.export(r,"clampMaxTextSize",()=>b),o.export(r,"validateAvatar",()=>C),o.export(r,"getContrast",()=>D),o.export(r,"getOpacity",()=>I),o.export(r,"hexToRGB",()=>L),o.export(r,"dealEscape",()=>w),o.export(r,"closePopup",()=>E),o.export(r,"isRateButtonDisable",()=>z),o.export(r,"toggleVisibility",()=>k),o.export(r,"removeIDsFromString",()=>R),o.export(r,"clampBorderRadius",()=>P);var a=e("../constants/config"),i=e("../assets/media/cursor/sign-language-invalid.svg"),s=o.interopDefault(i),l=e("../assets/media/cursor/speech.svg"),c=o.interopDefault(l),u=e("../constants/interface"),d=e("../yotta/assets/tokens/colors");let{setState:p}=e("../stores/useHTGlobalStore").useHTGlobalStore,h=()=>{let e=document.createElement("link");e.href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap",e.rel="stylesheet",document.head.appendChild(e)},g=(e,t)=>new Promise((r,n)=>{e.addEventListener(t,r,{once:!0}),setTimeout(()=>n("Event timed out"),a.waitForEventTimeout)}),f=(e="14px",t="#777777",r="16.8px")=>` font-size: ${e}; line-height: ${r}; color: ${t}; font-weight: normal; text-align: left; ${u.htFontBase} `,m=async(e,t)=>{let r=document.createElement("script");r.src=t,e.appendChild(r);try{return await g(r,"load"),Promise.resolve()}catch(e){return Promise.reject(e)}},y=(e,t,r)=>{let n=document.createElement("style"),o=document.createTextNode(` .ht-skip * { ${u.htFontBase} box-sizing: border-box; } canvas { bottom: 0; right: 0; top: 0; left: 0; } .ht-skip *:focus-visible { outline: 2px solid ${r.colors.primary.default} !important; outline-offset: 2px !important; } .${a.signLanguageHoverClassName} { cursor: url(${t}), auto !important; text-decoration: underline !important; } .${a.invalidTextClassName}{ cursor: url(${s.default}), auto !important; text-decoration: ${d.feedback.color.error.dark} underline !important; } .${a.speechHoverClassName} { cursor: url(${c.default}), auto !important; text-decoration: underline !important; } .${a.mobileHoverClassName}{ background-color: rgba(241, 196, 15, .3) !important; } `);n.appendChild(o),e.head.appendChild(n)},v=/Android|webOS|iPhone|iPad|iPad|iPod|BlackBerry|Windows Phone/i,M=window.navigator.userAgent||window.navigator.vendor,_=M.match(/(opera|chrome|safari|firefox|edge(?=\/))\/?\s*(\d+)/i),S=M.match(v),N=!!_&&_.length>0,x=!!S&&S.length>0,A=()=>{Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){let t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;for(;--r>=0&&t.item(r)!==this;);return r>-1})},j=()=>{let e=(window.navigator.userAgent||window.navigator.vendor).match(v);return!!(e&&e.length)&&(window.matchMedia("(orientation: portrait)").matches&&window.innerWidth<=a.portraitWidthBreakpoint||window.matchMedia("(orientation: landscape)").matches&&window.innerWidth<=a.landscapeWidthBreakpoint)},T=e=>{switch(e.message){case"Your browser does not support canvas. Please use a newer browser.":return"withoutCanvas";case"Your browser does not support WebGL. Please use a newer browser.":return"withoutWebGL";default:return"errorNotDefined"}},b=e=>{let t=a.maxTextLimit,r=a.defaultConfig.maxTextSize;return!e||"number"!=typeof e||et?t:e},C=e=>{if("HUGO"!=e&&"MAYA"!=e)throw Error("The selected avatar is invalid")},D=()=>localStorage.getItem("HTHighContrast"),I=()=>{let e=localStorage.getItem("HTOpacity");if(e){let t=parseInt(e);if(a.opacities.includes(t))return t}},L=(e,t)=>{let r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return"number"==typeof t?"rgba("+r+", "+n+", "+o+", "+t/100+")":"rgb("+r+", "+n+", "+o+")"},w=e=>{let t=r=>{"Escape"==r.key&&e(),window.removeEventListener("keydown",t)};window.addEventListener("keydown",t)},E=()=>{p({modalMessage:null})},z=(e,t,r)=>""==e||t||r,k=(e,t=document.body)=>{let r=t.children;for(let t=0;te.classList.contains("ht-skip")||Array.from(e.children).some(O),U=(e,t)=>{let r=e.style.display;if(e.hasAttribute("ht-original-display")){let t=e.getAttribute("ht-original-display");r=null!==t?t:""}else e.setAttribute("ht-original-display",r);e.style.display=t?r:"none"},R=e=>e?e.replace(/<[^>]+id="[^"]*"/g,e=>e.replace(/id="[^"]*"/,"")):"",P=e=>{let t=e-4;return t<0?0:t}},{"../constants/config":"kqbjQ","../assets/media/cursor/sign-language-invalid.svg":"fOCCj","../assets/media/cursor/speech.svg":"9E5sg","../constants/interface":"cnidu","../yotta/assets/tokens/colors":"8UG5g","../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],fOCCj:[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA3MyA3MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03MCAzNS45NUM3MCA1NC4xNzU0IDU1LjIyNTQgNjguOTUgMzcgNjguOTVDMTguNzc0NiA2OC45NSA0IDU0LjE3NTQgNCAzNS45NUM0IDMxLjIwODQgNS4wMDAwMyAyNi43MDA0IDYuODAwNjkgMjIuNjI1M0M2Ljc4OTQyIDIyLjU3NDggNi43Nzk4OCAyMi41MjMzIDYuNzcyMTggMjIuNDcwOEw0LjI4OTg1IDUuNTQ3OEM0LjA5NTQ5IDQuMjIyNzkgNS4yMzI4OSAzLjA4NDg1IDYuNTU3OTkgMy4yNzg1N0wyMy40ODgyIDUuNzUzNzFDMjMuNTMxOCA1Ljc2MDA4IDIzLjU3NDcgNS43Njc3MiAyMy42MTY5IDUuNzc2NTZDMjcuNzA3MyAzLjk1OTYyIDMyLjIzNTcgMi45NTAwMSAzNyAyLjk1MDAxQzU1LjIyNTQgMi45NTAwMSA3MCAxNy43MjQ2IDcwIDM1Ljk1WiIgZmlsbD0iI0IyMzUzNSIvPgo8cGF0aCBkPSJNMzcgNjAuOTVDNTAuODA3MSA2MC45NSA2MiA0OS43NTcxIDYyIDM1Ljk1QzYyIDIyLjE0MjkgNTAuODA3MSAxMC45NSAzNyAxMC45NUMyMy4xOTI5IDEwLjk1IDEyIDIyLjE0MjkgMTIgMzUuOTVDMTIgNDkuNzU3MSAyMy4xOTI5IDYwLjk1IDM3IDYwLjk1WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTQ2Ljc0OTQgMjQuNzE2OUM0Ni4wNjY5IDI0LjAzNDQgNDQuOTY0NCAyNC4wMzQ0IDQ0LjI4MTkgMjQuNzE2OUwzNS43MjQ0IDMzLjI1NjlMMjcuMTY2OSAyNC42OTk0QzI2LjQ4NDQgMjQuMDE2OSAyNS4zODE5IDI0LjAxNjkgMjQuNjk5NCAyNC42OTk0QzI0LjAxNjkgMjUuMzgxOSAyNC4wMTY5IDI2LjQ4NDQgMjQuNjk5NCAyNy4xNjY5TDMzLjI1NjkgMzUuNzI0NEwyNC42OTk0IDQ0LjI4MTlDMjQuMDE2OSA0NC45NjQ0IDI0LjAxNjkgNDYuMDY2OSAyNC42OTk0IDQ2Ljc0OTRDMjUuMzgxOSA0Ny40MzE5IDI2LjQ4NDQgNDcuNDMxOSAyNy4xNjY5IDQ2Ljc0OTRMMzUuNzI0NCAzOC4xOTE5TDQ0LjI4MTkgNDYuNzQ5NEM0NC45NjQ0IDQ3LjQzMTkgNDYuMDY2OSA0Ny40MzE5IDQ2Ljc0OTQgNDYuNzQ5NEM0Ny40MzE5IDQ2LjA2NjkgNDcuNDMxOSA0NC45NjQ0IDQ2Ljc0OTQgNDQuMjgxOUwzOC4xOTE5IDM1LjcyNDRMNDYuNzQ5NCAyNy4xNjY5QzQ3LjQxNDQgMjYuNTAxOSA0Ny40MTQ0IDI1LjM4MTkgNDYuNzQ5NCAyNC43MTY5WiIgZmlsbD0iI0IyMzUzNSIvPgo8L3N2Zz4K"},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9E5sg":[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA3MyA3MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03MCAzNkM3MCA1NC4yMjU0IDU1LjIyNTQgNjkgMzcgNjlDMTguNzc0NiA2OSA0IDU0LjIyNTQgNCAzNkM0IDMwLjk2MDUgNS4xMjk2MSAyNi4xODQ5IDcuMTQ5NDUgMjEuOTEyNUw0LjcyNDcgNS4zODIwNkM0LjUzMDM0IDQuMDU3MDUgNS42Njc3NCAyLjkxOTExIDYuOTkyODQgMy4xMTI4M0wyMy41NjY1IDUuNTM1ODVDMjMuNzI1MyA1LjU1OTA2IDIzLjg3NDggNS41OTg5NSAyNC4wMTQ0IDUuNjUzMTNDMjcuOTk5OSAzLjk0NTQ4IDMyLjM4OTUgMyAzNyAzQzU1LjIyNTQgMyA3MCAxNy43NzQ2IDcwIDM2WiIgZmlsbD0iIzAwMzA4NyIvPgo8cGF0aCBkPSJNMzcgNjFDNTAuODA3MSA2MSA2MiA0OS44MDcxIDYyIDM2QzYyIDIyLjE5MjkgNTAuODA3MSAxMSAzNyAxMUMyMy4xOTI5IDExIDEyIDIyLjE5MjkgMTIgMzZDMTIgNDkuODA3MSAyMy4xOTI5IDYxIDM3IDYxWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTMzLjAxIDM4LjIzOTFDMzYuMjU3NCAzOC4yMzkxIDM4Ljg5IDM1LjYwNjYgMzguODkgMzIuMzU5MUMzOC44OSAyOS4xMTE3IDM2LjI1NzQgMjYuNDc5MSAzMy4wMSAyNi40NzkxQzI5Ljc2MjUgMjYuNDc5MSAyNy4xMyAyOS4xMTE3IDI3LjEzIDMyLjM1OTFDMjcuMTMgMzUuNjA2NiAyOS43NjI1IDM4LjIzOTEgMzMuMDEgMzguMjM5MVoiIGZpbGw9IiMwMDMwODciLz4KPHBhdGggZD0iTTMzLjAxIDQxLjE3OTFDMjkuMDg1MSA0MS4xNzkxIDIxLjI1IDQzLjE0ODkgMjEuMjUgNDcuMDU5MVY0OC41MjkxQzIxLjI1IDQ5LjMzNzYgMjEuOTExNSA0OS45OTkxIDIyLjcyIDQ5Ljk5OTFINDMuM0M0NC4xMDg1IDQ5Ljk5OTEgNDQuNzcgNDkuMzM3NiA0NC43NyA0OC41MjkxVjQ3LjA1OTFDNDQuNzcgNDMuMTQ4OSAzNi45MzQ5IDQxLjE3OTEgMzMuMDEgNDEuMTc5MVpNNDIuNTIwOSAzMC41NTFDNDIuOTkxMyAzMS43MTIzIDQyLjk5MTMgMzMuMDA1OSA0Mi41MjA5IDM0LjE2NzJDNDIuMjQxNiAzNC44NTgxIDQyLjM1OTIgMzUuNjM3MiA0Mi44ODg0IDM2LjE2NjRMNDIuOTMyNSAzNi4yMTA1QzQzLjc4NTEgMzcuMDYzMSA0NS4yNDA0IDM2Ljg4NjcgNDUuNzk5IDM1LjgxMzZDNDYuOTE2MiAzMy42ODIxIDQ2LjkxNjIgMzEuMTgzMSA0NS43Njk2IDI4Ljk2MzRDNDUuMjExIDI3Ljg3NTYgNDMuNzQxIDI3LjY2OTggNDIuODczNyAyOC41MzcxTDQyLjg1OSAyOC41NTE4QzQyLjM1OTIgMjkuMDY2MyA0Mi4yNDE2IDI5Ljg2MDEgNDIuNTIwOSAzMC41NTFaTTQ3Ljk3NDYgMjMuMzc3NEM0Ny4zODY2IDIzLjk2NTQgNDcuMjk4NCAyNC44NzY4IDQ3Ljc4MzUgMjUuNTUzQzUwLjY3OTQgMjkuNTgwOCA1MC42NjQ3IDM0Ljk3NTcgNDcuNzM5NCAzOS4xNTA1QzQ3LjI2OSAzOS44MTIgNDcuMzcxOSA0MC43MjM0IDQ3Ljk0NTIgNDEuMjk2N0w0Ny45ODkzIDQxLjM0MDhDNDguNzA5NiA0Mi4wNjExIDQ5LjkyOTcgNDIuMDAyMyA1MC41NDcxIDQxLjE5MzhDNTQuNTg5NiAzNS45OSA1NC42MDQzIDI4Ljg4OTkgNTAuNTQ3MSAyMy41MjQ0QzQ5LjkyOTcgMjIuNzE1OSA0OC42OTQ5IDIyLjY1NzEgNDcuOTc0NiAyMy4zNzc0WiIgZmlsbD0iIzAwMzA4NyIvPgo8L3N2Zz4K"},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cnidu:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"primarySize",()=>a),o.export(r,"primaryMobileSize",()=>i),o.export(r,"contentMobileWidth",()=>s),o.export(r,"contentMobileHeight",()=>l),o.export(r,"contentDesktopWidth",()=>c),o.export(r,"contentDesktopHeight",()=>u),o.export(r,"addonsWidth",()=>d),o.export(r,"addonsMaxWidth",()=>p),o.export(r,"addonsMaxHeight",()=>h),o.export(r,"borderRadius",()=>g),o.export(r,"htFontBase",()=>f),o.export(r,"alignmentMap",()=>m);let a="42px",i="42px",s="196px",l="308px",c="252px",u="400px",d="430px",p="705px",h="918px",g="16px",f=` font-style: normal; font-variant: normal; text-transform: none; text-decoration: none; font-family: "Lato", sans-serif !important; `,m={top:"top: 125px;",bottom:"bottom: 0;",default:"top: 200px;"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8UG5g":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"neutral",()=>a),o.export(r,"brand",()=>i),o.export(r,"highlight",()=>s),o.export(r,"feedback",()=>l),o.export(r,"accessibility",()=>c);let a={color:{low:{main:"#333333",lightest:"#979797",light:"#818181",medium:"#666666",dark:"#161616"},high:{main:"#f5f5f5",lightest:"#ffffff",light:"#dEdEdE",medium:"#c4c4c4",dark:"#aeaeae"}}},i={color:{main:"#f06f06",lightest:"#fbc5a0",light:"#faae4b",medium:"#fb8c01",dark:"#cc5e05"}},s={color:{main:"#413987",lightest:"#B6C0FF",light:"#5b69c2",medium:"#542dc2",dark:"#121a5c"}},l={color:{success:{main:"#20c6ad",light:"#ccfcde",medium:"#00e9b4",dark:"#006666"},info:{main:"#3b98d2",light:"#dcfcfe",medium:"#48c1f8",dark:"#103c75"},alert:{main:"#fcc002",lightest:"#ffffff",light:"#ffffff",medium:"#fbd24f",dark:"#ca9a00"},error:{main:"#ff4d4d",lightest:"#ffb3b3",light:"#ff8080",medium:"#ff6666",dark:"#b23535"}}},c={color:{main:"#003087",neutral:"#161616",light:"#4787FF"}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aSfyl:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"useHTGlobalStore",()=>c);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("zustand");let l={modalMessage:null,currentText:"",coreLoadProgress:0,promptLinkShowing:null,isAuthenticating:!1,highContrast:!1,isCoreDownloadingPhrase:!1,isCoreReady:!1,isCoreSignalizingPhrase:!1,isMobile:!1,isAddonsActive:!1,isSignLanguageActive:!1,isActiveConfigMenu:!1,opacity:50,speed:localStorage.HTSpeed||"normal",messages:{},onboarding:null,side:"right",sendHitChangeSide:!1,sendHitChangeContrast:!1,sendHitChangeOpacity:!1,sendHitChangeSpeed:!1,isClosingPlugin:!1,isNewTranslate:!1,element:document.body,readerModeState:"none",pageSpeechState:"none",fontSizeScaleState:"none",lineHeightScaleState:"none",letterSpacingScaleState:"none",readingMaskState:"none",contrastState:"none",colorIntensityState:"none",highlightLinksState:"none",magnifierState:"none",pauseAnimationsState:"none",highlightHeadingsState:"none",hideImagesState:"none",hasAddonsAppsActive:!1,textStyleState:"none",readingGuideState:"none",pageStructureState:"none",highlightedLettersState:"none",addonsViewExpandState:!1,colorblindModeState:"none",disableSoundsState:"none",synonymsMeaningsState:"none",signTranslatorState:"none",customStyle:{borderRadius:16},avatar:"HUGO",isOpenTranslateFromResources:!1},c=(0,s.create)(e=>(0,i._)((0,a._)({},l),{setState:t=>e(t),resetState:()=>e(l)}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0",zustand:"eQ5Lk","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eQ5Lk:[function(e,t,r,n){"use strict";var o=e("a19f4edd89926025"),a=e("e3cb921f47249eac"),i=e("1e8ad8cf8d3b3c90"),s=a.useDebugValue,l=i.useSyncExternalStoreWithSelector,c=!1,u=function(e){return e};function d(e,t,r){void 0===t&&(t=u),r&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);var n=l(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return s(n),n}var p=function(e){"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");var t="function"==typeof e?o.createStore(e):e,r=function(e,r){return d(t,e,r)};return Object.assign(r,t),r},h=function(e){return e?p(e):p},g=function(e){return console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`."),h(e)};r.create=h,r.default=g,r.useStore=d,Object.keys(o).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}})}),t.exports=g,t.exports.create=h,t.exports.useStore=d,t.exports.createStore=o.createStore,r.default=t.exports},{a19f4edd89926025:"g4tfl",e3cb921f47249eac:"8ZO42","1e8ad8cf8d3b3c90":"ebUKU"}],g4tfl:[function(e,t,r,n){"use strict";var o=function(e){var t,r=new Set,n=function(e,n){var o="function"==typeof e?e(t):e;if(!Object.is(o,t)){var a=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(function(e){return e(t,a)})}},o=function(){return t},a={setState:n,getState:o,getInitialState:function(){return i},subscribe:function(e){return r.add(e),function(){return r.delete(e)}},destroy:function(){console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},i=t=e(n,o,a);return a},a=function(e){return e?o(e):o},i=function(e){return console.warn("[DEPRECATED] Default export is deprecated. Instead use import { createStore } from 'zustand/vanilla'."),a(e)};r.createStore=a,r.default=i,t.exports=i,t.exports.createStore=a,r.default=t.exports},{}],"8ZO42":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"Component",()=>a.Component),o.export(r,"Fragment",()=>a.Fragment),o.export(r,"createContext",()=>a.createContext),o.export(r,"createElement",()=>a.createElement),o.export(r,"createRef",()=>a.createRef),o.export(r,"Children",()=>S),o.export(r,"PureComponent",()=>f),o.export(r,"StrictMode",()=>ea),o.export(r,"Suspense",()=>A),o.export(r,"SuspenseList",()=>b),o.export(r,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",()=>W),o.export(r,"cloneElement",()=>ee),o.export(r,"createFactory",()=>q),o.export(r,"createPortal",()=>L),o.export(r,"default",()=>es),o.export(r,"findDOMNode",()=>er),o.export(r,"flushSync",()=>eo),o.export(r,"forwardRef",()=>M),o.export(r,"hydrate",()=>R),o.export(r,"isElement",()=>ei),o.export(r,"isFragment",()=>J),o.export(r,"isMemo",()=>X),o.export(r,"isValidElement",()=>K),o.export(r,"lazy",()=>T),o.export(r,"memo",()=>m),o.export(r,"render",()=>U),o.export(r,"startTransition",()=>d),o.export(r,"unmountComponentAtNode",()=>et),o.export(r,"unstable_batchedUpdates",()=>en),o.export(r,"useDeferredValue",()=>p),o.export(r,"useInsertionEffect",()=>g),o.export(r,"useSyncExternalStore",()=>c),o.export(r,"useTransition",()=>h),o.export(r,"version",()=>Z);var a=e("preact"),i=e("preact/hooks");function s(e,t){for(var r in t)e[r]=t[r];return e}function l(e,t){for(var r in e)if("__source"!==r&&!(r in t))return!0;for(var n in t)if("__source"!==n&&e[n]!==t[n])return!0;return!1}function c(e,t){var r=t(),n=(0,i.useState)({t:{__:r,u:t}}),o=n[0].t,a=n[1];return(0,i.useLayoutEffect)(function(){o.__=r,o.u=t,u(o)&&a({t:o})},[e,r,t]),(0,i.useEffect)(function(){return u(o)&&a({t:o}),e(function(){u(o)&&a({t:o})})},[e]),r}function u(e){var t=e.u,r=e.__;try{var n=t();return(r!==n||0===r&&1/r!=1/n)&&(r==r||n==n)}catch(e){return!0}}function d(e){e()}function p(e){return e}function h(){return[!1,d]}o.exportAll(i,r);var g=i.useLayoutEffect;function f(e,t){this.props=e,this.context=t}function m(e,t){function r(e){var r=this.props.ref,n=r==e.ref;return!n&&r&&(r.call?r(null):r.current=null),t?!t(this.props,e)||!n:l(this.props,e)}function n(t){return this.shouldComponentUpdate=r,(0,a.createElement)(e,t)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n.type=e,n}(f.prototype=new(0,a.Component)).isPureReactComponent=!0,f.prototype.shouldComponentUpdate=function(e,t){return l(this.props,e)||l(this.state,t)};var y=a.options.__b;a.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),y&&y(e)};var v="u">typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function M(e){function t(t){var r=s({},t);return delete r.ref,e(r,t.ref||null)}return t.$$typeof=v,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var _=function(e,t){return null==e?null:(0,a.toChildArray)((0,a.toChildArray)(e).map(t))},S={map:_,forEach:_,count:function(e){return e?(0,a.toChildArray)(e).length:0},only:function(e){var t=(0,a.toChildArray)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:a.toChildArray},N=a.options.__e;a.options.__e=function(e,t,r,n){if(e.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return null==t.__e&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}N(e,t,r,n)};var x=a.options.unmount;function A(){this.__u=0,this.o=null,this.__b=null}function j(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function T(e){var t,r,n,o=null;function i(i){if(t||(t=e()).then(function(e){e&&(o=e.default||e),n=!0},function(e){r=e,n=!0}),r)throw r;if(!n)throw t;return o?(0,a.createElement)(o,i):null}return i.displayName="Lazy",i.__f=!0,i}function b(){this.i=null,this.l=null}a.options.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),x&&x(e)},(A.prototype=new(0,a.Component)).__c=function(e,t){var r=t.__c,n=this;null==n.o&&(n.o=[]),n.o.push(r);var o=j(n.__v),a=!1,i=function(){a||n.__z||(a=!0,r.__R=null,o?o(l):l())};r.__R=i;var s=r.__P;r.__P=null;var l=function(){if(!--n.__u){if(n.state.__a){var e,t=n.state.__a;n.__v.__k[0]=function e(t,r,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,r,n)}),t.__c&&t.__c.__P===r&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}(t,t.__c.__P,t.__c.__O)}for(n.setState({__a:n.__b=null});e=n.o.pop();)e.__P=s,e.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},A.prototype.componentWillUnmount=function(){this.o=[]},A.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,r,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=s({},t)).__c&&(t.__c.__P===n&&(t.__c.__P=r),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,r,n)})),t}(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&(0,a.createElement)(a.Fragment,null,e.fallback);return o&&(o.__u&=-33),[(0,a.createElement)(a.Fragment,null,t.__a?null:e.children),o]};var C=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),t.h.removeChild(e)}}}(0,a.render)((0,a.createElement)(D,{context:t.context},e.__v),t.v)}function L(e,t){var r=(0,a.createElement)(I,{__v:e,h:t});return r.containerInfo=t,r}(b.prototype=new(0,a.Component)).__a=function(e){var t=this,r=j(t.__v),n=t.l.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),C(t,e,n)):o()};r?r(a):a()}},b.prototype.render=function(e){this.i=null,this.l=new Map;var t=(0,a.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},b.prototype.componentDidUpdate=b.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){C(e,r,t)})};var w="u">typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,E=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,k=/[A-Z0-9]/g,O="u">typeof document;function U(e,t,r){return null==t.__k&&(t.textContent=""),(0,a.render)(e,t),"function"==typeof r&&r(),e?e.__c:null}function R(e,t,r){return(0,a.hydrate)(e,t),"function"==typeof r&&r(),e?e.__c:null}a.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(a.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var P=a.options.event;function Q(){}function H(){return this.cancelBubble}function F(){return this.defaultPrevented}a.options.event=function(e){return P&&(e=P(e)),e.persist=Q,e.isPropagationStopped=H,e.isDefaultPrevented=F,e.nativeEvent=e};var Y,B={enumerable:!1,configurable:!0,get:function(){return this.class}},G=a.options.vnode;a.options.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,r=e.type,n={},o=-1===r.indexOf("-");for(var i in t){var s=t[i];if(!("value"===i&&"defaultValue"in t&&null==s||O&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){var l,c=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===s?s="":"translate"===c&&"no"===s?s=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==r&&"textarea"!==r||(l=t.type,("u">typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(l))?"onfocus"===c?i="onfocusin":"onblur"===c?i="onfocusout":z.test(i)&&(i=c):c=i="oninput":o&&E.test(i)?i=i.replace(k,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===c&&n[i=c]&&(i="oninputCapture"),n[i]=s}}"select"==r&&n.multiple&&Array.isArray(n.value)&&(n.value=(0,a.toChildArray)(t.children).forEach(function(e){e.props.selected=-1!=n.value.indexOf(e.props.value)})),"select"==r&&null!=n.defaultValue&&(n.value=(0,a.toChildArray)(t.children).forEach(function(e){e.props.selected=n.multiple?-1!=n.defaultValue.indexOf(e.props.value):n.defaultValue==e.props.value})),t.class&&!t.className?(n.class=t.class,Object.defineProperty(n,"className",B)):(t.className&&!t.class||t.class&&t.className)&&(n.class=n.className=t.className),e.props=n}(e),e.$$typeof=w,G&&G(e)};var $=a.options.__r;a.options.__r=function(e){$&&$(e),Y=e.__c};var V=a.options.diffed;a.options.diffed=function(e){V&&V(e);var t=e.props,r=e.__e;null!=r&&"textarea"===e.type&&"value"in t&&t.value!==r.value&&(r.value=null==t.value?"":t.value),Y=null};var W={ReactCurrentDispatcher:{current:{readContext:function(e){return Y.__n[e.__c].props.value},useCallback:i.useCallback,useContext:i.useContext,useDebugValue:i.useDebugValue,useDeferredValue:p,useEffect:i.useEffect,useId:i.useId,useImperativeHandle:i.useImperativeHandle,useInsertionEffect:g,useLayoutEffect:i.useLayoutEffect,useMemo:i.useMemo,useReducer:i.useReducer,useRef:i.useRef,useState:i.useState,useSyncExternalStore:c,useTransition:h}}},Z="18.3.1";function q(e){return a.createElement.bind(null,e)}function K(e){return!!e&&e.$$typeof===w}function J(e){return K(e)&&e.type===a.Fragment}function X(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function ee(e){return K(e)?a.cloneElement.apply(null,arguments):e}function et(e){return!!e.__k&&((0,a.render)(null,e),!0)}function er(e){return e&&(e.base||1===e.nodeType&&e)||null}var en=function(e,t){return e(t)},eo=function(e,t){return e(t)},ea=a.Fragment,ei=K,es={useState:i.useState,useId:i.useId,useReducer:i.useReducer,useEffect:i.useEffect,useLayoutEffect:i.useLayoutEffect,useInsertionEffect:g,useTransition:h,useDeferredValue:p,useSyncExternalStore:c,startTransition:d,useRef:i.useRef,useImperativeHandle:i.useImperativeHandle,useMemo:i.useMemo,useCallback:i.useCallback,useContext:i.useContext,useDebugValue:i.useDebugValue,version:"18.3.1",Children:S,render:U,hydrate:R,unmountComponentAtNode:et,createPortal:L,createElement:a.createElement,createContext:a.createContext,createFactory:q,cloneElement:ee,createRef:a.createRef,Fragment:a.Fragment,isValidElement:K,isElement:ei,isFragment:J,isMemo:X,findDOMNode:er,Component:a.Component,PureComponent:f,memo:m,forwardRef:M,flushSync:eo,unstable_batchedUpdates:en,StrictMode:ea,Suspense:A,SuspenseList:b,lazy:T,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:W}},{preact:"gdb49","preact/hooks":"9Dac5","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9Dac5":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"useCallback",()=>b),o.export(r,"useContext",()=>C),o.export(r,"useDebugValue",()=>D),o.export(r,"useEffect",()=>N),o.export(r,"useErrorBoundary",()=>I),o.export(r,"useId",()=>L),o.export(r,"useImperativeHandle",()=>j),o.export(r,"useLayoutEffect",()=>x),o.export(r,"useMemo",()=>T),o.export(r,"useReducer",()=>S),o.export(r,"useRef",()=>A),o.export(r,"useState",()=>_);var a,i,s,l,c=e("preact"),u=0,d=[],p=c.options,h=p.__b,g=p.__r,f=p.diffed,m=p.__c,y=p.unmount,v=p.__;function M(e,t){p.__h&&p.__h(i,e,u||t),u=0;var r=i.__H||(i.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function _(e){return u=1,S(U,e)}function S(e,t,r){var n=M(a++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):U(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=i,!i.__f)){var o=function(e,t,r){if(!n.__c.__H)return!0;var o=n.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!s||s.call(this,e,t,r);var a=n.__c.props!==e;return o.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),s&&s.call(this,e,t,r)||a};i.__f=!0;var s=i.shouldComponentUpdate,l=i.componentWillUpdate;i.componentWillUpdate=function(e,t,r){if(this.__e){var n=s;s=void 0,o(e,t,r),s=n}l&&l.call(this,e,t,r)},i.shouldComponentUpdate=o}return n.__N||n.__}function N(e,t){var r=M(a++,3);!p.__s&&O(r.__H,t)&&(r.__=e,r.u=t,i.__H.__h.push(r))}function x(e,t){var r=M(a++,4);!p.__s&&O(r.__H,t)&&(r.__=e,r.u=t,i.__h.push(r))}function A(e){return u=5,T(function(){return{current:e}},[])}function j(e,t,r){u=6,x(function(){if("function"==typeof e){var r=e(t());return function(){e(null),r&&"function"==typeof r&&r()}}if(e)return e.current=t(),function(){return e.current=null}},null==r?r:r.concat(e))}function T(e,t){var r=M(a++,7);return O(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function b(e,t){return u=8,T(function(){return e},t)}function C(e){var t=i.context[e.__c],r=M(a++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(i)),t.props.value):e.__}function D(e,t){p.useDebugValue&&p.useDebugValue(t?t(e):e)}function I(e){var t=M(a++,10),r=_();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]}function L(){var e=M(a++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function w(){for(var e;e=d.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(z),e.__H.__h.forEach(k),e.__H.__h=[]}catch(t){e.__H.__h=[],p.__e(t,e.__v)}}p.__b=function(e){i=null,h&&h(e)},p.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),v&&v(e,t)},p.__r=function(e){g&&g(e),a=0;var t=(i=e.__c).__H;t&&(s===i?(t.__h=[],i.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.forEach(z),t.__h.forEach(k),t.__h=[],a=0)),s=i},p.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==d.push(t)&&l===p.requestAnimationFrame||((l=p.requestAnimationFrame)||function(e){var t,r=function(){clearTimeout(n),E&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);E&&(t=requestAnimationFrame(r))})(w)),t.__H.__.forEach(function(e){e.u&&(e.__H=e.u),e.u=void 0})),s=i=null},p.__c=function(e,t){t.some(function(e){try{e.__h.forEach(z),e.__h=e.__h.filter(function(e){return!e.__||k(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],p.__e(r,e.__v)}}),m&&m(e,t)},p.unmount=function(e){y&&y(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(e){try{z(e)}catch(e){t=e}}),r.__H=void 0,t&&p.__e(t,r.__v))};var E="function"==typeof requestAnimationFrame;function z(e){var t=i,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),i=t}function k(e){var t=i;e.__c=e.__(),i=t}function O(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function U(e,t){return"function"==typeof t?t(e):t}},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ebUKU:[function(e,t,r,n){"use strict";t.exports=e("825b2585cf61f03e")},{"825b2585cf61f03e":"hW45b"}],hW45b:[function(e,t,r,n){"use strict";var o,a,i,s,l,c,u,d;"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),o=e("2f25dc3829c8e76e"),a=e("c4afd16660885105"),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=a.useSyncExternalStore,l=o.useRef,c=o.useEffect,u=o.useMemo,d=o.useDebugValue,r.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var a=l(null);if(null===a.current){var p={hasValue:!1,value:null};a.current=p}else p=a.current;var h=s(e,(a=u(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var r=n(e);return void 0!==o&&o(t,r)?(a=e,t):(a=e,s=r)}var a,s,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,o]))[0],a[1]);return c(function(){p.hasValue=!0,p.value=h},[h]),d(h),h},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())},{"2f25dc3829c8e76e":"8ZO42",c4afd16660885105:"jxhx9"}],jxhx9:[function(e,t,r,n){"use strict";t.exports=e("5ab7799a565bbe74")},{"5ab7799a565bbe74":"3lHOv"}],"3lHOv":[function(e,t,r,n){"use strict";!function(){function t(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=e("d49206e28a986e9f"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,i=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue,c=!1,u=!1,d="u"typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()},{d49206e28a986e9f:"8ZO42"}],hWQ7a:[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r);var i=e("@swc/helpers/_/_object_spread"),s=e("react/jsx-runtime"),l=e("react"),c=e("styled-components"),u=a.interopDefault(c),d=e("@hand-talk/yotta-icons"),p=e("../hooks/useCommandStack"),h=e("../constants/config"),g=e("../constants/interface"),f=e("../services/domUtils"),m=e("../services/appActivator"),y=e("../services/analytics"),v=e("../services/helpers/allStatesAreFalseHelper"),M=e("../services/textCollectorService"),_=e("../commands/addonsCommands/ActiveAddonsCommand"),S=e("../commands/signLanguageTranslatorCommands/ActiveSignLanguageTranslatorCommand"),N=e("../components/AccessibilityButton"),x=a.interopDefault(N),A=e("../styles/HTGlobalStyle"),j=a.interopDefault(A),T=e("../components/AccessibilityHeading"),b=a.interopDefault(T),C=e("../components/PromptLink"),D=a.interopDefault(C),I=e("../services/addonsService"),L=e("../services/signLanguageTranslatorService/signLanguageService"),w=e("../stores/useTranslation"),E=e("../i18n/signLanguage"),z=e("../theme/CustomYottaProvider"),k=e("../stores/useHTGlobalStore"),O=e("zustand/react/shallow"),U=e("../stores/useErrorStore");let R=e=>e,P,Q,H,F,Y,B=(0,l.lazy)(()=>e("74a30f71afd4c35d")),G=(0,l.lazy)(()=>e("e5f293713252cac8")),$=u.default.div(P||(P=R` position: fixed; inset: 0; pointer-events: none; z-index: ${0}; `),({zIndex:e})=>`calc(${e} + 1)`),V=u.default.div(Q||(Q=R` position: absolute; pointer-events: auto; ${0} ${0} `),({side:e})=>"left"===e?"left: 0;":"right: 0;",({align:e,customButtonStyle:t,isMobile:r})=>t&&r?"bottom: 0;":g.alignmentMap[e]||g.alignmentMap.default),W=u.default.div(H||(H=R` position: absolute; pointer-events: auto; bottom: 0; top: auto; ${0} max-height: 100vh; `),({side:e})=>"left"===e?"left: 0;":"right: 0;"),Z=u.default.div(F||(F=R` position: fixed; pointer-events: auto; ${0} `),({side:e})=>"left"===e?"left: 0;":"right: 0;"),q=u.default.div(Y||(Y=R` display: flex; flex-direction: column; position: ${0}; &:focus { outline: none !important; } bottom: ${0}; ${0} ${0} `),({customBottom:e})=>e?"absolute":"fixed",({align:e,isMobile:t})=>"bottom"===e?"35px":"top"===e?t?"72vh":"":t?"22vh":"",({customBottom:e})=>e&&"bottom: 100%;",({isMobile:e,resourceQuantity:t,side:r})=>{let n=parseInt((e?g.primaryMobileSize:g.primarySize).replace("px",""));return` align-items: ${"right"===r?"end":"start"}; ${"right"===r?"right: 0px":"left: 0px"};' ${!e&&`height: ${t*n}px;`} `});r.default=({defaultConfig:e,themeStore:t})=>{var r,n;let a,c,u,g,N,A,T,C,{isMobile:R,promptLinkShowing:P,isCoreReady:Q,isSignLanguageActive:H,isAddonsActive:F,opacity:Y,side:K,highContrast:J,pageSpeechState:X,magnifierState:ee}=(0,k.useHTGlobalStore)((0,O.useShallow)(e=>({isMobile:e.isMobile,promptLinkShowing:e.promptLinkShowing,isCoreReady:e.isCoreReady,isSignLanguageActive:e.isSignLanguageActive,isAddonsActive:e.isAddonsActive,opacity:e.opacity,side:e.side,highContrast:e.highContrast,element:e.element,pageSpeechState:e.pageSpeechState,magnifierState:e.magnifierState}))),{isActiveModalError:et,setErrorCode:er}=(0,U.useErrorStore)(),[en,eo]=(0,l.useState)(!1),[ea,ei]=(0,l.useState)(e),{translate:es,language:el}=(0,w.useTranslationStore)(),{textEnabled:ec,addonsEnabled:eu,align:ed,zIndex:ep,mobileConfig:eh}=ea,{customButtonStyle:eg}=eh,ef=ea.colorButton,em=ea.customStyle,ey=null==(r=ea.addonsMap.aiAssistant)?void 0:r.signTranslator,{setState:ev}=k.useHTGlobalStore,eM=()=>{clearTimeout(o),o=setTimeout(()=>{let t=(0,f.mobileCheck)(),r=t?(0,i._)({},e,e.mobileConfig):e;ei(r),ev({isMobile:t,side:localStorage.HTPluginSide?localStorage.HTPluginSide:r.side}),eo(!0)},250)},e_=()=>{new(0,_.ActiveAddonsCommand)(ea).execute(),(0,y.eventOpenAccessibilityFeatures)()},eS=()=>{ev({isOpenTranslateFromResources:!1}),eA.current=!1,new(0,S.ActiveSignLanguageTranslatorCommand)(ea).execute()};(0,l.useEffect)(()=>(eM(),window.addEventListener("resize",eM),()=>{window.removeEventListener("resize",eM)}),[]);let eN=!!(ey&&ec);(0,l.useEffect)(()=>{"true"==(0,L.getSignLanguageActivatedValue)()&&eN&&!Q&&eS()},[Q]),(0,l.useEffect)(()=>{"true"!=(0,I.getAddonsActivatedValue)()||F||e_()},[]),(0,l.useEffect)(()=>{navigator.onLine||er(U.ErrorCode.NoConnection)},[navigator.onLine]);let ex=(0,l.useMemo)(()=>et&&H&&!Q,[et,H,Q]),eA=(0,l.useRef)(!1);(0,l.useEffect)(()=>{ex&&!eA.current&&(eA.current=!0,e_())},[ex,e_]);let ej=Number(X)>0||"active"===ee;return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(j.default,{}),(0,s.jsx)(z.CustomYottaProvider,{highContrast:J,override:em,store:t,children:(0,s.jsx)(p.CommandStackProvider,{children:(0,s.jsxs)($,{className:h.htAddonsException,side:K,align:ed,isMobile:R,opacity:Y,activated:{isSignLanguageActive:H,isAddonsActive:F},isCoreReady:Q,zIndex:ep,customButtonStyle:!!eg,addonsActive:F,children:[(0,s.jsx)(V,{align:ed,side:K,customButtonStyle:!!eg,isMobile:R,children:en&&(a=[eu,eN].filter(e=>e).length,g=R&&eg?Object.fromEntries(Object.entries((c="left"==K?{left:`${eg.horizontalMargin}`}:{right:`${eg.horizontalMargin}`},u={position:`${eg.bottomMargin||eg.horizontalMargin?"relative":"static"}`,width:`${eg.size}`,height:`${eg.size}`,borderRadius:`${eg.borderRadius}`,bottom:`${eg.bottomMargin}`},(0,i._)({},u,c))).filter(([e])=>null!==e)):void 0,N=Object.values(null!=(n=ea.addonsMap)?n:{}).reduce((e,t)=>(0,i._)({},e,t),{}),A=(0,v.allStatesAreFalse)(N),T={"ptBR-bzs":(0,s.jsx)(d.YLibrasAnatelIcon,{}),"en-ase":(0,s.jsx)(d.YAslIcon,{})},C=(0,l.useMemo)(()=>({pluginAccessibilityText:es("pluginAccessibilityText"),accessibleSignLanguage:es("accessibleSignLanguage",{signLanguageName:E.signLanguage[ea.language]||"Libras"}),activateTranslator:es("activateTranslator"),plusAccessibilityFeatures:es("plusAccessibilityFeatures"),activateAddons:es("activateAddons")}),[el]),(0,s.jsxs)(q,{isMobile:R,resourceQuantity:a,side:K,align:ed,customBottom:R&&eg,tabIndex:0,"aria-labelledby":h.idPluginAccessibilityText,children:[(0,s.jsx)(b.default,{id:h.idPluginAccessibilityText,as:"h2",accessibilityText:C.pluginAccessibilityText}),eu&&!F&&!A&&(0,s.jsx)(x.default,{style:g,icon:(0,s.jsx)(d.YAccessibilityIcon,{}),className:h.htTranslatorException,position:H?"single":eN?"top":"single",side:K,onClick:e_,activeCheck:m.appActivator.hasAddonsAppsActive,textSlide:C.plusAccessibilityFeatures,ariaLabel:C.activateAddons,colorButton:ef,customStyle:em,isMobile:R}),eN&&!H&&!F&&(0,s.jsx)(x.default,{style:g,icon:T[ea.language]||(0,s.jsx)(d.YLibrasAnatelIcon,{}),className:h.htTranslatorException,position:F?"single":eu&&!A?"bottom":"single",side:K,onClick:eS,textSlide:C.accessibleSignLanguage,ariaLabel:C.activateTranslator,colorButton:ef,customStyle:em,isMobile:R})]}))}),(0,s.jsxs)(W,{side:K,children:[(0,s.jsx)(l.Suspense,{fallback:null,children:(0,s.jsx)(G,{activated:F&&en,config:ea,themeStore:t})}),(0,s.jsx)(l.Suspense,{fallback:null,children:(H||ej)&&(0,s.jsx)(D.default,{config:ea,activated:!!P,onClick:()=>{M.clickThePreviousClickedElement(),ev({promptLinkShowing:null})},initiator:H?"Tradutor de Sites":"Complementos"})})]}),(0,s.jsx)(Z,{side:K,children:(0,s.jsx)(l.Suspense,{fallback:null,children:eN&&(0,s.jsx)(B,{activated:H&&en,config:ea,themeStore:t})})})]})})})]})}},{"@swc/helpers/_/_object_spread":"8KZ4Y","react/jsx-runtime":"52k9Q",react:"8ZO42","styled-components":"cCe5U","@hand-talk/yotta-icons":[["YAccessibilityIcon","6tGoE","default"],["YAslIcon","7aTAS","default"],["YLibrasAnatelIcon","6BKSB","default"]],"../hooks/useCommandStack":"2LAi9","../constants/config":"kqbjQ","../constants/interface":"cnidu","../services/domUtils":"1UlS3","../services/appActivator":"eOZgV","../services/analytics":"9b6Tu","../services/helpers/allStatesAreFalseHelper":"ac74u","../services/textCollectorService":"5h9gT","74a30f71afd4c35d":"6SYH5",e5f293713252cac8:"3hJNP","../commands/addonsCommands/ActiveAddonsCommand":"1RXT2","../commands/signLanguageTranslatorCommands/ActiveSignLanguageTranslatorCommand":"gGno5","../components/AccessibilityButton":"1mBqW","../styles/HTGlobalStyle":"lHn6i","../components/AccessibilityHeading":"9XWuT","../components/PromptLink":"hcLIh","../services/addonsService":"yQkod","../services/signLanguageTranslatorService/signLanguageService":"8ovJ9","../stores/useTranslation":"94OJm","../i18n/signLanguage":"9A1mC","../theme/CustomYottaProvider":"ea7Fl","../stores/useHTGlobalStore":"aSfyl","zustand/react/shallow":"hcetN","../stores/useErrorStore":"j4TpP","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cCe5U:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ServerStyleSheet",()=>te),o.export(r,"StyleSheetConsumer",()=>eR),o.export(r,"StyleSheetContext",()=>eU),o.export(r,"StyleSheetManager",()=>eH),o.export(r,"ThemeConsumer",()=>eq),o.export(r,"ThemeContext",()=>eZ),o.export(r,"ThemeProvider",()=>eJ),o.export(r,"__PRIVATE__",()=>tt),o.export(r,"createGlobalStyle",()=>e8),o.export(r,"css",()=>e2),o.export(r,"default",()=>e3),o.export(r,"isStyledComponent",()=>er),o.export(r,"keyframes",()=>e6),o.export(r,"styled",()=>e3),o.export(r,"useTheme",()=>eK),o.export(r,"version",()=>f),o.export(r,"withTheme",()=>e7);var a=e("tslib"),i=e("@emotion/is-prop-valid");o.interopDefault(i);var s=e("react"),l=o.interopDefault(s),c=e("stylis"),u=e("@emotion/unitless"),d=o.interopDefault(u),p="data-styled",h="active",g="data-styled-version",f="6.3.9",m="/*!sc*/\n",y="u">typeof window&&"u">typeof document,v=void 0===l.default.createContext,M=!!("boolean"!=typeof SC_DISABLE_SPEEDY||SC_DISABLE_SPEEDY),_={},S=/invalid hook call/i,N=new Set,x=function(e,t){if(!v){var r="The component ".concat(e).concat(t?' with the id of "'.concat(t,'"'):""," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",n=console.error;try{var o=!0;console.error=function(e){for(var t=[],i=1;i?@[\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function I(e){return e.replace(C,"-").replace(D,"")}var L=/(a)(d)/gi,w=function(e){return String.fromCharCode(e+(e>25?39:97))};function E(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=w(t%52)+r;return(w(t%52)+r).replace(L,"$1-$2")}var z,k=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},O=function(e){return k(5381,e)};function U(e){return E(O(e)>>>0)}function R(e){return"string"==typeof e&&e||e.displayName||e.name||"Component"}function P(e){return"string"==typeof e&&e.charAt(0)===e.charAt(0).toLowerCase()}var Q="function"==typeof Symbol&&Symbol.for,H=Q?Symbol.for("react.memo"):60115,F=Q?Symbol.for("react.forward_ref"):60112,Y={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},B={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},G={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$=((z={})[F]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z[H]=G,z);function V(e){return("type"in e&&e.type.$$typeof)===H?G:"$$typeof"in e?$[e.$$typeof]:Y}var W=Object.defineProperty,Z=Object.getOwnPropertyNames,q=Object.getOwnPropertySymbols,K=Object.getOwnPropertyDescriptor,J=Object.getPrototypeOf,X=Object.prototype;function ee(e,t,r){if("string"!=typeof t){if(X){var n=J(t);n&&n!==X&&ee(e,n,r)}var o=Z(t);q&&(o=o.concat(q(t)));for(var a=V(e),i=V(t),s=0;s ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document ``\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to ``, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a ``"};function el(){for(var e=[],t=0;tthis._cGroup)for(var r=this._cGroup;r=e;r--)t-=this.groupSizes[r];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw ec(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a0&&this._cGroup>e&&(this._cIndex+=s)},e.prototype.clearGroup=function(e){if(e0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a0x40000000)throw ec(16,"".concat(t));return ed.set(e,t),ep.set(t,e),t},ef=function(e,t){eh=t+1,ed.set(e,t),ep.set(t,e)},em="style[".concat(p,"][").concat(g,'="').concat(f,'"]'),ey=new RegExp("^".concat(p,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ev=function(e){return"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},eM=function(e){if(!e)return document;if(ev(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(ev(t))return t}return document},e_=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;atypeof __webpack_nonce__?__webpack_nonce__:null}var eA=function(e){var t,r=document.head,n=e||r,o=document.createElement("style"),a=(t=Array.from(n.querySelectorAll("style[".concat(p,"]"))))[t.length-1],i=void 0!==a?a.nextSibling:null;o.setAttribute(p,h),o.setAttribute(g,f);var s=ex();return s&&o.setAttribute("nonce",s),n.insertBefore(o,i),o},ej=function(){function e(e){this.element=eA(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var r=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets,n=0,o=r.length;n=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+=e+",")}),r+=i+s+'{content:"'+l+'"}'+m}}(o);return r})}return e.registerId=function(e){return eg(e)},e.prototype.rehydrate=function(){!this.server&&y&&eN(this)},e.prototype.reconstructWithOptions=function(t,r){void 0===r&&(r=!0);var n=new e((0,a.__assign)((0,a.__assign)({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&y&&t.target!==this.options.target&&eM(this.options.target)!==eM(t.target)&&eN(n),n},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,r;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,r=e.target,new eu(e.isServer?new eb(r):t?new ej(r):new eT(r))))},e.prototype.hasNameForId=function(e,t){var r,n;return null!=(n=null==(r=this.names.get(e))?void 0:r.has(t))&&n},e.prototype.registerName=function(e,t){eg(e);var r=this.names.get(e);r?r.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(eg(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(eg(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eL=/&/g;function ew(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,r=0,n=0,o=!1,a=0;a0?".".concat(t):e},d=l.slice();d.push(function(e){e.type===c.RULESET&&e.value.includes("&")&&(n||(n=RegExp("\\".concat(r,"\\b"),"g")),e.props[0]=e.props[0].replace(eL,r).replace(n,u))}),i.prefix&&d.push(c.prefixer),d.push(c.stringify);var p=[],h=c.middleware(d.concat(c.rulesheet(function(e){return p.push(e)}))),g=function(e,o,a,s){void 0===o&&(o=""),void 0===a&&(a=""),void 0===s&&(s="&"),t=s,r=o,n=void 0;var l=function(e){if(!ew(e))return e;for(var t=e.length,r="",n=0,o=0,a=0,i=!1,s=0;s=3&&108==(32|e.charCodeAt(o-1))&&114==(32|e.charCodeAt(o-2))&&117==(32|e.charCodeAt(o-3)))i=1,o++;else if(i>0)41===s?i--:40===s&&i++,o++;else if(42===s&&o+1n&&r.push(e.substring(n,o)),n=o+=2;else if(47===s&&o+1n&&r.push(e.substring(n,o));o="A"&&n<="Z"?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var eB=function(e){return null==e||!1===e||""===e},eG=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!eB(n)&&(Array.isArray(n)&&n.isCss||et(n)?t.push("".concat(eY(r),":"),n,";"):ea(n)?t.push.apply(t,(0,a.__spreadArray)((0,a.__spreadArray)(["".concat(r," {")],eG(n),!1),["}"],!1)):t.push("".concat(eY(r),": ").concat(null==n||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in d.default||r.startsWith("--")?String(n).trim():"".concat(n,"px"),";")))}return t};function e$(e,t,r,n,o){if(void 0===o&&(o=[]),"string"==typeof e)return e&&o.push(e),o;if(eB(e))return o;if(er(e))return o.push(".".concat(e.styledComponentId)),o;if(et(e)){if(!et(e)||e.prototype&&e.prototype.isReactComponent||!t)return o.push(e),o;var a=e(t);return"object"!=typeof a||Array.isArray(a)||a instanceof eF||ea(a)||null===a||console.error("".concat(R(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),e$(a,t,r,n,o)}if(e instanceof eF)return r?(e.inject(r,n),o.push(e.getName(n))):o.push(e),o;if(ea(e)){for(var i=eG(e),s=0;s>>0);if(!t.hasNameForId(this.componentId,a)){var i=r(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}n=en(n,a),this.staticRulesId=a}else{for(var s=k(this.baseHash,r.hash),l="",c=0;c>>0);if(!t.hasNameForId(this.componentId,p)){var h=r(l,".".concat(p),void 0,this.componentId);t.insertRules(this.componentId,p,h)}n=en(n,p)}}return{className:n,css:"u"=200)&&(console.warn("Over ".concat(200," classes were generated for component ").concat(S).concat(N?' with the id of "'.concat(N,'"'):"",".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n "),d=!0,u={})},ei(k,function(){return".".concat(k.styledComponentId)}),h&&ee(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function e1(e,t){for(var r=[e[0]],n=0,o=t.length;n2&&eI.registerId(this.componentId+e);var o=this.componentId+e;this.isStatic?r.hasNameForId(o,o)||this.createStyles(e,t,r,n):(this.removeStyles(e,r),this.createStyles(e,t,r,n))},e}();function e8(e){for(var t=[],r=1;r meta tag to the stylesheet, or simply embedding it manually in your index.html section for a simpler app."),"u">typeof window&&t.styleSheet.server||u(a,e,t.styleSheet,r,t.stylis),v||l.default.useLayoutEffect(function(){return t.styleSheet.server||u(a,e,t.styleSheet,r,t.stylis),function(){var e;i.removeStyles(a,t.styleSheet),e=t.styleSheet.options.target,"u">typeof document&&(null!=e?e:document).querySelectorAll('style[data-styled-global="'.concat(o,'"]')).forEach(function(e){return e.remove()})}},[a,e,t.styleSheet,r,t.stylis]),v){var c=o+a,d="u"typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var n=eo(e2.apply(void 0,(0,a.__spreadArray)([e],t,!1)));return new eF(U(n),n)}function e7(e){var t=l.default.forwardRef(function(t,r){var n=T(t,v?void 0:l.default.useContext(eZ),e.defaultProps);return void 0===n&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class "'.concat(R(e),'"')),l.default.createElement(e,(0,a.__assign)((0,a.__assign)({},t),{theme:n,ref:r}))});return t.displayName="WithTheme(".concat(R(e),")"),ee(t,e)}var te=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=ex(),n=eo([r&&'nonce="'.concat(r,'"'),"".concat(p,'="true"'),"".concat(g,'="').concat(f,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw ec(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw ec(2);var t,r=e.instance.toString();if(!r)return[];var n=((t={})[p]="",t[g]=f,t.dangerouslySetInnerHTML={__html:r},t),o=ex();return o&&(n.nonce=o),[l.default.createElement("style",(0,a.__assign)({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eI({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw ec(2);return l.default.createElement(eH,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw ec(3)},e}(),tt={StyleSheet:eI,mainSheet:ez};"u">typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var tr="__sc-".concat(p,"__");"u">typeof window&&(window[tr]||(window[tr]=0),1===window[tr]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info."),window[tr]+=1)},{tslib:"fmin9","@emotion/is-prop-valid":"L5sJa",react:"8ZO42",stylis:"d8QCg","@emotion/unitless":"59mki","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],fmin9:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"__extends",()=>i),o.export(r,"__assign",()=>s),o.export(r,"__rest",()=>l),o.export(r,"__decorate",()=>c),o.export(r,"__param",()=>u),o.export(r,"__esDecorate",()=>d),o.export(r,"__runInitializers",()=>p),o.export(r,"__propKey",()=>h),o.export(r,"__setFunctionName",()=>g),o.export(r,"__metadata",()=>f),o.export(r,"__awaiter",()=>m),o.export(r,"__generator",()=>y),o.export(r,"__createBinding",()=>v),o.export(r,"__exportStar",()=>M),o.export(r,"__values",()=>_),o.export(r,"__read",()=>S),o.export(r,"__spread",()=>N),o.export(r,"__spreadArrays",()=>x),o.export(r,"__spreadArray",()=>A),o.export(r,"__await",()=>j),o.export(r,"__asyncGenerator",()=>T),o.export(r,"__asyncDelegator",()=>b),o.export(r,"__asyncValues",()=>C),o.export(r,"__makeTemplateObject",()=>D),o.export(r,"__importStar",()=>w),o.export(r,"__importDefault",()=>E),o.export(r,"__classPrivateFieldGet",()=>z),o.export(r,"__classPrivateFieldSet",()=>k),o.export(r,"__classPrivateFieldIn",()=>O),o.export(r,"__addDisposableResource",()=>U),o.export(r,"__disposeResources",()=>P),o.export(r,"__rewriteRelativeImportExtension",()=>Q);var a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function c(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function u(e,t){return function(r,n){t(r,n,e)}}function d(e,t,r,n,o,a){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,l=n.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),p=!1,h=r.length-1;h>=0;h--){var g={};for(var f in n)g[f]="access"===f?{}:n[f];for(var f in n.access)g.access[f]=n.access[f];g.addInitializer=function(e){if(p)throw TypeError("Cannot add initializers after decoration has completed");a.push(i(e||null))};var m=(0,r[h])("accessor"===l?{get:d.get,set:d.set}:d[c],g);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=i(m.get))&&(d.get=s),(s=i(m.set))&&(d.set=s),(s=i(m.init))&&o.unshift(s)}else(s=i(m))&&("field"===l?o.unshift(s):d[c]=s)}u&&Object.defineProperty(u,n.name,d),p=!0}function p(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function N(){for(var e=[],t=0;t1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=o[e](t)).value instanceof j?Promise.resolve(r.value.v).then(l,c):u(a[0][2],r)}catch(e){u(a[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function b(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:j(e[n](t)),done:!1}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=_(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){var a,i,s;a=n,i=o,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){a({value:e,done:s})},i)})}}}function D(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var I=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},L=function(e){return(L=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=L(e),n=0;nl);var a=e("@emotion/memoize"),i=o.interopDefault(a),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.default)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},{"@emotion/memoize":"iGagS","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iGagS:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}o.defineInteropFlag(r),o.export(r,"default",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],d8QCg:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"CHARSET",()=>g),o.export(r,"COMMENT",()=>l),o.export(r,"COUNTER_STYLE",()=>S),o.export(r,"DECLARATION",()=>u),o.export(r,"DOCUMENT",()=>y),o.export(r,"FONT_FACE",()=>_),o.export(r,"FONT_FEATURE_VALUES",()=>N),o.export(r,"IMPORT",()=>h),o.export(r,"KEYFRAMES",()=>M),o.export(r,"LAYER",()=>x),o.export(r,"MEDIA",()=>p),o.export(r,"MOZ",()=>i),o.export(r,"MS",()=>a),o.export(r,"NAMESPACE",()=>v),o.export(r,"PAGE",()=>d),o.export(r,"RULESET",()=>c),o.export(r,"SCOPE",()=>A),o.export(r,"SUPPORTS",()=>m),o.export(r,"VIEWPORT",()=>f),o.export(r,"WEBKIT",()=>s),o.export(r,"abs",()=>j),o.export(r,"alloc",()=>er),o.export(r,"append",()=>U),o.export(r,"assign",()=>b),o.export(r,"caret",()=>X),o.export(r,"char",()=>Z),o.export(r,"character",()=>B),o.export(r,"characters",()=>G),o.export(r,"charat",()=>E),o.export(r,"column",()=>H),o.export(r,"combine",()=>R),o.export(r,"comment",()=>ef),o.export(r,"commenter",()=>eu),o.export(r,"compile",()=>ep),o.export(r,"copy",()=>V),o.export(r,"dealloc",()=>en),o.export(r,"declaration",()=>em),o.export(r,"delimit",()=>eo),o.export(r,"delimiter",()=>ec),o.export(r,"escaping",()=>el),o.export(r,"filter",()=>P),o.export(r,"from",()=>T),o.export(r,"hash",()=>C),o.export(r,"identifier",()=>ed),o.export(r,"indexof",()=>w),o.export(r,"length",()=>F),o.export(r,"lift",()=>W),o.export(r,"line",()=>Q),o.export(r,"match",()=>I),o.export(r,"middleware",()=>e_),o.export(r,"namespace",()=>ex),o.export(r,"next",()=>K),o.export(r,"node",()=>$),o.export(r,"parse",()=>eh),o.export(r,"peek",()=>J),o.export(r,"position",()=>Y),o.export(r,"prefix",()=>ey),o.export(r,"prefixer",()=>eN),o.export(r,"prev",()=>q),o.export(r,"replace",()=>L),o.export(r,"ruleset",()=>eg),o.export(r,"rulesheet",()=>eS),o.export(r,"serialize",()=>ev),o.export(r,"sizeof",()=>O),o.export(r,"slice",()=>ee),o.export(r,"stringify",()=>eM),o.export(r,"strlen",()=>k),o.export(r,"substr",()=>z),o.export(r,"token",()=>et),o.export(r,"tokenize",()=>ea),o.export(r,"tokenizer",()=>es),o.export(r,"trim",()=>D),o.export(r,"whitespace",()=>ei);var a="-ms-",i="-moz-",s="-webkit-",l="comm",c="rule",u="decl",d="@page",p="@media",h="@import",g="@charset",f="@viewport",m="@supports",y="@document",v="@namespace",M="@keyframes",_="@font-face",S="@counter-style",N="@font-feature-values",x="@layer",A="@scope",j=Math.abs,T=String.fromCharCode,b=Object.assign;function C(e,t){return 45^E(e,0)?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}function D(e){return e.trim()}function I(e,t){return(e=t.exec(e))?e[0]:e}function L(e,t,r){return e.replace(t,r)}function w(e,t,r){return e.indexOf(t,r)}function E(e,t){return 0|e.charCodeAt(t)}function z(e,t,r){return e.slice(t,r)}function k(e){return e.length}function O(e){return e.length}function U(e,t){return t.push(e),e}function R(e,t){return e.map(t).join("")}function P(e,t){return e.filter(function(e){return!I(e,t)})}var Q=1,H=1,F=0,Y=0,B=0,G="";function $(e,t,r,n,o,a,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Q,column:H,length:i,return:"",siblings:s}}function V(e,t){return b($("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function W(e){for(;e.root;)e=V(e.root,{children:[e]});U(e,e.siblings)}function Z(){return B}function q(){return B=Y>0?E(G,--Y):0,H--,10===B&&(H=1,Q--),B}function K(){return B=Y2||et(B)>3?"":" "}function es(e){for(;K();)switch(et(B)){case 0:U(ed(Y-1),e);break;case 2:U(eo(B),e);break;default:U(T(B),e)}return e}function el(e,t){for(;--t&&K()&&!(B<48)&&!(B>102)&&(!(B>57)||!(B<65))&&(!(B>70)||!(B<97)););return ee(e,Y+(t<6&&32==J()&&32==K()))}function ec(e){for(;K();)switch(B){case e:return Y;case 34:case 39:34!==e&&39!==e&&ec(B);break;case 40:41===e&&ec(e);break;case 92:K()}return Y}function eu(e,t){for(;K();)if(e+B===57)break;else if(e+B===84&&47===J())break;return"/*"+ee(t,Y-1)+"*"+T(47===e?e:K())}function ed(e){for(;!et(J());)K();return ee(e,Y)}function ep(e){return en(eh("",null,null,null,[""],e=er(e),0,[0],e))}function eh(e,t,r,n,o,a,i,s,l){for(var c=0,u=0,d=i,p=0,h=0,g=0,f=1,m=1,y=1,v=0,M="",_=o,S=a,N=n,x=M;m;)switch(g=v,v=K()){case 40:if(108!=g&&58==E(x,d-1)){-1!=w(x+=L(eo(v),"&","&\f"),"&\f",j(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:x+=eo(v);break;case 9:case 10:case 13:case 32:x+=ei(g);break;case 92:x+=el(Y-1,7);continue;case 47:switch(J()){case 42:case 47:U(ef(eu(K(),Y),t,r,l),l),(5==et(g||1)||5==et(J()||1))&&k(x)&&" "!==z(x,-1,void 0)&&(x+=" ");break;default:x+="/"}break;case 123*f:s[c++]=k(x)*y;case 125*f:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==y&&(x=L(x,/\f/g,"")),h>0&&(k(x)-d||0===f&&47===g)&&U(h>32?em(x+";",n,r,d-1,l):em(L(x," ","")+";",n,r,d-2,l),l);break;case 59:x+=";";default:if(U(N=eg(x,t,r,c,u,o,s,M,_=[],S=[],d,a),a),123===v)if(0===u)eh(x,t,N,N,_,a,d,s,S);else{switch(p){case 99:if(110===E(x,3))break;case 108:if(97===E(x,2))break;default:u=0;case 100:case 109:case 115:}u?eh(e,N,N,n&&U(eg(e,N,N,0,0,o,s,M,o,_=[],d,S),S),o,S,d,s,n?_:S):eh(x,N,N,N,[""],S,0,s,S)}}c=u=h=0,f=y=1,M=x="",d=i;break;case 58:d=1+k(x),h=g;default:if(f<1){if(123==v)--f;else if(125==v&&0==f++&&125==q())continue}switch(x+=T(v),v*f){case 38:y=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(k(x)-1)*y,y=1;break;case 64:45===J()&&(x+=eo(K())),p=J(),u=d=k(M=x+=ed(Y)),v++;break;case 45:45===g&&2==k(x)&&(f=0)}}return a}function eg(e,t,r,n,o,a,i,s,l,u,d,p){for(var h=o-1,g=0===o?a:[""],f=O(g),m=0,y=0,v=0;m0?g[M]+" "+_:L(_,/&\f/g,g[M])))&&(l[v++]=S);return $(e,t,r,0===o?c:s,l,u,d,p)}function ef(e,t,r,n){return $(e,t,r,l,T(B),z(e,2,-2),0,n)}function em(e,t,r,n,o){return $(e,t,r,u,z(e,0,n),z(e,n+1,-1),n,o)}function ey(e,t,r){switch(C(e,t)){case 5103:return s+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return s+e+e;case 4855:return s+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return i+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return s+e+i+e+a+e+e;case 5936:switch(E(e,t+11)){case 114:return s+e+a+L(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return s+e+a+L(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return s+e+a+L(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return s+e+a+e+e;case 6165:return s+e+a+"flex-"+e+e;case 5187:return s+e+L(e,/(\w+).+(:[^]+)/,s+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return s+e+a+"flex-item-"+L(e,/flex-|-self/g,"")+(I(e,/flex-|baseline/)?"":a+"grid-row-"+L(e,/flex-|-self/g,""))+e;case 4675:return s+e+a+"flex-line-pack"+L(e,/align-content|flex-|-self/g,"")+e;case 5548:return s+e+a+L(e,"shrink","negative")+e;case 5292:return s+e+a+L(e,"basis","preferred-size")+e;case 6060:return s+"box-"+L(e,"-grow","")+s+e+a+L(e,"grow","positive")+e;case 4554:return s+L(e,/([^-])(transform)/g,"$1"+s+"$2")+e;case 6187:return L(L(L(e,/(zoom-|grab)/,s+"$1"),/(image-set)/,s+"$1"),e,"")+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,s+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,s+"box-pack:$3"+a+"flex-pack:$3"),/space-between/,"justify")+s+e+e;case 4200:if(!I(e,/flex-|baseline/))return a+"grid-column-align"+z(e,t)+e;break;case 2592:case 3360:return a+L(e,"template-","")+e;case 4384:case 3616:if(r&&r.some(function(e,r){return t=r,I(e.props,/grid-\w+-end/)}))return~w(e+(r=r[t].value),"span",0)?e:a+L(e,"-start","")+e+a+"grid-row-span:"+(~w(r,"span",0)?I(r,/\d+/):I(r,/\d+/)-I(e,/\d+/))+";";return a+L(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return I(e.props,/grid-\w+-start/)})?e:a+L(L(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,s+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(k(e)-1-t>6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return L(e,/(.+:)(.+)-([^]+)/,"$1"+s+"$2-$3$1"+i+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch",0)?ey(L(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return L(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,i,s,l){return a+r+":"+n+l+(o?a+r+"-span:"+(i?s:s-n)+l:"")+e});case 4949:if(121===E(e,t+6))return L(e,":",":"+s)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return L(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+s+(45===E(e,14)?"inline-":"")+"box$3$1"+s+"$2$3$1"+a+"$2box$3")+e;case 100:return L(e,":",":"+a)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return L(e,"scroll-","scroll-snap-")+e}return e}function ev(e,t){for(var r="",n=0;n-1&&!e.return)switch(e.type){case u:e.return=ey(e.value,e.length,r);return;case M:return ev([V(e,{value:L(e.value,"@","@"+s)})],n);case c:if(e.length)return R(r=e.props,function(t){switch(I(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":W(V(e,{props:[L(t,/:(read-\w+)/,":"+i+"$1")]})),W(V(e,{props:[t]})),b(e,{props:P(r,n)});break;case"::placeholder":W(V(e,{props:[L(t,/:(plac\w+)/,":"+s+"input-$1")]})),W(V(e,{props:[L(t,/:(plac\w+)/,":"+i+"$1")]})),W(V(e,{props:[L(t,/:(plac\w+)/,a+"input-$1")]})),W(V(e,{props:[t]})),b(e,{props:P(r,n)})}return""})}}function ex(e){e.type===c&&(e.props=e.props.map(function(t){return R(ea(t),function(t,r,n){switch(E(t,0)){case 12:return z(t,1,k(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===n[++r]&&(n[r]="",n[++r]="\f"+z(n[r],r=1,-1));case 32:return 1===r?"":t;default:switch(r){case 0:return e=t,O(n)>1?"":t;case r=O(n)-1:case 2:return 2===r?t+e+e:t+e;default:return t}}})}))}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"59mki":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>a);var a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6tGoE":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>u);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("react/jsx-runtime"),l=e("../IconBase/index.js"),c=o.interopDefault(l);let u=e=>(0,s.jsx)(c.default,(0,i._)((0,a._)({},e),{children:(0,s.jsx)("path",{d:"M20.75 6.99C20.61 6.44 20.06 6.12 19.51 6.24C17.13 6.77 14.48 7 12 7C9.52002 7 6.87002 6.77 4.49002 6.24C3.94002 6.12 3.39002 6.44 3.25002 6.99C3.11002 7.55 3.45002 8.12 4.00002 8.25C5.61002 8.61 7.35002 8.86 9.00002 9V21C9.00002 21.55 9.45002 22 10 22C10.55 22 11 21.55 11 21V16H13V21C13 21.55 13.45 22 14 22C14.55 22 15 21.55 15 21V9C16.65 8.86 18.39 8.61 19.99 8.25C20.55 8.12 20.89 7.55 20.75 6.99ZM12 6C13.1 6 14 5.1 14 4C14 2.9 13.1 2 12 2C10.9 2 10 2.9 10 4C10 5.1 10.9 6 12 6Z"})}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","react/jsx-runtime":"52k9Q","../IconBase/index.js":"14orz","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"14orz":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>u);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("@swc/helpers/_/_object_without_properties"),l=e("react/jsx-runtime"),c=e("./interfaces.js");let u=e=>{let{size:t=c.defaultComponentConfig.size,color:r=c.defaultComponentConfig.color,viewBox:n=c.defaultComponentConfig.viewBox,children:o}=e,u=(0,s._)(e,["size","color","viewBox","children"]);return(0,l.jsx)("svg",(0,i._)((0,a._)({width:t,height:t,viewBox:n,fill:r,xmlns:"http://www.w3.org/2000/svg"},u),{children:o}))}},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","@swc/helpers/_/_object_without_properties":"cBqEg","react/jsx-runtime":"52k9Q","./interfaces.js":"1Q48S","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cBqEg:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"_",()=>i);var a=e("./_object_without_properties_loose.js");function i(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(e);o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=(0,a._)(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}},{"./_object_without_properties_loose.js":"66Tbu","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"66Tbu":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");function a(e,t){if(null==e)return{};var r,n,o={},a=Object.getOwnPropertyNames(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}o.defineInteropFlag(r),o.export(r,"_",()=>a)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1Q48S":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"defaultComponentConfig",()=>a);let a={size:24,color:"#000000",viewBox:"0 0 24 24"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"7aTAS":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>u);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("react/jsx-runtime"),l=e("../IconBase/index.js"),c=o.interopDefault(l);let u=e=>(0,s.jsxs)(c.default,(0,i._)((0,a._)({},e),{children:[(0,s.jsx)("path",{d:"M3.41153 13.8712C3.36364 12.1661 3.31277 11.5987 3.31277 11.5898L3.00451 5.88479C3.00451 5.88479 2.8848 4.70271 3.87839 4.65248C4.87198 4.60224 4.87198 5.72965 4.87198 5.72965C4.87198 5.72965 4.94979 8.13665 4.97224 8.75133C4.97897 8.8104 5.00827 8.86471 5.05415 8.90318C5.10004 8.94166 5.15906 8.9614 5.21917 8.95838C5.27929 8.95537 5.33598 8.92982 5.37768 8.88696C5.41939 8.84409 5.44296 8.78713 5.44359 8.72769L5.67254 6.72111C5.68032 6.69589 5.69193 6.67198 5.70695 6.65019L7.10307 4.2949C7.10307 4.2949 7.46818 3.76296 8.26574 4.12793C9.06331 4.4929 8.58746 5.32922 8.58148 5.3366L7.33351 7.41558L7.07164 8.65677C7.07164 8.64495 7.07164 8.66859 7.07164 8.65677C7.02974 8.92273 7.47865 9.00105 7.55647 8.74247L8.00538 7.39047C8.02421 7.36399 8.0481 7.3414 8.07571 7.32397L10.3203 5.96458C10.3203 5.96458 10.9921 5.5745 11.4216 6.11234C11.8047 6.59404 11.4365 7.10824 11.3363 7.18212L11.2914 7.21315L9.46733 8.24747C9.43944 8.26832 9.41605 8.29444 9.3985 8.32431L9.04834 9.3734C8.95557 9.54037 9.06181 9.71473 9.28028 9.72803L10.0988 9.82407C10.14 9.8217 10.1813 9.82812 10.2197 9.84291C10.2582 9.8577 10.293 9.88051 10.3218 9.90977L11.878 11.4273C12.1189 11.6341 12.086 12.1513 11.7283 12.3626C11.1852 12.6817 10.7602 12.2252 10.6809 12.1912L9.59452 11.3268C9.34463 11.1539 8.57699 11.1391 8.00238 11.5721C7.55347 11.906 7.30208 12.7822 7.61931 13.3969C8.00837 14.152 9.40448 14.3219 9.91025 13.5062C10.0808 13.2299 10.4759 12.6891 10.9712 12.667C11.1658 12.6377 11.3647 12.6714 11.5383 12.763C11.6027 12.7937 11.6546 12.845 11.6856 12.9087C11.7166 12.9723 11.7248 13.0444 11.7089 13.1132L11.4306 14.5657L11.4216 14.6011C10.645 16.8693 7.5849 16.6565 7.57442 16.6565C5.54834 16.7481 3.4639 15.7419 3.41153 13.8712Z"}),(0,s.jsx)("path",{d:"M20.5973 11.1244C20.6452 12.8295 20.6961 13.3969 20.6961 13.4043L20.9953 19.1093C20.9953 19.1093 21.1166 20.2914 20.1215 20.3416C19.1264 20.3919 19.1279 19.2644 19.1279 19.2644L19.0321 16.2428C19.0201 16.1891 18.9893 16.1413 18.9451 16.1079C18.9009 16.0744 18.8462 16.0574 18.7906 16.0599C18.735 16.0624 18.6821 16.0841 18.6411 16.1214C18.6002 16.1586 18.5738 16.2089 18.5667 16.2634L18.3378 18.2685C18.3309 18.2943 18.3197 18.3187 18.3049 18.3409L16.9088 20.7051C16.9088 20.7051 16.5422 21.237 15.7461 20.8721C14.95 20.5071 15.4244 19.6693 15.4244 19.6619L16.6768 17.5785L16.9387 16.3373C16.9387 16.3255 16.9387 16.3491 16.9387 16.3373C16.9821 16.0728 16.5332 15.993 16.4539 16.2516L16.005 17.6036C15.9856 17.6301 15.9612 17.6527 15.9331 17.6701L13.6886 19.0295C13.6886 19.0295 13.0167 19.4211 12.5858 18.8817C12.2027 18.4015 12.5723 17.8858 12.6725 17.812L12.7174 17.7809L14.54 16.7466C14.5686 16.7266 14.5922 16.7003 14.6088 16.6698L14.959 15.6207C15.0518 15.4537 14.9455 15.2794 14.7286 15.2675L13.9085 15.1715C13.8676 15.1721 13.8269 15.1645 13.7891 15.149C13.7513 15.1335 13.717 15.1105 13.6886 15.0814L12.1324 13.5683C11.8929 13.36 11.9244 12.8428 12.282 12.6315C12.8252 12.3123 13.2501 12.7704 13.3295 12.8029L14.4173 13.6673C14.6612 13.8417 15.4244 13.855 16.005 13.4235C16.4539 13.0896 16.7038 12.2119 16.3865 11.5972C15.999 10.8436 14.6014 10.6737 14.0956 11.4893C13.928 11.7656 13.5315 12.305 13.0302 12.3271C12.8353 12.3568 12.6359 12.3236 12.4616 12.2326C12.3974 12.2012 12.3458 12.1495 12.3148 12.0858C12.2839 12.022 12.2755 11.9499 12.291 11.8809L12.5813 10.4299C12.5828 10.4178 12.5858 10.4059 12.5902 10.3944C13.3684 8.12483 16.4284 8.33908 16.4389 8.33908C18.4665 8.24747 20.5464 9.25372 20.5973 11.1244Z"})]}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","react/jsx-runtime":"52k9Q","../IconBase/index.js":"14orz","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6BKSB":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>u);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("react/jsx-runtime"),l=e("../IconBase/index.js"),c=o.interopDefault(l);let u=e=>(0,s.jsxs)(c.default,(0,i._)((0,a._)({},e),{children:[(0,s.jsx)("path",{d:"M22.6288 12.7392C22.6536 12.6999 22.8732 12.3289 22.9801 11.4231C23.0862 10.525 22.7342 9.7973 22.7194 9.76667C22.7037 9.73472 22.6806 9.7082 22.6531 9.68828C22.5897 9.64217 22.5027 9.63081 22.4258 9.66588C22.316 9.71611 22.2692 9.84275 22.3213 9.9488C22.3245 9.95522 22.6343 10.5963 22.5426 11.3751C22.4466 12.1886 22.2523 12.5192 22.2523 12.5192C22.1895 12.6193 22.2241 12.7484 22.3264 12.8107C22.4302 12.8715 22.5658 12.8393 22.6288 12.7392Z"}),(0,s.jsx)("path",{d:"M21.3889 12.5831C21.4986 12.6338 21.63 12.5892 21.6826 12.4835C21.7031 12.4422 21.8843 12.0525 21.8999 11.1409C21.9152 10.2375 21.4916 9.54567 21.4735 9.51686C21.4586 9.49265 21.4391 9.47239 21.4174 9.45642C21.3479 9.40587 21.2504 9.39796 21.1714 9.4439C21.0672 9.50434 21.0332 9.6346 21.0957 9.73505L21.0959 9.73533C21.1056 9.75132 21.4725 10.357 21.4598 11.134C21.4456 11.9526 21.2856 12.2999 21.2856 12.2999C21.233 12.4056 21.2795 12.5327 21.3889 12.5831Z"}),(0,s.jsx)("path",{d:"M19.4548 15.2663C19.6737 14.7797 20.3285 13.5204 20.706 11.9494C21.0838 10.3783 20.2851 9.63822 20.2851 9.63822C18.4847 8.86178 18.0592 7.94848 17.6278 7.76009C17.3771 7.65059 17.0069 7.60431 16.6309 7.60431C16.3593 7.60431 16.0851 7.62836 15.8505 7.67018C15.2902 7.77014 13.2106 8.63485 12.2797 9.14304C11.3487 9.65156 9.88799 10.0201 9.88799 10.0201C9.88799 10.0201 9.88799 10.0201 9.55773 10.1365C9.22798 10.253 8.42008 10.1204 8.25802 10.4135C8.09528 10.7066 8.54747 11.0274 8.8791 11.1491C9.10468 11.2324 9.27255 11.336 9.99745 11.336C10.334 11.336 10.7912 11.3136 11.4298 11.2565C11.5372 11.2468 11.6363 11.242 11.7273 11.242C13.344 11.2422 12.4814 12.7145 11.9889 13.6644C11.4684 14.6676 8.20833 18.6368 7.99232 18.9215C7.77647 19.2062 7.84307 19.5158 8.06984 19.7348C8.19297 19.8535 8.3417 19.9385 8.50205 19.9385C8.63729 19.9385 8.78074 19.8777 8.92367 19.7254C9.23754 19.3931 11.8742 16.8802 12.4865 16.2338C12.6911 16.0179 12.858 15.9315 12.9795 15.9315C13.2219 15.9316 13.2852 16.274 13.1105 16.6168C12.8487 17.1311 10.8699 21.3052 10.7895 21.5703C10.7094 21.8344 10.8608 22.2329 11.0523 22.339C11.1344 22.3848 11.2772 22.4246 11.4292 22.4246C11.6305 22.4246 11.8477 22.3548 11.9621 22.1363C12.5268 21.058 14.4087 17.8847 14.7439 17.3633C14.8786 17.1545 14.9855 17.0712 15.066 17.0713C15.1863 17.0713 15.2475 17.2581 15.2531 17.4895C15.2628 17.8756 14.7408 21.8247 14.7133 22.4182C14.6886 22.9504 15.1449 22.9778 15.2393 22.9778C15.25 22.9778 15.256 22.9774 15.256 22.9774C15.256 22.9774 15.3052 23 15.3786 23C15.5327 23 15.7934 22.901 15.9321 22.2876C16.0757 21.6503 16.5036 18.8693 16.7834 17.6665C16.8995 17.1652 17.0508 16.9979 17.1932 16.9979C17.3925 16.9979 17.5742 17.3261 17.6162 17.5263C17.6882 17.8687 17.9381 20.5257 18.0474 21.2161C18.1015 21.5527 18.3303 21.6872 18.5573 21.6872C18.7958 21.6872 19.032 21.5383 19.0597 21.3187C19.1126 20.8894 19.2077 19.7307 19.1544 18.0887C19.102 16.4471 19.2357 15.7536 19.4548 15.2663Z"}),(0,s.jsx)("path",{d:"M4.1856 11.3767C4.28311 11.8991 4.4612 13.2967 5.04915 14.8067C5.63642 16.3171 6.72676 16.5063 6.72676 16.5063C7.17741 16.4334 7.57069 16.4059 7.91479 16.4059C8.17128 16.4059 8.40044 16.4212 8.60571 16.4443C10.005 14.6804 10.8159 13.5898 11.0196 13.197L11.1033 13.0368C11.1978 12.8568 11.3545 12.5577 11.4625 12.3028C10.8624 12.3554 10.3825 12.3809 9.99745 12.3809C9.21175 12.3809 8.86442 12.2706 8.55021 12.1475C8.53091 12.14 8.51178 12.1324 8.49351 12.1256C8.26571 12.042 7.50084 11.7146 7.23 11.0154C7.0881 10.6492 7.11406 10.2602 7.30173 9.92196C7.69296 9.21468 8.50819 9.1768 8.99538 9.15424L8.99878 9.15408C9.07205 9.15063 9.1757 9.14575 9.22934 9.13975L9.51572 9.03864L9.56405 9.02167L9.61356 9.00916C9.90762 8.93506 10.6686 8.71554 11.3011 8.44581C11.2364 6.94973 11.6155 2.5407 11.631 2.21217C11.6472 1.85927 11.4138 1.63713 11.0994 1.57619C11.04 1.56483 10.9805 1.55825 10.9227 1.55825C10.6725 1.55825 10.4496 1.67912 10.3933 2.03959C10.3233 2.48422 9.5707 5.9844 9.43255 6.8496C9.36937 7.24301 9.22661 7.39929 9.08232 7.39929C8.90933 7.39929 8.73463 7.17451 8.69262 6.86426C8.61561 6.2958 7.86577 1.7636 7.78039 1.50028C7.6974 1.24438 7.35945 1 7.13797 1C7.13199 1 7.12618 1.00016 7.12037 1.00049C6.90026 1.01399 6.4257 1.22824 6.47863 1.65508C6.62805 2.85441 6.88386 6.50214 6.90402 7.11473C6.91392 7.42778 6.84425 7.54717 6.74315 7.54717C6.64616 7.54717 6.51962 7.43668 6.40726 7.28172C6.17775 6.96537 4.34407 3.39784 4.02627 2.88965C3.88863 2.66932 3.72538 2.60674 3.58433 2.60674C3.39956 2.60674 3.25321 2.71378 3.25321 2.71378C3.25321 2.71378 2.73716 2.78541 3.08637 3.6488C3.33313 4.25678 4.57358 6.8007 5.03174 7.95145C5.28021 8.57442 5.15554 8.75984 4.94806 8.75984C4.77217 8.75984 4.53686 8.62646 4.4192 8.51332C4.16237 8.26631 2.42859 6.18728 1.94071 5.67118C1.80324 5.52627 1.6562 5.4683 1.5201 5.4683C1.17122 5.4683 0.894593 5.84887 1.03923 6.12619C1.24091 6.51219 1.82765 7.52757 2.81485 8.86655C3.80137 10.2054 4.08826 10.854 4.1856 11.3767Z"}),(0,s.jsx)("path",{d:"M5.91239 17.7468C5.99931 17.7468 6.08194 17.6966 6.11644 17.6138C6.16221 17.5051 6.10739 17.3814 5.99469 17.3375C5.98803 17.3348 5.30941 17.0654 4.83041 16.4326C4.32989 15.7712 4.24075 15.401 4.24075 15.401C4.21667 15.2861 4.10003 15.2115 3.98118 15.235C3.86216 15.2581 3.78497 15.3702 3.80905 15.4852C3.81844 15.5303 3.91749 15.9464 4.47453 16.683C5.02713 17.4127 5.79729 17.7187 5.82991 17.7312C5.85689 17.7417 5.88489 17.7468 5.91239 17.7468Z"}),(0,s.jsx)("path",{d:"M4.78123 18.2799C4.86046 18.2799 4.9373 18.2382 4.97641 18.1658C5.03276 18.0619 4.9911 17.9336 4.88317 17.8791C4.87668 17.8759 4.22862 17.5443 3.8152 16.8696C3.38367 16.1645 3.3321 15.7877 3.3321 15.7877C3.31981 15.6713 3.21138 15.5884 3.09064 15.5982C2.96974 15.6102 2.8818 15.7144 2.89426 15.8312C2.89887 15.8768 2.95539 16.3005 3.4361 17.0855C3.91287 17.8638 4.6482 18.24 4.67945 18.2559C4.7119 18.2722 4.74673 18.2799 4.78123 18.2799Z"})]}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","react/jsx-runtime":"52k9Q","../IconBase/index.js":"14orz","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2LAi9":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"CommandStackProvider",()=>l),o.export(r,"useCommandStack",()=>c);var a=e("react/jsx-runtime"),i=e("react");let s=(0,i.createContext)({execute:Promise.resolve,undo:Promise.resolve}),l=({maxSize:e=15,children:t})=>{let[r,n]=(0,i.useState)([]),o=async t=>{let o=[...r,t];o.length>e&&o.shift(),n(o),await t.execute()},l=async()=>{let e=[...r],t=e.pop();t&&(n(e),await t.undo())};return(0,a.jsx)(s.Provider,{value:{execute:o,undo:l},children:t})},c=()=>(0,i.useContext)(s)},{"react/jsx-runtime":"52k9Q",react:"8ZO42","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eOZgV:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"appActivator",()=>s);var a=e("@swc/helpers/_/_define_property"),i=e("../stores/useHTGlobalStore");let s=new class{get activeAddonsCount(){return["HTFontSizeScale","HTLineHeightScale","HTReaderMode","HTContrastMode","HTPageSpeech","HTReadingMaskActivated","HTLetterSpacingScale","HTHighlightLinksActivated","HTTextStyle","HTColorIntensity","HTReadingGuideScale","HTMagnifierActivated","HTPauseAnimationsActivated","HTHighlightHeadingsActivated","HTHideImagesActivated","HTHighlightedLettersActivated","HTColorblindScale","HTDisableSoundsActivated","HTSignLanguageActivated"].reduce((e,t)=>{let r=sessionStorage.getItem(t);return("true"===r||parseInt(r||"0")>0)&&e++,e},0)}get hasAddonsAppsActive(){return this.activeAddonsCount>0}constructor(){(0,a._)(this,"handleAddon",()=>{let{setState:e}=i.useHTGlobalStore;e({hasAddonsAppsActive:this.hasAddonsAppsActive})})}}},{"@swc/helpers/_/_define_property":"kJ3aC","../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9b6Tu":[function(e,t,r,n){let o,a,i;var s=e("@parcel/transformer-js/src/esmodule-helpers.js");s.defineInteropFlag(r),s.export(r,"isAnalyticsInitialized",()=>S),s.export(r,"initAnalytics",()=>N),s.export(r,"sendEvent",()=>x),s.export(r,"sendGA4Event",()=>A),s.export(r,"handleProfileAnalytics",()=>j),s.export(r,"handleAnalyticsSide",()=>T),s.export(r,"handleAnalyticsContrast",()=>b),s.export(r,"handleAnalyticsOpacity",()=>C),s.export(r,"handleAnalyticsPauseTranslate",()=>D),s.export(r,"handleAnalyticsPlayTranslate",()=>I),s.export(r,"handleAnalyticsSpeed",()=>L),s.export(r,"handleAnalyticsPageSpeech",()=>w),s.export(r,"handleAnalyticsReaderMode",()=>E),s.export(r,"handleAnalyticsReadingMask",()=>z),s.export(r,"handleAnalyticsReadingGuide",()=>k),s.export(r,"handleAnalyticsContrastAddons",()=>O),s.export(r,"handleAnalyticsHighlightLinks",()=>U),s.export(r,"handleAnalyticsHighlightedLetters",()=>R),s.export(r,"handleAnalyticsColorIntensityAddons",()=>P),s.export(r,"handleAnalyticsMagnifier",()=>Q),s.export(r,"handleAnalyticsPageStructure",()=>H),s.export(r,"handleAnalyticsTabPageStructure",()=>F),s.export(r,"handleAnalyticsPauseAnimations",()=>Y),s.export(r,"handleHighlightHeadingsAnalytics",()=>B),s.export(r,"handleAnalyticsTextStyle",()=>G),s.export(r,"handleSignLanguageTranslator",()=>$),s.export(r,"eventOpenAccessibilityFeatures",()=>V),s.export(r,"handleAnalyticsPageSpeechSpeak",()=>W),s.export(r,"handleAnalyticsHideImages",()=>Z),s.export(r,"handleAnalyticsColorblindMode",()=>q),s.export(r,"handlePromptLinkAnalytics",()=>K),s.export(r,"handleHTLinkAnalytics",()=>J),s.export(r,"handleHTBrandAnalytics",()=>X),s.export(r,"handleMissedRateTranslationAnalytics",()=>ee),s.export(r,"handleNoConnectionAnalytics",()=>et),s.export(r,"handleChangeUserProfileAnalytics",()=>er),s.export(r,"handleAnalyticsConfigMenu",()=>en),s.export(r,"handleAuthErrorAnalytics",()=>eo),s.export(r,"handleDisableSoundsAnalytics",()=>ea),s.export(r,"handleAnalyticsSynonymsMeanings",()=>ei),s.export(r,"setProfileType",()=>es),s.export(r,"GoogleAnalytics",()=>el),s.export(r,"eventDragTranslatorWindow",()=>ec),s.export(r,"eventDragResourcesWindow",()=>eu);var l=e("@swc/helpers/_/_define_property"),c=e("../constants/config"),u=e("./domUtils"),d=e("../views/PageStructure/types"),p=e("../stores/useHTGlobalStore"),h=e("@/features/balloon/balloon-notification");let g=location.pathname+location.search+location.hash,f="handtalk-plugin-analytics-iframe",{getState:m,setState:y}=p.useHTGlobalStore,v=[],M=e=>{a||o?o.postMessage(e,"*"):v.push(e)},_=()=>{let e;if((!a||!o)&&(null==(e=document.getElementById(f))?void 0:e.contentWindow)&&(o=e.contentWindow),!a)throw Error("The analytics iframe hasn't loaded yet");if(!o)throw Error("Could not find the iframe window, please make sure the iframe has been loaded before using it");let t=v.shift();t&&(M(t),setTimeout(_,c.googleAnalyticsHitDelay))},S=()=>i,N=async(e,t,r,n)=>{var a,s,l,d;let p,m=null!=(s=null!=(a=h.useNotificationBalloonStore.getState().profile)?a:localStorage.getItem("HTProfileType"))?s:"unknown",y="true"===localStorage.getItem("HTSignLanguageFirstActivation");if(i)return void console.error("Não é possível inicializar o analytics mais de uma vez!");i=!0;let v=e||document.body,_=(l=c.iframeUrl,(p=document.createElement("iframe")).src=l,p.id=f,p.hidden=!0,p.frameBorder="0",p.width="0",p.height="0",p);return(v.appendChild(_),_&&_.contentDocument&&_.contentWindow)?(await (0,u.waitForEvent)(_,"load"),o=_.contentWindow,d=document.title,M({action:"init",initData:{page:g,title:d,token:t,version:c.version,language:r,offRedirection:n,profileType:m,hasActivatedBefore:y}}),Promise.resolve()):Promise.reject("Initialization Failed")},x=e=>{M({action:"event",eventData:{type:"legacy",payload:e}})},A=e=>{M({action:"event",eventData:{type:"ga4",payload:e}})},j=({opacity:e,highContrast:t,speed:r,initiator:n})=>{if(localStorage.getItem("HTUserProfileSent"))return;let o=localStorage.getItem("HTSpeed"),a=c.speedPt["paused"===r?null!=o?o:"normal":r];localStorage.setItem("HTUserProfileSent","true"),x({eventCategory:n,eventAction:"Perfil Preferência Pessoa Usuária",eventLabel:`Opacidade ${e}% com Alto Contraste ${+!!t} e Velocidade ${a}`})},T=(e,t)=>{x({eventCategory:"Configurações",eventAction:`Mudan\xe7a de Lado para ${"right"==e?"Direita":"Esquerda"}`,eventLabel:t}),y({sendHitChangeSide:!1})},b=e=>{let{highContrast:t}=m();x({eventCategory:"Configurações",eventAction:`Modo Escuro ${t?"Ativado":"Desativado"}`,eventLabel:e}),y({sendHitChangeContrast:!1})},C=(e,t)=>{x({eventCategory:"Configurações",eventAction:`Opacidade em ${e}%`,eventLabel:t}),y({sendHitChangeOpacity:!1})},D=e=>{x({eventCategory:"Tradutor de Sites",eventAction:"Tradução pause",eventValue:e.split(" ").length})},I=e=>{x({eventCategory:"Tradutor de Sites",eventAction:"Tradução play",eventValue:e.split(" ").length})},L=(e,t)=>{let r=localStorage.getItem("HTSpeed"),n=c.speedPt["paused"===e?null!=r?r:"normal":e];x({eventCategory:"Configurações",eventAction:`Velocidade definida para ${n}`,eventLabel:t}),y({sendHitChangeSpeed:!1})},w=e=>{x({eventCategory:"Complementos",eventAction:0===e?"Desativar":"Ativar",eventLabel:"Leitor de sites",eventValue:e})},E=e=>{x({eventCategory:"Complementos",eventAction:0===e?"Desativar":"Ativar",eventLabel:"Modo de leitura",eventValue:e})},z=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Máscara de leitura",eventValue:e})},k=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Guia de leitura",eventValue:e})},O=e=>{let t={1:2,2:3,3:1}[e]||0;x({eventCategory:"Complementos",eventAction:0===t?"Desativar":"Ativar",eventLabel:"Contraste de cores",eventValue:t})},U=e=>{x({eventCategory:"Complementos",eventAction:0===e?"Desativar":"Ativar",eventLabel:"Destacar links",eventValue:e})},R=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Letras Destacadas"})},P=e=>{x({eventCategory:"Complementos",eventAction:0===e?"Desativar":"Ativar",eventLabel:"Saturação",eventValue:e})},Q=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Lupa"})},H=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Estrutura de Página"})},F=e=>{let t=d.StructureDictionary[e];x({eventCategory:"Complementos",eventAction:`Aba selecionada: ${t}`,eventLabel:"Estrutura de Página"})},Y=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Pausar Animações"})},B=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Destacar Cabeçalho"})},G=e=>{x({eventCategory:"Complementos",eventAction:0===e?"Desativar":"Ativar",eventLabel:"Mudar Fonte",eventValue:e})},$=e=>{x({eventCategory:"Tradutor de Sites",eventAction:e?"Ativado":"Desativado"})},V=()=>{x({eventCategory:"Complementos",eventAction:"Abrir",eventLabel:"Abrir complementos"})},W=e=>{x({eventCategory:"Leitor de Sites",eventAction:"Tamanho_Txt_Leitura_Leitor - Leitor",eventValue:e.split(" ").length})},Z=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Esconder Imagens"})},q=(e,t)=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Modo Daltônico",eventValue:t})},K=e=>{x({eventCategory:e,eventAction:"Seleção",eventLabel:"Acessar Link"})},J=e=>{x({eventCategory:e,eventAction:"Abrir",eventLabel:"HT Site Link Clicado"})},X=e=>{x({eventCategory:e,eventAction:"Abrir",eventLabel:"HT Brand Clicado"})},ee=()=>{x({eventCategory:"Tradutor de Sites",eventAction:"Falta Interação",eventLabel:"Avaliação Tradução"})},et=()=>{x({eventCategory:"Tradutor de Sites",eventAction:"Falha de Conexão Internet",eventLabel:"Desconectado"})},er=()=>{let{highContrast:e,sendHitChangeSpeed:t,sendHitChangeSide:r,sendHitChangeContrast:n,sendHitChangeOpacity:o,opacity:a,side:i,speed:s,isSignLanguageActive:l}=m(),c=l?"Tradutor de Sites":"Complementos";(t||r||n||o)&&(t&&L(s,c),r&&T(i,c),n&&b(c),o&&C(a,c),j({opacity:a,highContrast:e,speed:s,initiator:c}))},en=(e,t)=>{let r=e?"Abrir":"Fechar";x({eventCategory:t,eventAction:`${r}`,eventLabel:`${r} configura\xe7\xf5es gerais`})},eo=()=>{x({eventCategory:"Plugin",eventAction:"Falha na Autenticação",eventLabel:"Token Expirado"})},ea=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Parar Sons"})},ei=e=>{x({eventCategory:"Complementos",eventAction:e?"Ativar":"Desativar",eventLabel:"Sinônimos e significados"})},es=e=>{M({action:"setProfileType",profileType:e})};window.onmessage=e=>{let{action:t}=e.data;"ready"===t&&(a=!0,_())};class el{constructor(){(0,l._)(this,"initGA4",async(e,t,r,n,o,a,i)=>(0,u.injectScript)(document.body,c.ga4ScriptUrl).then(()=>{let s=document.createElement("script");s.innerHTML=` window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '${e}', { cookie_flags: "SameSite=None; Secure", token: "${t}", version: "${r}", page_path: "${n}", page_title: "${o}", ht_language: "${a}", off_redirection: "${i}", }); `,document.body.appendChild(s),Promise.resolve()}).catch(e=>{console.warn("Failed to inject GA4 script"),console.warn(e),Promise.reject("Initialization Failed")})),(0,l._)(this,"sendLegacyEvent",e=>{e.eventCategory&&e.eventAction?window.gtag("event",e.eventAction,{event_category:e.eventCategory,event_label:e.eventLabel,event_value:e.eventValue}):console.warn("Insufficient data! you need to define eventCategory and eventAction!")}),(0,l._)(this,"sendGA4Event",e=>{window.gtag("event",e.eventName,{action:e.action,category:e.category,feature:e.feature,value:e.value})}),window.ga={l:+new Date,q:[]}}}let ec=(e,t)=>{x({eventCategory:"UI",eventAction:"drag_translator_window",eventLabel:`${e},${t}`})},eu=(e,t)=>{x({eventCategory:"UI",eventAction:"drag_resources_window",eventLabel:`${e},${t}`})}},{"@swc/helpers/_/_define_property":"kJ3aC","../constants/config":"kqbjQ","./domUtils":"1UlS3","../views/PageStructure/types":"1yXSq","../stores/useHTGlobalStore":"aSfyl","@/features/balloon/balloon-notification":"fayjE","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1yXSq":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"StructureDictionary",()=>a);let a={titles:"Títulos",links:"Links",sections:"Regiões"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],fayjE:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"BalloonNotification",()=>a.BalloonNotification),o.export(r,"balloonAnimations",()=>i.balloonAnimations),o.export(r,"researchLink",()=>s.researchLink),o.export(r,"BalloonType",()=>l.BalloonType),o.export(r,"sendClickedResearchOnConfig",()=>c.sendClickedResearchOnConfig),o.export(r,"balloonAnimationAnalytics",()=>u.balloonAnimationAnalytics),o.export(r,"useNotificationBalloonStore",()=>d.useNotificationBalloonStore);var a=e("./ui/BalloonNotification"),i=e("./lib/balloonAnimations"),s=e("../../../shared/lib/researchLink"),l=e("./model/BalloonNotification.types"),c=e("./lib/balloonAnalyticsEvents"),u=e("./lib/balloonAnimationEventMap"),d=e("./model/BalloonNotification.store")},{"./ui/BalloonNotification":"ilKLp","./lib/balloonAnimations":"gtMmX","../../../shared/lib/researchLink":"gVaoT","./model/BalloonNotification.types":"bA2Wh","./lib/balloonAnalyticsEvents":"cZlQs","./lib/balloonAnimationEventMap":"cxUAs","./model/BalloonNotification.store":"inYoG","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ilKLp:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"BalloonNotification",()=>p);var a=e("react/jsx-runtime"),i=e("preact/hooks"),s=e("../../../../shared/lib/researchLink"),l=e("../lib/getWelcomeMessage"),c=e("../lib/balloonAnalyticsEvents"),u=e("@/stores/useTranslation"),d=e("./BalloonNotification.styles");let p=({onClick:e,onClickedResearch:t,borderRadius:r,balloonType:n,answerProfile:o,avatar:p,signLang:h})=>{let{translate:g,language:f}=(0,u.useTranslationStore)(),m=(0,i.useMemo)(()=>"researchThanks"===n?null:({research:{title:g("researchTitle"),text:g("balloonClose")},question:{title:g("questionTitle"),text:""},welcome:{title:"",text:(0,l.getWelcomeMessage)(g,p,h)},warning:{title:g("attention"),text:g("invalidText")},noConnection:{title:g("noConnectionTitle"),text:g("noConnection")}})[n],[n,f,p]);return(0,a.jsx)(d.Balloon,{children:(0,a.jsxs)(d.ContentContainer,{children:[(0,a.jsxs)(d.ContentBox,{balloonType:n,children:[(null==m?void 0:m.title)&&(0,a.jsx)(d.Title,{children:m.title}),(null==m?void 0:m.text)&&(0,a.jsx)(d.Content,{children:m.text})]}),(0,a.jsxs)(d.ButtonsBox,{children:["research"===n&&(0,a.jsx)(d.Button,{title:g("wantToHelp"),ariaLabel:g("wantToHelp"),onClick:()=>{(0,s.researchLink)(),(0,c.sendClickedResearchEvent)(),t(),e()},borderRadius:r,balloonType:"research"}),"question"===n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Button,{title:g("yes"),ariaLabel:g("yes"),onClick:()=>{o("deaf"),(0,c.sendDeafUserProfileResearchEvent)(),e()},borderRadius:r,balloonType:"question"}),(0,a.jsx)(d.Button,{title:g("no"),ariaLabel:g("no"),onClick:()=>{o("hearing"),(0,c.sendHearingUserProfileResearchEvent)(),e()},borderRadius:r,balloonType:"question"})]})]})]})})}},{"react/jsx-runtime":"52k9Q","preact/hooks":"9Dac5","../../../../shared/lib/researchLink":"gVaoT","../lib/getWelcomeMessage":"cXEFw","../lib/balloonAnalyticsEvents":"cZlQs","@/stores/useTranslation":"94OJm","./BalloonNotification.styles":"6gaj1","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gVaoT:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"researchLink",()=>a);let a=()=>{window.open("https://docs.google.com/forms/d/e/1FAIpQLSfNLmNS77A43hgFuBJHd6F6cdPgmESS9rH4KUrqT4HyvD3YjQ/viewform","_blank")}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cXEFw:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getWelcomeMessage",()=>a);let a=(e,t,r)=>e({HUGO:"welcomeMessageMale",MAYA:"welcomeMessageFemale"}[t],{avatarName:{HUGO:"Hugo",MAYA:"Maya"}[t],welcomeLanguage:{"ptBR-bzs":"Libras","en-ase":"ASL"}[r]})},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cZlQs:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"sendClickedResearchOnConfig",()=>s),o.export(r,"sendClickedResearchEvent",()=>l),o.export(r,"sendHearingUserProfileResearchEvent",()=>c),o.export(r,"sendDeafUserProfileResearchEvent",()=>u),o.export(r,"trackResearchAnimationStart",()=>d),o.export(r,"trackResearchAnimationFinish",()=>p),o.export(r,"trackResearchAnimationStop",()=>h),o.export(r,"trackConnectionFailureAnimationStart",()=>g),o.export(r,"trackConnectionFailureAnimationFinish",()=>f),o.export(r,"trackConnectionFailureAnimationStop",()=>m),o.export(r,"trackWelcomeAnimationStart",()=>y),o.export(r,"trackWelcomeAnimationFinish",()=>v),o.export(r,"trackWelcomeAnimationStop",()=>M),o.export(r,"trackContentUnavailableAnimationStart",()=>_),o.export(r,"trackContentUnavailableAnimationFinish",()=>S),o.export(r,"trackContentUnavailableAnimationStop",()=>N),o.export(r,"trackDeafUserResearchAnimationStart",()=>x),o.export(r,"trackDeafUserResearchAnimationFinish",()=>A),o.export(r,"trackDeafUserResearchAnimationStop",()=>j),o.export(r,"trackThanksResearchAnimationStart",()=>T),o.export(r,"trackThanksResearchAnimationFinish",()=>b),o.export(r,"trackThanksResearchAnimationStop",()=>C);var a=e("@/services/analytics");let i=(e,t,r,n)=>{(0,a.sendGA4Event)({eventName:e,action:t,category:r,feature:n})},s=()=>i("go_to_research","go","research","settings_button"),l=()=>i("go_to_translator_research","go","research","notification_animation"),c=()=>i("set_hearing_user_profile_research","set","research","notification_animation"),u=()=>i("set_deaf_user_profile_research","set","research","notification_animation"),d=()=>i("play_research_animation","play","research","notification_animation"),p=()=>i("finish_research_animation","finish","research","notification_animation"),h=()=>i("stop_research_animation","stop","research","notification_animation"),g=()=>i("play_connection_failure_animation","play","plugin","notification_animation"),f=()=>i("finish_connection_failure_animation","finish","plugin","notification_animation"),m=()=>i("stop_connection_failure_animation","stop","plugin","notification_animation"),y=()=>i("start_welcome_animation","start","presentation","animation"),v=()=>i("finish_welcome_animation","finish","presentation","animation"),M=()=>i("stop_welcome_animation","stop","presentation","animation"),_=()=>i("play_content_unavailable_animation","play","plugin","notification_animation"),S=()=>i("finish_content_unavailable_animation","finish","plugin","notification_animation"),N=()=>i("stop_content_unavailable_animation","stop","plugin","notification_animation"),x=()=>i("play_deaf_user_research_animation","play","research","notification_animation"),A=()=>i("finish_deaf_user_research_animation","finish","research","notification_animation"),j=()=>i("stop_deaf_user_research_animation","stop","research","notification_animation"),T=()=>i("play_thanks_research_animation","play","research","notification_animation"),b=()=>i("finish_thanks_research_animation","finish","research","notification_animation"),C=()=>i("stop_thanks_research_animation","stop","research","notification_animation")},{"@/services/analytics":"9b6Tu","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"94OJm":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"translationStore",()=>c),o.export(r,"useTranslationStore",()=>u);var a=e("zustand"),i=e("../i18n/languages/pt-BR.json"),s=o.interopDefault(i),l=e("../i18n/constants");let c=(0,a.create)()((e,t)=>({language:"pt-BR",dictionary:s.default,setDictionary:(t,r)=>{e(()=>({language:t,dictionary:r}))},setLanguage:async e=>{try{let r=await l.filesPerLanguage[e]();t().setDictionary(e,r||s.default)}catch(e){throw Error("Not possible load file per language.")}},translate:(e,r={})=>{try{let{dictionary:n}=t(),o=n[e]||s.default[e]||"<>";return"string"==typeof o&&Object.entries(r).forEach(([e,t])=>{o=o.replaceAll(`{{${e}}}`,null==t?void 0:t.toString())}),o}catch(e){throw Error("Not possible translate the text.")}}})),u=()=>(0,a.useStore)(c)},{zustand:"eQ5Lk","../i18n/languages/pt-BR.json":"6ePqf","../i18n/constants":"geesL","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6ePqf":[function(e,t,r,n){t.exports=JSON.parse('{"about":"Sobre","aboutHandTalkText":"Torne seu site mais acessível.","accessibilityTextTranslatorHome":"Plugin de acessibilidade Hand Talk. Tradutor virtual para língua de sinais, por ser visual, a funcionalidade pode não ser útil para pessoas cegas ou com baixa visão.","accessibleSignLanguage":"Acessível em {{signLanguageName}}","accessLink":"Acessar Link","accessButton":"Acessar Botão","activateAddons":"Abrir recursos assistivos.","activateTranslator":"Abrir tradutor de língua de sinais.","deactivateTranslator":"Fechar tradutor de língua de sinais.","activationPageReaderMessage":"Leitor de sites ativado.","aiAssistant":"Ferramentas de IA","animationUrl":"{{storageUrl}}animations/ptBR-bzs/","ASLtranslator":"Tradutor de ASL","attention":"Atenção!","authErrorText":"Parece que este site não tem mais o plugin da Hand Talk.","authErrorTitle":"Plugin indisponível!","backgroundBlurred":"Mudar fundo do tradutor, desfocado, opção 1 de 3","backgroundSolid":"Mudar fundo do tradutor, sólido, opção 2 de 3","backgroundTransparent":"Mudar fundo do tradutor, transparente, opção 3 de 3","backToAppAriaLabelAddons":"Voltar para recursos assistivos","backToAppAriaLabelSign":"Voltar para o menu inicial do tradutor","backToConfigAriaLabel":"Voltar para configurações do plugin","clearSettings":"Restaurar recursos","clickToAccessTheHandTalk":"Ir para o site da Hand Talk","clickToSelectNegative":"Selecionar como ruim","clickToSelectPositive":"Selecionar como boa","close":"Fechar","closeAddons":"Fechar recursos assistivos","closeTranslator":"Fechar tradutor de lingua de sinais","colorControl":"Controle de cor","coloredFooter":"Barra dividida em segmentos coloridos na ordem, roxo, azul claro, amarelo, laranja e verde-água","colorIntensity":"Intensidade de cores","colorIntensityAriaLabelActive":"Intensidade de cores, ativa, opção {{index}} de 3","colorIntensityAriaLabelInactive":"Ativar Intensidade de cores, 3 opções","config":"Abrir configurações do plugin","confirm":"Confirmar","confirmChoice":"Confirmar escolha","contract":"Contrair janela","contrastAriaLabelActive":"Contraste de Cores, ativo, opção {{index}} de 2","contrastAriaLabelInactive":"Ativar Contraste de Cores, 2 opções","contrastMode":"Contraste de cores","badRequestTitle":"Algo deu errado","badRequestText":"Recurso indisponível. Tente novamente mais tarde.","notAuthorizedErrorTitle":"Plugin indisponível","notAuthorizedErrorText":"Ops! Site sem Hand Talk Plugin.","internalServerErrorTitle":"Sistema falhou","internalServerErrorText":"Tente novamente mais tarde.","noConnectionErrorTitle":"Sem conexão","noConnectionErrorText":"Por favor verifique sua conexão com a internet e tente novamente.","dark":"Escuro","darkMode":"Modo Escuro","darkModeAriaLabelActive":"Modo Escuro, ligado","darkModeAriaLabelInactive":"Modo Escuro, desligado","disabledPageReaderMessage":"Leitor de sites desativado.","disableSounds":"Parar Sons","disableSoundsLabelActive":"Desativar parar sons","disableSoundsLabelInactive":"Ativar parar sons","expand":"Expandir janela","fastSpeedPageReaderMessage":"Modo rápido ativado.","feedback":"Agradecemos seu feedback!","firstActivationPageReaderMessage":"Leitor de sites ativado, clique sobre um texto para ouvi-lo.","firstLoginTranslation":"Primeiro Acesso - Tradução","fontControl":"Controle de fonte","fontSize":"Tamanho de fonte","fontSizeAriaLabelActive":"Tamanho de Fonte, ativo, opção {{index}} de 3","fontSizeAriaLabelInactive":"Ativar Tamanho de Fonte, 3 opções","footer":"Rodapé","good":"Bom","handTalkWebsite":"Site da Hand Talk","header":"Cabeçalho","hideImages":"Esconder imagens","hideImagesAriaLabelActive":"Esconder Imagens ativo","hideImagesAriaLabelInactive":"Ativar Esconder Imagens","highlightedLetters":"Letras Destacadas","highlightedLettersAriaLabelActive":"Letras Destacadas Ativo","highlightedLettersAriaLabelInactive":"Ativar Letras Destacadas","highlightHeadings":"Destacar Cabeçalho","highlightHeadingsAriaLabelActive":"Destacar Cabeçalho, ativo","highlightHeadingsAriaLabelInactive":"Ativar Destacar Cabeçalho","highlightLinks":"Destaque de links","highlightLinksAriaLabelActive":"Destaque de Link, ativo, opção {{index}} de 3","highlightLinksAriaLabelInactive":"Ativar Destaque de Link, 3 opções","HTInformation":"Informações HT","infoTextInfoResearch":"Ao participar você terá acesso a nossa pesquisa de melhorias do produto.","invalidText":"Esse conteúdo não está disponível para tradução.","languageSpeak":"pt-BR","left":"Esquerda","legend":"Libras","letterSpacing":"Espaço entre letras","letterSpacingAriaLabelActive":"Espaço entre Letras, ativo, opção {{index}} de 3","letterSpacingAriaLabelInactive":"Ativar Espaço entre Letras, 3 opções","librasTranslator":"Tradutor de Libras","light":"Claro","lineHeight":"Espaço entre linhas","lineHeightAriaLabelActive":"Espaçamento Entre Linhas, ativo, opção {{index}} de 3","lineHeightAriaLabelInactive":"Ativar Espaçamento Entre Linhas, 3 opções","loading":"Carregando","madeWithLove":"Logo da Hand Talk, Feito com amor e inteligência artificial","magnifier":"Lupa de Conteúdo","magnifierAriaLabelActive":"Lupa de Conteúdo, ativa","magnifierAriaLabelInactive":"Ativar Lupa de Conteúdo","main":"Conteúdo","menu":"Menu","navigation":"Navegação","newTag":"NOVO!","noConnection":"Você está sem internet. O avatar continuará fazendo datilologia.","noConnectionTitle":"Erro de conexão","open":"Aberto","colorblind":"Modo daltônico","colorblindAriaLabelInactive":"Ativar Modo Daltônico, {{length}} opções","colorblindAriaLabelActive":"Modo Daltônico, ativo, opção {{index}} de {{length}}","colorblind.deuteranopia":"Verde Deuteranopia","colorblind.protanopia":"Vermelho Protanopia","colorblind.tritanopia":"Azul Tritanopia","pageSpeech":"Leitor de sites","pageSpeechAriaLabelActive":"Leitor de sites, ativo, opção {{index}} de 3","pageSpeechAriaLabelInactive":"Ativar Leitor de sites, 3 opções","pageStructure":"Estrutura de Página","pageStructureAriaLabelActive":"Estrutura de Página Ativo","pageStructureAriaLabelInactive":"Abrir Estrutura de Página. Clique para abrir.","pageStructureBack":"Sair da janela de Estrutura de Página","participateInSurveys":"Participe de pesquisas","pauseAnimations":"Pausar Animações","pauseAnimationsAriaLabelActive":"Pausar Animações, ativo","pauseAnimationsAriaLabelInactive":"Ativar Pausar Animações","pauseTranslation":"Pausar tradução","playTranslation":"Continuar tradução","pluginAccessibilityText":"Plugin de acessibilidade da Hand Talk.","plusAccessibilityFeatures":"Recursos Assistivos","poor":"Ruim","position":"Posição","positionAriaLabelLeft":"Mudar posição da janela para a direita ","positionAriaLabelRight":"Mudar posição da janela para a esquerda","rateTranslation":"Abrir tela de avaliação de tradução","rateTranslationTitle":"Avaliar tradução","readerMode":"Modo de leitura","readerModeAriaLabelActive":"Modo de Leitura, ativo, opção {{index}} de 2","readerModeAriaLabelInactive":"Ativar Modo de Leitura, 2 opções","readerModeUnavailable":"Modo de leitura indisponível. Esse site não suporta esta ferramenta.","readingGuide":"Guia de leitura","readingGuideAriaLabelActive":"Guia de leitura, ativo, opção {{index}} de 2","readingGuideAriaLabelInactive":"Ativar Guia de leitura, 2 opções","readingMask":"Máscara de leitura","readingMaskAriaLabelActive":"Máscara de leitura, ativa, opção {{index}} de 3","readingMaskAriaLabelInactive":"Ativar Máscara de leitura, 3 opções","repeat":"Repetir","repeatText":"Repete a tradução de libras/asl","research":"Pesquisas","researchBalloonClose":"Fechar notificação de pesquisa","balloonClose":"Em menos de 5 minutos\\nvocê pode nos ajudar a melhorar a tradução.","researchTitle":"Pesquisa de qualidade","researchText":"Em apenas 2 minutos, nos ajude a melhorar a sua experiência.","questionTitle":"Você é uma pessoa surda?","resetResourceButtonAriaLabel":"Restaurar recursos","return":"Voltar","returnText":"Retorna para a página anterior","right":"Direita","sections":"Regiões","settings":"Configurações","sign":"ptBR-bzs","slowSpeedPageReaderMessage":"Modo lento ativado.","speechVeryFastSpeed":"Mudar velocidade da tradução, super rápida, opção 4 de 4","speechFastSpeed":"Mudar velocidade da tradução, rápida, opção 3 de 4","speechNormalSpeed":"Mudar velocidade da tradução, normal, opção 2 de 4","speechSlowSpeed":"Mudar velocidade da tradução, lenta, opção 1 de 4","stopTranslation":"Parar tradução","synonymsMeanings":"Sinônimos e significados","synonymsMeaningsAriaLabelActive":"Fechar Sinônimos e significados","synonymsMeaningsAriaLabelInactive":"Abrir Sinônimos e significados","synonymsMeaningsDefinition":"Significado","synonymsMeaningsEmpty":"Selecione uma palavra","synonymsMeaningsError":"Estamos tendo problemas com esse recurso, e estamos trabalhando para resolvê-los. Tente novamente mais tarde.","synonymsMeaningsExamples":"Exemplos de uso","synonymsMeaningsSynonyms":"Sinônimos","textStyle":"Estilo de texto","textStyleAriaLabelActive":"Estilo de Texto, ativo, opção {{index}} de 3","textStyleAriaLabelInactive":"Ativar Estilo de Texto, 3 opções","titles":"Títulos","translation":"Tradução","translatorReturn":"Retorna o tradutor ao seu estado padrão","translatorView":"Fundo do tradutor","versionText":"Versão","wantToHelp":"Quero ajudar","welcomeMessageFemale":"Olá, eu sou a {{avatarName}}, tradutora virtual de {{welcomeLanguage}} da Hand Talk e estou aqui para lhe ajudar! Selecione os textos e imagens do site que eu faço a tradução para você!","welcomeMessageMale":"Olá, eu sou o {{avatarName}}, tradutor virtual de {{welcomeLanguage}} da Hand Talk e estou aqui para lhe ajudar! Selecione os textos e imagens do site que eu faço a tradução para você!","worldSelected":"Palavra selecionada: ","yes":"Sim","no":"Não"}')},{}],geesL:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"listOfSupportedLanguages",()=>a),o.export(r,"filesPerLanguage",()=>i);let a=new Map([["pt-BR","pt-BR"],["en","en"],["es","es"]]),i={es:()=>e("f3fc700544018e36"),en:()=>e("339304e9f44cdbae"),"pt-BR":()=>e("f9dff174e1deeb93")}},{f3fc700544018e36:"5Ps2u","339304e9f44cdbae":"6BB7P",f9dff174e1deeb93:"2vlBI","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5Ps2u":[function(e,t,r,n){t.exports=e("db4a48fa94f05605")(t.bundle.resolve("apud0")).then(()=>t.bundle.root("aTYy5"))},{db4a48fa94f05605:"gvotZ"}],gvotZ:[function(e,t,r,n){"use strict";t.exports=e("ca2a84f7fa4a3bb0")(function(e){return new Promise(function(t,r){if([].concat(document.getElementsByTagName("script")).some(function(t){return t.src===e}))return void t();var n=document.createElement("link");n.href=e,n.rel="preload",n.as="script",document.head.appendChild(n);var o=document.createElement("script");o.async=!0,o.type="text/javascript",o.src=e,o.onerror=function(t){var n=TypeError("Failed to fetch dynamically imported module: ".concat(e,". Error: ").concat(t.message));o.onerror=o.onload=null,o.remove(),r(n)},o.onload=function(){o.onerror=o.onload=null,t()},document.getElementsByTagName("head")[0].appendChild(o)})})},{ca2a84f7fa4a3bb0:"2zafh"}],"2zafh":[function(e,t,r,n){"use strict";var o={},a={},i={};t.exports=function(e,t){return function(r){var n=function(e){switch(e){case"preload":return a;case"prefetch":return i;default:return o}}(t);return n[r]?n[r]:n[r]=e.apply(null,arguments).catch(function(e){throw delete n[r],e})}}},{}],"6BB7P":[function(e,t,r,n){t.exports=e("6dce25f150b2156a")(t.bundle.resolve("3BNMk")).then(()=>t.bundle.root("lh5Zu"))},{"6dce25f150b2156a":"gvotZ"}],"2vlBI":[function(e,t,r,n){t.exports=Promise.resolve(t.bundle.root("6ePqf"))},{}],"6gaj1":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"Balloon",()=>v),o.export(r,"ContentBox",()=>M),o.export(r,"Title",()=>_),o.export(r,"Content",()=>S),o.export(r,"ContentContainer",()=>N),o.export(r,"ButtonsBox",()=>x),o.export(r,"Button",()=>A);var a=e("styled-components"),i=o.interopDefault(a),s=e("@/components/IconButton"),l=o.interopDefault(s),c=e("@/services/domUtils");let u=e=>e,d,p,h,g,f,m,y,v=i.default.div(d||(d=u` width: 237px; height: 100%; `)),M=i.default.div(p||(p=u` display: flex; ${0} ${0} white-space: pre-line; `),({balloonType:e,theme:t})=>"welcome"!==e&&`flex-direction: column; gap: ${t.spacing[2]};`,({balloonType:e,theme:t})=>("research"===e||"question"===e)&&`padding-bottom: ${t.spacing[4]};`),_=i.default.h1(h||(h=u` &&& { font: ${0}; } `),({theme:e})=>e.typography.title.sm),S=i.default.p(g||(g=u` &&& { font: ${0}; } `),({theme:e})=>e.typography.paragraph.md),N=i.default.div(f||(f=u` display: flex; padding: 0 ${0} ${0} ${0}; flex-direction: column; width: 100%; align-items: flex-start; align-self: stretch; `),({theme:e})=>e.spacing[5],({theme:e})=>e.spacing[5],({theme:e})=>e.spacing[5]),x=i.default.div(m||(m=u` display: flex; flex-direction: column; padding-top: ${0}; align-items: flex-start; gap: 8px; align-self: stretch; `),({theme:e})=>e.spacing[4]),A=(0,i.default)(l.default.Main)(y||(y=u` &&& { display: flex; height: 44px; width: 100%; min-width: 100px; justify-content: center; align-items: center; gap: ${0}; align-self: stretch; ${0} border-radius: ${0}px; background-color: ${0}; p { letter-spacing: 0; color: ${0}; font: ${0}; text-align: left; cursor: pointer; } &:active, &:hover, &:focus { background-color: ${0}; ${0} } } `),({theme:e})=>e.spacing[3],({balloonType:e,theme:t})=>"question"===e&&`border: 1px solid ${t.colors.primary.default};`,({borderRadius:e})=>(0,c.clampBorderRadius)(e),({theme:e,balloonType:t})=>"question"===t?"transparent":e.colors.primary.default,({theme:e,balloonType:t})=>"question"===t?e.colors.primary.default:e.colors.primary.on,({theme:e})=>e.typography.label.mdBold,({theme:e})=>e.colors.primary.hover,({balloonType:e,theme:t})=>"question"===e&&` p { color: ${t.colors.primary.on}; } `)},{"styled-components":"cCe5U","@/components/IconButton":"foExY","@/services/domUtils":"1UlS3","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],foExY:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r);var a=e("./base"),i=o.interopDefault(a),s=e("./Rounded"),l=o.interopDefault(s),c=e("./Labeled"),u=o.interopDefault(c),d=e("./Main"),p=o.interopDefault(d);r.default={default:i.default,Rounded:l.default,Labeled:u.default,Main:p.default}},{"./base":"jEC3S","./Rounded":"eS6zZ","./Labeled":"2K3aF","./Main":"7fYAc","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],jEC3S:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r);var a=e("react/jsx-runtime"),i=e("styled-components"),s=o.interopDefault(i),l=e("react");let c=e=>e,u,d,p=s.default.button(u||(u=c` &&& { all: initial; cursor: pointer; width: 44px; height: 44px; display: flex; border: none; background-color: transparent; align-items: center; justify-content: center; pointer-events: auto; padding: 0px; margin: 0px; &:hover, &:focus, &:active { background-color: transparent; box-shadow: none; } &:disabled { opacity: 0.2; cursor: not-allowed; } } `)),h=s.default.p(d||(d=c` &&& { all: initial; color: ${0}; margin: 0px; letter-spacing: 0; font-family: Lato; font-size: 10px; font-weight: 400; line-height: 13px; text-align: center; } `),({theme:e})=>e.colors.surface.onSurface);r.default=(0,l.forwardRef)((e,t)=>{let{disabled:r,title:n,className:o,icon:i,ariaLabel:s,ariaLive:l,ariaOwns:c,onClick:u,tabIndex:d,role:g}=e;return(0,a.jsxs)(p,{ref:t,className:o,"aria-live":l,"aria-owns":c,onClick:u,disabled:r,tabIndex:d,role:g,icon:i,ariaLabel:s,children:[i,n&&(0,a.jsx)(h,{children:n})]})})},{"react/jsx-runtime":"52k9Q","styled-components":"cCe5U",react:"8ZO42","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eS6zZ:[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r);var i=e("styled-components"),s=a.interopDefault(i),l=e("./base"),c=a.interopDefault(l);r.default=(0,s.default)(c.default)(o||(o=(e=>e)` border-radius: ${0}; `),e=>"left"===e.side?"0px 0px 12px 0px":"0px 0px 0px 12px")},{"styled-components":"cCe5U","./base":"jEC3S","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2K3aF":[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r);var i=e("styled-components"),s=a.interopDefault(i),l=e("./base"),c=a.interopDefault(l);r.default=(0,s.default)(c.default)(o||(o=(e=>e)` &&& { display: flex; flex-direction: column; justify-content: space-around; align-items: center; cursor: pointer; } `))},{"styled-components":"cCe5U","./base":"jEC3S","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"7fYAc":[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r);var i=e("styled-components"),s=a.interopDefault(i),l=e("./base"),c=a.interopDefault(l);r.default=(0,s.default)(c.default)(o||(o=(e=>e)` &&& { display: flex; gap: ${0}; border-radius: ${0}; } `),({theme:e})=>e.spacing[3],({theme:e})=>`${e.borderRadius.md}`)},{"styled-components":"cCe5U","./base":"jEC3S","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gtMmX:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"balloonAnimations",()=>a);let a={welcome:{animationKey:"welcomeMessageAnimation",pageName:"Boas vindas"},question:{animationKey:"researchQuestionAnimation",pageName:"Pesquisa"},research:{animationKey:"researchAnimation",pageName:"Pesquisa"},researchThanks:{animationKey:"researchThanksAnimation",pageName:"Pesquisa"},warning:{animationKey:"invalidTextAnimation",pageName:"Conteúdo indisponível"},noConnection:{animationKey:"noConnection",pageName:"Sem conexão"}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bA2Wh:[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cxUAs:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"balloonAnimationAnalytics",()=>i);var a=e("./balloonAnalyticsEvents");let i={researchAnimation:{start:a.trackResearchAnimationStart,finish:a.trackResearchAnimationFinish,stop:a.trackResearchAnimationStop},noConnection:{start:a.trackConnectionFailureAnimationStart,finish:a.trackConnectionFailureAnimationFinish,stop:a.trackConnectionFailureAnimationStop},welcomeMessageAnimation:{start:a.trackWelcomeAnimationStart,finish:a.trackWelcomeAnimationFinish,stop:a.trackWelcomeAnimationStop},invalidTextAnimation:{start:a.trackContentUnavailableAnimationStart,finish:a.trackContentUnavailableAnimationFinish,stop:a.trackContentUnavailableAnimationStop},researchQuestionAnimation:{start:a.trackDeafUserResearchAnimationStart,finish:a.trackDeafUserResearchAnimationFinish,stop:a.trackDeafUserResearchAnimationStop},researchThanksAnimation:{start:a.trackThanksResearchAnimationStart,finish:a.trackThanksResearchAnimationFinish,stop:a.trackThanksResearchAnimationStop}}},{"./balloonAnalyticsEvents":"cZlQs","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],inYoG:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"useNotificationBalloonStore",()=>h);var a=e("@swc/helpers/_/_object_spread"),i=e("zustand"),s=e("@/services/analytics");let l="HTProfileType",c="HTSurveyNotified",u="HTSurveyBadgeVisible",d="HTSignLanguageFirstActivation",p={getProfile(){var e;return null!=(e=localStorage.getItem(l))?e:null},setProfile(e){e&&localStorage.setItem(l,e)},hasActivatedBefore:()=>"true"===localStorage.getItem(d),setFirstActivation(){localStorage.setItem(d,"true")},hasSurveyBeenNotified:()=>"true"===localStorage.getItem(c),setSurveyNotified(){localStorage.setItem(c,"true")},isSurveyBadgeVisible:()=>"true"===localStorage.getItem(u),setSurveyBadgeVisible(){localStorage.setItem(u,"true")},clearSurveyBadge(){localStorage.removeItem(u)}},h=(0,i.create)((e,t)=>({totalTranslations:0,profileTranslations:0,profile:p.getProfile(),isProfileModalVisible:!1,isSurveyNotificationVisible:p.isSurveyBadgeVisible(),isBalloonNotificationVisible:!1,activeBalloonType:null,isCoreSignalizingPhrase:!1,balloonAnimationEvent:null,consumeBalloonAnimationEvent:()=>{e({balloonAnimationEvent:null})},incrementTranslation:(r,n)=>{"en-ase"===r||n||p.hasSurveyBeenNotified()||e(r=>{let n=r.totalTranslations+1;if(!r.profile&&2===n)return{totalTranslations:n,isProfileModalVisible:!0,activeBalloonType:"question",isBalloonNotificationVisible:!0,balloonAnimationEvent:"question"};let o=r.profileTranslations;return"deaf"===r.profile&&(4!==(o+=1)||r.isCoreSignalizingPhrase||g(e,t)),{totalTranslations:n,profileTranslations:o}})},answerProfile:t=>{p.setProfile(t),(0,s.setProfileType)(t),e((0,a._)({profile:t,isProfileModalVisible:!1,activeBalloonType:null,isBalloonNotificationVisible:!1,profileTranslations:0},"deaf"===t&&{balloonAnimationEvent:"researchThanks"}))},hideBalloon:()=>{let{activeBalloonType:r}=t();"research"===r&&p.setSurveyNotified(),e({isBalloonNotificationVisible:!1,activeBalloonType:null})},hideSurveyNotification:()=>{p.setSurveyNotified(),p.clearSurveyBadge(),e({isSurveyNotificationVisible:!1})},setCoreSignalizingPhrase:r=>{e({isCoreSignalizingPhrase:r}),r||"deaf"!==t().profile||4!==t().profileTranslations||p.hasSurveyBeenNotified()||t().isBalloonNotificationVisible||g(e,t)},showWelcome:()=>{p.hasActivatedBefore()||(p.setFirstActivation(),e({activeBalloonType:"welcome",isBalloonNotificationVisible:!0,balloonAnimationEvent:"welcome"}))},showWarning:()=>{e({activeBalloonType:"warning",isBalloonNotificationVisible:!0,balloonAnimationEvent:"warning"})},showNoConnection:()=>{e({activeBalloonType:"noConnection",isBalloonNotificationVisible:!0,balloonAnimationEvent:"noConnection"})},reset:()=>e({totalTranslations:0,profileTranslations:0,isProfileModalVisible:!1,isSurveyNotificationVisible:!1,isBalloonNotificationVisible:!1,activeBalloonType:null})})),g=(e,t)=>{p.hasSurveyBeenNotified()||setTimeout(()=>{t().isCoreSignalizingPhrase||p.hasSurveyBeenNotified()||(e({isSurveyNotificationVisible:!0,isBalloonNotificationVisible:!0,activeBalloonType:"research",balloonAnimationEvent:"research"}),p.setSurveyBadgeVisible())},5e3)}},{"@swc/helpers/_/_object_spread":"8KZ4Y",zustand:"eQ5Lk","@/services/analytics":"9b6Tu","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ac74u:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"allStatesAreFalse",()=>a);let a=e=>Object.values(e).every(e=>!1===e)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5h9gT":[function(e,t,r,n){let o,a,i,s,l,c,u;var d=e("@parcel/transformer-js/src/esmodule-helpers.js");d.defineInteropFlag(r),d.export(r,"initialize",()=>L),d.export(r,"setElementClickListener",()=>w),d.export(r,"setElementMouseOverListener",()=>E),d.export(r,"setElementMouseExitListener",()=>z),d.export(r,"setScrollCallbackListener",()=>k),d.export(r,"addClickListenerToWindow",()=>O),d.export(r,"removeClickListenerFromWindow",()=>U),d.export(r,"toggleListenersFromIframes",()=>R),d.export(r,"toggleWindowListeners",()=>P),d.export(r,"setElementHoverStyle",()=>Q),d.export(r,"clearElementHoverStyle",()=>H),d.export(r,"getPreviousClickedElement",()=>F),d.export(r,"clickThePreviousClickedElement",()=>Y);var p=e("../../assets/media/cursor/sign-language-invalid.svg"),h=d.interopDefault(p),g=e("../../assets/media/cursor/magnifier.svg"),f=d.interopDefault(g),m=e("../../assets/media/cursor/speech.svg"),y=d.interopDefault(m),v=e("./commons"),M=e("../../constants/config");let _=!1,S=!1,N=[],x=[],A=()=>{_=!0},j=e=>{var t;let r=e.target;if(!r)return;let n=r.closest("button, a, [role='button']"),o=e=>e&&e.nodeType===Node.ELEMENT_NODE&&"tagName"in e&&"click"in e?e:null,a=null!=(t=o(n))?t:o(r);if(!a)return;let i="select"===a.tagName.toLowerCase(),s=(0,v.extractElementText)(a),c=(0,v.isChildOfQuery)(a,N),d=(0,v.isChildOfQuery)(a,x),p=!s,h=((null==s?void 0:s.length)||0){if(S)return;let t=j(e);t&&o&&o(t),t&&!t.isException&&(u=t.element)},b=e=>{if(S)return;let t=j(e);t&&a&&a(t)},C=e=>{if(S)return;let t=e.target;i&&i(t)},D=e=>{_||T(e),_=!1},I=()=>{!S&&s&&s()},L=e=>{N=e.clickables,x=e.exceptions,c=e.language,l=e.maxTextSize},w=e=>o=e,E=e=>a=e,z=e=>i=e,k=e=>s=e,O=e=>{try{e.addEventListener("click",T,!0),e.addEventListener("touchmove",A,{passive:!0}),e.addEventListener("touchend",D,!0),e.addEventListener("mouseover",b),e.addEventListener("mouseout",C),e.addEventListener("scroll",I,!0);let t=(0,M.getCursorByTranslatorLanguage)(c),r=document.createElement("style");r.innerHTML=` .${M.speechHoverClassName} { cursor: url(${y.default}), auto !important; text-decoration: underline !important; } .${M.mobileHoverClassName}{ background-color: rgba(241, 196, 15, .3); } .${M.signLanguageHoverClassName}{ cursor: url(${t}), auto !important; text-decoration: underline !important; } .${M.invalidTextClassName}{ cursor: url(${h.default}), auto !important; text-decoration: underline !important; } .${M.magnifierHoverClassName}{ cursor: url(${f.default}), auto !important; text-decoration: underline !important; } `,e.document.head.appendChild(r)}catch(t){console.warn(`Falha ao adicionar listeners de clique em ${e.location.origin} - ${t}`)}},U=e=>{try{e.removeEventListener("click",T,!0),e.removeEventListener("touchmove",A,!0),e.removeEventListener("touchend",D,!0),e.removeEventListener("mouseover",b),e.removeEventListener("mouseout",C),e.removeEventListener("scroll",I)}catch(t){console.warn(`Falha ao remover listeners de clique em ${e.location.origin} - ${t}`)}},R=(e,t)=>{let r=e?O:U;Array.prototype.forEach.call(t,e=>{try{let t=e.contentWindow;t&&r(t)}catch(e){}})},P=e=>{let t=document.querySelectorAll("iframe");(e?O:U)(window),R(e,t)},Q=(e,t,r)=>{if(t)return void e.classList.add(M.mobileHoverClassName);switch(r){case"signLanguage":e.classList.add(M.signLanguageHoverClassName);break;case"pageSpeech":e.classList.add(M.speechHoverClassName);break;case"magnifier":e.classList.add(M.magnifierHoverClassName);break;case"invalid":e.classList.add(M.invalidTextClassName)}},H=e=>{e.classList.remove(M.mobileHoverClassName,M.signLanguageHoverClassName,M.speechHoverClassName,M.magnifierHoverClassName,M.invalidTextClassName)},F=()=>u,Y=()=>{u&&(S=!0,u.click(),S=!1)}},{"../../assets/media/cursor/sign-language-invalid.svg":"fOCCj","../../assets/media/cursor/magnifier.svg":"5Ux25","../../assets/media/cursor/speech.svg":"9E5sg","./commons":"d7rbK","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5Ux25":[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA3MyA3MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03MC41IDM2QzcwLjUgNTQuMjI1NCA1NS43MjU0IDY5IDM3LjUgNjlDMTkuMjc0NiA2OSA0LjUgNTQuMjI1NCA0LjUgMzZDNC41IDMwLjk2MDUgNS42Mjk2MSAyNi4xODQ5IDcuNjQ5NDUgMjEuOTEyNUw1LjIyNDcgNS4zODIwNkM1LjAzMDM0IDQuMDU3MDUgNi4xNjc3NCAyLjkxOTExIDcuNDkyODQgMy4xMTI4M0wyNC4wNjY1IDUuNTM1ODVDMjQuMjI1MyA1LjU1OTA2IDI0LjM3NDggNS41OTg5NSAyNC41MTQ0IDUuNjUzMTNDMjguNDk5OSAzLjk0NTQ4IDMyLjg4OTUgMyAzNy41IDNDNTUuNzI1NCAzIDcwLjUgMTcuNzc0NiA3MC41IDM2WiIgZmlsbD0iIzAwMzA4NyIvPgo8cGF0aCBkPSJNMzcuNSA2MUM1MS4zMDcxIDYxIDYyLjUgNDkuODA3MSA2Mi41IDM2QzYyLjUgMjIuMTkyOSA1MS4zMDcxIDExIDM3LjUgMTFDMjMuNjkyOSAxMSAxMi41IDIyLjE5MjkgMTIuNSAzNkMxMi41IDQ5LjgwNzEgMjMuNjkyOSA2MSAzNy41IDYxWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTQ2Ljk5NTIgNDcuNTczM0wzOS4yMTE5IDM5Ljc4NDRDMzguNDMwNyA0MC4zNzczIDM3LjU4MzUgNDAuODIyMyAzNi42NzA0IDQxLjExOTNDMzUuNzU4NCA0MS40MTUyIDM0LjgwNDkgNDEuNTYzMSAzMy44MDk5IDQxLjU2MzFDMzEuMjI4NSA0MS41NjMxIDI5LjAzMTYgNDAuNjY4MSAyNy4yMTg5IDM4Ljg3ODFDMjUuNDA2MyAzNy4wODggMjQuNSAzNC45MDA5IDI0LjUgMzIuMzE2NUMyNC41IDI5LjczMzQgMjUuNDA2MyAyNy41MzQ4IDI3LjIxODkgMjUuNzIwOUMyOS4wMzE2IDIzLjkwNyAzMS4yMjg1IDIzIDMzLjgwOTkgMjNDMzYuMzkyNCAyMyAzOC41NzggMjMuOTA3IDQwLjM2NjcgMjUuNzIwOUM0Mi4xNTU1IDI3LjUzNDggNDMuMDQ5OCAyOS43MzM0IDQzLjA0OTggMzIuMzE2NUM0My4wNDk4IDMzLjMxMjMgNDIuOTA3NyAzNC4yNjY0IDQyLjYyMzQgMzUuMTc5MUM0Mi4zMzkxIDM2LjA5MjkgNDEuODg4OCAzNi45Mjg3IDQxLjI3MjUgMzcuNjg2Nkw0OS4wOTE1IDQ1LjU0NTRDNDkuMzc1OCA0NS44Mjk5IDQ5LjUxMTcgNDYuMTY3OSA0OS40OTkyIDQ2LjU1OTNDNDkuNDg3OCA0Ni45NTA4IDQ5LjM0IDQ3LjI4ODggNDkuMDU1NyA0Ny41NzMzQzQ4Ljc3MTQgNDcuODU3OCA0OC40MjggNDggNDguMDI1NSA0OEM0Ny42MjI5IDQ4IDQ3LjI3OTUgNDcuODU3OCA0Ni45OTUyIDQ3LjU3MzNaTTMzLjgwOTkgMzguNTc1OUMzNS41Mzk1IDM4LjU3NTkgMzcuMDE0NCAzNy45NjU0IDM4LjIzNDYgMzYuNzQ0NEMzOS40NTQ3IDM1LjUyMzMgNDAuMDY0OCAzNC4wNDc0IDQwLjA2NDggMzIuMzE2NUM0MC4wNjQ4IDMwLjU2MjkgMzkuNDYwNCAyOS4wNjkzIDM4LjI1MTYgMjcuODM1OEMzNy4wNDQgMjYuNjAzNCAzNS41NjM0IDI1Ljk4NzIgMzMuODA5OSAyNS45ODcyQzMyLjA1NzUgMjUuOTg3MiAzMC41NjUgMjYuNjAzNCAyOS4zMzIzIDI3LjgzNThDMjguMTAwOCAyOS4wNjkzIDI3LjQ4NSAzMC41NjI5IDI3LjQ4NSAzMi4zMTY1QzI3LjQ4NSAzNC4wNzEzIDI4LjEwMDggMzUuNTUyOSAyOS4zMzIzIDM2Ljc2MTRDMzAuNTY1IDM3Ljk3MTEgMzIuMDU3NSAzOC41NzU5IDMzLjgwOTkgMzguNTc1OVoiIGZpbGw9IiM0MTM5ODciLz4KPC9zdmc+Cg=="},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],d7rbK:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"normalize",()=>a),o.export(r,"extractElementText",()=>i),o.export(r,"isChildOfQuery",()=>s),o.export(r,"extractEventPointerCoords",()=>l);let a=e=>e?e.replace(/ /g," ").replace(/ +/g," ").replace(/[\t]+/gm,"").replace(/[ ]+$/gm,"").replace(/^[ ]+/gm,"").replace(/\n+/g,"\n").replace(/\n+$/,"").replace(/^\n+/,"").trim():"",i=e=>{let t="";switch(e.tagName.toLowerCase()){case"select":var r,n;t=(null==(n=e.options)||null==(r=n[e.selectedIndex])?void 0:r.innerText)||"";break;case"img":t=e.getAttribute("data-ht-alt")||e.alt||"";break;case"button":t=e.innerText||e.textContent||e.value||"";default:t=e.innerText||e.textContent||""}return t||(t=((e,t)=>{let r="";for(let n=0;n!(!e.parentNode||!(t.some(t=>e.matches(t))||s(e.parentNode,t))),l=e=>{var t,r;let n=null==(t=e.view)?void 0:t.frameElement,o=null==n?void 0:n.getBoundingClientRect(),a=(null==(r=e.changedTouches)?void 0:r[0])||e;if((null==n?void 0:n.ownerDocument)===document)return{x:((null==a?void 0:a.clientX)||0)+((null==o?void 0:o.left)||0),y:((null==a?void 0:a.clientY)||0)+((null==o?void 0:o.top)||0)};if((null==a?void 0:a.clientX)==0&&(null==a?void 0:a.clientY)==0){let t=e.target.getBoundingClientRect();return{x:t.left,y:t.top}}return{x:(null==a?void 0:a.clientX)||0,y:(null==a?void 0:a.clientY)||0}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6SYH5":[function(e,t,r,n){t.exports=Promise.all([e("e13e10cdd8a24eab")(t.bundle.resolve("4TH8k")),e("e13e10cdd8a24eab")(t.bundle.resolve("4mRqr"))]).then(()=>t.bundle.root("xs5Jv"))},{e13e10cdd8a24eab:"gvotZ"}],"3hJNP":[function(e,t,r,n){t.exports=Promise.all([e("66bb7ea81978b5f0")(t.bundle.resolve("4TH8k")),e("66bb7ea81978b5f0")(t.bundle.resolve("4aaBw"))]).then(()=>t.bundle.root("k7VQ8"))},{"66bb7ea81978b5f0":"gvotZ"}],"1RXT2":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ActiveAddonsCommand",()=>u);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/analytics"),s=e("./DeactivateAddonsCommand"),l=e("../../services/addonsService"),c=e("../../stores/useHTGlobalStore");class u{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{let{setState:e}=c.useHTGlobalStore;this.config.doNotTrack||(0,i.isAnalyticsInitialized)()||await (0,i.initAnalytics)(this.config.parentElement,this.config.token,this.config.language,this.config.offRedirection),(0,l.setAddonsActivatedValue)("true"),await e({isAddonsActive:!0,promptLinkShowing:null})}),(0,a._)(this,"undo",async()=>{let e=new(0,s.DeactivateAddonsCommand)(this.config);await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/analytics":"9b6Tu","./DeactivateAddonsCommand":"hy4KD","../../services/addonsService":"yQkod","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hy4KD:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DeactivateAddonsCommand",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("./ActiveAddonsCommand"),s=e("../../services/appActivator"),l=e("../../services/analytics"),c=e("../../services/addonsService"),u=e("../../stores/useHTGlobalStore");class d{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{(0,c.setAddonsActivatedValue)("false");let{setState:e}=u.useHTGlobalStore;await e({isAddonsActive:!1}),s.appActivator.handleAddon(),(0,l.sendEvent)({eventCategory:"Complementos",eventAction:"Fechar",eventLabel:s.appActivator.hasAddonsAppsActive?`Ocultar complementos ativos / ${s.appActivator.activeAddonsCount}`:"Fechar complementos"})}),(0,a._)(this,"undo",async()=>{let e=new(0,i.ActiveAddonsCommand)(this.config);await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","./ActiveAddonsCommand":"1RXT2","../../services/appActivator":"eOZgV","../../services/analytics":"9b6Tu","../../services/addonsService":"yQkod","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],yQkod:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getAddonsActivatedValue",()=>s),o.export(r,"setAddonsActivatedValue",()=>l),o.export(r,"getExpandedValue",()=>c),o.export(r,"setExpandedValue",()=>u);let a="HTAddonsActivated",i="HTExpanded",s=()=>sessionStorage.getItem(a),l=e=>{sessionStorage.setItem(a,e)},c=()=>sessionStorage.getItem(i),u=e=>{sessionStorage.setItem(i,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gGno5:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ActiveSignLanguageTranslatorCommand",()=>m);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/analytics"),s=e("../pageSpeechCommands/SetPageSpeechLevelCommand"),l=e("./DeactivateSignLanguageTranslatorCommand"),c=e("../../services/signLanguageTranslatorService/coreService"),u=e("../../services/textCollectorService"),d=e("../../services/signLanguageTranslatorService/signLanguageService"),p=e("../magnifierCommands/DeactivateMagnifierCommand"),h=e("../../stores/useHTGlobalStore"),g=e("../synonymsMeaningsCommands/DeactivateSynonymsMeaningsCommand"),f=e("../../services/appActivator");class m{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{this.config.doNotTrack||(0,i.isAnalyticsInitialized)()||await (0,i.initAnalytics)(this.config.parentElement,this.config.token,this.config.language,this.config.offRedirection);let{setState:e,getState:t}=h.useHTGlobalStore,{pageSpeechState:r,magnifierState:n,synonymsMeaningsState:o}=t();if("none"!==r&&r>0){let e=new(0,s.SetPageSpeechLevelCommand)(0,this.config);await e.execute()}if("active"===n){let e=new(0,p.DeactivateMagnifierCommand)(this.config);await e.execute()}if("active"===o){let e=new(0,g.DeactivateSynonymsMeaningsCommand)(this.config);await e.execute()}await e({isClosingPlugin:!1,signTranslatorState:"active"}),c.toggleSignLanguage(!0).then(()=>{let{isCoreReady:e,isClosingPlugin:r}=t();(0,i.handleSignLanguageTranslator)(!0),e&&!r&&(u.toggleWindowListeners(!0),d.prepareCallbacks())}),await e({isSignLanguageActive:!0,modalMessage:null,isNewTranslate:!1}),d.setSignLanguageActivatedValue("true"),f.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,l.DeactivateSignLanguageTranslatorCommand)(this.config);await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/analytics":"9b6Tu","../pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","./DeactivateSignLanguageTranslatorCommand":"7YYDH","../../services/signLanguageTranslatorService/coreService":"hPo59","../../services/textCollectorService":"5h9gT","../../services/signLanguageTranslatorService/signLanguageService":"8ovJ9","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../../stores/useHTGlobalStore":"aSfyl","../synonymsMeaningsCommands/DeactivateSynonymsMeaningsCommand":"jgV8L","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4FMYL":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"SetPageSpeechLevelCommand",()=>f);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/pageSpeechService"),s=e("../../services/appActivator"),l=e("../../services/textCollectorService"),c=e("../../constants/config"),u=e("../magnifierCommands/DeactivateMagnifierCommand"),d=e("../disableSoundsCommands/DeactivateDisableSoundsCommand"),p=e("../../stores/useTranslation"),h=e("../../stores/useHTGlobalStore"),g=e("../signLanguageTranslatorCommands/DeactivateSignLanguageTranslatorCommand");class f{constructor(e,t){(0,a._)(this,"index",void 0),(0,a._)(this,"config",void 0),(0,a._)(this,"previousLevel",0),(0,a._)(this,"pageSpeechSpeed",1),(0,a._)(this,"handleDeactivate",async()=>{let{setState:e}=h.useHTGlobalStore,{translate:t}=p.translationStore.getState(),r=t("disabledPageReaderMessage");i.stop(),i.speak(r,this.pageSpeechSpeed),l.toggleWindowListeners(!1);let n=l.getPreviousClickedElement();n&&l.clearElementHoverStyle(n),await e({pageSpeechState:0,promptLinkShowing:null})}),(0,a._)(this,"handleActive",async()=>{let e=!localStorage.getItem("HTPageSpeechFirstActivation"),{translate:t}=p.translationStore.getState(),{getState:r,setState:n}=h.useHTGlobalStore,o=e?p.translationStore.getState().translate("firstActivationPageReaderMessage"):t("activationPageReaderMessage");localStorage.setItem("HTPageSpeechFirstActivation","true");let{magnifierState:a,disableSoundsState:s,signTranslatorState:c}=r();if("active"===a){let e=new(0,u.DeactivateMagnifierCommand)(this.config);await e.execute()}if("active"===s){let e=new(0,d.DeactivateDisableSoundsCommand)(this.config);await e.execute()}if("active"===c){let e=new(0,g.DeactivateSignLanguageTranslatorCommand)(this.config);await e.execute()}i.stop(),i.speak(o,this.pageSpeechSpeed),i.prepareCallbacks(),l.toggleWindowListeners(!0),await n({promptLinkShowing:null})}),(0,a._)(this,"execute",async()=>{let{getState:e,setState:t}=h.useHTGlobalStore,{pageSpeechState:r}=e();if(this.previousLevel="none"===r?0:r,[2,3].includes(this.index)){let{translate:e}=p.translationStore.getState(),t=e(2===this.index?"fastSpeedPageReaderMessage":"slowSpeedPageReaderMessage"),r=["none",0].includes(this.index)?1:c.speechSpeedList[this.index].speed,n=null!=r?r:1;this.pageSpeechSpeed=n,i.stop(),i.speak(t,n)}i.setPageSpeechValue(this.index.toString()),await t({pageSpeechState:this.index}),0===this.index&&await this.handleDeactivate(),1===this.index&&await this.handleActive(),s.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new f(this.previousLevel,this.config);return await e.execute()}),this.index=e,this.config=t}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/pageSpeechService":"dj1hh","../../services/appActivator":"eOZgV","../../services/textCollectorService":"5h9gT","../../constants/config":"kqbjQ","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../disableSoundsCommands/DeactivateDisableSoundsCommand":"2HXQO","../../stores/useTranslation":"94OJm","../../stores/useHTGlobalStore":"aSfyl","../signLanguageTranslatorCommands/DeactivateSignLanguageTranslatorCommand":"7YYDH","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dj1hh:[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"isCompatible",()=>s.isCompatible),a.export(r,"speak",()=>s.speak),a.export(r,"stop",()=>s.stop),a.export(r,"initialize",()=>p),a.export(r,"handleElementClicked",()=>f),a.export(r,"handleOnScroll",()=>m),a.export(r,"handleElementMouseOver",()=>y),a.export(r,"handleElementMouseExit",()=>v),a.export(r,"prepareCallbacks",()=>M),a.export(r,"getPageSpeechValue",()=>_),a.export(r,"setPageSpeechValue",()=>S);var i=e("../textCollectorService"),s=e("./speechSynthesis"),l=e("../../constants/config"),c=e("../analytics"),u=e("../../stores/useHTGlobalStore");let d="HTPageSpeech",p=e=>{o=e},{getState:h,setState:g}=u.useHTGlobalStore,f=async({isException:e,isInvalid:t,isClickable:r,text:n,element:o,previousClickedElement:a,pointerPosition:u})=>{let{isMobile:d,pageSpeechState:p}=h(),f=["none",0].includes(p)?1:l.speechSpeedList[p].speed;a&&i.clearElementHoverStyle(a),e||(await g({promptLinkShowing:r?u:null}),t||(i.setElementHoverStyle(o,d,"pageSpeech"),s.stop(),s.speak(n,null!=f?f:1,()=>{i.clearElementHoverStyle(o)}),(0,c.handleAnalyticsPageSpeechSpeak)(n),g({currentText:n})))},m=()=>{g({promptLinkShowing:null})},y=({isInvalid:e,isException:t,element:r})=>{let{isMobile:n}=h();t||n||o.offRedirection||i.setElementHoverStyle(r,n,e?"invalid":"pageSpeech")},v=e=>{let{isMobile:t}=h();t||i.clearElementHoverStyle(e)},M=()=>{i.setElementClickListener(f),i.setElementMouseOverListener(y),i.setElementMouseExitListener(v),i.setScrollCallbackListener(m)},_=()=>parseInt(sessionStorage.getItem(d)||"0"),S=e=>{sessionStorage.setItem(d,e)}},{"../textCollectorService":"5h9gT","./speechSynthesis":"725cT","../../constants/config":"kqbjQ","../analytics":"9b6Tu","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"725cT":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"isCompatible",()=>s),o.export(r,"stop",()=>l),o.export(r,"speak",()=>c);var a=e("../../stores/useTranslation");let{speechSynthesis:i}=window,s=!!i,l=()=>{if(!i)throw Error("Your browser does not support text-to-speech conversion.");i.cancel()},c=(e,t,r)=>{try{var n;let{translate:o}=a.translationStore.getState(),s=new SpeechSynthesisUtterance(e);s.lang=o("languageSpeak"),s.rate=t,s.onend=r||null;let l=null!=(n=i.getVoices())?n:[];l.length?l[0].voiceURI.toLowerCase().includes("google")?((e,t)=>{var r;let n=null!=(r=e.match(/\b([^.!?]+[.!?]?)/g))?r:[e],o=[],a="";for(let e=0;e{e.lang=o("languageSpeak"),e.rate=t,e.onend=r||null,i.speak(e)}):i.speak(s):setTimeout(()=>{c(e,t,r)},100)}catch(e){throw Error("Your browser does not support text-to-speech conversion.")}}},{"../../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],k4QMj:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DeactivateMagnifierCommand",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("./ActiveMagnifierCommand"),s=e("../../services/appActivator"),l=e("../../services/textCollectorService"),c=e("../../services/magnifierService"),u=e("../../stores/useHTGlobalStore");class d{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{l.toggleWindowListeners(!1);let e=l.getPreviousClickedElement();e&&l.clearElementHoverStyle(e);let{setState:t}=u.useHTGlobalStore;await t({magnifierState:"deactivate"}),(0,c.setMagnifierActivatedValue)("false"),s.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,i.ActiveMagnifierCommand)(this.config);return await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","./ActiveMagnifierCommand":"5h9pR","../../services/appActivator":"eOZgV","../../services/textCollectorService":"5h9gT","../../services/magnifierService":"i28yz","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5h9pR":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ActiveMagnifierCommand",()=>f);var a=e("@swc/helpers/_/_define_property"),i=e("./DeactivateMagnifierCommand"),s=e("../readingGuideCommands/SetReadingGuideCommand"),l=e("../readingMaskCommands/SetReadingMaskCommand"),c=e("../signLanguageTranslatorCommands/DeactivateSignLanguageTranslatorCommand"),u=e("../pageSpeechCommands/SetPageSpeechLevelCommand"),d=e("../../services/appActivator"),p=e("../../services/textCollectorService"),h=e("../../services/magnifierService"),g=e("../../stores/useHTGlobalStore");class f{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{let{getState:e,setState:t}=g.useHTGlobalStore,{pageSpeechState:r,readingMaskState:n,readingGuideState:o,signTranslatorState:a}=e();if("none"!==r&&r>0){let e=new(0,u.SetPageSpeechLevelCommand)(0,this.config);await e.execute()}if("none"!==n&&n>0){let e=new(0,l.SetReadingMaskCommand)(0,this.config);await e.execute()}if("none"!==o&&o>0){let e=new(0,s.SetReadingGuideCommand)(0,this.config);await e.execute()}if("active"===a){let e=new(0,c.DeactivateSignLanguageTranslatorCommand)(this.config);await e.execute()}h.prepareCallbacks(),p.toggleWindowListeners(!0),await t({magnifierState:"active"}),h.setMagnifierActivatedValue("true"),d.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,i.DeactivateMagnifierCommand)(this.config);return await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","./DeactivateMagnifierCommand":"k4QMj","../readingGuideCommands/SetReadingGuideCommand":"2tSRx","../readingMaskCommands/SetReadingMaskCommand":"1i0uf","../signLanguageTranslatorCommands/DeactivateSignLanguageTranslatorCommand":"7YYDH","../pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","../../services/appActivator":"eOZgV","../../services/textCollectorService":"5h9gT","../../services/magnifierService":"i28yz","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2tSRx":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"SetReadingGuideCommand",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/appActivator"),s=e("../magnifierCommands/DeactivateMagnifierCommand"),l=e("../readingMaskCommands/SetReadingMaskCommand"),c=e("../../services/readingGuideService"),u=e("../../stores/useHTGlobalStore");class d{constructor(e,t){(0,a._)(this,"level",void 0),(0,a._)(this,"config",void 0),(0,a._)(this,"previousLevel",0),(0,a._)(this,"execute",async()=>{(0,c.setReadingGuideScaleValue)(this.level.toString());let{setState:e,getState:t}=u.useHTGlobalStore,{magnifierState:r,readingMaskState:n}=t();if("none"!==n&&n>0){let e=new(0,l.SetReadingMaskCommand)(0,this.config);await e.execute()}if("active"==r){let e=new(0,s.DeactivateMagnifierCommand)(this.config);await e.execute()}await e({readingGuideState:this.level}),i.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{new d(this.previousLevel,this.config).execute()}),this.level=e,this.config=t}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/appActivator":"eOZgV","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../readingMaskCommands/SetReadingMaskCommand":"1i0uf","../../services/readingGuideService":"ayJzQ","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1i0uf":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"SetReadingMaskCommand",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/appActivator"),s=e("../magnifierCommands/DeactivateMagnifierCommand"),l=e("../readingGuideCommands/SetReadingGuideCommand"),c=e("../../services/readingMaskService"),u=e("../../stores/useHTGlobalStore");class d{constructor(e,t){(0,a._)(this,"level",void 0),(0,a._)(this,"config",void 0),(0,a._)(this,"previousLevel",0),(0,a._)(this,"execute",async()=>{let{setState:e,getState:t}=u.useHTGlobalStore,{magnifierState:r,readingGuideState:n}=t();if((0,c.setReadingMaskActivatedValue)(this.level.toString()),"active"===r){let e=new(0,s.DeactivateMagnifierCommand)(this.config);await e.execute()}if("none"!==n&&n>0){let e=new(0,l.SetReadingGuideCommand)(0,this.config);await e.execute()}await e({readingMaskState:this.level}),i.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new d(this.previousLevel,this.config);await e.execute()}),this.level=e,this.config=t}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/appActivator":"eOZgV","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../readingGuideCommands/SetReadingGuideCommand":"2tSRx","../../services/readingMaskService":"9r36C","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9r36C":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getReadingMaskActivatedValue",()=>i),o.export(r,"setReadingMaskActivatedValue",()=>s);let a="HTReadingMaskActivated",i=()=>parseInt(sessionStorage.getItem(a)||"0"),s=e=>{sessionStorage.setItem(a,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ayJzQ:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getReadingGuideScaleValue",()=>i),o.export(r,"setReadingGuideScaleValue",()=>s);let a="HTReadingGuideScale",i=()=>parseInt(sessionStorage.getItem(a)||"0"),s=e=>{sessionStorage.setItem(a,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"7YYDH":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DeactivateSignLanguageTranslatorCommand",()=>f);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/analytics"),s=e("../../services/userPreferencies"),l=e("./ActiveSignLanguageTranslatorCommand"),c=e("../../services/signLanguageTranslatorService/signLanguageService"),u=e("../../services/signLanguageTranslatorService/coreService"),d=e("../../services/textCollectorService"),p=e("../../services/translationAccessibilityAlertService"),h=e("../../stores/useHTGlobalStore"),g=e("../../services/appActivator");class f{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async(e=!0)=>{let{setState:t,getState:r}=h.useHTGlobalStore,{opacity:n,highContrast:o,speed:a,isCoreReady:l}=r();e&&await u.toggleSignLanguage(!1),l&&d.toggleWindowListeners(!1),(0,i.handleSignLanguageTranslator)(!1),(0,s.getConfigMenuFirstActivation)()||((0,s.setConfigMenuFirstActivation)(),(0,i.handleProfileAnalytics)({opacity:n,highContrast:o,speed:a,initiator:"Tradutor de Sites"}));let f=d.getPreviousClickedElement();f&&d.clearElementHoverStyle(f),(0,i.handleChangeUserProfileAnalytics)(),(0,c.removeSignLanguageActivatedValue)(),p.translationAccessibilityAlertService.removeMessage(),await t({isSignLanguageActive:!1,isClosingPlugin:!0,promptLinkShowing:null,signTranslatorState:"deactivate"}),c.setSignLanguageActivatedValue("false"),g.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,l.ActiveSignLanguageTranslatorCommand)(this.config);await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/analytics":"9b6Tu","../../services/userPreferencies":"6vzBT","./ActiveSignLanguageTranslatorCommand":"gGno5","../../services/signLanguageTranslatorService/signLanguageService":"8ovJ9","../../services/signLanguageTranslatorService/coreService":"hPo59","../../services/textCollectorService":"5h9gT","../../services/translationAccessibilityAlertService":"bbzTz","../../stores/useHTGlobalStore":"aSfyl","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6vzBT":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getConfigMenuFirstActivation",()=>a),o.export(r,"setConfigMenuFirstActivation",()=>i);let a=()=>localStorage.getItem("HTConfigMenuFirstActivation"),i=()=>{localStorage.setItem("HTConfigMenuFirstActivation","true")}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8ovJ9":[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"initialize",()=>d),a.export(r,"clickedTagName",()=>f),a.export(r,"handleElementClicked",()=>m),a.export(r,"handleOnScroll",()=>y),a.export(r,"handleElementMouseOver",()=>v),a.export(r,"handleElementMouseExit",()=>M),a.export(r,"prepareCallbacks",()=>_),a.export(r,"getSignLanguageActivatedValue",()=>S),a.export(r,"setSignLanguageActivatedValue",()=>N),a.export(r,"removeSignLanguageActivatedValue",()=>x);var i=e("../analytics"),s=e("../textCollectorService"),l=e("./coreService"),c=e("../../stores/useHTGlobalStore"),u=e("@/features/balloon/balloon-notification");let d=e=>{o=e},{getState:p,setState:h}=c.useHTGlobalStore,g="HTSignLanguageActivated",f="",m=({isException:e,isInvalid:t,isClickable:r,text:n,element:o,previousClickedElement:a,pointerPosition:c})=>{let{isMobile:d,isCoreDownloadingPhrase:g}=p();if(a&&s.clearElementHoverStyle(a),e)return;if(h({promptLinkShowing:r?c:null}),t){let{showWarning:e}=u.useNotificationBalloonStore.getState();e(),(0,i.sendEvent)({eventCategory:"Tradutor de Sites",eventAction:"Conteúdo Indisponível",eventLabel:o.tagName,eventValue:n.length});return}g||(s.setElementHoverStyle(o,d,"signLanguage"),(0,l.sign)(n,{type:"translation"})),f=o.tagName,h({currentText:n});let{hideBalloon:m,isBalloonNotificationVisible:y}=u.useNotificationBalloonStore.getState();y&&m()},y=()=>{h({promptLinkShowing:null})},v=({isInvalid:e,isException:t,element:r})=>{let{isMobile:n}=p();t||n||o.offRedirection||s.setElementHoverStyle(r,n,e?"invalid":"signLanguage")},M=e=>{let{isMobile:t}=p();t||s.clearElementHoverStyle(e)},_=()=>{s.setElementClickListener(m),s.setElementMouseOverListener(v),s.setElementMouseExitListener(M),s.setScrollCallbackListener(y)},S=()=>sessionStorage.getItem(g),N=e=>{sessionStorage.setItem(g,e)},x=()=>{sessionStorage.removeItem(g)}},{"../analytics":"9b6Tu","../textCollectorService":"5h9gT","./coreService":"hPo59","../../stores/useHTGlobalStore":"aSfyl","@/features/balloon/balloon-notification":"fayjE","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hPo59:[function(e,t,r,n){let o,a,i,s,l,c,u,d;var p=e("@parcel/transformer-js/src/esmodule-helpers.js");p.defineInteropFlag(r),p.export(r,"onLoadTimeCore",()=>D),p.export(r,"initialize",()=>I),p.export(r,"createCoreScript",()=>L),p.export(r,"appendHTCoreElement",()=>w),p.export(r,"removeHTCoreElement",()=>E),p.export(r,"stopTranslationCore",()=>z),p.export(r,"changeTranslationSpeed",()=>k),p.export(r,"resizeCore",()=>O),p.export(r,"loadCore",()=>U),p.export(r,"toggleSignLanguage",()=>R),p.export(r,"analyticsSignsEvent",()=>P),p.export(r,"onCancelSigns",()=>Q),p.export(r,"onSignalizedSigns",()=>H),p.export(r,"onTranslationError",()=>F),p.export(r,"onDownloadedSigns",()=>Y),p.export(r,"sign",()=>B),p.export(r,"repeatPhrase",()=>G);var h=e("../analytics"),g=e("../../constants/config"),f=e("../../constants/types"),m=e("../translationService"),y=e("../textCollectorService"),v=e("../animationService"),M=e("../translationAccessibilityAlertService"),_=e("../domUtils"),S=e("@/features/balloon/balloon-notification"),N=e("../../stores/useHTGlobalStore"),x=e("../../stores/useErrorStore");let A="The core instance does not have the status 'LOADED'",j=!1,T=!1,{getState:b,setState:C}=N.useHTGlobalStore,D=(e,t)=>{(0,h.sendEvent)({eventCategory:"Aplicação",eventAction:"Carregamento do avatar",eventLabel:t,eventValue:e})},I=(e,t,r)=>{a=e,t.onLoaded=e=>D(e,a.avatar),i=t,c=r},L=e=>new Promise(t=>{let r=document.getElementById(g.idHTCoreScript),n=()=>{t(new HTCore(null!=i?i:{}))};if(r){if(j)return n();r.remove()}let o=`https://plugin.handtalk.me/corejs/${e}/core.min.js`,a=document.createElement("script");a.src=o,a.id=g.idHTCoreScript,document.body.appendChild(a),a.onload=n}),w=()=>{if(!o)throw A;let e=document.getElementById(g.idHTCoreElement);e&&o.element?(e.appendChild(o.element),T=!0):console.warn("There is no container or core element itself")},E=()=>{if(!o)return;let e=document.getElementById(g.idHTCoreElement),t=o.element;o=void 0,e&&t?(t.remove(),T=!1):console.warn("There is no container or core element itself")},z=e=>{if((null==o?void 0:o.loadStatus)!=="LOADED"||!o)throw A;C({isCoreSignalizingPhrase:!1,isNewTranslate:!1,speed:e}),o.stop()},k=e=>{if(!o)throw A;let t="number"==typeof g.speeds[e]?g.speeds[e]:g.speeds.normal;localStorage.removeItem("HTUserProfileSent"),o.setSpeed(t)},O=()=>{d&&clearTimeout(d),d=setTimeout(()=>{if((null==o?void 0:o.loadStatus)!=="LOADED"||!o)throw A;let e=document.getElementById(g.idHTCoreViewer);if(!e)return;let t=window.devicePixelRatio||1;t=Math.min(Math.max(t,1),1.75);let r=e.offsetWidth*t,n=e.offsetHeight*t;r&&n&&s!==r&&l!==n&&(s=r,l=n,r&&n&&o.resize(r,n))},250)},U=async()=>{let{speed:e}=b();if(o=await L(a.coreVersion),c.emit(f.HTEventNames.coreDownloaded,!0),!o)throw Error("The avatar has not yet been initialized");j=!0;let{avatar:t,language:r,storageUrl:n}=a;C({isAuthenticating:!0,modalMessage:null});let i=!1,s="";try{i=(await m.auth({avatar:t,lang:r})).custom}catch(t){var l;let e;s=t.message,navigator.onLine&&(l=t.status,e=x.useErrorStore.getState().parseHttpCode(l),x.useErrorStore.getState().setErrorCode(e))}if(C({isAuthenticating:!1,messages:await (0,v.getAnimations)(t,n,a.language)}),s)return E(),c.emit(f.HTEventNames.errorOnAuth,s),console.warn(s);try{await o.load(!1,e=>{C({coreLoadProgress:e})}),i&&await o.applyCustomization(i),w(),localStorage.HTSpeed||(localStorage.HTSpeed="normal"),"normal"!==e&&k(e),C({isCoreReady:!0}),c.emit(f.HTEventNames.coreReady,!0),O(),window.addEventListener("resize",O)}catch(t){console.warn("loadingErrorType: "+JSON.stringify(t));let e=(0,_.getErrorType)(t);x.useErrorStore.getState().setErrorCode(x.ErrorCode.Core),"errorNotDefined"!==e?c.emit(f.HTEventNames.notCompatible,e):c.emit(f.HTEventNames.notCompatible,"An error has occurred or your browser is incompatible. Wait a moment and reload the page.")}},R=async e=>{let{isAuthenticating:t,isCoreReady:r}=b();if(c.emit(e?f.HTEventNames.activated:f.HTEventNames.deactivated),o){T||w(),r||(C({isCoreReady:!0}),c.emit(f.HTEventNames.coreReady,!0));try{o.stop()}catch(e){C({isCoreReady:!1}),c.emit(f.HTEventNames.coreReady,!1)}}else e&&!t&&await U()},P=(e,t)=>{let{currentText:r,isClosingPlugin:n,isNewTranslate:o}=b();if("animation"===t)return;let a="cancelada"===e?(({closing:e,newTranslate:t})=>e?"Fechamento Plugin":t?"Nova Tradução":"Parar Tradução")({closing:n,newTranslate:o}):null;(0,h.sendEvent)({eventCategory:"Tradutor de Sites",eventAction:`Tradu\xe7\xe3o ${e}`,eventLabel:a||`${r.split(" ").length}`})},Q=e=>{k(localStorage.getItem("HTSpeed")),P("cancelada",e)},H=e=>{let{isMobile:t,sendHitChangeSpeed:r,opacity:n,highContrast:o,speed:i}=b(),s="Tradutor de Sites";M.translationAccessibilityAlertService.addMessage("Translation completed");let l=y.getPreviousClickedElement();if(t&&l&&y.clearElementHoverStyle(l),C({isCoreSignalizingPhrase:!1}),c.emit(f.HTEventNames.signalized),f.HTEventNames.signalized&&M.translationAccessibilityAlertService.removeMessage(),r&&((0,h.handleAnalyticsSpeed)(i,s),(0,h.handleProfileAnalytics)({opacity:n,highContrast:o,speed:i,initiator:s})),"translation"===e){let{incrementTranslation:e}=S.useNotificationBalloonStore.getState();e(a.language,a.offRedirection)}P("concluída",e)},F=e=>{c.emit(f.HTEventNames.errorOnTranslate),P("falha",e),M.translationAccessibilityAlertService.addMessage("An error occurred during translation")},Y=()=>{C({isCoreDownloadingPhrase:!1,isCoreSignalizingPhrase:!0,speed:localStorage.getItem("HTSpeed")||"normal"}),(0,h.handleChangeUserProfileAnalytics)()},B=async(e,t=g.defaultSignInfo,r)=>{let{onboarding:n}=b();if((null==o?void 0:o.loadStatus)!=="LOADED"||!o)throw A;u=void 0,M.translationAccessibilityAlertService.addMessage("Translation started"),C({isCoreDownloadingPhrase:!0,isNewTranslate:!0}),!n&&"animation"==t.type&&r&&(u=r);let i={onDownloaded:Y,onSignalized:()=>{H(t.type),t.callback&&t.callback()},onCanceled:()=>{var e;Q(t.type),null==(e=t.onCanceled)||e.call(t)},onError:()=>{var e;F(t.type),null==(e=t.onError)||e.call(t)}};if(o.stop(),r)Y(),o.signAnimationCodes(r,!0,!1,i);else try{let t=await m.translate({q:e,lang:a.language}),r=o.treatAnim(e,void 0,t,a.language,i);Y(),o.signAnimationCodes(r,!0,!1,i)}catch(r){let t=o.treatAnim(e,r.message,void 0,a.language,i);Y(),o.signAnimationCodes(t,!0,!1,i)}},G=()=>{if(!o)throw A;u?B("",{type:"animation"},u):o.repeat()}},{"../analytics":"9b6Tu","../../constants/config":"kqbjQ","../../constants/types":"cBiIg","../translationService":"bkux0","../textCollectorService":"5h9gT","../animationService":"4ATzs","../translationAccessibilityAlertService":"bbzTz","../domUtils":"1UlS3","@/features/balloon/balloon-notification":"fayjE","../../stores/useHTGlobalStore":"aSfyl","../../stores/useErrorStore":"j4TpP","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cBiIg:[function(e,t,r,n){var o,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"HTEventNames",()=>a),(o=a||(a={})).coreReady="coreReady",o.errorOnAuth="errorOnAuth",o.notCompatible="notCompatible",o.activated="activated",o.deactivated="deactivated",o.signalized="signalized",o.errorOnTranslate="errorOnTranslate",o.coreDownloaded="coreDownloaded"},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bkux0:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"translation",()=>i),o.export(r,"initialize",()=>s),o.export(r,"auth",()=>l),o.export(r,"authAddons",()=>c),o.export(r,"translate",()=>u),o.export(r,"rate",()=>d),o.export(r,"apiKey",()=>p);var a=e("./translationClient");let i=new(0,o.interopDefault(a).default),s=(e,t)=>{i.setConfig({apiKey:t,apiEndpoint:e.apiEndpoint,token:e.token,doNotTrack:e.doNotTrack})},l=i.auth,c=i.authAddons,u=i.translate,d=i.rate,p=i.apiKey},{"./translationClient":"84jFr","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"84jFr":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("@swc/helpers/_/_object_spread"),s=e("@swc/helpers/_/_object_spread_props"),l=e("./utils/request"),c=e("./utils/custom"),u=e("./utils/TranslationClientUtils");class d{set sessionId(e){sessionStorage.setItem("htSessionId",e)}get sessionId(){return sessionStorage.getItem("htSessionId")||""}get apiKey(){return this.headers.key}constructor(){(0,a._)(this,"_token",""),(0,a._)(this,"_apiEndpoint",""),(0,a._)(this,"_doNotTrack","false"),(0,a._)(this,"headers",{"Content-Type":"application/json; charset=utf-8"}),(0,a._)(this,"setConfig",e=>{if(!e.apiKey)throw Error("Api Key não informada!");if(!e.apiEndpoint)throw Error("Api Endpoint não informado!");this._token=e.token||"",this._doNotTrack=e.doNotTrack?"true":"false",this._apiEndpoint=e.apiEndpoint.endsWith("/")?e.apiEndpoint.slice(0,-1):e.apiEndpoint,this.headers.key=e.apiKey}),(0,a._)(this,"parseBasePayload",e=>{if(!this._token)throw Error("Token não informado!");let t=(0,s._)((0,i._)({},e),{token:this._token,doNotTrack:this._doNotTrack});return"lang"in t&&"string"==typeof t.lang&&(t.lang=u.TranslationClientUtils.normalizeLang(t.lang)),this.sessionId&&(t.sessionId=this.sessionId),t}),(0,a._)(this,"attachIntegrityHeaders",async e=>{let t={origin:location.origin,payload:e},r=u.TranslationClientUtils.INTEGRITY_KEY+this._token,n=await u.TranslationClientUtils.generateHmac(JSON.stringify(t),r);this.headers["X-Integrity"]=n}),(0,a._)(this,"auth",async e=>{let t=this.parseBasePayload(e);await this.attachIntegrityHeaders(t);let r=await (0,l.post)(`${this._apiEndpoint}/api/v2/sign/auth`,this.headers,t);return this.sessionId=r.sessionId||"",r.custom=!!r.custom&&(0,c.parseCustom)(r.custom),r}),(0,a._)(this,"authAddons",async e=>{let t=this.parseBasePayload(e);await this.attachIntegrityHeaders(t);let r=await (0,l.post)(`${this._apiEndpoint}/api/v2/addons/auth`,this.headers,t);return this.sessionId=r.sessionId||"",r}),(0,a._)(this,"translate",async e=>{let t=this.parseBasePayload(e);return await this.attachIntegrityHeaders(t),(0,l.post)(`${this._apiEndpoint}/api/v2/sign/translate`,this.headers,t)}),(0,a._)(this,"rate",async e=>{let t=this.parseBasePayload(e);return await this.attachIntegrityHeaders(t),(0,l.post)(`${this._apiEndpoint}/api/v2/sign/rate`,this.headers,t)})}}},{"@swc/helpers/_/_define_property":"kJ3aC","@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","./utils/request":"bguhW","./utils/custom":"4N2EX","./utils/TranslationClientUtils":"6q6oR","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bguhW:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"post",()=>i);let a=async(e,t,r,n)=>{let o=await fetch(t,{method:e,headers:r,body:JSON.stringify(n)}),a=await o.json();if(200!==o.status){let e=Error(a.message||"Falha na requisição!");throw e.status=o.status,e}return a},i=(e,t,r)=>a("POST",e,t,r)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4N2EX":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"parseCustom",()=>i);let a={manga_longa:"longSleeveShirt",manga_curta:"shortSleeveShirt",manga_longa_sem_gravata:"longSleeveShirtWithoutTie",camisa:"isShirt"},i=e=>{let t={};return Object.entries(e).forEach(([e,r])=>{"hide"!==r&&(t[a[e]]=r)}),t}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6q6oR":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"TranslationClientUtils",()=>s);var a=e("@swc/helpers/_/_define_property"),i=e("../../crypto/hmac-sha256");class s{static normalizeLang(e){return e.includes("-")?e.split("-")[1]:e}}(0,a._)(s,"INTEGRITY_KEY","84c05a5dba7ff8c8f4a6d14cf43115d2bc15dba1302b5fc83c66c8b2f776a580"),(0,a._)(s,"generateHmac",i.hashWithSecret)},{"@swc/helpers/_/_define_property":"kJ3aC","../../crypto/hmac-sha256":"3PN30","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3PN30":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"sign",()=>M),o.export(r,"hex",()=>_),o.export(r,"hash",()=>S),o.export(r,"hashWithSecret",()=>N);let a=Uint8Array,i=Uint32Array,s=Math.pow,l=new i(8),c=[],u=new i(64);function d(e){return(e-(0|e))*s(2,32)|0}let p=2,h=0;for(;h<64;){let e=!0;for(let t=2;t<=p/2;t++)p%t==0&&(e=!1);e&&(h<8&&(l[h]=d(s(p,.5))),c[h]=d(s(p,1/3)),h++),p++}let g=!!new a(new i([1]).buffer)[0];function f(e){return g?e>>>24|(e>>>16&255)<<8|(65280&e)<<8|e<<24:e}function m(e,t){return e>>>t|e<<32-t}function y(e){let t,r=l.slice(),n=e.length,o=8*n,s=512-(o+64)%512-1+o+65,d=new a(s/8),p=new i(d.buffer);d.set(e,0),d[n]=128,p[p.length-1]=f(o);for(let e=0;e>>3)+(m(n,17)^m(n,19)^n>>>10)}u[t]=r|=0;let o=(m(n[4],6)^m(n[4],11)^m(n[4],25))+(n[4]&n[5]^~n[4]&n[6])+n[7]+r+c[t],a=(m(n[0],2)^m(n[0],13)^m(n[0],22))+(n[0]&n[1]^n[2]&(n[0]^n[1]));for(let e=7;e>0;e--)n[e]=n[e-1];n[0]=o+a|0,n[4]=n[4]+o|0}for(t=0;t<8;t++)r[t]=r[t]+n[t]|0}return new a(new i(r.map(function(e){return f(e)})).buffer)}let v=new TextEncoder;function M(e,t){return function(e,t){if(e.length>64&&(e=y(e)),e.length<64){let t=new Uint8Array(64);t.set(e,0),e=t}let r=new Uint8Array(64),n=new Uint8Array(64);for(let t=0;t<64;t++)r[t]=54^e[t],n[t]=92^e[t];let o=new Uint8Array(t.length+64);o.set(r,0),o.set(t,64);let a=new Uint8Array(96);return a.set(n,0),a.set(y(o),64),y(a)}("string"==typeof e?v.encode(e):e,"string"==typeof t?v.encode(t):t)}function _(e){return e.reduce((e,t)=>{let r="00"+t.toString(16);return e+r.substring(r.length-2)},"")}function S(e){return _(y(v.encode(e)))}function N(e,t){return _(M(t,e)).toString()}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4ATzs":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getAnimations",()=>c),o.export(r,"getAnimationMessage",()=>h),o.export(r,"removeAnimationMessage",()=>g);var a=e("@swc/helpers/_/_object_spread");let i={},s=["welcomeMessageAnimation"],l=["researchAnimation","researchQuestionAnimation","researchThanksAnimation","invalidTextAnimation","aboutPageAnimation"],c=async(e,t,r)=>{for(let n of u(e))await d(n,t,r);return p(),i},u=e=>{let t=["initial",`initial_${e}`,"about","research","research_question","research_thanks","invalid_text","noConnection"];return localStorage.HTSignLanguageFirstActivation?t.filter(e=>!e.startsWith("initial")):t},d=async(e,t,r)=>{let n=`${t}animations/${r}/${e}.json`,o=await fetch(n);if(!o.ok)throw Error("Failed to download the animations, an error occurred in the request");let s=await o.json();i=(0,a._)({},i,s)},p=()=>{for(let e of localStorage.HTSignLanguageFirstActivation?l:[...l,...s])if(!i[e])throw Error("Message object is missing some animation.")},h=e=>i[e],g=e=>i[e]&&delete i[e]},{"@swc/helpers/_/_object_spread":"8KZ4Y","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bbzTz:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"TranslationAccessibilityAlertService",()=>s),o.export(r,"translationAccessibilityAlertService",()=>l);var a=e("@swc/helpers/_/_define_property"),i=e("../constants/config");class s{createScreenReaderElement(){this.screenReaderStatus=document.getElementById(this.screenReaderElementId),this.screenReaderStatus||(this.screenReaderStatus=document.createElement("span"),this.screenReaderStatus.id=this.screenReaderElementId,this.screenReaderStatus.style.position="absolute",this.screenReaderStatus.style.left="-9999px",this.screenReaderStatus.setAttribute("role","alert"),this.screenReaderStatus.setAttribute("aria-live","assertive"),document.body.appendChild(this.screenReaderStatus))}addMessage(e){this.createScreenReaderElement(),this.screenReaderStatus&&(this.screenReaderStatus.textContent=e)}removeMessage(){this.screenReaderStatus=document.getElementById(this.screenReaderElementId),this.screenReaderStatus&&requestAnimationFrame(()=>{var e;null==(e=this.screenReaderStatus)||e.remove(),this.screenReaderStatus=null})}constructor(){(0,a._)(this,"screenReaderElementId",void 0),(0,a._)(this,"screenReaderStatus",void 0),this.screenReaderElementId=i.screenReaderStatus,this.screenReaderStatus=null}}let l=new s},{"@swc/helpers/_/_define_property":"kJ3aC","../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],j4TpP:[function(e,t,r,n){var o,a,i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(r),i.export(r,"ErrorCode",()=>a),i.export(r,"useErrorStore",()=>l);var s=e("zustand");(o=a||(a={})).BadRequest="BAD_REQUEST",o.Core="CORE_FAILED",o.NotAuthorized="NOT_AUTHORIZED",o.InternalServer="INTERNAL_SERVER_ERROR",o.NoConnection="NO_CONNECTION";let l=(0,s.create)(e=>({errorCode:void 0,isActiveModalError:!1,setErrorCode:t=>e({errorCode:t,isActiveModalError:!0}),parseHttpCode:e=>{var t;return null!=(t=({400:a.BadRequest,401:a.NotAuthorized,403:a.BadRequest,500:a.InternalServer,502:a.InternalServer})[e])?t:a.InternalServer},resetErrorStore:()=>e({errorCode:void 0,isActiveModalError:!1})}))},{zustand:"eQ5Lk","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],i28yz:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"addTextCollectedListener",()=>s.addTextCollectedListener),o.export(r,"removeTextCollectedListener",()=>s.removeTextCollectedListener),o.export(r,"addTextClickedListener",()=>s.addTextClickedListener),o.export(r,"removeTextClickedListener",()=>s.removeTextClickedListener),o.export(r,"addClickableEventListener",()=>s.addClickableEventListener),o.export(r,"removeClickableEventListener",()=>s.removeClickableEventListener),o.export(r,"handleElementClicked",()=>u),o.export(r,"handleOnScroll",()=>d),o.export(r,"handleElementMouseOver",()=>p),o.export(r,"handleElementMouseExit",()=>h),o.export(r,"prepareCallbacks",()=>g),o.export(r,"startTrackingMouseMove",()=>f),o.export(r,"getMagnifierActivatedValue",()=>y),o.export(r,"setMagnifierActivatedValue",()=>v);var a=e("../../stores/useHTGlobalStore"),i=e("../textCollectorService"),s=e("./eventDispatcher");let{getState:l,setState:c}=a.useHTGlobalStore,u=async({isException:e,isInvalid:t,isClickable:r,text:n,element:o,previousClickedElement:a,pointerPosition:u})=>{let{isMobile:d}=l();a&&i.clearElementHoverStyle(a),e||(d||await c({promptLinkShowing:r?u:null}),t||(i.setElementHoverStyle(o,d,"magnifier"),(0,s.dispatchClickableEvent)(r),(0,s.dispatchTextClickedEvent)(n,u),c({currentText:n})))},d=()=>{c({promptLinkShowing:null})},p=({isInvalid:e,isException:t,element:r,text:n,pointerPosition:o})=>{let{isMobile:a}=l();if(a)return;let c=t?null:e?"invalid":"magnifier",u=e||t?{text:"",pointerPosition:{x:0,y:0}}:{text:n,pointerPosition:o};(0,s.dispatchTextCollectedEvent)(u.text,u.pointerPosition),c&&i.setElementHoverStyle(r,a,c)},h=e=>{let{isMobile:t}=l();t||i.clearElementHoverStyle(e)},g=()=>{i.setElementClickListener(u),i.setElementMouseOverListener(p),i.setElementMouseExitListener(h),i.setScrollCallbackListener(d)},f=e=>{let t=t=>{let{clientX:r,clientY:n}=t;e({x:Math.max(10,Math.min(r,window.innerWidth-310)),y:Math.max(10,Math.min(n,window.innerHeight-210))})};return document.addEventListener("mousemove",t),()=>{document.removeEventListener("mousemove",t)}},m="HTMagnifierActivated",y=()=>sessionStorage.getItem(m),v=e=>{sessionStorage.setItem(m,e)}},{"../../stores/useHTGlobalStore":"aSfyl","../textCollectorService":"5h9gT","./eventDispatcher":"8QiCm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8QiCm":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"dispatchTextCollectedEvent",()=>c),o.export(r,"addTextCollectedListener",()=>u),o.export(r,"removeTextCollectedListener",()=>d),o.export(r,"dispatchTextClickedEvent",()=>p),o.export(r,"addTextClickedListener",()=>h),o.export(r,"removeTextClickedListener",()=>g),o.export(r,"dispatchClickableEvent",()=>f),o.export(r,"addClickableEventListener",()=>m),o.export(r,"removeClickableEventListener",()=>y);let a=new(0,e("events").EventEmitter),i="textCollected",s="textClicked",l="clickableEvent",c=(e,t)=>{a.emit(i,{text:e,pointerPosition:t})},u=e=>{a.on(i,e)},d=e=>{a.removeListener(i,e)},p=(e,t)=>{a.emit(s,{text:e,pointerPosition:t})},h=e=>{a.on(s,e)},g=e=>{a.removeListener(s,e)},f=e=>{a.emit(l,e)},m=e=>{a.on(l,e)},y=e=>{a.removeListener(l,e)}},{events:"cctv7","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2HXQO":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DeactivateDisableSoundsCommand",()=>u);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/appActivator"),s=e("../../services/mediaService/mediaService"),l=e("./ActiveDisableSoundsCommand"),c=e("../../stores/useHTGlobalStore");class u{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{s.mediaService.enableSounds();let{setState:e}=c.useHTGlobalStore;await e({disableSoundsState:"deactivate"}),s.mediaService.setDisableSoundsActivatedValue("false"),i.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,l.ActiveDisableSoundsCommand)(this.config);return await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/appActivator":"eOZgV","../../services/mediaService/mediaService":"9VG0f","./ActiveDisableSoundsCommand":"hjkn9","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9VG0f":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"mediaService",()=>s);var a=e("@swc/helpers/_/_define_property"),i=e("./domMediaProvider");let s=new class{disableSounds(){this.stoppedMedias=this.mediaProvider.stopAll()}enableSounds(){this.stoppedMedias.forEach(e=>this.mediaProvider.unmute(e)),this.stoppedMedias=[]}constructor(){(0,a._)(this,"mediaProvider",void 0),(0,a._)(this,"stoppedMedias",[]),(0,a._)(this,"disableSoundsActivated","HTDisableSoundsActivated"),(0,a._)(this,"getDisableSoundsActivatedValue",()=>sessionStorage.getItem(this.disableSoundsActivated)),(0,a._)(this,"setDisableSoundsActivatedValue",e=>{sessionStorage.setItem(this.disableSoundsActivated,e)}),this.mediaProvider=new(0,i.DomMediaProvider)}}},{"@swc/helpers/_/_define_property":"kJ3aC","./domMediaProvider":"bShXr","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bShXr:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DomMediaProvider",()=>i);var a=e("@swc/helpers/_/_define_property");class i{updateYouTubeIframes(){document.querySelectorAll("iframe").forEach(e=>{e.src.includes("youtube.com/embed")&&!e.src.includes("enablejsapi=1")&&(e.src+=(e.src.includes("?")?"&":"?")+"enablejsapi=1")})}mute(e){this.mediaActions[e.origin].mute(e.element)}unmute(e){this.mediaActions[e.origin].unmute(e.element)}stop(e){this.mediaActions[e.origin].stop(e.element)}stopAll(){let e=[];return document.querySelectorAll("iframe").forEach(t=>{if(t.src.includes("youtube.com/embed")){let r={origin:"youtube",element:t};this.stop(r),this.mute(r),e.push(r)}}),document.querySelectorAll("video, audio").forEach(t=>{if(!t.paused){let r={origin:"html",element:t};this.stop(r),this.mute(r),e.push(r)}}),e}postMessageToYouTube(e,t,r=[]){try{var n;null==(n=e.contentWindow)||n.postMessage(JSON.stringify({event:"command",func:t,args:r}),"*")}catch(e){console.error("Error posting message to YouTube iframe:",e)}}constructor(){(0,a._)(this,"mediaActions",{youtube:{mute:e=>this.postMessageToYouTube(e,"mute"),unmute:e=>this.postMessageToYouTube(e,"unMute"),stop:e=>this.postMessageToYouTube(e,"stopVideo")},html:{mute:e=>e.muted=!0,unmute:e=>e.muted=!1,stop:e=>{e.pause(),e.currentTime=0}}}),this.updateYouTubeIframes()}}},{"@swc/helpers/_/_define_property":"kJ3aC","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hjkn9:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ActiveDisableSoundsCommand",()=>p);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/appActivator"),s=e("../../services/mediaService/mediaService"),l=e("./DeactivateDisableSoundsCommand"),c=e("../pageSpeechCommands/SetPageSpeechLevelCommand"),u=e("../pauseAnimationsCommands/DeactivatePauseAnimationsCommand"),d=e("../../stores/useHTGlobalStore");class p{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{s.mediaService.disableSounds();let{getState:e,setState:t}=d.useHTGlobalStore;await t({disableSoundsState:"active"}),s.mediaService.setDisableSoundsActivatedValue("true");let{pauseAnimationsState:r,pageSpeechState:n}=e();if("active"===r){let e=new(0,u.DeactivatePauseAnimationsCommand)(this.config);await e.execute()}if("number"==typeof n&&n>0){let e=new(0,c.SetPageSpeechLevelCommand)(0,this.config);await e.execute()}i.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,l.DeactivateDisableSoundsCommand)(this.config);return await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/appActivator":"eOZgV","../../services/mediaService/mediaService":"9VG0f","./DeactivateDisableSoundsCommand":"2HXQO","../pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","../pauseAnimationsCommands/DeactivatePauseAnimationsCommand":"evpko","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],evpko:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DeactivatePauseAnimationsCommand",()=>u);var a=e("@swc/helpers/_/_define_property"),i=e("./ActivePauseAnimationsCommand"),s=e("../../services/appActivator"),l=e("../../services/pauseAnimationsService"),c=e("../../stores/useHTGlobalStore");class u{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{l.deactivate();let{setState:e}=c.useHTGlobalStore;await e({pauseAnimationsState:"deactivate"}),l.setPauseAnimationsActivatedValue("false"),s.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,i.ActivePauseAnimationsCommand)(this.config);return await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","./ActivePauseAnimationsCommand":"8wR62","../../services/appActivator":"eOZgV","../../services/pauseAnimationsService":"1RkBJ","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8wR62":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ActivePauseAnimationsCommand",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("./DeactivatePauseAnimationsCommand"),s=e("../disableSoundsCommands/DeactivateDisableSoundsCommand"),l=e("../../services/appActivator"),c=e("../../services/pauseAnimationsService"),u=e("../../stores/useHTGlobalStore");class d{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{c.activate();let{setState:e,getState:t}=u.useHTGlobalStore,{disableSoundsState:r}=t();if(await e({pauseAnimationsState:"active"}),c.setPauseAnimationsActivatedValue("true"),"active"===r){let e=new(0,s.DeactivateDisableSoundsCommand)(this.config);await e.execute()}l.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{let e=new(0,i.DeactivatePauseAnimationsCommand)(this.config);return await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","./DeactivatePauseAnimationsCommand":"evpko","../disableSoundsCommands/DeactivateDisableSoundsCommand":"2HXQO","../../services/appActivator":"eOZgV","../../services/pauseAnimationsService":"1RkBJ","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1RkBJ":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"activate",()=>c),o.export(r,"deactivate",()=>u),o.export(r,"getPauseAnimationsActivatedValue",()=>h),o.export(r,"setPauseAnimationsActivatedValue",()=>g);var a=e("../constants/config");let i=new CSSStyleSheet,s=["script",".ht-skip",`.${a.htTranslatorException}`,`.${a.htTranslatorException} *`,`.${a.htAddonsException}`,`.${a.htAddonsException} *`,`.${a.htPromptLinkException}`,`.${a.htPromptLinkException} *`],l=e=>{let t=document.querySelectorAll("video");t.length>0&&t.forEach(t=>{e?t.pause():t.play()});let r=document.querySelectorAll("iframe");e&&r.length>0&&r.forEach(e=>{if(e.contentWindow&&(e.src.startsWith("https://www.youtube.com")||e.src.startsWith("https://player.vimeo.com/"))){let t=e.src;e.src="",e.src=t}})},c=()=>{d(`body *:not(${s.join(",")}) { animation-play-state: paused; }`),l(!0)},u=()=>{d(""),l(!1)},d=e=>{var t;if(null==(t=i.replaceSync)||t.call(i,e),"adoptedStyleSheets"in document){let e=document.adoptedStyleSheets;e.includes(i)||(document.adoptedStyleSheets=[...e,i])}},p="HTPauseAnimationsActivated",h=()=>sessionStorage.getItem(p),g=e=>{sessionStorage.setItem(p,e)}},{"../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],jgV8L:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DeactivateSynonymsMeaningsCommand",()=>u);var a=e("@swc/helpers/_/_define_property"),i=e("./ActiveSynonymsMeaningsCommand"),s=e("../../services/synonymsMeaningsService"),l=e("../../services/wordCollectorService/CollectorService"),c=e("../../stores/useHTGlobalStore");class u{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{let{setState:e}=c.useHTGlobalStore;await e({synonymsMeaningsState:"deactivate"}),(0,s.setSynonymsMeaningsActivatedValue)("false"),l.WordCollectorService.getInstance().deactivate()}),(0,a._)(this,"undo",async()=>{let e=new(0,i.ActiveSynonymsMeaningsCommand)(this.config);await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","./ActiveSynonymsMeaningsCommand":"iwESS","../../services/synonymsMeaningsService":"g5u3O","../../services/wordCollectorService/CollectorService":"ptRIP","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iwESS:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ActiveSynonymsMeaningsCommand",()=>g);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/synonymsMeaningsService"),s=e("./DeactivateSynonymsMeaningsCommand"),l=e("../../services/wordCollectorService/CollectorService"),c=e("../pageSpeechCommands/SetPageSpeechLevelCommand"),u=e("../magnifierCommands/DeactivateMagnifierCommand"),d=e("../../stores/useHTGlobalStore"),p=e("../signLanguageTranslatorCommands/DeactivateSignLanguageTranslatorCommand"),h=e("../readerModeCommands/SetReaderModeCommand");class g{constructor(e){(0,a._)(this,"config",void 0),(0,a._)(this,"execute",async()=>{let{setState:e,getState:t}=d.useHTGlobalStore;await e({synonymsMeaningsState:"active"});let{pageSpeechState:r,magnifierState:n,signTranslatorState:o,readerModeState:a}=t();if("none"!==r&&r>0){let e=new(0,c.SetPageSpeechLevelCommand)(0,this.config);await e.execute()}if("active"===n){let e=new(0,u.DeactivateMagnifierCommand)(this.config);await e.execute()}if("active"===o){let e=new(0,p.DeactivateSignLanguageTranslatorCommand)(this.config);await e.execute()}if("none"!==a&&a>0){let e=new(0,h.SetReaderModeCommand)(0);await e.execute()}(0,i.setSynonymsMeaningsActivatedValue)("true");let s=l.WordCollectorService.getInstance();s.setCollectorMode("word"),s.activate()}),(0,a._)(this,"undo",async()=>{let e=new(0,s.DeactivateSynonymsMeaningsCommand)(this.config);await e.execute()}),this.config=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/synonymsMeaningsService":"g5u3O","./DeactivateSynonymsMeaningsCommand":"jgV8L","../../services/wordCollectorService/CollectorService":"ptRIP","../pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../../stores/useHTGlobalStore":"aSfyl","../signLanguageTranslatorCommands/DeactivateSignLanguageTranslatorCommand":"7YYDH","../readerModeCommands/SetReaderModeCommand":"3pzqt","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],g5u3O:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getSynonymsMeaningsActivatedValue",()=>c),o.export(r,"setSynonymsMeaningsActivatedValue",()=>u),o.export(r,"getSynonymsMeanings",()=>d);var a=e("../../constants/config"),i=e("../translationService"),s=e("../translationService/utils/TranslationClientUtils");let l="HTSynonymsMeaningActivated",c=()=>sessionStorage.getItem(l),u=e=>sessionStorage.setItem(l,e);async function d(e,t,r){let n={phrase:e,language:t,token:r},o=location.origin,l=s.TranslationClientUtils.INTEGRITY_KEY+r,c=await s.TranslationClientUtils.generateHmac(JSON.stringify({origin:o,payload:n}),l),u=await fetch(`${a.defaultConfig.apiEndpoint}/api/v2/addons/ai/synonyms-meanings`,{method:"POST",headers:{"Content-Type":"application/json","X-Integrity":c,origin:o,key:i.translation.apiKey},body:JSON.stringify(n)});if(!u.ok)throw Error(`Erro ${u.status}`);return await u.json()}},{"../../constants/config":"kqbjQ","../translationService":"bkux0","../translationService/utils/TranslationClientUtils":"6q6oR","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ptRIP:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"WordCollectorService",()=>p);var a=e("@swc/helpers/_/_define_property"),i=e("./managers/EventManager"),s=e("./collector/TextProcessor"),l=e("./validation/ElementMatcher"),c=e("./collector/TextRestorer"),u=e("./managers/CursorManager"),d=e("./managers/DOMObserver");class p{static getInstance(){return p.instance||(p.instance=new p),p.instance}get isActive(){return this._isActive}get lastClickedWord(){return this._lastClickedWord}get lastMarkedText(){return this._lastMarkedText}get collectorMode(){return this._collectorMode}deactivate(){this._isActive&&(this._isActive=!1,this.domObserver.stop(),this.textRestorer.restoreAll(),this.eventManager.removeListeners(),this.textProcessor.cleanupAllProcessedElements(),this.cursorManager.deactivate(),this._lastClickedWord="",this._lastMarkedText="")}activate(){this._isActive||(this._isActive=!0,this.eventManager.attachListeners(),this.cursorManager.activate(),this.domObserver.start())}initialize(e){this.elementMatcher.configure(e.exceptions,e.clickables,e.maxTextSize),this.textProcessor.configure(e)}updateLastSelection(e,t){let r=e!==this._lastClickedWord||t!==this._lastMarkedText;this._lastClickedWord=e,this._lastMarkedText=t,r&&this.notifySelectionChange()}getLastSelection(){return{text:this._lastClickedWord,markedText:this._lastMarkedText}}setCollectorMode(e){this._collectorMode!==e&&(this._collectorMode=e,this.textRestorer.restoreAll(),this._lastClickedWord="",this._lastMarkedText="")}getCollectorMode(){return this._collectorMode}subscribeToSelectionChange(e){this._selectionListeners.push(e)}unsubscribeFromSelectionChange(e){this._selectionListeners=this._selectionListeners.filter(t=>t!==e)}notifySelectionChange(){let e=this.getLastSelection();this._selectionListeners.forEach(t=>t(e))}constructor(){(0,a._)(this,"textProcessor",void 0),(0,a._)(this,"eventManager",void 0),(0,a._)(this,"elementMatcher",void 0),(0,a._)(this,"textRestorer",void 0),(0,a._)(this,"cursorManager",void 0),(0,a._)(this,"_isActive",!1),(0,a._)(this,"_lastClickedWord",""),(0,a._)(this,"_lastMarkedText",""),(0,a._)(this,"_collectorMode","word"),(0,a._)(this,"_selectionListeners",[]),(0,a._)(this,"domObserver",void 0),this.textRestorer=new(0,c.TextRestorer),this.elementMatcher=new(0,l.ElementMatcher),this.textProcessor=new(0,s.TextProcessor)(this.textRestorer),this.eventManager=new(0,i.EventManager)(this.textProcessor,this.textRestorer,this.elementMatcher),this.cursorManager=new(0,u.CursorManager)(this.elementMatcher),this.domObserver=new(0,d.DOMObserver)(()=>{this.eventManager.isUserInteracting()||this.eventManager.attachListeners()})}}(0,a._)(p,"instance",null)},{"@swc/helpers/_/_define_property":"kJ3aC","./managers/EventManager":"gyM8K","./collector/TextProcessor":"2mMhB","./validation/ElementMatcher":"b1Ux3","./collector/TextRestorer":"gDvsh","./managers/CursorManager":"b28Vf","./managers/DOMObserver":"dlq9K","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gyM8K:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"EventManager",()=>l);var a=e("@swc/helpers/_/_define_property"),i=e("../validation/DOMTextValidator"),s=e("./TouchClickManager");class l{attachListeners(){this.removeListeners(),Array.from(document.body.querySelectorAll("*")).filter(e=>e instanceof HTMLElement&&i.DOMTextValidator.isTextElement(e)&&!this.elementMatcher.shouldSkipElement(e)).forEach(e=>this.addListenersToElement(e)),this.addListenersToTextContainers(document.body)}addListenersToElement(e){e.addEventListener("mouseenter",this.handleMouseEnter),e.addEventListener("mouseleave",this.handleMouseLeave),e.addEventListener("touchstart",this.handleTouchStart),e.addEventListener("touchend",this.handleTouchInteraction),this.elements.push(e)}addListenersToTextContainers(e){let t,r=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),n=new Set;for(;t=r.nextNode();){var o;if(!(null==(o=t.textContent)?void 0:o.trim()))continue;let e=t.parentElement;!(!e||this.elementMatcher.shouldSkipElement(e))&&(i.DOMTextValidator.isTextElement(e)||n.has(e)||(this.addListenersToElement(e),n.add(e)))}}removeListeners(){this.elements.forEach(e=>{e.removeEventListener("mouseenter",this.handleMouseEnter),e.removeEventListener("mouseleave",this.handleMouseLeave),e.removeEventListener("touchstart",this.handleTouchStart),e.removeEventListener("touchend",this.handleTouchInteraction)}),this.elements=[]}handleElementInteraction(e){this.lastElement&&this.lastElement!==e&&this.textRestorer.restoreForElement(this.lastElement),this.textProcessor.setCurrentElement(e),this.textProcessor.processElement(e),this.lastElement=e}isUserInteracting(){return this.isInteracting}constructor(e,t,r,n=new(0,s.TouchClickManager)){(0,a._)(this,"textProcessor",void 0),(0,a._)(this,"textRestorer",void 0),(0,a._)(this,"elementMatcher",void 0),(0,a._)(this,"touchClickManager",void 0),(0,a._)(this,"elements",[]),(0,a._)(this,"lastElement",null),(0,a._)(this,"isInteracting",!1),(0,a._)(this,"handleMouseEnter",e=>{this.isInteracting=!0,this.handleElementInteraction(e.target)}),(0,a._)(this,"handleMouseLeave",e=>{let t=e.currentTarget;this.textRestorer.restoreForElement(t),this.isInteracting=!1}),(0,a._)(this,"handleTouchStart",e=>{this.touchClickManager.onTouchStart(e)}),(0,a._)(this,"handleTouchInteraction",e=>{this.touchClickManager.onTouchEnd(e,()=>{let t=e.changedTouches[0],r=e.target;this.handleElementInteraction(r),requestAnimationFrame(()=>{let e=document.elementFromPoint(t.clientX,t.clientY);e instanceof HTMLElement&&"HT-DICTIONARY"===e.tagName&&e.click()})})}),this.textProcessor=e,this.textRestorer=t,this.elementMatcher=r,this.touchClickManager=n}}},{"@swc/helpers/_/_define_property":"kJ3aC","../validation/DOMTextValidator":"eVH8S","./TouchClickManager":"73TYo","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eVH8S:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DOMTextValidator",()=>a);class a{static isTextElement(e){return!!this.hasMeaningfulText(e)&&this.isInlineContext(e)}static hasMeaningfulText(e){var t;return((null==(t=e.textContent)?void 0:t.trim())||"").length>0}static isInlineContext(e){return"inline"===window.getComputedStyle(e).display||Array.from(e.children).every(e=>"inline"===window.getComputedStyle(e).display)||0===e.children.length}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"73TYo":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"TouchClickManager",()=>i);var a=e("@swc/helpers/_/_define_property");class i{constructor(e=10){(0,a._)(this,"startX",0),(0,a._)(this,"startY",0),(0,a._)(this,"threshold",void 0),(0,a._)(this,"onTouchStart",e=>{let t=e.touches[0];this.startX=t.clientX,this.startY=t.clientY}),(0,a._)(this,"onTouchEnd",(e,t)=>{let r=e.changedTouches[0],n=Math.abs(r.clientX-this.startX),o=Math.abs(r.clientY-this.startY);nl);var a=e("@swc/helpers/_/_define_property"),i=e("../CollectorService"),s=e("../managers/TouchClickManager");class l{setCurrentElement(e){this.currentElement=e}configure(e){this.maxTextSize=e.maxTextSize}shouldSkipDueToSize(e){return(e.textContent||"").length>this.maxTextSize}processElement(e){e.querySelector("ht-dictionary")||this.shouldSkipDueToSize(e)||(this.processedElements.add(e),this.textRestorer.saveOriginal(e),this.cleanupElement(e),"phrase"===i.WordCollectorService.getInstance().getCollectorMode()?this.prepareElementForPhraseSelection(e):this.prepareElementForWordSelection(e))}cleanupAllProcessedElements(){this.processedElements.forEach(e=>{this.cleanupElement(e)}),this.processedElements.clear()}cleanupElement(e){e.querySelectorAll("ht-dictionary").forEach(e=>{e.replaceWith(document.createTextNode(e.textContent||""))});let t=this.phraseModeListeners.get(e);t&&(e.removeEventListener("mouseenter",t.mouseenter),e.removeEventListener("mouseleave",t.mouseleave),e.removeEventListener("click",t.click),this.phraseModeListeners.delete(e)),e.style.textDecoration=""}prepareElementForPhraseSelection(e){e.style.textDecoration="underline";let t=()=>{e.style.textDecoration="underline"},r=()=>{e.style.textDecoration="none"},n=()=>{let t=e.textContent||"",r=`<<${t}>>`;i.WordCollectorService.getInstance().updateLastSelection(t,r)};this.phraseModeListeners.set(e,{mouseenter:t,mouseleave:r,click:n}),e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",r),e.addEventListener("click",n)}prepareElementForWordSelection(e){var t;let r,n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),o=[];for(;r=n.nextNode();)(null==(t=r.textContent)?void 0:t.trim())&&o.push(r);o.forEach(e=>{this.processTextNode(e)})}processTextNode(e){let t,r=e.parentNode;if(!r||!e.textContent)return;let n=e.textContent,o=/(\S+|\s+)/g,a=0,i=document.createDocumentFragment();for(;null!==(t=o.exec(n));){let[r]=t;if(/^\s+$/.test(r))i.appendChild(document.createTextNode(r));else{let n=this.createWordElement(r,e,t.index);i.appendChild(n)}a=o.lastIndex}a{o.preventDefault(),o.stopPropagation(),document.querySelectorAll("ht-dictionary.active").forEach(e=>{e!==n&&e.classList.remove("active")}),n.classList.toggle("active");let a=t.textContent||"",s=a.substring(0,r),l=a.substring(r+e.length),c=`${s}<<${e}>>${l}`;i.WordCollectorService.getInstance().updateLastSelection(e,c)};return n.addEventListener("click",o),n.addEventListener("touchstart",this.touchClickManager.onTouchStart),n.addEventListener("touchend",e=>{this.touchClickManager.onTouchEnd(e,o)}),n}getFullTextWithMarkedWord(e,t){let r=e.innerText||"",n=`<<${t}>>`;return r.replace(t,n)}getWordClick(e){return e}constructor(e,t=new(0,s.TouchClickManager)){(0,a._)(this,"textRestorer",void 0),(0,a._)(this,"touchClickManager",void 0),(0,a._)(this,"maxTextSize",0),(0,a._)(this,"currentElement",null),(0,a._)(this,"processedElements",new Set),(0,a._)(this,"phraseModeListeners",new WeakMap),this.textRestorer=e,this.touchClickManager=t}}},{"@swc/helpers/_/_define_property":"kJ3aC","../CollectorService":"ptRIP","../managers/TouchClickManager":"73TYo","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],b1Ux3:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ElementMatcher",()=>s);var a=e("@swc/helpers/_/_define_property"),i=e("../../../constants/config");class s{configure(e,t,r){this.exceptions=e,this.clickables=t,this.maxTextSize=r}isMaxTextSize(e){var t,r;return(null!=(r=null==(t=e.innerText)?void 0:t.trim())?r:"").length>this.maxTextSize}isException(e){return this.exceptions.some(t=>e.matches(t)||null!==e.closest(t))}isClickable(e){return this.clickables.some(t=>e.matches(t)||null!==e.closest(t))}shouldSkipElement(e){return!!(this.defaultSkipTags.includes(e.tagName)||e.closest(`.${i.htTranslatorException}, .${i.htAddonsException}`))||this.isInSkipList(e)}isInSkipList(e){return[...this.exceptions,...this.clickables].some(t=>e.matches(t)||null!==e.closest(t))}constructor(){(0,a._)(this,"exceptions",[]),(0,a._)(this,"clickables",[]),(0,a._)(this,"defaultSkipTags",["SCRIPT","STYLE","A","BUTTON","IMG"]),(0,a._)(this,"maxTextSize",800)}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gDvsh:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"TextRestorer",()=>i);var a=e("@swc/helpers/_/_define_property");class i{saveOriginal(e){this.originalTexts.has(e)||this.originalTexts.set(e,e.innerHTML)}restoreForElement(e){this.originalTexts.has(e)&&(e.innerHTML=this.originalTexts.get(e),this.originalTexts.delete(e))}restoreAll(){this.originalTexts.forEach((e,t)=>{t.innerHTML=e}),this.originalTexts.clear()}constructor(){(0,a._)(this,"originalTexts",new Map)}}},{"@swc/helpers/_/_define_property":"kJ3aC","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],b28Vf:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"CursorManager",()=>d);var a=e("@swc/helpers/_/_define_property"),i=e("../../../assets/media/cursor/synonyms.svg"),s=o.interopDefault(i),l=e("../../../assets/media/cursor/sign-language-invalid.svg"),c=o.interopDefault(l),u=e("../../../constants/config");class d{activate(){this.injectStyle(),this.attachListeners()}deactivate(){this.removeStyle(),this.removeListeners()}injectStyle(){if(document.getElementById("ht-custom-cursor-style"))return;let e=document.createElement("style");e.id="ht-custom-cursor-style",e.innerHTML=` .${this.cursorClass} { cursor: url("${s.default}"), auto; } .${this.invalidCursorClass} { cursor: url("${c.default}"), not-allowed; } `,document.head.appendChild(e),this.styleElement=e}removeStyle(){this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}attachListeners(){document.body.addEventListener("mouseover",this.mouseEnterHandler),document.body.addEventListener("mouseout",this.mouseLeaveHandler)}removeListeners(){document.body.removeEventListener("mouseover",this.mouseEnterHandler),document.body.removeEventListener("mouseout",this.mouseLeaveHandler),document.querySelectorAll(`.${this.cursorClass}, .${this.invalidCursorClass}`).forEach(e=>{e.classList.remove(this.cursorClass),e.classList.remove(this.invalidCursorClass);let t=this.removalTimeouts.get(e);void 0!==t&&(clearTimeout(t),this.removalTimeouts.delete(e))})}constructor(e){(0,a._)(this,"elementMatcher",void 0),(0,a._)(this,"cursorClass","ht-synonyms-hover"),(0,a._)(this,"invalidCursorClass","ht-synonyms-invalid-hover"),(0,a._)(this,"styleElement",null),(0,a._)(this,"removalTimeouts",new WeakMap),(0,a._)(this,"mouseEnterHandler",e=>{let t=e.target;if(!(t instanceof HTMLElement))return;let r=this.removalTimeouts.get(t);if(r&&(clearTimeout(r),this.removalTimeouts.delete(t)),t.closest(`.${u.htTranslatorException}, .${u.htAddonsException}`))return;let n=this.elementMatcher.isException(t),o=this.elementMatcher.isClickable(t),a=this.elementMatcher.isMaxTextSize(t);n||a||"IMG"===t.tagName?t.classList.add(this.invalidCursorClass):o||t.classList.add(this.cursorClass)}),(0,a._)(this,"mouseLeaveHandler",e=>{let t=e.target;if(!(t instanceof HTMLElement))return;let r=window.setTimeout(()=>{t.classList.remove(this.cursorClass),t.classList.remove(this.invalidCursorClass),this.removalTimeouts.delete(t)},700);this.removalTimeouts.set(t,r)}),this.elementMatcher=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../../assets/media/cursor/synonyms.svg":"hf857","../../../assets/media/cursor/sign-language-invalid.svg":"fOCCj","../../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hf857:[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCA3MyA3MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03MCAzNi41NzYyQzcwIDU0LjgwMTYgNTUuMjI1NCA2OS41NzYyIDM3IDY5LjU3NjJDMTguNzc0NiA2OS41NzYyIDQgNTQuODAxNiA0IDM2LjU3NjJDNCAzMS41MzY3IDUuMTI5NjEgMjYuNzYxMSA3LjE0OTQ1IDIyLjQ4ODdMNC43MjQ3IDUuOTU4MjNDNC41MzAzNCA0LjYzMzIyIDUuNjY3NzQgMy40OTUyOCA2Ljk5Mjg0IDMuNjg5MDFMMjMuNTY2NSA2LjExMjAyQzIzLjcyNTMgNi4xMzUyMyAyMy44NzQ4IDYuMTc1MTIgMjQuMDE0NCA2LjIyOTNDMjcuOTk5OSA0LjUyMTY1IDMyLjM4OTUgMy41NzYxNyAzNyAzLjU3NjE3QzU1LjIyNTQgMy41NzYxNyA3MCAxOC4zNTA4IDcwIDM2LjU3NjJaIiBmaWxsPSIjMDAzMDg3Ii8+CjxwYXRoIGQ9Ik0zNyA2MS41NzYyQzUwLjgwNzEgNjEuNTc2MiA2MiA1MC4zODMzIDYyIDM2LjU3NjJDNjIgMjIuNzY5MSA1MC44MDcxIDExLjU3NjIgMzcgMTEuNTc2MkMyMy4xOTI5IDExLjU3NjIgMTIgMjIuNzY5MSAxMiAzNi41NzYyQzEyIDUwLjM4MzMgMjMuMTkyOSA2MS41NzYyIDM3IDYxLjU3NjJaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNDYuNjI1IDIzLjQ1MTJDNDMuMjEyNSAyMy40NTEyIDM5LjUzNzUgMjQuMTUxMiAzNyAyNi4wNzYyQzM0LjQ2MjUgMjQuMTUxMiAzMC43ODc1IDIzLjQ1MTIgMjcuMzc1IDIzLjQ1MTJDMjQuODM3NSAyMy40NTEyIDIyLjE0MjUgMjMuODM2MiAxOS44ODUgMjQuODMzN0MxOC42MDc1IDI1LjQxMTIgMTcuNzUgMjYuNjUzNyAxNy43NSAyOC4wNzEyVjQ3LjgxMTJDMTcuNzUgNTAuMDg2MiAxOS44ODUgNTEuNzY2MiAyMi4wOSA1MS4yMDYyQzIzLjgwNSA1MC43Njg3IDI1LjYyNSA1MC41NzYyIDI3LjM3NSA1MC41NzYyQzMwLjEwNSA1MC41NzYyIDMzLjAxIDUxLjAzMTIgMzUuMzU1IDUyLjE4NjJDMzYuNDA1IDUyLjcxMTIgMzcuNTk1IDUyLjcxMTIgMzguNjI3NSA1Mi4xODYyQzQwLjk3MjUgNTEuMDEzNyA0My44Nzc1IDUwLjU3NjIgNDYuNjA3NSA1MC41NzYyQzQ4LjM1NzUgNTAuNTc2MiA1MC4xNzc1IDUwLjc2ODcgNTEuODkyNSA1MS4yMDYyQzU0LjA5NzUgNTEuNzgzNyA1Ni4yMzI1IDUwLjEwMzcgNTYuMjMyNSA0Ny44MTEyVjI4LjA3MTJDNTYuMjMyNSAyNi42NTM3IDU1LjM3NSAyNS40MTEyIDU0LjA5NzUgMjQuODMzN0M1MS44NTc1IDIzLjgzNjIgNDkuMTYyNSAyMy40NTEyIDQ2LjYyNSAyMy40NTEyWk01Mi43NSA0NS43Mjg3QzUyLjc1IDQ2LjgzMTIgNTEuNzM1IDQ3LjYzNjIgNTAuNjUgNDcuNDQzN0M0OS4zMzc1IDQ3LjE5ODcgNDcuOTcyNSA0Ny4wOTM3IDQ2LjYyNSA0Ny4wOTM3QzQzLjY1IDQ3LjA5MzcgMzkuMzYyNSA0OC4yMzEyIDM3IDQ5LjcxODdWMjkuNTc2MkMzOS4zNjI1IDI4LjA4ODcgNDMuNjUgMjYuOTUxMiA0Ni42MjUgMjYuOTUxMkM0OC4yMzUgMjYuOTUxMiA0OS44Mjc1IDI3LjEwODcgNTEuMzUgMjcuNDQxMkM1Mi4xNTUgMjcuNjE2MiA1Mi43NSAyOC4zMzM3IDUyLjc1IDI5LjE1NjJWNDUuNzI4N1oiIGZpbGw9IiMwMDMwODciLz4KPHBhdGggZD0iTTQ1LjcxNzIgMzMuMzQxMkw0Ni45NzI3IDM2LjA2NzlMNDkuNzUzOCAzNy4zMTQ0QzUwLjM3MzYgMzcuNTk0OSA1MC4zNzM2IDM4LjQ1MTggNDkuNzUzOCAzOC43MzIzTDQ2Ljk1NjggMzkuOTYzMkw0NS43MDEzIDQyLjY4OTlDNDUuNDE1MiA0My4yOTc2IDQ0LjU0MTEgNDMuMjk3NiA0NC4yNTUxIDQyLjY4OTlMNDIuOTk5NiAzOS45NDc2TDQwLjIxODQgMzguNzE2N0MzOS41OTg2IDM4LjQzNjIgMzkuNTk4NiAzNy41NzkzIDQwLjIxODQgMzcuMjk4OEw0My4wMTU1IDM2LjA2NzlMNDQuMjcxIDMzLjM0MTJDNDQuNTU3IDMyLjczMzUgNDUuNDMxMSAzMi43MzM1IDQ1LjcxNzIgMzMuMzQxMloiIGZpbGw9IiMwMDMwODciLz4KPC9zdmc+Cg=="},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dlq9K:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"DOMObserver",()=>i);var a=e("@swc/helpers/_/_define_property");class i{start(){this.observer||(this.observer=new MutationObserver(()=>{this.handleMutation()}),this.observer.observe(document.body,{childList:!0,subtree:!0}))}stop(){var e;null==(e=this.observer)||e.disconnect(),this.observer=null,this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null)}handleMutation(){this.debounceTimer||(this.debounceTimer=window.setTimeout(()=>{this.onDOMChange(),this.debounceTimer=null},100))}constructor(e){(0,a._)(this,"onDOMChange",void 0),(0,a._)(this,"observer",null),(0,a._)(this,"debounceTimer",null),this.onDOMChange=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3pzqt":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"SetReaderModeCommand",()=>p);var a=e("@swc/helpers/_/_define_property"),i=e("../../services/domUtils"),s=e("../../services/articleService"),l=e("../../services/domTypographyService"),c=e("../../services/appActivator"),u=e("../../constants/config"),d=e("../../stores/useHTGlobalStore");class p{constructor(e){(0,a._)(this,"newReaderModeState",void 0),(0,a._)(this,"previousReaderModeState",null),(0,a._)(this,"execute",async()=>{let e=s.domToArticle(document);this.newReaderModeState>0?i.toggleVisibility(!1):i.toggleVisibility(!0);let{setState:t,getState:r}=d.useHTGlobalStore;await t({readerModeState:this.newReaderModeState,readerModeArticle:e}),s.setReaderModeValue(this.newReaderModeState.toString());let{fontSizeScaleState:n,lineHeightScaleState:o,letterSpacingScaleState:a}=r(),p="none"===n?0:n,h="none"===o?0:o,g="none"===a?0:a;(0,l.clearHtStyleCache)(u.readerModeViewId),p>0&&l.updateFontSize(p),h>0&&l.updateLineHeight(h),g>0&&l.updateLetterSpacing(g),c.appActivator.handleAddon()}),(0,a._)(this,"undo",async()=>{if(null!==this.previousReaderModeState){let e=new p(this.previousReaderModeState);await e.execute()}}),this.newReaderModeState=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../services/domUtils":"1UlS3","../../services/articleService":"3bbQo","../../services/domTypographyService":"6ZP8g","../../services/appActivator":"eOZgV","../../constants/config":"kqbjQ","../../stores/useHTGlobalStore":"aSfyl","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3bbQo":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"domToArticle",()=>p),o.export(r,"domValidateReaderMode",()=>h),o.export(r,"getReaderModeValue",()=>g),o.export(r,"setReaderModeValue",()=>f);var a=e("@mozilla/readability"),i=e("dompurify"),s=o.interopDefault(i),l=e("../domUtils");let c={minContentLength:140,minScore:20},u="HTReaderMode",d={},p=e=>{let t=e.cloneNode(!0),r=new(0,a.Readability)(t,d).parse();if(!r)return console.error("Failed to parse article with Readability."),null;let n=(0,l.removeIDsFromString)(r.content);return{content:s.default.sanitize(n),title:s.default.sanitize(r.title||"")}},h=e=>{let t=e.cloneNode(!0);return(0,a.isProbablyReaderable)(t,c)},g=()=>parseInt(sessionStorage.getItem(u)||"0"),f=e=>{sessionStorage.setItem(u,e)}},{"@mozilla/readability":"2OLvC",dompurify:"4rVRq","../domUtils":"1UlS3","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2OLvC":[function(e,t,r,n){t.exports={Readability:e("fedf4f7859acea41"),isProbablyReaderable:e("af50fc1693e2d302")}},{fedf4f7859acea41:"g7EVZ",af50fc1693e2d302:"8zFIN"}],g7EVZ:[function(e,t,r,n){function o(e,t){if(t&&t.documentElement)e=t,t=arguments[2];else if(!e||!e.documentElement)throw Error("First argument to Readability constructor should be a document object.");if(t=t||{},this._doc=e,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._metadata={},this._debug=!!t.debug,this._maxElemsToParse=t.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=t.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=t.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(t.classesToPreserve||[]),this._keepClasses=!!t.keepClasses,this._serializer=t.serializer||function(e){return e.innerHTML},this._disableJSONLD=!!t.disableJSONLD,this._allowedVideoRegex=t.allowedVideoRegex||this.REGEXPS.videos,this._linkDensityModifier=t.linkDensityModifier||0,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug){let e=function(e){if(e.nodeType==e.TEXT_NODE)return`${e.nodeName} ("${e.textContent}")`;let t=Array.from(e.attributes||[],function(e){return`${e.name}="${e.value}"`}).join(" ");return`<${e.localName} ${t}>`};this.log=function(){if("u">typeof console){let t=Array.from(arguments,t=>t&&t.nodeType==this.ELEMENT_NODE?e(t):t);t.unshift("Reader: (Readability)"),console.log(...t)}else if("u">typeof dump){var t=Array.prototype.map.call(arguments,function(t){return t&&t.nodeName?e(t):t}).join(" ");dump("Reader: (Readability) "+t+"\n")}}}else this.log=function(){}}o.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4,ELEMENT_NODE:1,TEXT_NODE:3,DEFAULT_MAX_ELEMS_TO_PARSE:0,DEFAULT_N_TOP_CANDIDATES:5,DEFAULT_TAGS_TO_SCORE:"SECTION,H2,H3,H4,H5,H6,P,TD,PRE".split(","),DEFAULT_CHAR_THRESHOLD:500,REGEXPS:{unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/-ad-|hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|footer|gdpr|masthead|media|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,tokenize:/\W+/g,whitespace:/^\s*$/,hasContent:/\S$/,hashUrl:/^#.+/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i,commas:/\u002C|\u060C|\uFE50|\uFE10|\uFE11|\u2E41|\u2E34|\u2E32|\uFF0C/g,jsonLdArticleTypes:/^Article|AdvertiserContentArticle|NewsArticle|AnalysisNewsArticle|AskPublicNewsArticle|BackgroundNewsArticle|OpinionNewsArticle|ReportageNewsArticle|ReviewNewsArticle|Report|SatiricalArticle|ScholarlyArticle|MedicalScholarlyArticle|SocialMediaPosting|BlogPosting|LiveBlogPosting|DiscussionForumPosting|TechArticle|APIReference$/,adWords:RegExp("^(ad(vertising|vertisement)?|pub(licité)?|werb(ung)?|广告|Реклама|Anuncio)$","iu"),loadingWords:RegExp("^((loading|正在加载|Загрузка|chargement|cargando)(…|\\.\\.\\.)?)$","iu")},UNLIKELY_ROLES:["menu","menubar","complementary","navigation","alert","alertdialog","dialog"],DIV_TO_P_ELEMS:new Set(["BLOCKQUOTE","DL","DIV","IMG","OL","P","PRE","TABLE","UL"]),ALTER_TO_DIV_EXCEPTIONS:["DIV","ARTICLE","SECTION","P","OL","UL"],PRESENTATIONAL_ATTRIBUTES:["align","background","bgcolor","border","cellpadding","cellspacing","frame","hspace","rules","style","valign","vspace"],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:["TABLE","TH","TD","HR","PRE"],PHRASING_ELEMS:["ABBR","AUDIO","B","BDO","BR","BUTTON","CITE","CODE","DATA","DATALIST","DFN","EM","EMBED","I","IMG","INPUT","KBD","LABEL","MARK","MATH","METER","NOSCRIPT","OBJECT","OUTPUT","PROGRESS","Q","RUBY","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","VAR","WBR"],CLASSES_TO_PRESERVE:["page"],HTML_ESCAPE_MAP:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},_postProcessContent(e){this._fixRelativeUris(e),this._simplifyNestedElements(e),this._keepClasses||this._cleanClasses(e)},_removeNodes(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error("Do not pass live node lists to _removeNodes");for(var r=e.length-1;r>=0;r--){var n=e[r],o=n.parentNode;o&&(!t||t.call(this,n,r,e))&&o.removeChild(n)}},_replaceNodeTags(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error("Do not pass live node lists to _replaceNodeTags");for(let r of e)this._setNodeTag(r,t)},_forEachNode(e,t){Array.prototype.forEach.call(e,t,this)},_findNode(e,t){return Array.prototype.find.call(e,t,this)},_someNode(e,t){return Array.prototype.some.call(e,t,this)},_everyNode(e,t){return Array.prototype.every.call(e,t,this)},_getAllNodesWithTag:(e,t)=>e.querySelectorAll?e.querySelectorAll(t.join(",")):[].concat.apply([],t.map(function(t){var r=e.getElementsByTagName(t);return Array.isArray(r)?r:Array.from(r)})),_cleanClasses(e){var t=this._classesToPreserve,r=(e.getAttribute("class")||"").split(/\s+/).filter(e=>t.includes(e)).join(" ");for(r?e.setAttribute("class",r):e.removeAttribute("class"),e=e.firstElementChild;e;e=e.nextElementSibling)this._cleanClasses(e)},_isUrl(e){try{return new URL(e),!0}catch(e){return!1}},_fixRelativeUris(e){var t=this._doc.baseURI,r=this._doc.documentURI;function n(e){if(t==r&&"#"==e.charAt(0))return e;try{return new URL(e,t).href}catch(e){}return e}var o=this._getAllNodesWithTag(e,["a"]);this._forEachNode(o,function(e){var t=e.getAttribute("href");if(t)if(0===t.indexOf("javascript:"))if(1===e.childNodes.length&&e.childNodes[0].nodeType===this.TEXT_NODE){var r=this._doc.createTextNode(e.textContent);e.parentNode.replaceChild(r,e)}else{for(var o=this._doc.createElement("span");e.firstChild;)o.appendChild(e.firstChild);e.parentNode.replaceChild(o,e)}else e.setAttribute("href",n(t))});var a=this._getAllNodesWithTag(e,["img","picture","figure","video","audio","source"]);this._forEachNode(a,function(e){var t=e.getAttribute("src"),r=e.getAttribute("poster"),o=e.getAttribute("srcset");if(t&&e.setAttribute("src",n(t)),r&&e.setAttribute("poster",n(r)),o){var a=o.replace(this.REGEXPS.srcsetUrl,function(e,t,r,o){return n(t)+(r||"")+o});e.setAttribute("srcset",a)}})},_simplifyNestedElements(e){for(var t=e;t;){if(t.parentNode&&["DIV","SECTION"].includes(t.tagName)&&!(t.id&&t.id.startsWith("readability"))){if(this._isElementWithoutContent(t)){t=this._removeAndGetNext(t);continue}else if(this._hasSingleTagInsideElement(t,"DIV")||this._hasSingleTagInsideElement(t,"SECTION")){for(var r=t.children[0],n=0;n»] /.test(t)){n=/ [\\\/>»] /.test(t);let e=Array.from(r.matchAll(/ [\|\-\\\/>»] /gi));3>o(t=r.substring(0,e.pop().index))&&(t=r.replace(/^[^\|\-\\\/>»]*[\|\-\\\/>»]/gi,""))}else if(t.includes(": ")){var a=this._getAllNodesWithTag(e,["h1","h2"]),i=t.trim();!this._someNode(a,function(e){return e.textContent.trim()===i})&&(3>o(t=r.substring(r.lastIndexOf(":")+1))?t=r.substring(r.indexOf(":")+1):o(r.substr(0,r.indexOf(":")))>5&&(t=r))}else if(t.length>150||t.length<15){var s=e.getElementsByTagName("h1");1===s.length&&(t=this._getInnerText(s[0]))}var l=o(t=t.trim().replace(this.REGEXPS.normalize," "));return l<=4&&(!n||l!=o(r.replace(/[\|\-\\\/>»]+/g,""))-1)&&(t=r),t},_prepDocument(){var e=this._doc;this._removeNodes(this._getAllNodesWithTag(e,["style"])),e.body&&this._replaceBrs(e.body),this._replaceNodeTags(this._getAllNodesWithTag(e,["font"]),"SPAN")},_nextNode(e){for(var t=e;t&&t.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(t.textContent);)t=t.nextSibling;return t},_replaceBrs(e){this._forEachNode(this._getAllNodesWithTag(e,["br"]),function(e){for(var t=e.nextSibling,r=!1;(t=this._nextNode(t))&&"BR"==t.tagName;){r=!0;var n=t.nextSibling;t.remove(),t=n}if(r){var o=this._doc.createElement("p");for(e.parentNode.replaceChild(o,e),t=o.nextSibling;t;){if("BR"==t.tagName){var a=this._nextNode(t.nextSibling);if(a&&"BR"==a.tagName)break}if(!this._isPhrasingContent(t))break;var i=t.nextSibling;o.appendChild(t),t=i}for(;o.lastChild&&this._isWhitespace(o.lastChild);)o.lastChild.remove();"P"===o.parentNode.tagName&&this._setNodeTag(o.parentNode,"DIV")}})},_setNodeTag(e,t){if(this.log("_setNodeTag",e,t),this._docJSDOMParser)return e.localName=t.toLowerCase(),e.tagName=t.toUpperCase(),e;for(var r=e.ownerDocument.createElement(t);e.firstChild;)r.appendChild(e.firstChild);e.parentNode.replaceChild(r,e),e.readability&&(r.readability=e.readability);for(var n=0;n!r.includes(e)).join(" ").length/n.join(" ").length:0},_isValidByline(e,t){var r=e.getAttribute("rel"),n=e.getAttribute("itemprop"),o=e.textContent.trim().length;return("author"===r||n&&n.includes("author")||this.REGEXPS.byline.test(t))&&!!o&&o<100},_getNodeAncestors(e,t){t=t||0;for(var r=0,n=[];e.parentNode&&(n.push(e.parentNode),!t||++r!==t);)e=e.parentNode;return n},_grabArticle(e){this.log("**** grabArticle ****");var t=this._doc,r=null!==e;if(!(e=e||this._doc.body))return this.log("No body found in document. Abort."),null;for(var n=e.innerHTML;;){this.log("Starting grabArticle loop");var o,a=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),i=[],s=this._doc.documentElement;let Z=!0;for(;s;){"HTML"===s.tagName&&(this._articleLang=s.getAttribute("lang"));var l=s.className+" "+s.id;if(!this._isProbablyVisible(s)){this.log("Removing hidden node - "+l),s=this._removeAndGetNext(s);continue}if("true"==s.getAttribute("aria-modal")&&"dialog"==s.getAttribute("role")){s=this._removeAndGetNext(s);continue}if(!this._articleByline&&!this._metadata.byline&&this._isValidByline(s,l)){for(var c=this._getNextNode(s,!0),u=this._getNextNode(s),d=null;u&&u!=c;){var p=u.getAttribute("itemprop");if(p&&p.includes("name")){d=u;break}u=this._getNextNode(u)}this._articleByline=(null!=d?d:s).textContent.trim(),s=this._removeAndGetNext(s);continue}if(Z&&this._headerDuplicatesTitle(s)){this.log("Removing header: ",s.textContent.trim(),this._articleTitle.trim()),Z=!1,s=this._removeAndGetNext(s);continue}if(a){if(this.REGEXPS.unlikelyCandidates.test(l)&&!this.REGEXPS.okMaybeItsACandidate.test(l)&&!this._hasAncestorTag(s,"table")&&!this._hasAncestorTag(s,"code")&&"BODY"!==s.tagName&&"A"!==s.tagName){this.log("Removing unlikely candidate - "+l),s=this._removeAndGetNext(s);continue}if(this.UNLIKELY_ROLES.includes(s.getAttribute("role"))){this.log("Removing content with role "+s.getAttribute("role")+" - "+l),s=this._removeAndGetNext(s);continue}}if(("DIV"===s.tagName||"SECTION"===s.tagName||"HEADER"===s.tagName||"H1"===s.tagName||"H2"===s.tagName||"H3"===s.tagName||"H4"===s.tagName||"H5"===s.tagName||"H6"===s.tagName)&&this._isElementWithoutContent(s)){s=this._removeAndGetNext(s);continue}if(this.DEFAULT_TAGS_TO_SCORE.includes(s.tagName)&&i.push(s),"DIV"===s.tagName){for(var h=null,g=s.firstChild;g;){var f=g.nextSibling;if(this._isPhrasingContent(g))null!==h?h.appendChild(g):this._isWhitespace(g)||(h=t.createElement("p"),s.replaceChild(h,g),h.appendChild(g));else if(null!==h){for(;h.lastChild&&this._isWhitespace(h.lastChild);)h.lastChild.remove();h=null}g=f}if(this._hasSingleTagInsideElement(s,"P")&&.25>this._getLinkDensity(s)){var m=s.children[0];s.parentNode.replaceChild(m,s),s=m,i.push(s)}else this._hasChildBlockElement(s)||(s=this._setNodeTag(s,"P"),i.push(s))}s=this._getNextNode(s)}var y=[];this._forEachNode(i,function(e){if(e.parentNode&&void 0!==e.parentNode.tagName){var t,r=this._getInnerText(e);if(!(r.length<25)){var n=this._getNodeAncestors(e,5);0!==n.length&&(t=1+r.split(this.REGEXPS.commas).length+Math.min(Math.floor(r.length/100),3),this._forEachNode(n,function(e,r){if(e.tagName&&e.parentNode&&void 0!==e.parentNode.tagName){if(void 0===e.readability&&(this._initializeNode(e),y.push(e)),0===r)var n=1;else n=1===r?2:3*r;e.readability.contentScore+=t/n}}))}}});for(var v=[],M=0,_=y.length;M<_;M+=1){var S=y[M],N=S.readability.contentScore*(1-this._getLinkDensity(S));S.readability.contentScore=N,this.log("Candidate:",S,"with score "+N);for(var x=0;xA.readability.contentScore){v.splice(x,0,S),v.length>this._nbTopCandidates&&v.pop();break}}}var j=v[0]||null,T=!1;if(null===j||"BODY"===j.tagName){for(j=t.createElement("DIV"),T=!0;e.firstChild;)this.log("Moving child out:",e.firstChild),j.appendChild(e.firstChild);e.appendChild(j),this._initializeNode(j)}else if(j){for(var b=[],C=1;C=.75&&b.push(this._getNodeAncestors(v[C]));if(b.length>=3)for(o=j.parentNode;"BODY"!==o.tagName;){for(var D=0,I=0;I=3){j=o;break}o=o.parentNode}j.readability||this._initializeNode(j),o=j.parentNode;for(var L=j.readability.contentScore,w=L/3;"BODY"!==o.tagName;){if(!o.readability){o=o.parentNode;continue}var E=o.readability.contentScore;if(EL){j=o;break}L=o.readability.contentScore,o=o.parentNode}for(o=j.parentNode;"BODY"!=o.tagName&&1==o.children.length;)o=(j=o).parentNode;j.readability||this._initializeNode(j)}var z=t.createElement("DIV");r&&(z.id="readability-content");for(var k=Math.max(10,.2*j.readability.contentScore),O=(o=j.parentNode).children,U=0,R=O.length;U=k)Q=!0;else if("P"===P.nodeName){var F=this._getLinkDensity(P),Y=this._getInnerText(P),B=Y.length;B>80&&F<.25?Q=!0:B<80&&B>0&&0===F&&-1!==Y.search(/\.( |$)/)&&(Q=!0)}}Q&&(this.log("Appending node:",P),this.ALTER_TO_DIV_EXCEPTIONS.includes(P.nodeName)||(this.log("Altering sibling:",P,"to div."),P=this._setNodeTag(P,"DIV")),z.appendChild(P),O=o.children,U-=1,R-=1)}if(this._debug&&this.log("Article content pre-prep: "+z.innerHTML),this._prepArticle(z),this._debug&&this.log("Article content post-prep: "+z.innerHTML),T)j.id="readability-page-1",j.className="page";else{var G=t.createElement("DIV");for(G.id="readability-page-1",G.className="page";z.firstChild;)G.appendChild(z.firstChild);z.appendChild(G)}this._debug&&this.log("Article content after paging: "+z.innerHTML);var $=!0,V=this._getInnerText(z,!0).length;if(V1114111||n>=55296&&n<=57343)&&(n=65533),String.fromCodePoint(n)})},_getJSONLD(e){var t,r=this._getAllNodesWithTag(e,["script"]);return this._forEachNode(r,function(e){if(!t&&"application/ld+json"===e.getAttribute("type"))try{var r=e.textContent.replace(/^\s*\s*$/g,""),n=JSON.parse(r);if(Array.isArray(n)&&!(n=n.find(e=>e["@type"]&&e["@type"].match(this.REGEXPS.jsonLdArticleTypes))))return;var o=/^https?\:\/\/schema\.org\/?$/;if(!("string"==typeof n["@context"]&&n["@context"].match(o)||"object"==typeof n["@context"]&&"string"==typeof n["@context"]["@vocab"]&&n["@context"]["@vocab"].match(o))||(!n["@type"]&&Array.isArray(n["@graph"])&&(n=n["@graph"].find(e=>(e["@type"]||"").match(this.REGEXPS.jsonLdArticleTypes))),!n||!n["@type"]||!n["@type"].match(this.REGEXPS.jsonLdArticleTypes)))return;if(t={},"string"==typeof n.name&&"string"==typeof n.headline&&n.name!==n.headline){var a=this._getArticleTitle(),i=this._textSimilarity(n.name,a)>.75;this._textSimilarity(n.headline,a)>.75&&!i?t.title=n.headline:t.title=n.name}else"string"==typeof n.name?t.title=n.name.trim():"string"==typeof n.headline&&(t.title=n.headline.trim());n.author&&("string"==typeof n.author.name?t.byline=n.author.name.trim():Array.isArray(n.author)&&n.author[0]&&"string"==typeof n.author[0].name&&(t.byline=n.author.filter(function(e){return e&&"string"==typeof e.name}).map(function(e){return e.name.trim()}).join(", "))),"string"==typeof n.description&&(t.excerpt=n.description.trim()),n.publisher&&"string"==typeof n.publisher.name&&(t.siteName=n.publisher.name.trim()),"string"==typeof n.datePublished&&(t.datePublished=n.datePublished.trim())}catch(e){this.log(e.message)}}),t||{}},_getArticleMetadata(e){var t={},r={},n=this._doc.getElementsByTagName("meta"),o=/\s*(article|dc|dcterm|og|twitter)\s*:\s*(author|creator|description|published_time|title|site_name)\s*/gi,a=/^\s*(?:(dc|dcterm|og|twitter|parsely|weibo:(article|webpage))\s*[-\.:]\s*)?(author|creator|pub-date|description|title|site_name)\s*$/i;this._forEachNode(n,function(e){var t=e.getAttribute("name"),n=e.getAttribute("property"),i=e.getAttribute("content");if(i){var s=null,l=null;n&&(s=n.match(o))&&(r[l=s[0].toLowerCase().replace(/\s/g,"")]=i.trim()),!s&&t&&a.test(t)&&(l=t,i&&(r[l=l.toLowerCase().replace(/\s/g,"").replace(/\./g,":")]=i.trim()))}}),t.title=e.title||r["dc:title"]||r["dcterm:title"]||r["og:title"]||r["weibo:article:title"]||r["weibo:webpage:title"]||r.title||r["twitter:title"]||r["parsely-title"],t.title||(t.title=this._getArticleTitle());let i="string"!=typeof r["article:author"]||this._isUrl(r["article:author"])?void 0:r["article:author"];return t.byline=e.byline||r["dc:creator"]||r["dcterm:creator"]||r.author||r["parsely-author"]||i,t.excerpt=e.excerpt||r["dc:description"]||r["dcterm:description"]||r["og:description"]||r["weibo:article:description"]||r["weibo:webpage:description"]||r.description||r["twitter:description"],t.siteName=e.siteName||r["og:site_name"],t.publishedTime=e.datePublished||r["article:published_time"]||r["parsely-pub-date"]||null,t.title=this._unescapeHtmlEntities(t.title),t.byline=this._unescapeHtmlEntities(t.byline),t.excerpt=this._unescapeHtmlEntities(t.excerpt),t.siteName=this._unescapeHtmlEntities(t.siteName),t.publishedTime=this._unescapeHtmlEntities(t.publishedTime),t},_isSingleImage(e){for(;e;){if("IMG"===e.tagName)return!0;if(1!==e.children.length||""!==e.textContent.trim())break;e=e.children[0]}return!1},_unwrapNoscriptImages(e){var t=Array.from(e.getElementsByTagName("img"));this._forEachNode(t,function(e){for(var t=0;t0)||!(o>r));){if(e.parentNode.tagName===t&&(!n||n(e.parentNode)))return!0;e=e.parentNode,o++}return!1},_getRowAndColumnCount(e){for(var t=0,r=0,n=e.getElementsByTagName("tr"),o=0;o=10||a.columns>4){n._readabilityDataTable=!0;continue}n._readabilityDataTable=a.rows*a.columns>10}},_fixLazyImages(e){this._forEachNode(this._getAllNodesWithTag(e,["img","picture","figure"]),function(e){if(e.src&&this.REGEXPS.b64DataUrl.test(e.src)){var t=this.REGEXPS.b64DataUrl.exec(e.src);if("image/svg+xml"===t[1])return;for(var r=!1,n=0;nn+=this._getInnerText(e,!0).length),n/r},_cleanConditionally(e,t){this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)&&this._removeNodes(this._getAllNodesWithTag(e,[t]),function(e){var r=function(e){return e._readabilityDataTable},n="ul"===t||"ol"===t;if(!n){var o=0,a=this._getAllNodesWithTag(e,["ul","ol"]);this._forEachNode(a,e=>o+=this._getInnerText(e).length),n=o/this._getInnerText(e).length>.9}if("table"===t&&r(e)||this._hasAncestorTag(e,"table",-1,r)||this._hasAncestorTag(e,"code")||[...e.getElementsByTagName("table")].some(e=>e._readabilityDataTable))return!1;var i=this._getClassWeight(e);if(this.log("Cleaning Conditionally",e),i+0<0)return!0;if(10>this._getCharCount(e,",")){let t;for(var s=e.getElementsByTagName("p").length,l=e.getElementsByTagName("img").length,c=e.getElementsByTagName("li").length-100,u=e.getElementsByTagName("input").length,d=this._getTextDensity(e,["h1","h2","h3","h4","h5","h6"]),p=0,h=this._getAllNodesWithTag(e,["object","embed","iframe"]),g=0;g1&&s/l<.5&&t.push(`Bad p to img ratio (img=${l}, p=${s})`),!n&&c>s&&t.push(`Too many li's outside of a list. (li=${c} > p=${s})`),u>Math.floor(s/3)&&t.push(`Too many inputs per p. (input=${u}, p=${s})`),!n&&!S&&d<.9&&y<25&&(0===l||l>2)&&v>0&&t.push(`Suspiciously short. (headingDensity=${d}, img=${l}, linkDensity=${v})`),!n&&i<25&&v>.2+this._linkDensityModifier&&t.push(`Low weight and a little linky. (linkDensity=${v})`),i>=25&&v>.5+this._linkDensityModifier&&t.push(`High weight and mostly links. (linkDensity=${v})`),(1===p&&y<75||p>1)&&t.push(`Suspicious embed. (embedCount=${p}, contentLength=${y})`),0===l&&0===_&&t.push(`No useful content. (img=${l}, textDensity=${_})`),!!t.length&&(this.log("Checks failed",t),!0));if(n&&N){for(var x=0;x1)return N;if(l==e.getElementsByTagName("li").length)return!1}return N}return!1})},_cleanMatchedNodes(e,t){for(var r=this._getNextNode(e,!0),n=this._getNextNode(e);n&&n!=r;)n=t.call(this,n,n.className+" "+n.id)?this._removeAndGetNext(n):this._getNextNode(n)},_cleanHeaders(e){let t=this._getAllNodesWithTag(e,["h1","h2"]);this._removeNodes(t,function(e){let t=0>this._getClassWeight(e);return t&&this.log("Removing header with low class weight:",e),t})},_headerDuplicatesTitle(e){if("H1"!=e.tagName&&"H2"!=e.tagName)return!1;var t=this._getInnerText(e,!1);return this.log("Evaluating similarity of header:",t,this._articleTitle),this._textSimilarity(this._articleTitle,t)>.75},_flagIsActive(e){return(this._flags&e)>0},_removeFlag(e){this._flags=this._flags&~e},_isProbablyVisible:e=>(!e.style||"none"!=e.style.display)&&(!e.style||"hidden"!=e.style.visibility)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.includes&&e.className.includes("fallback-image")),parse(){if(this._maxElemsToParse>0){var e=this._doc.getElementsByTagName("*").length;if(e>this._maxElemsToParse)throw Error("Aborting parsing document; "+e+" elements found")}this._unwrapNoscriptImages(this._doc);var t=this._disableJSONLD?{}:this._getJSONLD(this._doc);this._removeScripts(this._doc),this._prepDocument();var r=this._getArticleMetadata(t);this._metadata=r,this._articleTitle=r.title;var n=this._grabArticle();if(!n)return null;if(this.log("Grabbed: "+n.innerHTML),this._postProcessContent(n),!r.excerpt){var o=n.getElementsByTagName("p");o.length&&(r.excerpt=o[0].textContent.trim())}var a=n.textContent;return{title:this._articleTitle,byline:r.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(n),textContent:a,length:a.length,excerpt:r.excerpt,siteName:r.siteName||this._articleSiteName,publishedTime:r.publishedTime}}},t.exports=o},{}],"8zFIN":[function(e,t,r,n){var o=/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,a=/and|article|body|column|content|main|shadow/i;function i(e){return(!e.style||"none"!=e.style.display)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.includes&&e.className.includes("fallback-image"))}t.exports=function(e,t={}){"function"==typeof t&&(t={visibilityChecker:t}),t=Object.assign({minScore:20,minContentLength:140,visibilityChecker:i},t);var r=e.querySelectorAll("p, pre, article"),n=e.querySelectorAll("div > br");if(n.length){var s=new Set(r);[].forEach.call(n,function(e){s.add(e.parentNode)}),r=Array.from(s)}var l=0;return[].some.call(r,function(e){if(!t.visibilityChecker(e))return!1;var r=e.className+" "+e.id;if(o.test(r)&&!a.test(r)||e.matches("li p"))return!1;var n=e.textContent.trim().length;return!(nt.minScore})}},{}],"4rVRq":[function(e,t,r,n){t.exports=function(){"use strict";let{entries:e,setPrototypeOf:t,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:o}=Object,{freeze:a,seal:i,create:s}=Object,{apply:l,construct:c}="u">typeof Reflect&&Reflect;a||(a=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o1?t-1:0),n=1;n1?r-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let a=n.length;for(;a--;){let t=n[a];if("string"==typeof t){let e=o(t);e!==t&&(r(n)||(n[a]=e),t=e)}e[t]=!0}return e}function T(t){let r=s(null);for(let[n,o]of e(t))S(t,n)&&(Array.isArray(o)?r[n]=function(e){for(let t=0;t/gm),H=i(/\$\{[\w\W]*/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=i(/^aria-[\-\w]+$/),B=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=i(/^(?:\w+script|data):/i),$=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=i(/^html$/i);var W,Z=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:i(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:F,DOCTYPE_NAME:V,ERB_EXPR:Q,IS_ALLOWED_URI:B,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:P,TMPLIT_EXPR:H});let q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},K=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};return function t(){let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"t(e);if(o.version="3.3.1",o.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return o.isSupported=!1,o;let{document:i}=n,l=i,c=l.currentScript,{DocumentFragment:A,HTMLTemplateElement:P,Node:Q,Element:H,NodeFilter:F,NamedNodeMap:Y=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:G,DOMParser:$,trustedTypes:W}=n,J=H.prototype,X=b(J,"cloneNode"),ee=b(J,"remove"),et=b(J,"nextSibling"),er=b(J,"childNodes"),en=b(J,"parentNode");if("function"==typeof P){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let eo="",{implementation:ea,createNodeIterator:ei,createDocumentFragment:es,getElementsByTagName:el}=i,{importNode:ec}=l,eu=K();o.isSupported="function"==typeof e&&"function"==typeof en&&ea&&void 0!==ea.createHTMLDocument;let{MUSTACHE_EXPR:ed,ERB_EXPR:ep,TMPLIT_EXPR:eh,DATA_ATTR:eg,ARIA_ATTR:ef,IS_SCRIPT_OR_DATA:em,ATTR_WHITESPACE:ey,CUSTOM_ELEMENT:ev}=Z,{IS_ALLOWED_URI:eM}=Z,e_=null,eS=j({},[...C,...D,...I,...w,...z]),eN=null,ex=j({},[...k,...O,...U,...R]),eA=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ej=null,eT=null,eb=Object.seal(s(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eC=!0,eD=!0,eI=!1,eL=!0,ew=!1,eE=!0,ez=!1,ek=!1,eO=!1,eU=!1,eR=!1,eP=!1,eQ=!0,eH=!1,eF=!0,eY=!1,eB={},eG=null,e$=j({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eV=null,eW=j({},["audio","video","img","source","image","track"]),eZ=null,eq=j({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eK="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eX="http://www.w3.org/1999/xhtml",e0=eX,e1=!1,e4=null,e2=j({},[eK,eJ,eX],m),e5=j({},["mi","mo","mn","ms","mtext"]),e3=j({},["annotation-xml"]),e9=j({},["title","style","font","a","script"]),e8=null,e6=["application/xhtml+xml","text/html"],e7=null,te=null,tt=i.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},tn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=T(e),e7="application/xhtml+xml"===(e8=-1===e6.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?m:f,e_=S(e,"ALLOWED_TAGS")?j({},e.ALLOWED_TAGS,e7):eS,eN=S(e,"ALLOWED_ATTR")?j({},e.ALLOWED_ATTR,e7):ex,e4=S(e,"ALLOWED_NAMESPACES")?j({},e.ALLOWED_NAMESPACES,m):e2,eZ=S(e,"ADD_URI_SAFE_ATTR")?j(T(eq),e.ADD_URI_SAFE_ATTR,e7):eq,eV=S(e,"ADD_DATA_URI_TAGS")?j(T(eW),e.ADD_DATA_URI_TAGS,e7):eW,eG=S(e,"FORBID_CONTENTS")?j({},e.FORBID_CONTENTS,e7):e$,ej=S(e,"FORBID_TAGS")?j({},e.FORBID_TAGS,e7):T({}),eT=S(e,"FORBID_ATTR")?j({},e.FORBID_ATTR,e7):T({}),eB=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,eC=!1!==e.ALLOW_ARIA_ATTR,eD=!1!==e.ALLOW_DATA_ATTR,eI=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eL=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ew=e.SAFE_FOR_TEMPLATES||!1,eE=!1!==e.SAFE_FOR_XML,ez=e.WHOLE_DOCUMENT||!1,eU=e.RETURN_DOM||!1,eR=e.RETURN_DOM_FRAGMENT||!1,eP=e.RETURN_TRUSTED_TYPE||!1,eO=e.FORCE_BODY||!1,eQ=!1!==e.SANITIZE_DOM,eH=e.SANITIZE_NAMED_PROPS||!1,eF=!1!==e.KEEP_CONTENT,eY=e.IN_PLACE||!1,eM=e.ALLOWED_URI_REGEXP||B,e0=e.NAMESPACE||eX,e5=e.MATHML_TEXT_INTEGRATION_POINTS||e5,e3=e.HTML_INTEGRATION_POINTS||e3,eA=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eA.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eA.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eA.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ew&&(eD=!1),eR&&(eU=!0),eB&&(e_=j({},z),eN=[],!0===eB.html&&(j(e_,C),j(eN,k)),!0===eB.svg&&(j(e_,D),j(eN,O),j(eN,R)),!0===eB.svgFilters&&(j(e_,I),j(eN,O),j(eN,R)),!0===eB.mathMl&&(j(e_,w),j(eN,U),j(eN,R))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?eb.tagCheck=e.ADD_TAGS:(e_===eS&&(e_=T(e_)),j(e_,e.ADD_TAGS,e7))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?eb.attributeCheck=e.ADD_ATTR:(eN===ex&&(eN=T(eN)),j(eN,e.ADD_ATTR,e7))),e.ADD_URI_SAFE_ATTR&&j(eZ,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eG===e$&&(eG=T(eG)),j(eG,e.FORBID_CONTENTS,e7)),e.ADD_FORBID_CONTENTS&&(eG===e$&&(eG=T(eG)),j(eG,e.ADD_FORBID_CONTENTS,e7)),eF&&(e_["#text"]=!0),ez&&j(e_,["html","head","body"]),e_.table&&(j(e_,["tbody"]),delete ej.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(r=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=q(W,c)),null!==r&&"string"==typeof eo&&(eo=r.createHTML(""));a&&a(e),te=e}},to=j({},[...D,...I,...L]),ta=j({},[...w,...E]),ti=function(e){let t=en(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let r=f(e.tagName),n=f(t.tagName);return!!e4[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eX?"svg"===r:t.namespaceURI===eK?"svg"===r&&("annotation-xml"===n||e5[n]):!!to[r]:e.namespaceURI===eK?t.namespaceURI===eX?"math"===r:t.namespaceURI===eJ?"math"===r&&e3[n]:!!ta[r]:e.namespaceURI===eX?(t.namespaceURI!==eJ||!!e3[n])&&(t.namespaceURI!==eK||!!e5[n])&&!ta[r]&&(e9[r]||!to[r]):"application/xhtml+xml"===e8&&!!e4[e.namespaceURI])},ts=function(e){h(o.removed,{element:e});try{en(e).removeChild(e)}catch(t){ee(e)}},tl=function(e,t){try{h(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eU||eR)try{ts(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tc=function(e){let t=null,n=null;if(eO)e=""+e;else{let t=y(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===e8&&e0===eX&&(e=''+e+"");let o=r?r.createHTML(e):e;if(e0===eX)try{t=new $().parseFromString(o,e8)}catch(e){}if(!t||!t.documentElement){t=ea.createDocument(e0,"template",null);try{t.documentElement.innerHTML=e1?eo:o}catch(e){}}let a=t.body||t.documentElement;return(e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),e0===eX)?el.call(t,ez?"html":"body")[0]:ez?t.documentElement:a},tu=function(e){return ei.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},td=function(e){return e instanceof G&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof Y)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tp=function(e){return"function"==typeof Q&&e instanceof Q};function th(e,t,r){u(e,e=>{e.call(o,t,r,te)})}let tg=function(e){let t=null;if(th(eu.beforeSanitizeElements,e,null),td(e))return ts(e),!0;let r=e7(e.nodeName);if(th(eu.uponSanitizeElement,e,{tagName:r,allowedTags:e_}),eE&&e.hasChildNodes()&&!tp(e.firstElementChild)&&N(/<[/\w!]/g,e.innerHTML)&&N(/<[/\w!]/g,e.textContent)||7===e.nodeType||eE&&8===e.nodeType&&N(/<[/\w]/g,e.data))return ts(e),!0;if(!(eb.tagCheck instanceof Function&&eb.tagCheck(r))&&(!e_[r]||ej[r])){if(!ej[r]&&tm(r)&&(eA.tagNameCheck instanceof RegExp&&N(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r)))return!1;if(eF&&!eG[r]){let t=en(e)||e.parentNode,r=er(e)||e.childNodes;if(r&&t){let n=r.length;for(let o=n-1;o>=0;--o){let n=X(r[o],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,et(e))}}}return ts(e),!0}return e instanceof H&&!ti(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&N(/<\/no(script|embed|frames)/i,e.innerHTML)?(ts(e),!0):(ew&&3===e.nodeType&&(t=e.textContent,u([ed,ep,eh],e=>{t=v(t,e," ")}),e.textContent!==t&&(h(o.removed,{element:e.cloneNode()}),e.textContent=t)),th(eu.afterSanitizeElements,e,null),!1)},tf=function(e,t,r){if(eQ&&("id"===t||"name"===t)&&(r in i||r in tt))return!1;if(eD&&!eT[t]&&N(eg,t));else if(eC&&N(ef,t));else if(eb.attributeCheck instanceof Function&&eb.attributeCheck(t,e));else if(!eN[t]||eT[t]){if(!(tm(e)&&(eA.tagNameCheck instanceof RegExp&&N(eA.tagNameCheck,e)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(e))&&(eA.attributeNameCheck instanceof RegExp&&N(eA.attributeNameCheck,t)||eA.attributeNameCheck instanceof Function&&eA.attributeNameCheck(t,e))||"is"===t&&eA.allowCustomizedBuiltInElements&&(eA.tagNameCheck instanceof RegExp&&N(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r))))return!1}else if(eZ[t]);else if(N(eM,v(r,ey,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===M(r,"data:")&&eV[e]);else if(eI&&!N(em,v(r,ey,"")));else if(r)return!1;return!0},tm=function(e){return"annotation-xml"!==e&&y(e,ev)},ty=function(e){th(eu.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||td(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eN,forceKeepAttr:void 0},a=t.length;for(;a--;){let{name:i,namespaceURI:s,value:l}=t[a],c=e7(i),d="value"===i?l:_(l);if(n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,th(eu.uponSanitizeAttribute,e,n),d=n.attrValue,eH&&("id"===c||"name"===c)&&(tl(i,e),d="user-content-"+d),eE&&N(/((--!?|])>)|<\/(style|title|textarea)/i,d)||"attributename"===c&&y(d,"href")){tl(i,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr||!eL&&N(/\/>/i,d)){tl(i,e);continue}ew&&u([ed,ep,eh],e=>{d=v(d,e," ")});let h=e7(e.nodeName);if(!tf(h,c,d)){tl(i,e);continue}if(r&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(h,c)){case"TrustedHTML":d=r.createHTML(d);break;case"TrustedScriptURL":d=r.createScriptURL(d)}if(d!==l)try{s?e.setAttributeNS(s,i,d):e.setAttribute(i,d),td(e)?ts(e):p(o.removed)}catch(t){tl(i,e)}}th(eu.afterSanitizeAttributes,e,null)},tv=function e(t){let r=null,n=tu(t);for(th(eu.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)th(eu.uponSanitizeShadowNode,r,null),tg(r),ty(r),r.content instanceof A&&e(r.content);th(eu.afterSanitizeShadowDOM,t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,i=null,s=null;if((e1=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tp(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}else throw x("toString is not a function");if(!o.isSupported)return e;if(ek||tn(t),o.removed=[],"string"==typeof e&&(eY=!1),eY){if(e.nodeName){let t=e7(e.nodeName);if(!e_[t]||ej[t])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof Q)1===(a=(n=tc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!eU&&!ew&&!ez&&-1===e.indexOf("<"))return r&&eP?r.createHTML(e):e;if(!(n=tc(e)))return eU?null:eP?eo:""}n&&eO&&ts(n.firstChild);let c=tu(eY?e:n);for(;i=c.nextNode();)tg(i),ty(i),i.content instanceof A&&tv(i.content);if(eY)return e;if(eU){if(eR)for(s=es.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(eN.shadowroot||eN.shadowrootmode)&&(s=ec.call(l,s,!0)),s}let d=ez?n.outerHTML:n.innerHTML;return ez&&e_["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&N(V,n.ownerDocument.doctype.name)&&(d="\n"+d),ew&&u([ed,ep,eh],e=>{d=v(d,e," ")}),r&&eP?r.createHTML(d):d},o.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tn(e),ek=!0},o.clearConfig=function(){te=null,ek=!1},o.isValidAttribute=function(e,t,r){return te||tn({}),tf(e7(e),e7(t),r)},o.addHook=function(e,t){"function"==typeof t&&h(eu[e],t)},o.removeHook=function(e,t){if(void 0!==t){let r=d(eu[e],t);return -1===r?void 0:g(eu[e],r,1)[0]}return p(eu[e])},o.removeHooks=function(e){eu[e]=[]},o.removeAllHooks=function(){eu=K()},o}()}()},{}],"6ZP8g":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"updateLineHeight",()=>M),o.export(r,"updateFontSize",()=>_),o.export(r,"updateLetterSpacing",()=>S),o.export(r,"restoreLineHeight",()=>N),o.export(r,"restoreFontSize",()=>x),o.export(r,"restoreLetterSpacing",()=>A),o.export(r,"clearHtStyleCache",()=>j),o.export(r,"getFontSizeScaleValue",()=>T),o.export(r,"setFontSizeScaleValue",()=>b),o.export(r,"getLetterSpacingScaleValue",()=>C),o.export(r,"setLetterSpacingScaleValue",()=>D),o.export(r,"getLineHeightScaleValue",()=>I),o.export(r,"setLineHeightScaleValue",()=>L);var a=e("@swc/helpers/_/_define_property"),i=e("../constants/config");let s=["script",".ht-skip",`.${i.htTranslatorException}`,`.${i.htTranslatorException} *`,`.${i.htAddonsException}`,`.${i.htAddonsException} *`,`.${i.htPromptLinkException}`,`.${i.htPromptLinkException} *`],l="HTFontSizeScale",c="HTLetterSpacingScale",u="HTLineHeightScale",d=()=>{var e;let t=new CSSStyleSheet;return t.insertRule(`body *:not(${s.join(",")}) { hyphens: auto !important; }`,0),t.insertRule(`body *:not(${s.join(",")}) { word-wrap: break-word !important; }`,1),t.disabled=!0,null==(e=document.adoptedStyleSheets)||e.push(t),t},p=d(),h=d();class g{get fontSize(){return parseFloat(this.computedFontSize)}get lineHeight(){return parseFloat(this.computedLineHeight)}get letterSpacing(){let e=parseFloat(this.computedLetterSpacing);return isNaN(e)?i.defaultLetterSpacing:e}get relativeLineHeight(){return isNaN(this.lineHeight)?i.defaultLineHeight:this.lineHeight/this.fontSize}constructor(e,t,r,n,o,i){(0,a._)(this,"inlineFontSize",void 0),(0,a._)(this,"inlineLineHeight",void 0),(0,a._)(this,"inlineLetterSpacing",void 0),(0,a._)(this,"computedFontSize",void 0),(0,a._)(this,"computedLineHeight",void 0),(0,a._)(this,"computedLetterSpacing",void 0),this.inlineFontSize=e,this.inlineLineHeight=t,this.inlineLetterSpacing=r,this.computedFontSize=n,this.computedLineHeight=o,this.computedLetterSpacing=i}}let f=1,m="htStyleCache",y=new Map,v=e=>{let t;(t=`body *:not(${s.join(",")})`,Array.from(document.body.querySelectorAll(t))).map(e=>({element:e,cachedStyle:(e=>{let t,r,n,o,a,i,s;e.dataset[m]||(t=(f++).toString(),r=e.style.getPropertyValue("font-size"),n=e.style.getPropertyValue("line-height"),o=e.style.getPropertyValue("letter-spacing"),i=(a=window.getComputedStyle(e)).getPropertyValue("font-size"),s=new g(r,n,o,i,a.getPropertyValue("line-height"),a.getPropertyValue("letter-spacing")),e.dataset[m]=t,y.set(t,s),e.style.setProperty("line-height",s.relativeLineHeight.toString()));let l=e.dataset[m];if(l)return y.get(l)})(e)})).filter(e=>!!e.cachedStyle).forEach(e)},M=e=>{let t=i.lineHeightScaleList[e];v(({element:e,cachedStyle:r})=>{let n=r.relativeLineHeight*t;e.style.setProperty("line-height",n.toString())})},_=e=>{p.disabled=!1;let t=i.fontSizeScaleList[e];v(({element:e,cachedStyle:r})=>{let n=r.fontSize*t;e.style.setProperty("font-size",`${n}px`)})},S=e=>{h.disabled=!1;let t=i.letterSpacingScaleList[e];v(({element:e,cachedStyle:r})=>{let n=r.letterSpacing*t;e.style.setProperty("letter-spacing",`${n}px`)})},N=()=>{v(({element:e,cachedStyle:t})=>{let{relativeLineHeight:r}=t;e.style.setProperty("line-height",r.toString())})},x=()=>{p.disabled=!0,v(({element:e,cachedStyle:t})=>{e.style.setProperty("font-size",t.inlineFontSize)})},A=()=>{h.disabled=!0,v(({element:e,cachedStyle:t})=>{e.style.setProperty("letter-spacing",t.inlineLetterSpacing)})},j=e=>{let t=document.getElementById(e);t&&t.querySelectorAll("[data-ht-style-cache]").forEach(e=>{let t=e.dataset[m];if(!t)return;let r=y.get(t);if(!r)return;let{inlineFontSize:n,inlineLineHeight:o,inlineLetterSpacing:a}=r;e.style.fontSize=n,e.style.lineHeight=o,e.style.letterSpacing=a,e.removeAttribute("data-ht-style-cache")})},T=()=>parseInt(sessionStorage.getItem(l)||"0"),b=e=>{sessionStorage.setItem(l,e)},C=()=>parseInt(sessionStorage.getItem(c)||"0"),D=e=>{sessionStorage.setItem(c,e)},I=()=>parseInt(sessionStorage.getItem(u)||"0"),L=e=>{sessionStorage.setItem(u,e)}},{"@swc/helpers/_/_define_property":"kJ3aC","../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1mBqW":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r);var a=e("react/jsx-runtime"),i=e("styled-components"),s=o.interopDefault(i),l=e("../../services/styleUtils"),c=e("@hand-talk/yotta-core"),u=e("preact/hooks"),d=e("../../constants/interface"),p=e("../../hooks/useDebounce"),h=e("../../yotta/shared/utils"),g=e("@hand-talk/yotta-icons");let f=e=>e,m,y,v,M,_=s.default.button(m||(m=f` &&& { all: initial; cursor: pointer; pointer-events: auto; background: ${0}; color: ${0}; height: 42px; max-width: 200px; padding: 0 4.5px !important; border: 1px solid ${0}; display: flex !important; align-items: center; justify-content: center; position: relative; ${0}: none; ${0}; margin: 0px; transition: border-radius 0.3s ease-out; > svg * { color: ${0}; } ${0}; &:focus, &:active { background-color: ${0}; } &:focus-visible { outline: ${0}; outline-offset: 2px; } } `),e=>e.colorButton,e=>e.textColor,e=>e.textColor,e=>`border-${e.side}`,(0,l.getIconStyleInheritColor)("32px"),e=>e.textColor,e=>e.configBorderRadius,e=>e.colorButton,({theme:e})=>`2px solid ${e.colors.primary.default}`),S=s.default.div(y||(y=f` position: absolute; width: 16px; height: 16px; background: #cd5201; border: 1px solid ${0}; border-radius: 50px; display: flex; align-items: center; justify-content: center; top: -6px; ${0}; ${0}: 30px; `),c.neutral[0],(0,l.getIconStyle)("12px",c.neutral[0]),e=>e.side),N=s.default.p(v||(v=f` &&& { all: initial; ${0} color: inherit; order: ${0}; max-width: 0; font-size: 12px; font-weight: 700; overflow: hidden; box-sizing: border-box; transition: max-width 0.5s ease-out; white-space: nowrap; } `),d.htFontBase,e=>"left"===e.side?1:-1),x=s.default.span(M||(M=f` &&& { all: inherit; padding: 0 4px; } `));r.default=({icon:e,position:t,side:r,onClick:n,activeCheck:o,textSlide:i,colorButton:s,customStyle:l,style:c,ariaLabel:d,isMobile:f,tabIndex:m,className:y})=>{var v,M,A;let j="right"===r?"left":"right",T="object"==typeof l&&(null==l?void 0:l.button)?l.button:void 0,b=null!=(v=null==T?void 0:T.borderRadius)?v:"12px",C="single"===t?` border-top-${j}-radius: ${b}; border-bottom-${j}-radius: ${b}; `:` border-${t}-${j}-radius: ${b}; `,D=null!=(M=null==T?void 0:T.primary)?M:(0,h.getColorButtonStyle)(null!=s?s:"a11yColorMain"),I=null!=(A=null==T?void 0:T.primaryFg)?A:"#FFFFFF",[L,w]=(0,u.useState)(!1),E=(0,p.useDebounce)(L,40),z=(0,u.useRef)(null),k=z.current,O=null==k?void 0:k.lastChild;return(0,u.useEffect)(()=>{(E?()=>{k&&(O&&(O.style.maxWidth="200px"),k.style.cssText=` border-bottom-${j}-radius: ${b}; border-top-${j}-radius: ${b}; `)}:()=>{k&&(O&&(O.style.maxWidth="0px"),setTimeout(()=>{k.style.cssText=` border-radius: null; `},150))})()},[E]),(0,a.jsxs)(_,{tabIndex:m,"aria-label":d,className:y,onClick:n,configBorderRadius:C,side:r,oppositeSide:j,colorButton:D,textColor:I,style:c,ref:z,onMouseOut:()=>{w(!1)},onMouseOver:()=>{w(!0)},children:[e,o&&(0,a.jsx)(S,{side:r,children:(0,a.jsx)(g.YDoneIcon,{color:"#333333"})}),!f&&(0,a.jsx)(N,{side:r,oppositeSide:j,colorButton:D,children:(0,a.jsx)(x,{children:i})})]})}},{"react/jsx-runtime":"52k9Q","styled-components":"cCe5U","../../services/styleUtils":"6pBLg","@hand-talk/yotta-core":"1WkEs","preact/hooks":"9Dac5","../../constants/interface":"cnidu","../../hooks/useDebounce":"c67Vm","../../yotta/shared/utils":"cj0AX","@hand-talk/yotta-icons":[["YDoneIcon","jIMke","default"]],"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6pBLg":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getIconStyle",()=>h),o.export(r,"getIconStyleInheritColor",()=>g);var a=e("styled-components");let i=e=>e,s,l,c,u,d,p=(e,t)=>(0,a.css)(l||(l=i` > svg { display: flex; align-items: center; justify-content: center; width: ${0}; height: ${0}; } // Mudança de cor ${0} `),e,e,t&&(0,a.css)(s||(s=i` > svg path, > svg circle, > svg rect { fill: ${0}; } > svg line { fill: ${0}; stroke: ${0}; } `),t,t,t)),h=(e,t,r)=>(0,a.css)(u||(u=i` ${0} ${0} `),p(e,t),r&&(0,a.css)(c||(c=i` &:hover { ${0} } `),p(e,r))),g=e=>(0,a.css)(d||(d=i` > svg { display: flex; align-items: center; justify-content: center; width: ${0}; height: ${0}; } > svg path, > svg circle, > svg rect { fill: currentColor; } > svg line { fill: currentColor; stroke: currentColor; } `),e,e)},{"styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1WkEs":[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"YGlobalStyle",()=>b),a.export(r,"YThemeProvider",()=>C),a.export(r,"blue",()=>p),a.export(r,"borderRadiusTokens",()=>y),a.export(r,"darkTheme",()=>j),a.export(r,"gray",()=>c),a.export(r,"green",()=>f),a.export(r,"lightTheme",()=>T),a.export(r,"nativeBorderRadiusTokens",()=>I),a.export(r,"nativeDarkTheme",()=>k),a.export(r,"nativeLightTheme",()=>O),a.export(r,"nativeShadowTokens",()=>L),a.export(r,"nativeSpacingTokens",()=>w),a.export(r,"nativeTypographyTokens",()=>E),a.export(r,"neutral",()=>u),a.export(r,"orange",()=>d),a.export(r,"purple",()=>h),a.export(r,"red",()=>g),a.export(r,"shadowTokens",()=>v),a.export(r,"spacingTokens",()=>M),a.export(r,"typographyTokens",()=>S),a.export(r,"useYottaTheme",()=>D),a.export(r,"yellow",()=>m);var i=e("@swc/helpers/_/_object_spread"),s=e("@swc/helpers/_/_object_spread_props"),l=e("styled-components");let c={0:"#FFFFFF",5:"#EDEDED",10:"#DCDCDC",20:"#BDBDBD",30:"#989898",40:"#7C7C7C",50:"#656565",60:"#525252",70:"#464646",80:"#3D3D3D",90:"#2E2E2E",95:"#1F1F1F",100:"#121212"},u={0:"#FFFFFF",5:"#F0F2F5",10:"#D5DCE3",20:"#B0BECA",30:"#859BAD",40:"#637E95",50:"#516679",60:"#425362",70:"#384754",80:"#313E49",90:"#212A31",95:"#14191E",100:"#0A0D10"},d={0:"#FFF6E5",5:"#FFF2D4",10:"#FFE0A8",20:"#FFC971",30:"#FFA737",40:"#FF8B10",50:"#E06500",60:"#C64F01",70:"#9D410F",80:"#7F380F",90:"#451A05",95:"#2E1305",100:"#160A03"},p={0:"#EAF0F6",5:"#E4EFFA",10:"#C4E0F3",20:"#91C5E8",30:"#50A9E0",40:"#2C9BE1",50:"#1473B5",60:"#145B8F",70:"#114D7A",80:"#124268",90:"#0C2A45",95:"#081D30",100:"#05101A"},h={0:"#EFF2FE",5:"#E2E6FD",10:"#CBD1FA",20:"#ABB3F6",30:"#8A8CEF",40:"#726DE7",50:"#6251DA",60:"#5442C0",70:"#45389B",80:"#413987",90:"#241E48",95:"#1B1636",100:"#100D21"},g={0:"#FDF3F3",5:"#FBE5E5",10:"#F9CFCF",20:"#F6ABAB",30:"#F07979",40:"#EB4848",50:"#D32E2E",60:"#C22929",70:"#941F1F",80:"#7D1F1F",90:"#521414",95:"#350D0D",100:"#190606"},f={0:"#F0FDF9",5:"#CAFDEF",10:"#96F9E0",20:"#59EFCE",30:"#27DAB8",40:"#0EBEA0",50:"#089B85",60:"#0B7A6A",70:"#0E6156",80:"#115048",90:"#02312C",95:"#022723",100:"#011816"},m={0:"#FFFAEA",5:"#FFF1C5",10:"#FFE386",20:"#FFD447",30:"#FFCB1F",40:"#FCC002",50:"#E09600",60:"#BA6A03",70:"#975209",80:"#7C430B",90:"#472201",95:"#2D1601",100:"#140A00"},y={none:"0px",xsm:"4px",sm:"8px",md:"12px",lg:"16px",xlg:"24px",full:"100%"},v={1:"0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.15);",2:"0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.08);",3:"0px 4px 8px 3px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.15);",4:"0px 2px 3px 0px rgba(0, 0, 0, 0.15), 0px 6px 10px 4px rgba(0, 0, 0, 0.15);",5:"0px 4px 4px 0px rgba(0, 0, 0, 0.15), 0px 8px 12px 6px rgba(0, 0, 0, 0.15);"},M={1:"2px",2:"4px",3:"8px",4:"12px",5:"16px",6:"24px",7:"32px",8:"40px",9:"48px",10:"64px",11:"80px",12:"120px"},_={size:{"01":"12px","02":"14px","03":"16px","04":"20px","05":"24px","06":"28px","07":"32px","08":"36px","09":"40px",10:"48px",11:"64px",12:"96px"},family:{primary:"Lato",highlight:"Raleway"},paragraph:{spacing:{long:{text:"16px"}}}},S={display:{sm:`900 ${_.size["08"]}/120% ${_.family.highlight}`,md:`900 ${_.size["09"]}/120% ${_.family.highlight}`,lg:`900 ${_.size["10"]}/120% ${_.family.highlight}`},title:{sm:`700 ${_.size["04"]}/130% ${_.family.primary}`,md:`700 ${_.size["05"]}/130% ${_.family.primary}`,lg:`700 ${_.size["07"]}/130% ${_.family.primary}`},paragraph:{sm:`400 ${_.size["02"]}/150% ${_.family.primary}`,smBold:`700 ${_.size["02"]}/150% ${_.family.primary}`,md:`400 ${_.size["03"]}/150% ${_.family.primary}`,mdBold:`700 ${_.size["03"]}/150% ${_.family.primary}`,lg:`400 ${_.size["04"]}/150% ${_.family.primary}`,lgBold:`700 ${_.size["04"]}/150% ${_.family.primary}`},label:{sm:`400 ${_.size["02"]}/130% ${_.family.primary}`,smBold:`700 ${_.size["02"]}/130% ${_.family.primary}`,md:`400 ${_.size["03"]}/130% ${_.family.primary}`,mdBold:`700 ${_.size["03"]}/130% ${_.family.primary}`,lg:`400 ${_.size["04"]}/130% ${_.family.primary}`,lgBold:`700 ${_.size["04"]}/130% ${_.family.primary}`},link:{sm:`400 ${_.size["02"]}/150% ${_.family.primary}`,md:`400 ${_.size["03"]}/150% ${_.family.primary}`,lg:`400 ${_.size["04"]}/150% ${_.family.primary}`}},N={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.10)",15:"rgba(0, 0, 0, 0.15)",25:"rgba(0, 0, 0, 0.25)",40:"rgba(0, 0, 0, 0.4)"},x={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.10)",15:"rgba(255, 255, 255, 0.15)",25:"rgba(255, 255, 255, 0.25)"},A={typography:S,font:_,spacing:M,borderRadius:y,shadow:v},j=(0,s._)((0,i._)({},A),{colors:{primary:{default:d[40],hover:d[30],pressing:d[20],selected:d[20],on:d[95],onLow:d[80]},primaryContainer:{default:d[90],hover:d[80],pressing:d[70],selected:d[70],on:d[0]},primaryContainerLow:{default:d[95],hover:d[90],pressing:d[80],selected:d[80]},secondary:{default:h[30],hover:h[20],pressing:h[10],selected:h[10],on:h[95],onLow:h[80]},secondaryContainer:{default:h[90],hover:h[80],pressing:h[70],selected:h[70],on:h[0]},secondaryContainerLow:{default:h[95],hover:h[90],pressing:h[80],selected:h[80]},tertiary:{default:p[40],hover:p[30],pressing:p[20],selected:p[20],on:p[95],onLow:p[80]},tertiaryContainer:{default:p[90],hover:p[80],pressing:p[70],selected:p[70],on:p[0]},tertiaryContainerLow:{default:p[95],hover:p[90],pressing:p[80],selected:p[80]},inverse:{default:c[0],on:c[90],onLow:c[50],hover:N[5],pressing:N[15],selected:N[10],disabled:N[25]},inversePrimary:{default:d[60],hover:d[70],pressing:d[80],selected:d[80],on:d[0]},inversePrimaryContainer:{default:d[10],hover:d[20],pressing:d[30],selected:d[30],on:d[90]},inversePrimaryContainerLow:{default:d[5],hover:d[10],pressing:d[20],selected:d[20]},positive:{default:f[40],hover:f[30],pressing:f[20],selected:f[20],on:f[95],onLow:f[80]},positiveContainer:{default:f[95],hover:f[80],pressing:f[70],selected:f[70],on:f[0]},positiveContainerLow:{default:f[95],hover:f[90],pressing:f[80],selected:f[80]},alert:{default:m[40],hover:m[30],pressing:m[20],selected:m[20],on:m[95],onLow:m[80]},alertContainer:{default:m[95],hover:m[80],pressing:m[70],selected:m[70],on:m[0]},alertContainerLow:{default:m[95],hover:m[90],pressing:m[80],selected:m[80]},error:{default:g[40],hover:g[30],pressing:g[20],selected:g[20],on:g[95],onLow:g[90]},errorContainer:{default:g[95],hover:g[80],pressing:g[70],selected:g[70],on:g[0]},errorContainerLow:{default:g[95],hover:g[90],pressing:g[80],selected:g[80]},surface:{bright:{background:c[95],1:c[90],2:c[80],3:c[90]},dim:{background:c[100],1:c[95],2:c[90],3:c[95]},onSurface:c[0],onSurfaceLow:c[30],hover:x[5],pressing:x[15],selected:x[10],blur:{background:"rgba(18, 18, 18, 0.8)"}},border:{normal:c[30],low:c[50]},disabled:x[25],shadow:{contact:N[40],projection:N[25]}}}),T=(0,s._)((0,i._)({},A),{colors:{primary:{default:d[60],hover:d[70],pressing:d[80],selected:d[80],on:c[0],onLow:d[10]},primaryContainer:{default:d[10],hover:d[20],pressing:d[30],selected:d[30],on:d[90]},primaryContainerLow:{default:d[5],hover:d[10],pressing:d[20],selected:d[20]},secondary:{default:h[70],hover:h[80],pressing:h[90],selected:h[90],on:c[0],onLow:h[10]},secondaryContainer:{default:h[10],hover:h[20],pressing:h[30],selected:h[30],on:h[90]},secondaryContainerLow:{default:h[5],hover:h[10],pressing:h[20],selected:h[20]},tertiary:{default:p[60],hover:p[70],pressing:p[80],selected:p[80],on:c[0],onLow:p[10]},tertiaryContainer:{default:p[10],hover:p[20],pressing:p[30],selected:p[30],on:p[90]},tertiaryContainerLow:{default:p[5],hover:p[10],pressing:p[20],selected:p[20]},inverse:{default:c[90],on:c[0],onLow:c[40],disabled:x[25],hover:x[5],pressing:x[15],selected:x[10]},inversePrimary:{default:d[40],hover:d[30],pressing:d[20],selected:d[20],on:d[90]},inversePrimaryContainer:{default:d[90],hover:d[80],pressing:d[70],selected:d[70],on:d[0]},inversePrimaryContainerLow:{default:d[95],hover:d[90],pressing:d[80],selected:d[80]},positive:{default:f[60],hover:f[70],pressing:f[80],selected:f[80],on:f[0],onLow:f[10]},positiveContainer:{default:f[10],hover:f[20],pressing:f[30],selected:f[30],on:f[90]},positiveContainerLow:{default:f[5],hover:f[10],pressing:f[20],selected:f[20]},alert:{default:m[60],hover:m[70],pressing:m[80],selected:m[80],on:m[0],onLow:m[10]},alertContainer:{default:m[10],hover:m[20],pressing:m[30],selected:m[30],on:m[90]},alertContainerLow:{default:m[5],hover:m[10],pressing:m[20],selected:m[20]},error:{default:g[60],hover:g[70],pressing:g[80],selected:g[80],on:g[0],onLow:g[10]},errorContainer:{default:g[10],hover:g[20],pressing:g[30],selected:g[30],on:g[90]},errorContainerLow:{default:g[5],hover:g[10],pressing:g[20],selected:g[20]},surface:{bright:{background:c[0],1:c[5],2:c[0],3:c[5]},dim:{background:c[5],1:c[0],2:c[5],3:c[0]},onSurface:c[90],onSurfaceLow:c[50],hover:N[5],pressing:N[15],selected:N[10],blur:{background:"rgba(237, 237, 237, 0.85)"}},border:{normal:c[50],low:c[20]},disabled:N[25],shadow:{contact:N[15],projection:"rgba(0, 0, 0, 0.1)"}}}),b=(0,l.createGlobalStyle)(o||(o=(e=>e)` @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'); `)),C=l.ThemeProvider,D=l.useTheme,I={none:0,xsm:4,sm:8,md:12,lg:16,xlg:24,full:99999},L={1:{shadowColor:"rgba(0, 0, 0, 0.15)",shadowOffset:{width:0,height:1},shadowOpacity:.15,shadowRadius:3,elevation:1,distance:4},2:{shadowColor:"rgba(0, 0, 0, 0.15)",shadowOffset:{width:0,height:2},shadowOpacity:.15,shadowRadius:6,elevation:2,distance:8},3:{shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffset:{width:0,height:4},shadowOpacity:.1,shadowRadius:8,elevation:4,distance:8},4:{shadowColor:"rgba(0, 0, 0, 0.15)",shadowOffset:{width:0,height:2},shadowOpacity:.15,shadowRadius:3,elevation:0,distance:5},5:{shadowColor:"rgba(0, 0, 0, 0.15)",shadowOffset:{width:0,height:4},shadowOpacity:.15,shadowRadius:4,elevation:0,distance:8}},w={1:2,2:4,3:8,4:12,5:16,6:24,7:32,8:40,9:48,10:64,11:80,12:120},E={display:{sm:{fontSize:36,lineHeight:43.2,fontFamily:"Raleway-Black"},md:{fontSize:40,lineHeight:48,fontFamily:"Raleway-Black"},lg:{fontSize:48,lineHeight:57.6,fontFamily:"Raleway-Black"}},title:{sm:{fontSize:20,lineHeight:26,fontFamily:"Lato-Bold"},md:{fontSize:24,lineHeight:31.2,fontFamily:"Lato-Bold"},lg:{fontSize:32,lineHeight:41.6,fontFamily:"Lato-Bold"}},paragraph:{sm:{fontSize:14,lineHeight:21,fontFamily:"Lato-Regular"},smBold:{fontSize:14,lineHeight:21,fontFamily:"Lato-Bold"},md:{fontSize:16,lineHeight:24,fontFamily:"Lato-Regular"},mdBold:{fontSize:16,lineHeight:24,fontFamily:"Lato-Bold",fontWeight:"700"},lg:{fontSize:20,lineHeight:30,fontFamily:"Lato-Regular"},lgBold:{fontSize:20,lineHeight:30,fontFamily:"Lato-Bold"}},label:{sm:{fontSize:14,lineHeight:18.2,fontFamily:"Lato-Regular"},smBold:{fontSize:14,lineHeight:18.2,fontFamily:"Lato-Bold",fontWeight:"700"},md:{fontSize:16,lineHeight:20.8,fontFamily:"Lato-Regular"},mdBold:{fontSize:16,lineHeight:20.8,fontFamily:"Lato-Bold"},lg:{fontSize:20,lineHeight:26,fontFamily:"Lato-Regular"},lgBold:{fontSize:20,lineHeight:26,fontFamily:"Lato-Bold"}},link:{sm:{fontSize:14,lineHeight:21,fontFamily:"Lato-Regular"},md:{fontSize:16,lineHeight:24,fontFamily:"Lato-Regular"},lg:{fontSize:20,lineHeight:30,fontFamily:"Lato-Regular"}}},z={typography:E,spacing:w,borderRadius:I,shadow:L,states:{hover:15,pressing:5,selected:10,disabled:25}},k=(0,s._)((0,i._)({},z),{colors:{primary:{default:d[40],on:d[95],onLow:d[80],hover:d[30],pressing:d[20],selected:d[20]},primaryContainer:{default:d[90],on:d[0],hover:d[80],pressing:d[70],selected:d[70]},primaryContainerLow:{default:d[95],hover:d[90],pressing:d[80],selected:d[80]},secondary:{default:h[30],on:h[95],onLow:h[80],hover:h[20],pressing:h[10],selected:h[10]},secondaryContainer:{default:h[90],on:h[0],hover:h[80],pressing:h[70],selected:h[70]},secondaryContainerLow:{default:h[95],hover:h[90],pressing:h[80],selected:h[80]},tertiary:{default:p[40],on:p[95],onLow:p[80],hover:p[30],pressing:p[20],selected:p[20]},tertiaryContainer:{default:p[90],on:p[0],hover:p[80],pressing:p[70],selected:p[70]},tertiaryContainerLow:{default:p[95],hover:p[90],pressing:p[80],selected:p[80]},inverse:{default:c[0],on:c[90],onLow:c[50],hover:N[5],pressing:N[15],selected:N[10],disabled:N[25]},inversePrimary:{default:d[60],on:d[0],hover:d[70],pressing:d[80],selected:d[80]},inversePrimaryContainer:{default:d[10],hover:d[20],pressing:d[30],selected:d[30],on:d[90]},inversePrimaryContainerLow:{default:d[5],hover:d[10],pressing:d[20],selected:d[20]},positive:{default:f[40],on:f[95],onLow:f[80],hover:f[30],pressing:f[20],selected:f[20]},positiveContainer:{default:f[95],hover:f[80],pressing:f[70],selected:f[70],on:f[0]},positiveContainerLow:{default:f[95],hover:f[90],pressing:f[80],selected:f[80]},alert:{default:m[40],on:m[95],onLow:m[80],hover:m[30],pressing:m[20],selected:m[20]},alertContainer:{default:m[95],hover:m[80],pressing:m[70],selected:m[70],on:m[0]},alertContainerLow:{default:m[95],hover:m[90],pressing:m[80],selected:m[80]},error:{default:g[40],on:g[95],onLow:g[90],hover:g[30],pressing:g[20],selected:g[20]},errorContainer:{default:g[95],hover:g[80],pressing:g[70],selected:g[70],on:g[0]},errorContainerLow:{default:g[95],hover:g[90],pressing:g[80],selected:g[80]},surface:{bright:{background:c[95],1:c[90],2:c[80],3:c[90]},dim:{background:c[100],1:c[95],2:c[90],3:c[95]},onSurface:c[0],onSurfaceLow:c[30],hover:x[5],pressing:x[15],selected:x[10],blur:{background:"rgba(18, 18, 18, 0.8)"}},border:{normal:c[30],low:c[50]},disabled:x[25],shadow:{contact:N[40],projection:N[25]}}}),O=(0,s._)((0,i._)({},z),{colors:{primary:{default:d[60],on:c[0],onLow:d[10],hover:d[70],pressing:d[80],selected:d[80]},primaryContainer:{default:d[5],on:d[90],hover:d[20],pressing:d[30],selected:d[30]},primaryContainerLow:{default:d[5],hover:d[10],pressing:d[20],selected:d[20]},secondary:{default:h[60],on:c[0],onLow:h[10],hover:h[80],pressing:h[90],selected:h[90]},secondaryContainer:{default:h[5],on:h[90],hover:h[20],pressing:h[30],selected:h[30]},secondaryContainerLow:{default:h[5],hover:h[10],pressing:h[20],selected:h[20]},tertiary:{default:p[60],on:c[0],onLow:p[10],hover:p[70],pressing:p[80],selected:p[80]},tertiaryContainer:{default:p[5],on:p[90],hover:p[20],pressing:p[30],selected:p[30]},tertiaryContainerLow:{default:p[5],hover:p[10],pressing:p[20],selected:p[20]},inverse:{default:c[90],on:c[0],onLow:c[40],disabled:x[25],hover:x[5],pressing:x[15],selected:x[10]},inversePrimary:{default:d[40],on:d[90],hover:d[30],pressing:d[20],selected:d[20]},inversePrimaryContainer:{default:d[90],hover:d[80],pressing:d[70],selected:d[70],on:d[0]},inversePrimaryContainerLow:{default:d[95],hover:d[90],pressing:d[80],selected:d[80]},positive:{default:f[60],on:f[0],onLow:f[10],hover:f[70],pressing:f[80],selected:f[80]},positiveContainer:{default:f[10],hover:f[20],pressing:f[30],selected:f[30],on:f[90]},positiveContainerLow:{default:f[5],hover:f[10],pressing:f[20],selected:f[20]},alert:{default:m[60],on:m[0],onLow:m[10],hover:m[70],pressing:m[80],selected:m[80]},alertContainer:{default:m[10],hover:m[20],pressing:m[30],selected:m[30],on:m[90]},alertContainerLow:{default:m[5],hover:m[10],pressing:m[20],selected:m[20]},error:{default:g[60],on:g[0],onLow:g[10],hover:g[70],pressing:g[80],selected:g[80]},errorContainer:{default:g[10],hover:g[20],pressing:g[30],selected:g[30],on:g[90]},errorContainerLow:{default:g[5],hover:g[10],pressing:g[20],selected:g[20]},surface:{bright:{background:c[0],1:c[5],2:c[0],3:c[5]},dim:{background:c[5],1:c[0],2:c[5],3:c[0]},onSurface:c[90],onSurfaceLow:c[50],hover:N[5],pressing:N[15],selected:N[10],blur:{background:"rgba(237, 237, 237, 0.85)"}},border:{normal:c[50],low:c[20]},disabled:N[25],shadow:{contact:N[15],projection:"rgba(0, 0, 0, 0.1)"}}})},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],c67Vm:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"useDebounce",()=>i);var a=e("preact/compat");function i(e,t){let[r,n]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let r=setTimeout(()=>n(e),t||500);return()=>{clearTimeout(r)}},[e,t]),r}},{"preact/compat":"8ZO42","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cj0AX:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"getGridLineBackgroundColor",()=>i),o.export(r,"hexToRGB",()=>s),o.export(r,"getColorButtonStyle",()=>d);var a=e("../assets/tokens/colors");let i=e=>({primary:"#f5f5f5",secondary:"#333333"})[e],s=(e,t)=>{let r=parseInt(e.slice(1,3),16),n=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16);return"number"==typeof t?"rgba("+r+", "+n+", "+o+", "+t/100+")":"rgb("+r+", "+n+", "+o+")"},l=a.accessibility.color.main,c=a.accessibility.color.neutral,u=a.accessibility.color.light,d=e=>"a11yColorMain"===e?l:"neutralLowMain"===e?c:"a11yColorLight"===e?u:void 0},{"../assets/tokens/colors":"8UG5g","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],jIMke:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>u);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("react/jsx-runtime"),l=e("../IconBase/index.js"),c=o.interopDefault(l);let u=e=>(0,s.jsx)(c.default,(0,i._)((0,a._)({},e),{children:(0,s.jsx)("path",{d:"M8.8 15.905L5.3 12.405C4.91 12.015 4.29 12.015 3.9 12.405C3.51 12.795 3.51 13.415 3.9 13.805L8.09 17.995C8.48 18.385 9.11 18.385 9.5 17.995L20.1 7.40499C20.49 7.01499 20.49 6.39499 20.1 6.00499C19.71 5.61499 19.09 5.61499 18.7 6.00499L8.8 15.905Z"})}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","react/jsx-runtime":"52k9Q","../IconBase/index.js":"14orz","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],lHn6i:[function(e,t,r,n){let o;e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r),r.default=(0,e("styled-components").createGlobalStyle)(o||(o=(e=>e)` .ht-skip { margin: 0; padding: 0; border: 0; box-sizing: border-box; list-style: none; font: inherit; color: inherit; text-decoration: none; background-color: transparent; } :root.ht--dragging { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; touch-action: none !important; } :root.ht--dragging * { cursor: inherit !important; } :where([data-ht-pw-maincontainer]) :where(*) { cursor: inherit; } :where([data-ht-pw-maincontainer]) :where( button, a, input, textarea, select, [contenteditable="true"], [data-no-drag="true"] ) { cursor: auto; touch-action: auto; } `))},{"styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9XWuT":[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("react/jsx-runtime"),a=e("react"),i=e("./styles");r.default=(0,a.forwardRef)(({as:e="p",accessibilityText:t,tabIndex:r,id:n,ariaLive:a,role:s},l)=>(0,o.jsx)(i.Heading,{as:e,ref:l,tabIndex:r,id:n,"aria-live":a,role:s,"aria-label":t,children:t}))},{"react/jsx-runtime":"52k9Q",react:"8ZO42","./styles":"3UB4S","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3UB4S":[function(e,t,r,n){let o;var a=e("@parcel/transformer-js/src/esmodule-helpers.js");a.defineInteropFlag(r),a.export(r,"Heading",()=>s);var i=e("styled-components");let s=a.interopDefault(i).default.p(o||(o=(e=>e)` position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; `))},{"styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hcLIh:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r);var a=e("react/jsx-runtime"),i=e("react"),s=e("styled-components"),l=o.interopDefault(s),c=e("../../assets/style/animations"),u=e("../../services/styleUtils"),d=e("../../services/analytics"),p=e("../../hooks/useFocusOnReady"),h=o.interopDefault(p),g=e("../../hooks/useResetState"),f=o.interopDefault(g),m=e("md5"),y=o.interopDefault(m),v=e("../../stores/useTranslation"),M=e("../../services/textCollectorService"),_=e("../../stores/useHTGlobalStore"),S=e("../../constants/config"),N=e("@hand-talk/yotta-icons"),x=e("@hand-talk/yotta-core");let A=e=>e,j,T,b,C,D,I,L,w=l.default.div(b||(b=A` &&& { position: fixed; ${0} align-items: center; width: 197px; height: 64px; background-color: ${0}; border: 0.5px solid ${0}; box-sizing: border-box; border-radius: ${0}px; box-shadow: ${0}; pointer-events: auto; cursor: pointer; ${0} &:focus-visible { outline: ${0}; outline-offset: 2px; } } `),e=>(0,s.css)(j||(j=A` animation: ${0} 0.2s forwards; display: ${0}; `),!e.activated||e.isDisabling?c.htPlHide:c.htPlShow,e.activated||e.isDisabling?"flex":"none"),({theme:e})=>e.colors.surface.dim[1],({theme:e})=>e.colors.border.low,({borderRadius:e})=>e,({theme:e})=>e.shadow[2],e=>(0,s.css)(T||(T=A` left: ${0}px; top: ${0}px; z-index: ${0}; `),e.x,e.y,e.zIndex),({theme:e})=>`2px solid ${e.colors.primary.default}`),E=l.default.div(C||(C=A` &&& { position: relative; width: 100%; cursor: pointer; } `)),z=l.default.a(D||(D=A` &&& { display: inline-flex; justify-content: space-between; width: 100%; padding-inline: 20px 16px; cursor: pointer; color: ${0}; &:hover, &:visited, &:link, &:active { text-decoration: none; } } `),({theme:e})=>e.colors.surface.onSurface),k=l.default.div(I||(I=A` &&& { width: 1.6em; height: 1.6em; ${0} } `),({theme:e})=>(0,u.getIconStyle)("1.6em",e.colors.surface.onSurface)),O=l.default.div(L||(L=A` &&& { font: ${0}; > svg { vertical-align: middle; width: 5.6em; height: 1.6em; } } `),({theme:e})=>e.typography.paragraph.md);r.default=({config:e,activated:t,onClick:r,initiator:n})=>{let o=(0,_.useHTGlobalStore)(e=>e.isMobile),s=(0,_.useHTGlobalStore)(e=>e.customStyle.borderRadius),l=M.getPreviousClickedElement(),c=(null==l?void 0:l.tagName)==="A"&&!!(null==l?void 0:l.href),{translate:u}=(0,v.useTranslationStore)(),p=(0,x.useYottaTheme)(),[g,m]=(0,i.useState)(!1),{zIndex:A}=e,{x:j,y:T}=(()=>{let e=(null==l?void 0:l.getBoundingClientRect())||{};if(!e||!e.x)return{x:0,y:0};let{x:t,y:r,height:n,width:a}=e,i=o?t+(a/2-98.5):t;i=i<0?0:i;let s=r+n+7;return s+64>window.innerHeight&&(s=window.innerHeight-64-7),{x:i,y:s}})(),b=e=>{(0,d.handlePromptLinkAnalytics)(n),e.stopPropagation(),e.preventDefault(),m(!0),setTimeout(()=>{m(!1),r()},200)},C=(0,f.default)({isActive:t}),D=(0,h.default)({isReady:C});return(0,i.useEffect)(()=>{let e=(0,y.default)("HTPromptLinkWrapper");if(t){let r=document.activeElement,n=document.createElement("div");n.id=e,t&&(null==r||r.after(n))}return()=>{var t;let r=document.getElementById(e);r&&(null==(t=r.parentNode)||t.removeChild(r))}},[t]),(0,a.jsx)(w,{activated:t,x:j,y:T,isDisabling:g,ref:D,onKeyDown:e=>{"Enter"==e.key&&b(e)},tabIndex:-1,className:S.htPromptLinkException,zIndex:A+1e6,borderRadius:s,children:(0,a.jsx)(E,{children:(0,a.jsxs)(z,{onClick:e=>{b(e)},rel:"noopener noreferrer",children:[(0,a.jsx)(O,{children:u(c?"accessLink":"accessButton")}),(0,a.jsx)(k,{children:(0,a.jsx)(N.YArrowRightIcon,{color:p.colors.surface.onSurface})})]})})})}},{"react/jsx-runtime":"52k9Q",react:"8ZO42","styled-components":"cCe5U","../../assets/style/animations":"iWi0g","../../services/styleUtils":"6pBLg","../../services/analytics":"9b6Tu","../../hooks/useFocusOnReady":"h1l18","../../hooks/useResetState":"5kJim",md5:"i0UlR","../../stores/useTranslation":"94OJm","../../services/textCollectorService":"5h9gT","../../stores/useHTGlobalStore":"aSfyl","../../constants/config":"kqbjQ","@hand-talk/yotta-icons":[["YArrowRightIcon","hDFfL","default"]],"@hand-talk/yotta-core":"1WkEs","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iWi0g:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"htPlShow",()=>c),o.export(r,"htPlHide",()=>u);var a=e("styled-components");let i=e=>e,s,l,c=(0,a.keyframes)(s||(s=i` from { transform: scale(0, 0); opacity: 0; } to { transform: scale(1, 1); opacity: 1; } `)),u=(0,a.keyframes)(l||(l=i` from { transform: scale(1, 1); opacity: 1; } to { transform: scale(0, 0); opacity: 0; } `))},{"styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],h1l18:[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("preact/hooks");r.default=({isReady:e})=>{let t=(0,o.useRef)(null);return(0,o.useEffect)(()=>{e&&t.current&&t.current.focus()},[e]),t}},{"preact/hooks":"9Dac5","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5kJim":[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("preact/hooks");r.default=({isActive:e,secondaryActive:t,delay:r=500})=>{let[n,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(e||t){a(!0);let e=setTimeout(()=>{a(!1)},r);return()=>clearTimeout(e)}},[e,t,r]),n}},{"preact/hooks":"9Dac5","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hDFfL:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>u);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("react/jsx-runtime"),l=e("../IconBase/index.js"),c=o.interopDefault(l);let u=e=>(0,s.jsx)(c.default,(0,i._)((0,a._)({},e),{children:(0,s.jsx)("path",{d:"M5.20898 13.0002H16.379L11.499 17.8802C11.109 18.2702 11.109 18.9102 11.499 19.3002C11.889 19.6902 12.519 19.6902 12.909 19.3002L19.499 12.7102C19.889 12.3202 19.889 11.6902 19.499 11.3002L12.919 4.70021C12.529 4.31021 11.899 4.31021 11.509 4.70021C11.119 5.09021 11.119 5.72022 11.509 6.11022L16.379 11.0002H5.20898C4.65898 11.0002 4.20898 11.4502 4.20898 12.0002C4.20898 12.5502 4.65898 13.0002 5.20898 13.0002Z"})}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","react/jsx-runtime":"52k9Q","../IconBase/index.js":"14orz","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9A1mC":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"signLanguage",()=>a);let a={"en-ase":"ASL","ptBR-bzs":"Libras"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ea7Fl:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"CustomYottaProvider",()=>l);var a=e("react/jsx-runtime"),i=e("preact/hooks"),s=e("@hand-talk/yotta-core");let l=({highContrast:e,override:t,store:r,children:n})=>{let o=r(e=>e.setHighContrast),l=r(e=>e.setCustomStyle),c=r(e=>e.theme);return(0,i.useEffect)(()=>{o(e)},[e]),(0,i.useEffect)(()=>{l(t)},[t]),(0,a.jsx)(s.YThemeProvider,{theme:c,children:n})}},{"react/jsx-runtime":"52k9Q","preact/hooks":"9Dac5","@hand-talk/yotta-core":"1WkEs","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hcetN:[function(e,t,r,n){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);rtypeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e){if(e){if("string"==typeof e)return o(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,void 0):void 0}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i=e("85f44cf98eec206e").useRef;r.useShallow=function(e){var t=i();return function(r){var n=e(r);return!function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(var r,n=a(e);!(r=n()).done;){var o=r.value,i=o[0];if(!Object.is(o[1],t.get(i)))return!1}return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(var s,l=a(e);!(s=l()).done;){var c=s.value;if(!t.has(c))return!1}return!0}var u=Object.keys(e);if(u.length!==Object.keys(t).length)return!1;for(var d=0;ds);var a=e("@swc/helpers/_/_define_property"),i=e("../../domain/entities/RemoteConfig");class s{async getByToken(e){try{let t=await fetch(`${this.remoteConfigBaseUrl}/${e}.json`),r=await t.json();return new(0,i.RemoteConfig)(r)}catch(e){console.warn("Falha ao obter configuração remota")}}constructor(e){(0,a._)(this,"remoteConfigBaseUrl",void 0),this.remoteConfigBaseUrl=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","../../domain/entities/RemoteConfig":"b8azV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],b8azV:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"RemoteConfig",()=>i);var a=e("@swc/helpers/_/_define_property");class i{constructor(e){(0,a._)(this,"isMajority",void 0),(0,a._)(this,"config",void 0),this.isMajority=e.isMajority,this.config=e.config}}},{"@swc/helpers/_/_define_property":"kJ3aC","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9ecqu":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"default",()=>p);var a=e("@swc/helpers/_/_define_property"),i=e("@swc/helpers/_/_object_spread"),s=e("@swc/helpers/_/_object_spread_props"),l=e("@swc/helpers/_/_object_without_properties"),c=e("../../services/domUtils"),u=e("../../services/languageConfigService"),d=o.interopDefault(u);class p{mergeConfig(e,...t){return t.reduce((e,t)=>{let{doNotTrack:r}=t,n=(0,l._)(t,["doNotTrack"]);return(0,s._)((0,i._)((0,s._)((0,i._)({},e,n),{exceptions:[...e.exceptions||[],...n.exceptions||[]],clickables:[...e.clickables||[],...n.clickables||[]]}),c.isMobileBrowser&&e.mobileConfig,c.isMobileBrowser&&n.mobileConfig),{addonsMap:(0,i._)({},e.addonsMap,n.addonsMap,Object.keys(e.addonsMap).reduce((t,r)=>{var o;return t[r]=(0,i._)({},e.addonsMap[r],(null==(o=n.addonsMap)?void 0:o[r])||{}),t},{}))})},e)}async resolveConfig({defaultConfig:e,userConfig:t}){let r=this.mergeConfig(e,t);if(!r.remoteConfigEnabled)return r;let n=await this.remoteConfigProvider.getByToken(r.token);return n?n.isMajority?this.mergeConfig(e,t,n.config):this.mergeConfig(e,n.config,t):r}async execute(e){let{defaultConfig:t,userConfig:r}=e,n=await this.resolveConfig(e);return(0,c.validateAvatar)(n.avatar),n.maxTextSize=(0,c.clampMaxTextSize)(n.maxTextSize),n.languageInterface=d.default.getValidLanguageInterface(n.languageInterface),n.doNotTrack=(null==r?void 0:r.doNotTrack)!==void 0?r.doNotTrack:t.doNotTrack,Object.freeze(n),n}constructor(e){(0,a._)(this,"remoteConfigProvider",void 0),this.remoteConfigProvider=e}}},{"@swc/helpers/_/_define_property":"kJ3aC","@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0","@swc/helpers/_/_object_without_properties":"cBqEg","../../services/domUtils":"1UlS3","../../services/languageConfigService":"hTBY7","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hTBY7:[function(e,t,r,n){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var o=e("@swc/helpers/_/_define_property"),a=e("../i18n/constants"),i=e("../stores/useTranslation");r.default=new class{parse(e){if(a.listOfSupportedLanguages.get(e))return e;let[t]=e.split("-");return a.listOfSupportedLanguages.get(t)?t:this._languageDefault}getValidLanguageInterface(e){let{setLanguage:t}=i.translationStore.getState(),r=this.validateLanguageInterface(e);return t(r),r}constructor(){(0,o._)(this,"_languageDefault","pt-BR"),(0,o._)(this,"validateLanguageInterface",e=>e?this.parse(e):this._languageDefault)}}},{"@swc/helpers/_/_define_property":"kJ3aC","../i18n/constants":"geesL","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],f7qpQ:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"createThemeStore",()=>h);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("zustand"),l=e("@hand-talk/yotta-core"),c=e("../theme/overrideUtils"),u=e("./useHTGlobalStore"),d=e("./useHTGlobalPlaygroundStore");let p=(e,t)=>{let r=e?l.darkTheme:l.lightTheme,n=e?null==t?void 0:t.dark:null==t?void 0:t.light,o=n?(0,c.transformCustomStyleToTokenOverride)(n):{};return Object.keys(o).length>0?(0,c.createCustomYottaTheme)(r,o):r},h=()=>(0,s.create)((e,t)=>({highContrast:!1,customStyle:void 0,theme:l.lightTheme,setHighContrast:r=>{e({highContrast:r}),setTimeout(()=>t().updateTheme(),0)},setCustomStyle:r=>{e({customStyle:r}),setTimeout(()=>t().updateTheme(),0)},updateTheme:()=>{let{highContrast:r,customStyle:n}=t();e({theme:p(r,n)})},setTheme:(r,n,o=!1)=>{var s,l;let c=t(),h=null!=n?n:c.highContrast,g=null!=r?r:c.customStyle,f=p(h,g);if(e({highContrast:h,customStyle:g,theme:f}),o){let{setState:e}=d.useHTPlaygroundStore;e({customStyle:(0,i._)((0,a._)({},c.customStyle),{borderRadius:null!=(s=null==g?void 0:g.borderRadius)?s:16})})}if(!o){let{setState:e}=u.useHTGlobalStore;e({customStyle:(0,i._)((0,a._)({},c.customStyle),{borderRadius:null!=(l=null==g?void 0:g.borderRadius)?l:16})})}}}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0",zustand:"eQ5Lk","@hand-talk/yotta-core":"1WkEs","../theme/overrideUtils":"2C6pV","./useHTGlobalStore":"aSfyl","./useHTGlobalPlaygroundStore":"5bEJV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2C6pV":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"setToken",()=>s),o.export(r,"transformCustomStyleToTokenOverride",()=>l),o.export(r,"createCustomYottaTheme",()=>c);var a=e("./tokens"),i=e("./colorsUtils");let s=(e,t,r)=>{let n=t.split("."),o=e;for(let e=0;e{let t={};if(!e)return t;for(let[r,n]of Object.entries(e)){let e=a.TOKEN_MAP[r];e&&(t[e]=n)}return t},c=(e,t)=>{if(!t)return e;let r=JSON.parse(JSON.stringify(e));for(let[e,n]of Object.entries(t))a.ALLOWED_TOKENS.includes(e)?s(r,e,n):console.warn(`[CustomYottaTheme] Ignorando token inv\xe1lido: "${e}"`);return((e,t)=>{let r=a.TOKEN_MAP.neutral2,n=a.TOKEN_MAP.primary,o=a.TOKEN_MAP.border,l=t[r];if(l){let t=(0,i.extractBrightness)(l);isNaN(t)||s(e,"colors.border.normal",(0,i.updateBrightness)(l,t>=50?-10:10))}let c=t[n];if(c){let t=(0,i.extractBrightness)(c);isNaN(t)||s(e,"colors.primary.hover",(0,i.updateBrightness)(c,t>=50?-20:20))}let u=t[o];if(u){let t=(0,i.extractBrightness)(u);isNaN(t)||s(e,"colors.border.low",(0,i.updateBrightness)(u,t<50?20:-20))}})(r,t),r}},{"./tokens":"c6XlW","./colorsUtils":"gyqDy","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],c6XlW:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"ALLOWED_TOKENS",()=>a),o.export(r,"TOKEN_MAP",()=>i);let a=["colors.surface.dim.background","colors.surface.dim.1","colors.surface.onSurface","colors.surface.onSurfaceLow","colors.border.low","colors.primary.default","colors.primary.on"],i={neutral1:"colors.surface.dim.background",neutral2:"colors.surface.dim.1",neutralText:"colors.surface.onSurface",neutralTextLow:"colors.surface.onSurfaceLow",border:"colors.border.low",primary:"colors.primary.default",primaryText:"colors.primary.on"}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gyqDy:[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"hexToRgb",()=>a),o.export(r,"rgbToHex",()=>i),o.export(r,"rgbToHsb",()=>s),o.export(r,"hsbToRgb",()=>l),o.export(r,"extractBrightness",()=>c),o.export(r,"updateBrightness",()=>u);let a=e=>{if(!e||"string"!=typeof e)return null;let t=e.replace(/^#/,"");if(6!==t.length)return null;let r=parseInt(t.substring(0,2),16);return{r,g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16)}},i=(e,t,r)=>{let n=e=>e.toString(16).padStart(2,"0");return`#${n(e)}${n(t)}${n(r)}`},s=(e,t,r)=>{let n=Math.max(e/=255,t/=255,r/=255),o=n-Math.min(e,t,r),a=0;return 0!==o&&(a=n===e?(t-r)/o%6*60:n===t?60*((r-e)/o+2):60*((e-t)/o+4)),a<0&&(a+=360),{h:a,s:0===n?0:o/n,b:n}},l=(e,t,r)=>{let n=r*t,o=n*(1-Math.abs(e/60%2-1)),a=r-n,i=0,s=0,l=0;return e<60?(i=n,s=o,l=0):e<120?(i=o,s=n,l=0):e<180?(i=0,s=n,l=o):e<240?(i=0,s=o,l=n):e<300?(i=o,s=0,l=n):(i=n,s=0,l=o),{r:Math.round((i+a)*255),g:Math.round((s+a)*255),b:Math.round((l+a)*255)}},c=e=>{let t=a(e);if(!t)return 0;let{b:r}=s(t.r,t.g,t.b);return 100*r},u=(e,t)=>{let r=a(e);if(!r)return e;let{h:n,s:o,b:c}=s(r.r,r.g,r.b),{r:u,g:d,b:p}=l(n,o,c=Math.min(1,Math.max(0,c+t/100)));return i(u,d,p)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5bEJV":[function(e,t,r,n){var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(r),o.export(r,"useHTPlaygroundStore",()=>c);var a=e("@swc/helpers/_/_object_spread"),i=e("@swc/helpers/_/_object_spread_props"),s=e("zustand");let l={highContrast:!1,opacity:100,avatar:"HUGO",customStyle:{borderRadius:16}},c=(0,s.create)(e=>(0,i._)((0,a._)({},l),{setHighContrast:t=>e({highContrast:t}),setOpacity:t=>e({opacity:t}),setAvatar:t=>e({avatar:t}),setCustomStyle:t=>e({customStyle:{borderRadius:t}}),reset:()=>e(l)}))},{"@swc/helpers/_/_object_spread":"8KZ4Y","@swc/helpers/_/_object_spread_props":"jKIS0",zustand:"eQ5Lk","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}]},["cGEQt","fQI3t"],"fQI3t","parcelRequiref74b",{});