(()=>{"use strict";var t={1111:(t,e,n)=>{n.d(e,{PC:()=>r,cs:()=>o,ho:()=>a});var i=n(6756);var r=i.P,o=function(){var t,e="#ffffff",n=ttsObj.settings;return null!=n&&null!==(t=n.customize)&&void 0!==t&&t.color&&(e=n.customize.color),window.wp?wp.hooks.applyFilters("ttsPlayerCustomizations",{1:{play:"<svg width='15px' height='15px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8' aria-hidden='true'><polygon fill='".concat(e,"' points='0 0 0 8 7 4'/> </svg>"),pause:"<svg width='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><g id='SVGRepo_bgCarrier' stroke-width='1.5'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'><path opacity='0.1' d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' fill='none'></path><path d='M14 9L14 15' stroke='".concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' stroke='").concat(e,"' stroke-width='2'></path></g></svg>"),replay:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>"),resume:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>")}}):{1:{play:"<svg width='15px' height='15px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8' aria-hidden='true'><polygon fill='".concat(e,"' points='0 0 0 8 7 4'/> </svg>"),pause:"<svg width='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><g id='SVGRepo_bgCarrier' stroke-width='1.5'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'><path opacity='0.1' d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' fill='none'></path><path d='M14 9L14 15' stroke='".concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' stroke='").concat(e,"' stroke-width='2'></path></g></svg>"),replay:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>"),resume:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>")}}},a=function(t){var e,n,i="#000000",r="#000000",o=ttsObj.settings;null!=o&&null!==(e=o.customize)&&void 0!==e&&e.color&&(r=o.customize.color),i=null!=o&&null!==(n=o.customize)&&void 0!==n&&n.hoverTextColor?o.customize.hoverTextColor:r;var a=t.querySelector("svg");a&&(a.querySelectorAll("[fill]").forEach((function(t){"none"!==t.getAttribute("fill")&&t.setAttribute("fill",i)})),a.hasAttribute("stroke")&&a.setAttribute("stroke",i),a.querySelectorAll("[stroke]").forEach((function(t){"none"!==t.getAttribute("stroke")&&t.setAttribute("stroke",i)})))}},1522:(t,e,n)=>{n.d(e,{A:()=>l});var i=n(6756).P,r=/^(?:(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$|^((?:[a-z]{2,3}(?:(?:-[a-z]{3}){1,3})?)|[a-z]{4}|[a-z]{5,8})(?:-([a-z]{4}))?(?:-([a-z]{2}|\d{3}))?((?:-(?:[\da-z]{5,8}|\d[\da-z]{3}))*)?((?:-[\da-wy-z](?:-[\da-z]{2,8})+)*)?(-x(?:-[\da-z]{1,8})+)?$|^(x(?:-[\da-z]{1,8})+)$/i,o=function(t){return"string"==typeof t||t instanceof String};const a={trim:function(t){return o(t)?t.trim():""},isNan:function(t){return"number"==typeof t&&isNaN(t)},isNil:function(t){return null==t},isObject:function(t){return"[object Object]"===Object.prototype.toString.call(t)},size:function(t){return t&&Array.isArray(t)&&t.length?t.length:0},isString:o,splitSentences:i,validateLocale:function(t){return"string"==typeof t&&r.test(t)}};var s={};function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.browserSupport="speechSynthesis"in window&&"SpeechSynthesisUtterance"in window,this.synthesisVoice=null}var e,n,i;return e=t,n=[{key:"init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n,i){t.browserSupport||i("Your browser does not support Speech Synthesis");var r=(0,a.isNil)(e.listeners)?{}:e.listeners,o=!!(0,a.isNil)(e.splitSentences)||e.splitSentences,s=(0,a.isNil)(e.lang)?void 0:e.lang,c=(0,a.isNil)(e.volume)?1:e.volume,u=(0,a.isNil)(e.rate)?1:e.rate,l=(0,a.isNil)(e.pitch)?1:e.pitch,d=(0,a.isNil)(e.voice)?void 0:e.voice;Object.keys(r).forEach((function(t){var e=r[t];"onvoiceschanged"!==t&&(speechSynthesis[t]=function(t){e&&e(t)})})),t._loadVoices().then((function(e){r.onvoiceschanged&&r.onvoiceschanged(e),!(0,a.isNil)(s)&&t.setLanguage(s),!(0,a.isNil)(d)&&t.setVoice(d),!(0,a.isNil)(c)&&t.setVolume(c),!(0,a.isNil)(u)&&t.setRate(u),!(0,a.isNil)(l)&&t.setPitch(l),!(0,a.isNil)(o)&&t.setSplitSentences(o),n({voices:e,lang:t.lang,voice:t.voice,volume:t.volume,rate:t.rate,pitch:t.pitch,splitSentences:t.splitSentences,browserSupport:t.browserSupport})})).catch((function(t){i(t)}))}))}},{key:"_fetchVoices",value:function(){return new Promise((function(t,e){setTimeout((function(){var n=speechSynthesis.getVoices();return(0,a.size)(n)>0?t(n):e("Could not fetch voices")}),100)}))}},{key:"_loadVoices",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this._fetchVoices().catch((function(n){if(0===e)throw n;return t._loadVoices(e-1)}))}},{key:"hasBrowserSupport",value:function(){return this.browserSupport}},{key:"setVoice",value:function(t){var e,n=speechSynthesis.getVoices();if((0,a.isString)(t)&&(e=n.find((function(e){return e.name===t}))),(0,a.isObject)(t)&&(e=t),!e)throw"Error setting voice. The voice you passed is not valid or the voices have not been loaded yet.";this.synthesisVoice=e}},{key:"setLanguage",value:function(t){if(t=t.replace("_","-"),!(0,a.validateLocale)(t))throw"Error setting language. Please verify your locale is BCP47 format (http://schneegans.de/lv/?tags=es-FR&format=text)";this.lang=t}},{key:"setVolume",value:function(t){if(t=parseFloat(t),!(!(0,a.isNan)(t)&&t>=0&&t<=1))throw"Error setting volume. Please verify your volume value is a number between 0 and 1.";this.volume=t}},{key:"setRate",value:function(t){if(t=parseFloat(t),!(!(0,a.isNan)(t)&&t>=0&&t<=10))throw"Error setting rate. Please verify your volume value is a number between 0 and 10.";this.rate=t}},{key:"setPitch",value:function(t){if(t=parseFloat(t),!(!(0,a.isNan)(t)&&t>=0&&t<=2))throw"Error setting pitch. Please verify your pitch value is a number between 0 and 2.";this.pitch=t}},{key:"setSplitSentences",value:function(t){this.splitSentences=t}},{key:"speak",value:function(t){var e=this;return new Promise((function(n,i){var r=t.text,o=t.listeners,s=void 0===o?{}:o,c=t.queue,u=void 0===c||c,l=(0,a.trim)(r);(0,a.isNil)(l)&&n(),!u&&e.cancel();var d=[],h=e.splitSentences?(0,a.splitSentences)(l):[l];h.forEach((function(t,r){var o=r===(0,a.size)(h)-1,c=new SpeechSynthesisUtterance;e.synthesisVoice&&(c.voice=e.synthesisVoice),e.lang&&(c.lang=e.lang),e.volume&&(c.volume=e.volume),e.rate&&(c.rate=e.rate),e.pitch&&(c.pitch=e.pitch),c.text=t,Object.keys(s).forEach((function(t){var e=s[t];c[t]=function(r){e&&e(r),"onerror"===t&&i({utterances:d,lastUtterance:c,error:r}),"onend"===t&&o&&n({utterances:d,lastUtterance:c})}})),d.push(c),speechSynthesis.speak(c)}))}))}},{key:"pending",value:function(){return speechSynthesis.pending}},{key:"paused",value:function(){return speechSynthesis.paused}},{key:"speaking",value:function(){return speechSynthesis.speaking}},{key:"pause",value:function(){speechSynthesis.pause()}},{key:"resume",value:function(){speechSynthesis.resume()}},{key:"cancel",value:function(){speechSynthesis.cancel()}}],n&&c(e.prototype,n),i&&c(e,i),t}();const l=u},6379:(t,e,n)=>{n.d(e,{A:()=>zt});n(1522);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var r=function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)};function o(t,e,n,i){return new(n||(n=Promise))((function(r,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function s(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((i=i.apply(t,e||[])).next())}))}function a(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function s(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function c(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function u(t){return!!t&&"function"==typeof t.then}function l(t,e){try{var n=t();u(n)?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(t){e(!1,t)}}function d(t,e,n){return void 0===n&&(n=16),o(this,void 0,void 0,(function(){var i,r,o,s;return a(this,(function(a){switch(a.label){case 0:i=Array(t.length),r=Date.now(),o=0,a.label=1;case 1:return o<t.length?(i[o]=e(t[o],o),(s=Date.now())>=r+n?(r=s,[4,new Promise((function(t){var e=new MessageChannel;e.port1.onmessage=function(){return t()},e.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2,i]}}))}))}function h(t){t.then(void 0,(function(){}))}function f(t){return parseInt(t)}function v(t){return parseFloat(t)}function p(t,e){return"number"==typeof t&&isNaN(t)?e:t}function m(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function g(t,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function y(t,e){var n=t[0]>>>16,i=65535&t[0],r=t[1]>>>16,o=65535&t[1],a=e[0]>>>16,s=65535&e[0],c=e[1]>>>16,u=0,l=0,d=0,h=0;d+=(h+=o+(65535&e[1]))>>>16,h&=65535,l+=(d+=r+c)>>>16,d&=65535,u+=(l+=i+s)>>>16,l&=65535,u+=n+a,u&=65535,t[0]=u<<16|l,t[1]=d<<16|h}function b(t,e){var n=t[0]>>>16,i=65535&t[0],r=t[1]>>>16,o=65535&t[1],a=e[0]>>>16,s=65535&e[0],c=e[1]>>>16,u=65535&e[1],l=0,d=0,h=0,f=0;h+=(f+=o*u)>>>16,f&=65535,d+=(h+=r*u)>>>16,h&=65535,d+=(h+=o*c)>>>16,h&=65535,l+=(d+=i*u)>>>16,d&=65535,l+=(d+=r*c)>>>16,d&=65535,l+=(d+=o*s)>>>16,d&=65535,l+=n*u+i*c+r*s+o*a,l&=65535,t[0]=l<<16|d,t[1]=h<<16|f}function w(t,e){var n=t[0];32==(e%=64)?(t[0]=t[1],t[1]=n):e<32?(t[0]=n<<e|t[1]>>>32-e,t[1]=t[1]<<e|n>>>32-e):(e-=32,t[0]=t[1]<<e|n>>>32-e,t[1]=n<<e|t[1]>>>32-e)}function k(t,e){0!=(e%=64)&&(e<32?(t[0]=t[1]>>>32-e,t[1]=t[1]<<e):(t[0]=t[1]<<e-32,t[1]=0))}function S(t,e){t[0]^=e[0],t[1]^=e[1]}var _=[4283543511,3981806797],C=[3301882366,444984403];function x(t){var e=[0,t[0]>>>1];S(t,e),b(t,_),e[1]=t[0]>>>1,S(t,e),b(t,C),e[1]=t[0]>>>1,S(t,e)}var L=[2277735313,289559509],T=[1291169091,658871167],V=[0,5],j=[0,1390208809],E=[0,944331445];function I(t,e){var n=function(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;n++){var i=t.charCodeAt(n);if(i>127)return(new TextEncoder).encode(t);e[n]=i}return e}(t);e=e||0;var i,r=[0,n.length],o=r[1]%16,a=r[1]-o,s=[0,e],c=[0,e],u=[0,0],l=[0,0];for(i=0;i<a;i+=16)u[0]=n[i+4]|n[i+5]<<8|n[i+6]<<16|n[i+7]<<24,u[1]=n[i]|n[i+1]<<8|n[i+2]<<16|n[i+3]<<24,l[0]=n[i+12]|n[i+13]<<8|n[i+14]<<16|n[i+15]<<24,l[1]=n[i+8]|n[i+9]<<8|n[i+10]<<16|n[i+11]<<24,b(u,L),w(u,31),b(u,T),S(s,u),w(s,27),y(s,c),b(s,V),y(s,j),b(l,T),w(l,33),b(l,L),S(c,l),w(c,31),y(c,s),b(c,V),y(c,E);u[0]=0,u[1]=0,l[0]=0,l[1]=0;var d=[0,0];switch(o){case 15:d[1]=n[i+14],k(d,48),S(l,d);case 14:d[1]=n[i+13],k(d,40),S(l,d);case 13:d[1]=n[i+12],k(d,32),S(l,d);case 12:d[1]=n[i+11],k(d,24),S(l,d);case 11:d[1]=n[i+10],k(d,16),S(l,d);case 10:d[1]=n[i+9],k(d,8),S(l,d);case 9:d[1]=n[i+8],S(l,d),b(l,T),w(l,33),b(l,L),S(c,l);case 8:d[1]=n[i+7],k(d,56),S(u,d);case 7:d[1]=n[i+6],k(d,48),S(u,d);case 6:d[1]=n[i+5],k(d,40),S(u,d);case 5:d[1]=n[i+4],k(d,32),S(u,d);case 4:d[1]=n[i+3],k(d,24),S(u,d);case 3:d[1]=n[i+2],k(d,16),S(u,d);case 2:d[1]=n[i+1],k(d,8),S(u,d);case 1:d[1]=n[i],S(u,d),b(u,L),w(u,31),b(u,T),S(s,u)}return S(s,r),S(c,r),y(s,c),y(c,s),x(s),x(c),y(s,c),y(c,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)}function P(t){return"function"!=typeof t}function O(t,e,n,i){var r=Object.keys(t).filter((function(t){return!function(t,e){for(var n=0,i=t.length;n<i;++n)if(t[n]===e)return!0;return!1}(n,t)})),s=d(r,(function(n){return function(t,e){var n=new Promise((function(n){var i=Date.now();l(t.bind(null,e),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=Date.now()-i;if(!t[0])return n((function(){return{error:t[1],duration:r}}));var o=t[1];if(P(o))return n((function(){return{value:o,duration:r}}));n((function(){return new Promise((function(t){var e=Date.now();l(o,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=r+Date.now()-e;if(!n[0])return t({error:n[1],duration:o});t({value:n[1],duration:o})}))}))}))}))}));return h(n),function(){return n.then((function(t){return t()}))}}(t[n],e)}),i);return h(s),function(){return o(this,void 0,void 0,(function(){var t,e,n,o;return a(this,(function(a){switch(a.label){case 0:return[4,s];case 1:return[4,d(a.sent(),(function(t){var e=t();return h(e),e}),i)];case 2:return t=a.sent(),[4,Promise.all(t)];case 3:for(e=a.sent(),n={},o=0;o<r.length;++o)n[r[o]]=e[o];return[2,n]}}))}))}}function A(){var t=window,e=navigator;return m(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])>=4}function M(){var t=window,e=navigator;return m(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function W(){var t=window,e=navigator;return m(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function R(){var t=window,e=t.HTMLElement,n=t.Document;return m(["safari"in t,!("ongestureend"in t),!("TouchEvent"in t),!("orientation"in t),e&&!("autocapitalize"in e.prototype),n&&"pointerLockElement"in n.prototype])>=4}function G(){var t,e=window;return t=e.print,!!/^function\s.*?\{\s*\[native code]\s*}$/.test(String(t))&&m(["[object WebPageNamespace]"===String(e.browser),"MicrodataExtractor"in e])>=1}function B(){var t,e,n=window;return m(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&&void 0!==e?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Z(){var t=window,e=navigator,n=t.CSS,i=t.HTMLButtonElement;return m([!("getStorageUpdates"in e),i&&"popover"in i.prototype,"CSSCounterStyleRule"in t,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function N(){var t=M(),e=B(),n=window,i=navigator,r="connection";return t?m([!("SharedWorker"in n),i[r]&&"ontypechange"in i[r],!("sinkId"in new window.Audio)])>=2:!!e&&m(["onorientationchange"in n,"orientation"in n,/android/i.test(navigator.appVersion)])>=2}function F(t){var e=new Error(t);return e.name=t,e}function D(t,e,n){var i,r,s;return void 0===n&&(n=50),o(this,void 0,void 0,(function(){var o,u;return a(this,(function(a){switch(a.label){case 0:o=document,a.label=1;case 1:return o.body?[3,3]:[4,c(n)];case 2:return a.sent(),[3,1];case 3:u=o.createElement("iframe"),a.label=4;case 4:return a.trys.push([4,,10,11]),[4,new Promise((function(t,n){var i=!1,r=function(){i=!0,t()};u.onload=r,u.onerror=function(t){i=!0,n(t)};var a=u.style;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",e&&"srcdoc"in u?u.srcdoc=e:u.src="about:blank",o.body.appendChild(u);var s=function(){var t,e;i||("complete"===(null===(e=null===(t=u.contentWindow)||void 0===t?void 0:t.document)||void 0===e?void 0:e.readyState)?r():setTimeout(s,10))};s()}))];case 5:a.sent(),a.label=6;case 6:return(null===(r=null===(i=u.contentWindow)||void 0===i?void 0:i.document)||void 0===r?void 0:r.body)?[3,8]:[4,c(n)];case 7:return a.sent(),[3,6];case 8:return[4,t(u,u.contentWindow)];case 9:return[2,a.sent()];case 10:return null===(s=u.parentNode)||void 0===s||s.removeChild(u),[7];case 11:return[2]}}))}))}function H(t){for(var e=function(t){for(var e,n,i="Unexpected syntax '".concat(t,"'"),r=/^\s*([a-z-]*)(.*)$/i.exec(t),o=r[1]||void 0,a={},s=/([.:#][\w-]+|\[.+?\])/gi,c=function(t,e){a[t]=a[t]||[],a[t].push(e)};;){var u=s.exec(r[2]);if(!u)break;var l=u[0];switch(l[0]){case".":c("class",l.slice(1));break;case"#":c("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(i);c(d[1],null!==(n=null!==(e=d[4])&&void 0!==e?e:d[5])&&void 0!==n?n:"");break;default:throw new Error(i)}}return[o,a]}(t),n=e[0],i=e[1],r=document.createElement(null!=n?n:"div"),o=0,a=Object.keys(i);o<a.length;o++){var s=a[o],c=i[s].join(" ");"style"===s?Y(r.style,c):r.setAttribute(s,c)}return r}function Y(t,e){for(var n=0,i=e.split(";");n<i.length;n++){var r=i[n],o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(r);if(o){var a=o[1],s=o[2],c=o[4];t.setProperty(a,s,c||"")}}}var z,X,J=["monospace","sans-serif","serif"],U=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Q(t){return t.toDataURL()}function K(){var t=this;return function(){if(void 0===X){var t=function(){var e=q();$(e)?X=setTimeout(t,2500):(z=e,X=void 0)};t()}}(),function(){return o(t,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return $(t=q())?z?[2,s([],z,!0)]:function(){var t=document;return t.fullscreenElement||t.msFullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||null}()?[4,(n=document,(n.exitFullscreen||n.msExitFullscreen||n.mozCancelFullScreen||n.webkitExitFullscreen).call(n))]:[3,2]:[3,2];case 1:e.sent(),t=q(),e.label=2;case 2:return $(t)||(z=t),[2,t]}var n}))}))}}function q(){var t=screen;return[p(v(t.availTop),null),p(v(t.width)-v(t.availWidth)-p(v(t.availLeft),0),null),p(v(t.height)-v(t.availHeight)-p(v(t.availTop),0),null),p(v(t.availLeft),null)]}function $(t){for(var e=0;e<4;++e)if(t[e])return!1;return!0}function tt(t){var e;return o(this,void 0,void 0,(function(){var n,i,r,o,s,u,l;return a(this,(function(a){switch(a.label){case 0:for(n=document,i=n.createElement("div"),r=new Array(t.length),o={},et(i),l=0;l<t.length;++l)"DIALOG"===(s=H(t[l])).tagName&&s.show(),et(u=n.createElement("div")),u.appendChild(s),i.appendChild(u),r[l]=s;a.label=1;case 1:return n.body?[3,3]:[4,c(50)];case 2:return a.sent(),[3,1];case 3:n.body.appendChild(i);try{for(l=0;l<t.length;++l)r[l].offsetParent||(o[t[l]]=!0)}finally{null===(e=i.parentNode)||void 0===e||e.removeChild(i)}return[2,o]}}))}))}function et(t){t.style.setProperty("visibility","hidden","important"),t.style.setProperty("display","block","important")}function nt(t){return matchMedia("(inverted-colors: ".concat(t,")")).matches}function it(t){return matchMedia("(forced-colors: ".concat(t,")")).matches}function rt(t){return matchMedia("(prefers-contrast: ".concat(t,")")).matches}function ot(t){return matchMedia("(prefers-reduced-motion: ".concat(t,")")).matches}function at(t){return matchMedia("(prefers-reduced-transparency: ".concat(t,")")).matches}function st(t){return matchMedia("(dynamic-range: ".concat(t,")")).matches}var ut=Math,lt=function(){return 0},dt={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ht=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),ft=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),vt=["FRAGMENT_SHADER","VERTEX_SHADER"],pt=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function mt(t){if(t.webgl)return t.webgl.context;var e,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",(function(){return e=void 0}));for(var i=0,r=["webgl","experimental-webgl"];i<r.length;i++){var o=r[i];try{e=n.getContext(o)}catch(t){}if(e)break}return t.webgl={context:e},e}function gt(t,e,n){var i=t.getShaderPrecisionFormat(t[e],t[n]);return i?[i.rangeMin,i.rangeMax,i.precision]:[]}function yt(t){return Object.keys(t.__proto__).filter(bt)}function bt(t){return"string"==typeof t&&!t.match(/[^A-Z0-9_x]/)}function wt(){return B()}function kt(t){return"function"==typeof t.getParameter}var St={fonts:function(){var t=this;return D((function(e,n){var i=n.document;return o(t,void 0,void 0,(function(){var t,e,n,r,o,s,c,u,l,d,h;return a(this,(function(a){for((t=i.body).style.fontSize="48px",(e=i.createElement("div")).style.setProperty("visibility","hidden","important"),n={},r={},o=function(t){var n=i.createElement("span"),r=n.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=t,n.textContent="mmMwWLliI0O&1",e.appendChild(n),n},s=function(t,e){return o("'".concat(t,"',").concat(e))},c=function(){for(var t={},e=function(e){t[e]=J.map((function(t){return s(e,t)}))},n=0,i=U;n<i.length;n++)e(i[n]);return t},u=function(t){return J.some((function(e,i){return t[i].offsetWidth!==n[e]||t[i].offsetHeight!==r[e]}))},l=J.map(o),d=c(),t.appendChild(e),h=0;h<J.length;h++)n[J[h]]=l[h].offsetWidth,r[J[h]]=l[h].offsetHeight;return[2,U.filter((function(t){return u(d[t])}))]}))}))}))},domBlockers:function(t){var e=(void 0===t?{}:t).debug;return o(this,void 0,void 0,(function(){var t,n,i,r,o;return a(this,(function(a){switch(a.label){case 0:return W()||N()?(s=atob,t={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',s("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",s("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",s("LnNwb25zb3JpdA=="),".ylamainos",s("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",s("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",s("LmhlYWRlci1ibG9ja2VkLWFk"),s("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",s("I2FkXzMwMFgyNTA="),s("I2Jhbm5lcmZsb2F0MjI="),s("I2NhbXBhaWduLWJhbm5lcg=="),s("I0FkLUNvbnRlbnQ=")],adGuardChinese:[s("LlppX2FkX2FfSA=="),s("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",s("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),s("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",s("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",s("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",s("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),s("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),s("LmFkZ29vZ2xl"),s("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[s("YW1wLWF1dG8tYWRz"),s("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",s("I2FkX2ludmlld19hcmVh")],adGuardRussian:[s("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),s("LnJlY2xhbWE="),'div[id^="smi2adblock"]',s("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[s("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),s("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",s("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),s("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),s("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",s("I3Jla2xhbWk="),s("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),s("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),s("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[s("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",s("LndpZGdldF9wb19hZHNfd2lkZ2V0"),s("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",s("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[s("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),s("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",s("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",s("I3Jla2xhbW5pLWJveA=="),s("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",s("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[s("I2FkdmVydGVudGll"),s("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",s("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",s("LnNwb25zb3JsaW5rZ3J1ZW4="),s("I3dlcmJ1bmdza3k="),s("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),s("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[s("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",s("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[s("LnJla2xhbW9zX3RhcnBhcw=="),s("LnJla2xhbW9zX251b3JvZG9z"),s("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),s("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),s("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[s("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[s("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),s("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",s("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[s("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),s("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),s("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",s("LmFkX19tYWlu"),s("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[s("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[s("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),s("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[s("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),s("I2xpdmVyZUFkV3JhcHBlcg=="),s("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),s("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[s("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",s("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),s("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),s("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[s("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),s("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),s("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",s("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),s("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),s("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),s("ZGl2I3NrYXBpZWNfYWQ=")],ro:[s("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),s("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),s("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[s("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),s("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),s("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",s("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),s("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",s("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(t),[4,tt((o=[]).concat.apply(o,n.map((function(e){return t[e]}))))]):[2,void 0];case 1:return i=a.sent(),e&&function(t,e){for(var n="DOM blockers debug:\n```",i=0,r=Object.keys(t);i<r.length;i++){var o=r[i];n+="\n".concat(o,":");for(var a=0,s=t[o];a<s.length;a++){var c=s[a];n+="\n  ".concat(e[c]?"🚫":"➡️"," ").concat(c)}}console.log("".concat(n,"\n```"))}(t,i),(r=n.filter((function(e){var n=t[e];return m(n.map((function(t){return i[t]})))>.6*n.length}))).sort(),[2,r]}var s}))}))},fontPreferences:function(){return function(t,e){return void 0===e&&(e=4e3),D((function(t,n){var i=n.document,r=i.body,o=r.style;o.width="".concat(e,"px"),o.webkitTextSizeAdjust=o.textSizeAdjust="none",M()?r.style.zoom="".concat(1/n.devicePixelRatio):W()&&(r.style.zoom="reset");var a=i.createElement("div");return a.textContent=s([],Array(e/20|0),!0).map((function(){return"word"})).join(" "),r.appendChild(a),function(t,e){for(var n={},i={},r=0,o=Object.keys(dt);r<o.length;r++){var a=o[r],s=dt[a],c=s[0],u=void 0===c?{}:c,l=s[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,h=t.createElement("span");h.textContent=d,h.style.whiteSpace="nowrap";for(var f=0,v=Object.keys(u);f<v.length;f++){var p=v[f],m=u[p];void 0!==m&&(h.style[p]=m)}n[a]=h,e.append(t.createElement("br"),h)}for(var g=0,y=Object.keys(dt);g<y.length;g++)i[a=y[g]]=n[a].getBoundingClientRect().width;return i}(i,r)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}()},audio:function(){return W()&&Z()&&G()?-4:function(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(W()&&!R()&&!function(){var t=window;return m(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])>=3}())return-1;var n=new e(1,5e3,44100),i=n.createOscillator();i.type="triangle",i.frequency.value=1e4;var r=n.createDynamicsCompressor();r.threshold.value=-50,r.knee.value=40,r.ratio.value=12,r.attack.value=0,r.release.value=.25,i.connect(r),r.connect(n.destination),i.start(0);var o=function(t){var e=function(){};return[new Promise((function(n,i){var r=!1,o=0,a=0;t.oncomplete=function(t){return n(t.renderedBuffer)};var s=function(){setTimeout((function(){return i(F("timeout"))}),Math.min(500,a+5e3-Date.now()))},c=function(){try{var e=t.startRendering();switch(u(e)&&h(e),t.state){case"running":a=Date.now(),r&&s();break;case"suspended":document.hidden||o++,r&&o>=3?i(F("suspended")):setTimeout(c,500)}}catch(t){i(t)}};c(),e=function(){r||(r=!0,a>0&&s())}})),e]}(n),a=o[0],s=o[1],c=a.then((function(t){return function(t){for(var e=0,n=0;n<t.length;++n)e+=Math.abs(t[n]);return e}(t.getChannelData(0).subarray(4500))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return h(c),function(){return s(),c}}()},screenFrame:function(){var t=this;if(W()&&Z()&&G())return function(){return Promise.resolve(void 0)};var e=K();return function(){return o(t,void 0,void 0,(function(){var t,n;return a(this,(function(i){switch(i.label){case 0:return[4,e()];case 1:return t=i.sent(),[2,[(n=function(t){return null===t?null:g(t,10)})(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}},canvas:function(){return function(t){var e,n,i,r=!1,o=function(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}(),a=o[0],s=o[1];return function(t,e){return!(!e||!t.toDataURL)}(a,s)?(r=function(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(5,5,"evenodd")}(s),t?n=i="skipped":(e=function(t,e){!function(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45)}(t,e);var n=Q(t);return n!==Q(t)?["unstable","unstable"]:(function(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,i=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<i.length;n++){var r=i[n],o=r[0],a=r[1],s=r[2];e.fillStyle=o,e.beginPath(),e.arc(a,s,40,0,2*Math.PI,!0),e.closePath(),e.fill()}e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd")}(t,e),[Q(t),n])}(a,s),n=e[0],i=e[1])):n=i="unsupported",{winding:r,geometry:n,text:i}}(W()&&Z()&&G())},osCpu:function(){return navigator.oscpu},languages:function(){var t,e=navigator,n=[],i=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==i&&n.push([i]),Array.isArray(e.languages))M()&&m([!("MediaSettingsRange"in(t=window)),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])>=3||n.push(e.languages);else if("string"==typeof e.languages){var r=e.languages;r&&n.push(r.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return p(v(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(W()&&Z()&&G()))return function(){var t=screen,e=function(t){return p(f(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n}()},hardwareConcurrency:function(){return p(f(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var i,r=(i=(new Date).getFullYear(),-Math.max(v(new Date(i,0,1).getTimezoneOffset()),v(new Date(i,6,1).getTimezoneOffset())));return"UTC".concat(r>=0?"+":"").concat(r)},sessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},localStorage:function(){try{return!!window.localStorage}catch(t){return!0}},indexedDB:function(){if(!A()&&!function(){var t=window,e=navigator;return m(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!A()}())try{return!!window.indexedDB}catch(t){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return"MacIntel"===t&&W()&&!R()?function(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return m(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>.65&&e<1.53])>=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n<t.length;++n){var i=t[n];if(i){for(var r=[],o=0;o<i.length;++o){var a=i[o];r.push({type:a.type,suffixes:a.suffixes})}e.push({name:i.name,description:i.description,mimeTypes:r})}}return e}},touchSupport:function(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=f(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e<n.length;e++){var r=n[e],o=window[r];o&&"object"==i(o)&&t.push(r)}return t.sort()},cookiesEnabled:function(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}},colorGamut:function(){for(var t=0,e=["rec2020","p3","srgb"];t<e.length;t++){var n=e[t];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!nt("inverted")||!nt("none")&&void 0},forcedColors:function(){return!!it("active")||!it("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t<=100;++t)if(matchMedia("(max-monochrome: ".concat(t,")")).matches)return t;throw new Error("Too high value")}},contrast:function(){return rt("no-preference")?0:rt("high")||rt("more")?1:rt("low")||rt("less")?-1:rt("forced")?10:void 0},reducedMotion:function(){return!!ot("reduce")||!ot("no-preference")&&void 0},reducedTransparency:function(){return!!at("reduce")||!at("no-preference")&&void 0},hdr:function(){return!!st("high")||!st("standard")&&void 0},math:function(){var t,e=ut.acos||lt,n=ut.acosh||lt,i=ut.asin||lt,r=ut.asinh||lt,o=ut.atanh||lt,a=ut.atan||lt,s=ut.sin||lt,c=ut.sinh||lt,u=ut.cos||lt,l=ut.cosh||lt,d=ut.tan||lt,h=ut.tanh||lt,f=ut.exp||lt,v=ut.expm1||lt,p=ut.log1p||lt;return{acos:e(.12312423423423424),acosh:n(1e308),acoshPf:(t=1e154,ut.log(t+ut.sqrt(t*t-1))),asin:i(.12312423423423424),asinh:r(1),asinhPf:ut.log(1+ut.sqrt(2)),atanh:o(.5),atanhPf:ut.log(3)/2,atan:a(.5),sin:s(-1e300),sinh:c(1),sinhPf:ut.exp(1)-1/ut.exp(1)/2,cos:u(10.000000000123),cosh:l(1),coshPf:(ut.exp(1)+1/ut.exp(1))/2,tan:d(-1e300),tanh:h(1),tanhPf:(ut.exp(2)-1)/(ut.exp(2)+1),exp:f(1),expm1:v(1),expm1Pf:ut.exp(1)-1,log1p:p(10),log1pPf:ut.log(11),powPI:ut.pow(ut.PI,-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var t=new Float32Array(1),e=new Uint8Array(t.buffer);return t[0]=1/0,t[0]=t[0]-t[0],e[3]},applePay:function(){var t=window.ApplePaySession;if("function"!=typeof(null==t?void 0:t.canMakePayments))return-1;try{return t.canMakePayments()?1:0}catch(t){return function(t){if(t instanceof Error){if("InvalidAccessError"===t.name){if(/\bfrom\b.*\binsecure\b/i.test(t.message))return-2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(t.message))return-3}if("SecurityError"===t.name&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(t.message))return-3}throw t}(t)}},privateClickMeasurement:function(){var t,e=document.createElement("a"),n=null!==(t=e.attributionSourceId)&&void 0!==t?t:e.attributionsourceid;return void 0===n?void 0:String(n)},audioBaseLatency:function(){var t;return N()||W()?window.AudioContext&&null!==(t=(new AudioContext).baseLatency)&&void 0!==t?t:-1:-2},webGlBasics:function(t){var e,n,i,r,o,a,s=mt(t.cache);if(!s)return-1;if(!kt(s))return-2;var c=wt()?null:s.getExtension("WEBGL_debug_renderer_info");return{version:(null===(e=s.getParameter(s.VERSION))||void 0===e?void 0:e.toString())||"",vendor:(null===(n=s.getParameter(s.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:c?null===(i=s.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===i?void 0:i.toString():"",renderer:(null===(r=s.getParameter(s.RENDERER))||void 0===r?void 0:r.toString())||"",rendererUnmasked:c?null===(o=s.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===o?void 0:o.toString():"",shadingLanguageVersion:(null===(a=s.getParameter(s.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||""}},webGlExtensions:function(t){var e=mt(t.cache);if(!e)return-1;if(!kt(e))return-2;var n=e.getSupportedExtensions(),i=e.getContextAttributes(),r=[],o=[],a=[],s=[];if(i)for(var c=0,u=Object.keys(i);c<u.length;c++){var l=u[c];r.push("".concat(l,"=").concat(i[l]))}for(var d=0,h=yt(e);d<h.length;d++){var f=e[w=h[d]];o.push("".concat(w,"=").concat(f).concat(ht.has(f)?"=".concat(e.getParameter(f)):""))}if(n)for(var v=0,p=n;v<p.length;v++){var m=p[v];if(!("WEBGL_debug_renderer_info"===m&&wt()||"WEBGL_polygon_mode"===m&&(M()||W()))){var g=e.getExtension(m);if(g)for(var y=0,b=yt(g);y<b.length;y++){var w;f=g[w=b[y]],a.push("".concat(w,"=").concat(f).concat(ft.has(f)?"=".concat(e.getParameter(f)):""))}}}for(var k=0,S=vt;k<S.length;k++)for(var _=S[k],C=0,x=pt;C<x.length;C++){var L=x[C],T=gt(e,_,L);s.push("".concat(_,".").concat(L,"=").concat(T.join(",")))}return a.sort(),o.sort(),{contextAttributes:r,parameters:o,shaderPrecisions:s,extensions:n,extensionParameters:a}}};function _t(t){var e=function(t){if(N())return.4;if(W())return!R()||Z()&&G()?.3:.5;var e="value"in t.platform?t.platform.value:"";return/^Win/.test(e)?.6:/^Mac/.test(e)?.5:.7}(t),n=function(t){return g(.99+.01*t,1e-4)}(e);return{score:e,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(n))}}function Ct(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?r({name:(n=e).name,message:n.message,stack:null===(i=n.stack)||void 0===i?void 0:i.split("\n")},n):e;var n,i}),2)}function xt(t){return I(function(t){for(var e="",n=0,i=Object.keys(t).sort();n<i.length;n++){var r=i[n],o=t[r],a="error"in o?"error":JSON.stringify(o.value);e+="".concat(e?"|":"").concat(r.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return e}(t))}function Lt(t){return void 0===t&&(t=50),function(t,e){void 0===e&&(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n.call(window,(function(){return t()}),{timeout:e})})):c(Math.min(t,e))}(t,2*t)}function Tt(t,e){var n=Date.now();return{get:function(i){return o(this,void 0,void 0,(function(){var r,o,s;return a(this,(function(a){switch(a.label){case 0:return r=Date.now(),[4,t()];case 1:return o=a.sent(),s=function(t){var e;return{get visitorId(){return void 0===e&&(e=xt(this.components)),e},set visitorId(t){e=t},confidence:_t(t),components:t,version:"4.4.2"}}(o),(e||(null==i?void 0:i.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(r-n,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(Ct(o),"\n```")),[2,s]}}))}))}}}function Vt(t){return void 0===t&&(t={}),o(this,void 0,void 0,(function(){var e,n,i;return a(this,(function(r){switch(r.label){case 0:return t.monitoring,e=t.delayFallback,n=t.debug,[4,Lt(e)];case 1:return r.sent(),i=function(t){return O(St,t,[])}({cache:{},debug:n}),[2,Tt(i,n)]}}))}))}n(1111);function jt(t){return jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jt(t)}function Et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function It(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(n),!0).forEach((function(e){Pt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pt(t,e,n){return(e=Rt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ot(){Ot=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(t,e,n,i){return Object.defineProperty(t,e,{value:n,enumerable:!i,configurable:!i,writable:!i})}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(e,n,i,r){var o=n&&n.prototype instanceof h?n:h,a=Object.create(o.prototype);return c(a,"_invoke",function(e,n,i){var r=1;return function(o,a){if(3===r)throw Error("Generator is already running");if(4===r){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=k(s,i);if(c){if(c===d)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(1===r)throw r=4,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=3;var u=l(e,n,i);if("normal"===u.type){if(r=i.done?4:2,u.arg===d)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(r=4,i.method="throw",i.arg=u.arg)}}}(e,i,new C(r||[])),!0),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var d={};function h(){}function f(){}function v(){}var p={};c(p,o,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==n&&i.call(g,o)&&(p=g);var y=v.prototype=h.prototype=Object.create(p);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(r,o,a,s){var c=l(t[r],t,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==jt(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var r;c(this,"_invoke",(function(t,i){function o(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(o,o):o()}),!0)}function k(e,n){var i=n.method,r=e.i[i];if(r===t)return n.delegate=null,"throw"===i&&e.i.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var o=l(r,e.i,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,d;var a=o.arg;return a?a.done?(n[e.r]=a.value,n.next=e.n,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function S(t){this.tryEntries.push(t)}function _(e){var n=e[4]||{};n.type="normal",n.arg=t,e[4]=n}function C(t){this.tryEntries=[[-1]],t.forEach(S,this),this.reset(!0)}function x(e){if(null!=e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(jt(e)+" is not iterable")}return f.prototype=v,c(y,"constructor",v),c(v,"constructor",f),f.displayName=c(v,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},b(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new w(u(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(y),c(y,s,"Generator"),c(y,o,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.unshift(i);return function t(){for(;n.length;)if((i=n.pop())in e)return t.value=i,t.done=!1,t;return t.done=!0,t}},e.values=x,C.prototype={constructor:C,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(t){a.type="throw",a.arg=e,n.next=t}for(var r=n.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o[4],s=this.prev,c=o[1],u=o[2];if(-1===o[0])return i("end"),!1;if(!c&&!u)throw Error("try statement without catch or finally");if(null!=o[0]&&o[0]<=s){if(s<c)return this.method="next",this.arg=t,i(c),!0;if(s<u)return i(u),!1}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i[0]>-1&&i[0]<=this.prev&&this.prev<i[2]){var r=i;break}}r&&("break"===t||"continue"===t)&&r[0]<=e&&e<=r[2]&&(r=null);var o=r?r[4]:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r[2],d):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[2]===t)return this.complete(n[4],n[3]),_(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]===t){var i=n[4];if("throw"===i.type){var r=i.arg;_(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={i:x(e),r:n,n:i},"next"===this.method&&(this.arg=t),d}},e}function At(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function Mt(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){At(o,i,r,a,s,"next",t)}function s(t){At(o,i,r,a,s,"throw",t)}a(void 0)}))}}function Wt(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Rt(i.key),i)}}function Rt(t){var e=function(t,e){if("object"!=jt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=jt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==jt(e)?e:e+""}function Gt(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function Bt(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var Zt=new WeakSet,Nt=function(){return function(t,e,n){return e&&Wt(t.prototype,e),n&&Wt(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Gt(this,Zt),this.userId=ttsObj.user_id,"0"==this.userId&&this.getUniqueUserId(),this.apiUrl=ttsObj.api_url+ttsObj.api_namespace+"/"+ttsObj.api_version+"/track",this.postId=e,this.sessionData=this.getSessionData(),this._startTimeTracking=!1,this.listeningLengthInterval=null,this._audioDuration=0,this._currentTime=0,this._milestones={"25_percent":!1,"50_percent":!1,"75_percent":!1},window.__tta_active_analytics=this,window.__tta_beforeunload_attached||(window.__tta_beforeunload_attached=!0,window.addEventListener("beforeunload",(function(){window.__tta_active_analytics&&window.__tta_active_analytics.sendSessionData()}))),this.trackDeviceInfo()}),[{key:"startTimeTracking",get:function(){return this._startTimeTracking},set:function(t){this._startTimeTracking=t,this.trackListeningLength()}},{key:"handleStartTimeTracking",value:function(t){this.trackListeningLength()}},{key:"trackInit",value:function(){"0"==this.userId&&this.getUniqueUserId(),this.addEvent("init")}},{key:"trackPlay",value:function(){this.startTimeTracking=!0,this.addEvent("play")}},{key:"trackPause",value:function(){this.startTimeTracking=!1,this.addEvent("pause")}},{key:"trackResume",value:function(){this.startTimeTracking=!0,this.addEvent("resume")}},{key:"trackEnd",value:function(){this.startTimeTracking=!1,this.addEvent("end"),this.resetMilestones()}},{key:"setAudioDuration",value:function(t){this._audioDuration=t}},{key:"trackProgress",value:function(t){if(this._audioDuration&&!(this._audioDuration<=0)){this._currentTime=t;var e=t/this._audioDuration*100;e>=25&&!this._milestones["25_percent"]&&(this._milestones["25_percent"]=!0,this.addEvent("25_percent")),e>=50&&!this._milestones["50_percent"]&&(this._milestones["50_percent"]=!0,this.addEvent("50_percent")),e>=75&&!this._milestones["75_percent"]&&(this._milestones["75_percent"]=!0,this.addEvent("75_percent"))}}},{key:"resetMilestones",value:function(){this._milestones={"25_percent":!1,"50_percent":!1,"75_percent":!1}}},{key:"trackDownload",value:function(){this.addEvent("download")}},{key:"trackListeningLength",value:function(){var t=this;this.startTimeTracking?this.listeningLengthInterval||(this.listeningLengthInterval=setInterval((function(){var e,n=t.getSessionData();null!=n&&n.listening_length&&(t.listeningLength=null==n||null===(e=n.listening_length)||void 0===e?void 0:e.length);t.listeningLength+=1,t.addEvent("time")}),1e3)):(clearInterval(this.listeningLengthInterval),this.listeningLengthInterval=null,this.startTimeTracking&&this.addEvent("time"),this.listeningLength=0)}},{key:"getSessionData",value:function(){var t=sessionStorage.getItem("atlasVoice_analytics_data");return t?JSON.parse(t):{}}},{key:"saveSessionData",value:function(){sessionStorage.setItem("atlasVoice_analytics_data",JSON.stringify(this.sessionData))}},{key:"sendSessionData_old",value:function(){var t,e;this.shouldTrackAnalyticsData()&&(this.sessionData=this.getSessionData(),0!==(null===(t=Object.keys(this.sessionData))||void 0===t?void 0:t.length)&&(fetch(this.apiUrl,{method:"POST",headers:{"Content-Type":"application/json","X-WP-NONCE":null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e?void 0:e.rest_nonce},body:JSON.stringify({analytics:this.sessionData,post_id:this.postId,user_id:this.userId,other_data:{}})}),sessionStorage.removeItem("atlasVoice_analytics_data"),sessionStorage.removeItem("atlasVoice_analytics_is_initiated"),window.hasAtlasVoiceAnalyticsBeforeUnloadListener=!1))}},{key:"sendSessionData",value:function(){var t;if(this.shouldTrackAnalyticsData()){var e=this.getSessionData();if(0!==Object.keys(e).length){var n={analytics:e,post_id:this.postId,user_id:this.userId,other_data:{},rest_nonce:null===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t?void 0:t.rest_nonce},i=JSON.stringify(n),r=navigator.userAgent.toLowerCase().includes("firefox"),o=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if(navigator.sendBeacon&&(r||o))try{var a=new Blob([i],{type:"application/json"});navigator.sendBeacon(this.apiUrl,a)&&(sessionStorage.removeItem("atlasVoice_analytics_data"),sessionStorage.removeItem("atlasVoice_analytics_is_initiated"))}catch(t){console.warn("sendBeacon failed, fallback to fetch()",t),this._sendSessionDataWithFetch(i)}else this._sendSessionDataWithFetch(i);window.hasAtlasVoiceAnalyticsBeforeUnloadListener=!1}}}},{key:"_sendSessionDataWithFetch",value:function(t){var e;fetch(this.apiUrl,{method:"POST",headers:{"Content-Type":"application/json","X-WP-NONCE":(null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e?void 0:e.rest_nonce)||""},body:t,keepalive:!0}).catch((function(t){return console.error("Fetch error:",t)})).finally((function(){sessionStorage.removeItem("atlasVoice_analytics_data"),sessionStorage.removeItem("atlasVoice_analytics_is_initiated")}))}},{key:"getUniqueUserId",value:(n=Mt(Ot().mark((function t(){var e,n;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.userId,"0"!=this.userId){t.next=5;break}return n=Vt(),t.next=5,n.then((function(t){return t.get()})).then((function(t){e=t.visitorId}));case 5:this.userId=e;case 6:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"addEvent",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldTrackAnalyticsData()){var i,r={};if("device_info"===t)return this.sessionData[t]=n,void this.saveSessionData();if(null!==(e=this.sessionData)&&void 0!==e&&e[t])r=It({count:(null===(i=this.sessionData)||void 0===i||null===(i=i[t])||void 0===i?void 0:i.count)+1,timestamp:(new Date).toISOString()},n);else r=It({count:1,timestamp:(new Date).toISOString()},n);this.sessionData[t]=r,this.saveSessionData()}}},{key:"addEvent_new",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sessionData[this.postId]||(this.sessionData[this.postId]={}),this.sessionData[this.postId][t]||(this.sessionData[this.postId][t]={count:0}),this.sessionData[this.postId][t].count+=1,this.sessionData[this.postId][t]=It(It({},this.sessionData[this.postId][t]),e),this.saveSessionData()}},{key:"trackDeviceInfo",value:(e=Mt(Ot().mark((function t(){var e,n,i,r,o;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e="undefined"!=typeof ttsObj&&ttsObj.settings&&ttsObj.settings.analytics&&ttsObj.settings.analytics.tts_show_listener_location,n=function(t){return t&&"object"===jt(t)&&(t.country=null,t.city=null,t.region=null),t},i=localStorage.getItem("atlasVoice_stored_device_info"),!(i=JSON.parse(i))){t.next=14;break}if(e){t.next=10;break}return n(i),localStorage.setItem("atlasVoice_stored_device_info",JSON.stringify(i)),this.addEvent("device_info",i),t.abrupt("return");case 10:if(!(i.country||i.city||i.region)){t.next=14;break}return this.addEvent("device_info",i),t.abrupt("return");case 14:return t.next=16,this.getDeviceData().then((function(t){return t}));case 16:if(r=t.sent,!e){t.next=24;break}return t.next=20,Bt(Zt,this,Ht).call(this);case 20:(o=t.sent)&&(o.city&&"Unknown"!==o.city&&(r.city=o.city),o.country&&"Unknown"!==o.country&&(r.country=o.country),o.region&&(r.region=o.region)),t.next=25;break;case 24:n(r);case 25:localStorage.setItem("atlasVoice_stored_device_info",JSON.stringify(r)),this.addEvent("device_info",r);case 27:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"getDeviceData",value:(t=Mt(Ot().mark((function t(){var e,n,i,r,o,a;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,e="Unknown",n="Desktop",i="";if((t=t.toLowerCase()).includes("windows"))e=t.includes("windows nt 10.0")?"Windows 10":t.includes("windows nt 11.0")?"Windows 11":t.includes("windows nt 6.3")?"Windows 8.1":t.includes("windows nt 6.2")?"Windows 8":t.includes("windows nt 6.1")?"Windows 7":"Windows",t.includes("win64")||t.includes("x64")||t.includes("wow64")?i="64-bit":(t.includes("win32")||t.includes("x86"))&&(i="32-bit");else if(t.includes("macintosh")||t.includes("mac os"))e="macOS",i=t.includes("arm")||t.includes("apple")?"Apple Silicon":"Intel";else if(/iphone|ipad|ipod/.test(t))e="iOS",n=/ipad/.test(t)?"Tablet":"Mobile";else if(t.includes("android")){var r=t.match(/android\s([\d\.]+)/);e=r?"Android ".concat(r[1]):"Android",n=t.includes("mobile")?"Mobile":"Tablet"}else t.includes("linux")&&(e="Linux",t.includes("x86_64")?i="64-bit":t.includes("i686")&&(i="32-bit"));return/mobi|android|iphone|ipod/i.test(t)?n="Mobile":/ipad|tablet/i.test(t)&&(n="Tablet"),{platform:e,architecture:i,deviceType:n}},i=function(){return(i=Mt(Ot().mark((function t(){var e;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("permissions"in navigator&&"geolocation"in navigator){t.next=2;break}return t.abrupt("return",null);case 2:return t.prev=2,t.next=5,navigator.permissions.query({name:"geolocation"});case 5:if(!(e=t.sent)||"granted"!==e.state){t.next=10;break}return t.abrupt("return",new Promise((function(t){navigator.geolocation.getCurrentPosition((function(e){t({latitude:e.coords.latitude,longitude:e.coords.longitude,accuracy:e.coords.accuracy,timestamp:e.timestamp})}),(function(e){t(null)}),{enableHighAccuracy:!1,maximumAge:3e5,timeout:5e3})})));case 10:return t.abrupt("return",null);case 11:t.next=16;break;case 13:return t.prev=13,t.t0=t.catch(2),t.abrupt("return",null);case 16:case"end":return t.stop()}}),t,null,[[2,13]])})))).apply(this,arguments)},n=function(){return i.apply(this,arguments)},e={browserName:null,browserVersion:null,browser:null,platform:navigator.platform||null,deviceType:null,architecture:null,language:navigator.language||null,timeZone:Bt(Zt,this,Ft).call(this),location:null,country:Bt(Zt,this,Dt).call(this),city:null,region:null},function(){if(!e.browserName)for(var t,n=null===(t=window)||void 0===t||null===(t=t.navigator)||void 0===t?void 0:t.userAgent,i=0,r=[{name:"Edge",re:/Edg\/([0-9._]+)/},{name:"Chrome",re:/Chrome\/([0-9._]+)/},{name:"Firefox",re:/Firefox\/([0-9._]+)/},{name:"Safari",re:/Version\/([0-9._]+).*Safari/},{name:"Opera",re:/OPR\/([0-9._]+)/},{name:"IE",re:/MSIE\s([0-9._]+)|Trident\/.*rv:([0-9._]+)/}];i<r.length;i++){var o=r[i],a=n.match(o.re);if(a){e.browser=o.name+"_"+a[1]||a[2]||null;break}}}(),t.prev=5,t.next=8,n();case 8:(r=t.sent)&&(e.location=r),t.next=14;break;case 12:t.prev=12,t.t0=t.catch(5);case 14:return null!=(a=o())&&a.deviceType&&(e.deviceType=a.deviceType),null!=a&&a.platform&&(e.platform=a.platform),null!=a&&a.architecture&&(e.architecture=a.architecture),t.abrupt("return",e);case 19:case"end":return t.stop()}}),t,this,[[5,12]])}))),function(){return t.apply(this,arguments)})},{key:"getReport",value:function(t){return fetch("".concat(this.apiUrl,"/report?period=").concat(t)).then((function(t){return t.json()}))}},{key:"shouldTrackAnalyticsData",value:function(){var t,e;if(null===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t||null===(t=t.settings)||void 0===t||null===(t=t.analytics)||void 0===t||!t.tts_enable_analytics)return!1;var n=null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.analytics)||void 0===e?void 0:e.tts_trackable_post_ids;if(!n||!n.length)return!0;var i=n.map((function(t){return String(t)}));return i.includes("all")||i.includes(String(this.postId))}}]);var t,e,n}();function Ft(){return"object"===("undefined"==typeof Intl?"undefined":jt(Intl))&&Intl.DateTimeFormat?Intl.DateTimeFormat().resolvedOptions().timeZone:null}function Dt(){var t,e=Bt(Zt,this,Ft).call(this),n=null;null!==(t=window)&&void 0!==t&&t.ct&&(n=ct.getTimezone(e));var i=n?ct.getCountry(n.countries[0]):null;return i?i.name:"Unknown"}function Ht(){return Yt.apply(this,arguments)}function Yt(){return(Yt=Mt(Ot().mark((function t(){var e,n,i;return Ot().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("".concat(ttsObj.api_url).concat(ttsObj.api_namespace,"/").concat(ttsObj.api_version,"/geolocation"),{method:"GET",headers:{"Content-Type":"application/json","X-WP-NONCE":(null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e?void 0:e.rest_nonce)||""}});case 3:if((n=t.sent).ok){t.next=6;break}throw new Error("Geolocation API request failed");case 6:return t.next=8,n.json();case 8:if(!(i=t.sent).status||!i.data){t.next=11;break}return t.abrupt("return",i.data);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(0),console.warn("Failed to fetch geolocation:",t.t0);case 16:return t.abrupt("return",{city:"Unknown",country:Bt(Zt,this,Dt).call(this),region:""});case 17:case"end":return t.stop()}}),t,this,[[0,13]])})))).apply(this,arguments)}const zt=Nt;window.AtlasVoiceAnalytics=Nt},6756:(t,e,n)=>{n.d(e,{P:()=>o});var i=new Set(["mr","mrs","ms","dr","prof","sr","jr","st","ave","rd","blvd","inc","ltd","co","corp","vs","etc","no","vol","fig","dept","est","approx","min","max","jan","feb","mar","apr","jun","jul","aug","sep","sept","oct","nov","dec","mon","tue","wed","thu","fri","sat","sun","eg","ie","am","pm","us","uk","eu","ph","phd","mit","usa"]);function r(t){if(!t)return!1;var e=t.toLowerCase().replace(/[^a-z.]/g,"").replace(/\./g,"");return!!e&&(!!/^[a-z]$/.test(e)||i.has(e))}var o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t||"string"!=typeof t)return[];for(var e,n=[],i=0,o=/([.!?]+)(["'”’)\]]*)(\s+)/g;null!==(e=o.exec(t));){var a=e[1],s=o.lastIndex,c=t.slice(i,e.index),u=t.charAt(s);if(""===u||/[A-Z0-9"'“‘(\[¿¡]/.test(u)){if("."===a)if(r((c.match(/(\S+)$/)||[null,""])[1]))continue;var l=t.slice(i,s).trim();l&&n.push(l),i=s}}var d=t.slice(i).trim();return d&&n.push(d),n}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i=n(1522);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}function a(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}function s(t,e,n){c(t,e),e.set(t,n)}function c(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(t,e){return t.get(d(t,e))}function l(t,e,n){return t.set(d(t,e),n),n}function d(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,f=new WeakMap,v=new WeakMap,p=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,b=new WeakSet,w=function(){return t=function t(e,n,i,r){var o,u;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),c(o=this,u=b),u.add(o),s(this,h,""),s(this,f,{}),function(t,e,n){(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,"voices",[]),s(this,v,"Google UK English Female"),s(this,p,"en-GB"),s(this,m,"en-GB"),s(this,g,"Google UK English Female"),s(this,y,[]),l(f,this,e),this.voices=n,i&&l(m,this,i),r&&l(g,this,r),this.defineVoiceAndLang(r,i)},e=[{key:"isAndroid",value:function(){var t=navigator.userAgent.toLowerCase().indexOf("android")>-1;return!!t}},{key:"getLanguage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u(v,this),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(p,this);return u(p,this)===e||this.defineVoiceAndLang(t,e),u(p,this)}},{key:"getVoice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u(v,this),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(p,this);return u(v,this)===t||this.defineVoiceAndLang(t,e),u(v,this)}},{key:"setLanguage",value:function(t,e){var n=this,i=!1;return this.voices.length?(Object.values(this.voices).map((function(e){var r=new RegExp(t,"gi");null!==e.lang.match(r)&&e.name&&(l(p,n,e.lang),i=!0)})),{lang:u(p,this),isSupported:i}):{lang:u(p,this),isSupported:i}}},{key:"setVoice",value:function(t){l(v,this,t)}},{key:"getVoiceByLangCode",value:function(t){for(var e=0;e<this.voices.length;e++){var n=this.voices[e];if(n.lang===t)return n.name}return!1}},{key:"defineVoiceAndLang",value:function(t,e){var n,i="",r=t||u(g,this),o=e||u(m,this),a=d(b,this,k).call(this,o),s=d(b,this,S).call(this,a);if(s.length>1)for(var c=0;c<s.length;c++){if(i=s[c].lang,n=s[c].name,r===s[c].name){l(v,this,n),l(p,this,i);break}l(v,this,n),l(p,this,i)}else 1===s.length?(l(v,this,s[0].name),l(p,this,s[0].lang)):(l(v,this,t),l(p,this,e))}},{key:"getVoices",value:function(){return this.voices}},{key:"validateCountryCode",value:function(t){for(var e=this.voices,n=0;n<e.length;n++){var i=e[n].lang;if((i=d(b,this,k).call(this,i))==t||this.aliasCountryCode(t))return!0}return!1}},{key:"aliasCountryCode",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={es:["es","ca"]};for(var i in n)if(n[i].includes(t))return!!e||i;return!e&&t}}],e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function k(t){return t&&-1!==t.indexOf("-")?t.split("-")[0]:t&&-1!==t.indexOf("_")?t.split("_")[0]:t}function S(t){var e=this;return l(y,this,[]),Object.values(this.voices).map((function(n){var i=new RegExp("^"+t,"i");null!==n.lang.match(i)&&n.name&&u(y,e).push(n)})),u(y,this)}window.BrowserSupport=w;var _,C=n(1111),x=n(6379);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function T(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,j(i.key),i)}}function V(t,e,n){return(e=j(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j(t){var e=function(t,e){if("object"!=L(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=L(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==L(e)?e:e+""}var E=function(){return t=function t(e){var n,r,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.TTS;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),V(this,"TTS",window.TTS),V(this,"browser",null),V(this,"speech",null),V(this,"speechSynthesis",window.speechSynthesis),V(this,"utterence",new SpeechSynthesisUtterance),V(this,"speechRecognitionIsActive",!0),V(this,"speechRecognition",window.speechRecognition||window.webkitSpeechRecognition),V(this,"recordStatus","record"),V(this,"listenStatus","listen"),V(this,"noticeClass","tta_notice"),V(this,"cofiguration",{}),V(this,"timer",null),V(this,"buttonId",null),V(this,"speakButton",null),V(this,"content",null),V(this,"ttsListeningSettings",null),V(this,"languages",[]),V(this,"voices",{}),V(this,"voice","Google UK English Female"),V(this,"language","en-GB"),V(this,"buttonTextArr",null),V(this,"splittedSentances",""),V(this,"isCanceled",!1),V(this,"shouldCancelTimer",null),V(this,"callBackAfterEnd",null),V(this,"splitSentences",null),V(this,"playButtonNo",1),V(this,"analytics",null),V(this,"playButtonIcon",null),this.TTS=c,this.content=a||window.TTS.contents[e],this.splittedSentances=(0,C.PC)(a),this.buttonId=e,this.buttonTextArr=this.TTS.settings.textArr,this.speakButton=s||document.getElementById(e),this.ttsListeningSettings=this.TTS.settings.listening,this.speech=new i.A,this.splitSentences=C.PC,this.playButtonNo=null!==(n=null===(r=window)||void 0===r||null===(r=r.TTS)||void 0===r||null===(r=r.extra)||void 0===r?void 0:r.player_id)&&void 0!==n?n:1,this.analytics=new x.A(this.TTS.settings.postId),this.playButtonIcon=(0,C.cs)(),"function"==typeof NoSleep&&null!==(o=ttsObj)&&void 0!==o&&o.is_mobile){var u=new NoSleep;window.onload=function(){u.enable(),console.log("NoSleep enabled")}}},e=[{key:"getData",value:function(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(window.TextToSpeech=this),this}},{key:"getStateText",value:function(t,e){var n,i,r,o=null==this?void 0:this.playButtonNo,a=null==this||null===(n=this.buttonTextArr)||void 0===n||null===(n=n.players)||void 0===n||null===(n=n[o])||void 0===n||null===(n=n[t])||void 0===n?void 0:n.text;if(a&&a.length)return a;var s=t+"_text";return null!==(i=null==this||null===(r=this.buttonTextArr)||void 0===r?void 0:r[s])&&void 0!==i?i:e}},{key:"getStateHover",value:function(t,e){var n,i,r,o=null==this?void 0:this.playButtonNo,a=null==this||null===(n=this.buttonTextArr)||void 0===n||null===(n=n.players)||void 0===n||null===(n=n[o])||void 0===n||null===(n=n[t])||void 0===n?void 0:n.hover;if(a&&a.length)return a;var s=t+"_hover_title";return null!==(i=null==this||null===(r=this.buttonTextArr)||void 0===r?void 0:r[s])&&void 0!==i?i:e}},{key:"playButtonText",value:function(){return this.getStateText("listen","Listen")}},{key:"_renderStateContent",value:function(t,e,n){var i,r,o=null!==(i=null==this?void 0:this.playButtonNo)&&void 0!==i?i:1,a=null===(r=this.playButtonIcon)||void 0===r||null===(r=r[o])||void 0===r?void 0:r[t],s="";return a?s=(new DOMParser).parseFromString(a,"image/svg+xml").documentElement.outerHTML:e&&(s='<span class="dashicons '.concat(e,'"></span>')),'<div class="tts_button" aria-hidden="true">'.concat(s,'<span class="tts_button_label">').concat(n,"</span></div>")}},{key:"playButtonContent",value:function(){return this._renderStateContent("play","dashicons-controls-play",this.playButtonText())}},{key:"replayButtonText",value:function(){return this.getStateText("replay","Replay")}},{key:"replayButtonContent",value:function(){return this._renderStateContent("replay","dashicons-image-rotate",this.replayButtonText())}},{key:"pauseButtonText",value:function(){return this.getStateText("pause","Pause")}},{key:"pauseButtonContent",value:function(){return this._renderStateContent("pause","dashicons-controls-pause",this.pauseButtonText())}},{key:"resumeButtonText",value:function(){return this.getStateText("resume","Resume")}},{key:"resumeButtonContent",value:function(){return this._renderStateContent("resume","dashicons-controls-play",this.resumeButtonText())}},{key:"recordStartButtonContent",value:function(){return'<span class="dashicons dashicons-controls-volumeoff"></span> '+this.buttonTextArr.start_text}},{key:"recordStopButtonConten",value:function(){return'<span class="dashicons dashicons-controls-volumeon"></span> '+this.buttonTextArr.stop_text}},{key:"displayApiMissing",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="",i="";if(this.speechRecognitionIsActive||(n+="Text To Audio: Please enable speechRecognition"),this.speechSynthesis||(n+=n?" , speechSynthesis.":"Text To Audio: Please enable speechSynthesis."),t){var r,o=null===(r=document.getElementById(t))||void 0===r?void 0:r.previousSibling;o?(n+=' Click here to <a href="https://wordpress.org/plugins/text-to-audio/#how%20to%20enable%20%60%60speechsynthesis%60%60%20on%20firefox%3F" target="_blank">enable</a>',o.style.display="block",o.innerHTML=n,setTimeout((function(){document.querySelector(".tta_notice").style.display="none",o.innerHTML=""}),5e3)):(n+="\nFollow this link to enable: \n".concat(i+="This browser not supports speechSynthesis API"),alert(n))}else e||"?page=text-to-audio"===location.search&&"#/customize"===location.hash?i+=ttsObj.admin_url+"admin.php?page=text-to-audio#/faq":i+="https://wordpress.org/plugins/text-to-audio/#how%20to%20enable%20%60%60speechsynthesis%60%60%20on%20firefox%3F",n+="\nFollow this link to enable: \n".concat(i),alert(n);return!0}},{key:"displayButtonText",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];1===Number(null==this?void 0:this.playButtonNo)&&null!=this&&null!==(e=this.speakButton)&&void 0!==e&&e.innerHTML&&("listen"===t?(this.speakButton.innerHTML=this.replayButtonContent(),this.speakButton.setAttribute("title","Text To Audio:"+this.getStateHover("replay","Click to listen post."))):"pause"===t?(this.speakButton.innerHTML=this.pauseButtonContent(),this.speakButton.setAttribute("title","Text To Audio:"+this.getStateHover("pause",this.pauseButtonText()))):"resume"===t&&(this.speakButton.innerHTML=this.resumeButtonContent(),this.speakButton.setAttribute("title","Text To Audio:"+this.getStateHover("resume",this.resumeButtonText()))),n&&(0,C.ho)(this.speakButton))}},{key:"finishedSpeaking",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.speech.speaking()&&!n||(console.log("End utterance "+this.speech.speaking()),this.listenStatus="listen",this.displayButtonText(this.listenStatus),this.splittedSentances=(0,C.PC)(window.TTS.contents[this.buttonId]),t.cancel()),console.log("Success !",e),this.analytics.trackEnd(),this.callBackAfterEnd&&this.callBackAfterEnd(),this.browser.isAndroid()||(clearTimeout(this.timer),this.timer=null,clearTimeout(this.shouldCancelTimer),this.shouldCancelTimer=null),window.sessionStorage.setItem("tts_paused_by_intention",!1)}},{key:"speak",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n||(n=this.content),this.speech.hasBrowserSupport()){try{window.speechSynthesis&&window.speechSynthesis.paused&&(window.speechSynthesis.resume(),window.speechSynthesis.cancel())}catch(t){}if(t.setLanguage(this.browser.getLanguage()),t.setVoice(this.browser.getVoice()),console.log(n),t.speak({text:n,queue:!1,listeners:{onstart:function(t){console.log("Start utterance"),e.utterence=t,wp.hooks.doAction("tts_high_light_text",t.currentTarget.text,e.buttonId,C.PC)},onend:function(t){console.log("End utterance")},onpause:function(t){console.log("Pause utterance")},onresume:function(t){console.log("Resume utterance")},onboundary:function(t){}}}).then((function(n){e.finishedSpeaking(t,n)})).catch((function(t){console.error("An error occurred :",t)})),this.listenStatus="pause",this.displayButtonText(this.listenStatus,i),this.analytics.trackPlay(),!this.browser.isAndroid()){var r=this;this.timer=setTimeout((function e(){t.pause(),console.log(t),setTimeout((function(){t.resume()}),0),r.timer=setTimeout(e,13e3),t.speaking()||(clearTimeout(r.timer),r.timer=null)}),13e3)}}else this.displayApiMissing("tts__listent_content_"+this.buttonId)}},{key:"pause",value:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.browser.isAndroid())t.cancel(),this.isCanceled=!0;else{t.pause();var r=0;this.shouldCancelTimer=setInterval((function(){t.cancel(),n.isCanceled=!0,r++,(!t.speaking()||r>=20)&&(clearInterval(n.shouldCancelTimer),n.shouldCancelTimer=null)}),50)}var o=this.splittedSentances.indexOf((null===(e=this.utterence)||void 0===e||null===(e=e.target)||void 0===e?void 0:e.text)||"");this.splittedSentances=this.splittedSentances.slice(o),this.content=this.splittedSentances.join(" "),this.listenStatus="resume",this.displayButtonText(this.listenStatus,i),this.analytics.trackPause(),this.browser.isAndroid()||clearTimeout(this.timer)}},{key:"resume",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isCanceled?(this.speak(t,this.content),clearTimeout(this.shouldCancelTimer),this.browser.isAndroid()||clearTimeout(this.timer)):(t.resume(),clearTimeout(this.shouldCancelTimer)),this.listenStatus="pause",this.displayButtonText(this.listenStatus,e),!this.browser.isAndroid()){var n=this;this.timer=setTimeout((function e(){t.pause(),console.log(t),setTimeout((function(){t.resume()}),0),n.timer=setTimeout(e,13e3),t.speaking()||(clearTimeout(n.timer),n.timer=null)}),13e3)}}},{key:"_init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.callBackAfterEnd=e,void 0!==this.ttsListeningSettings&&this.speech.init({volume:this.ttsListeningSettings.tta__listening_volume?this.ttsListeningSettings.tta__listening_volume:1,rate:this.ttsListeningSettings.tta__listening_rate?this.ttsListeningSettings.tta__listening_rate:1,pitch:this.ttsListeningSettings.tta__listening_pitch?this.ttsListeningSettings.tta__listening_pitch:1,splitSentences:!0,listeners:{onvoiceschanged:function(t){}}}).then((function(e){var i,r;t.voices=e.voices,t.browser=new w(ttsObj,e.voices,null===(i=t.ttsListeningSettings)||void 0===i?void 0:i.tta__listening_lang,null===(r=t.ttsListeningSettings)||void 0===r?void 0:r.tta__listening_voice),t._prepareSpeakButton(t.speech,n),window.sessionStorage.setItem("tts_paused_by_intention",!1)})).catch((function(t){console.error("An error occured while initializing:",t)}))}},{key:"_prepareSpeakButton",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"listen"==this.listenStatus?this.speak(t,null,n):"pause"==this.listenStatus?this.pause(t,n):"resume"==this.listenStatus&&this.resume(t,n),document.addEventListener("visibilitychange",(function(){var n,i,r=null!==(n=null===(i=window)||void 0===i||null===(i=i.ttsObj)||void 0===i||null===(i=i.settings)||void 0===i||null===(i=i.settings)||void 0===i?void 0:i.tta__settings_stop_auto_pause_after_switching_tab)&&void 0!==n&&n;if(r=wp.hooks.applyFilters("tta__settings_stop_auto_pause_after_switching_tab",r),"hidden"!==document.visibilityState||"pause"!==e.listenStatus||r||(e.pause(t),e.callBackAfterEnd&&e.callBackAfterEnd()),"visible"===document.visibilityState&&"resume"===e.listenStatus&&!r){var o,a,s=JSON.parse(window.sessionStorage.getItem("tts_paused_by_intention")),c=null!==(o=null===(a=window)||void 0===a||null===(a=a.ttsObj)||void 0===a||null===(a=a.settings)||void 0===a||null===(a=a.settings)||void 0===a?void 0:a.tta__settings_stop_auto_playing_after_switching_tab)&&void 0!==o&&o;s||c||(window.sessionStorage.setItem("tts_paused_by_intention",!1),e.resume(t)),e.callBackAfterEnd&&e.callBackAfterEnd()}}))}}],e&&T(t.prototype,e),n&&T(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();if(null!==(_=window)&&void 0!==_&&null!==(_=_.ttsObj)&&void 0!==_&&_.is_atlasvoice_addon_functional?window.TextToSpeech=E:window.document.addEventListener("DOMContentLoaded",(function(){window.TextToSpeech=E})),"page=text-to-audio"===new URLSearchParams("page=text-to-audio").toString()){var I;I=setInterval((function(){window.hasOwnProperty("ttsObj")&&ttsObj.is_dashboard&&(window.hasOwnProperty("TTS")?""!==window.TTS.contents[0]&&(window.TTS.contents[1]=""):(window.TTS={},window.TTS.contents={},window.TTS.contents[1]=""),window.TTS.hasOwnProperty("settings")||(window.TTS.settings={listening:{tta__listening_lang:"en-GB",tta__listening_voice:"Google UK English Female",tta__listening_pitch:"1",tta__listening_rate:"1",tta__listening_volume:"1"},cssClass:"",btnStyle:"background-color:#ee6d6d;color:#ffffff;width:100%;border:0;display:block;border-radius:4px;text-decoration:none;cursor:pointer;",textArr:{listen_text:"Listen",pause_text:"Pause",resume_text:"Resume",replay_text:"Replay",start_text:"Start",stop_text:"Start"},shouldDisplayIcon:"inline-block"},window.TTS.settings.readingTime=1),clearInterval(I),I=null)}),1e3)}})();