1/*! For license information please see text-to-audio-button.min.js.LICENSE.txt */ 2(()=>{"use strict";var u={1111:(u,t,e)=>{e.d(t,{PC:()=>D,cs:()=>i,ho:()=>o});var n=e(6756);var D=n.P,i=function(){var u,t="#ffffff",e=ttsObj.settings;return null!=e&&null!==(u=e.customize)&&void 0!==u&&u.color&&(t=e.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(t,"' 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(t,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(t,"' 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(t,"' 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(t,"' 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(t,"'></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(t,"'></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(t,"' 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(t,"'></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
211.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(t,"'></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(t,"' 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(t,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(t,"' 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(t,"' 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(t,"' 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(t,"'></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(t,"'></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(t,"' 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.7
25 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(t,"'></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(t,"'></path> </g></svg>")}}},o=function(u){var t,e,n="#000000",D="#000000",i=ttsObj.settings;null!=i&&null!==(t=i.customize)&&void 0!==t&&t.color&&(D=i.customize.color),n=null!=i&&null!==(e=i.customize)&&void 0!==e&&e.hoverTextColor?i.customize.hoverTextColor:D;var o=u.querySelector("svg");o&&(o.querySelectorAll("[fill]").forEach((function(u){"none"!==u.getAttribute("fill")&&u.setAttribute("fill",n)})),o.hasAttribute("stroke")&&o.setAttribute("stroke",n),o.querySelectorAll("[stroke]").forEach((function(u){"none"!==u.getAttribute("stroke")&&u.setAttribute("stroke",n)})))}},1522:(u,t,e)=>{e.d(t,{A:()=>F});var n=e(6756).P,D=/^(?:(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|n
2o-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,i=function(u){return"string"==typeof u||u instanceof String};const o={trim:function(u){return i(u)?u.trim():""},isNan:function(u){return"number"==typeof u&&isNaN(u)},isNil:function(u){return null==u},isObject:function(u){return"[object Object]"===Object.prototype.toString.call(u)},size:function(u){return u&&Array.isArray(u)&&u.length?u.length:0},isString:i,splitSentences:n,validateLocale:function(u){return"string"==typeof u&&D.test(u)}};var r={};function a(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=function(){function u(){!function(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),this.browserSupport="speechSynthesis"in window&&"SpeechSynthesisUtterance"in window,this.synthesisVoice=null}var t,e,n;return t=u,e=[{key:"init",value:function(){var u=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(e,n){u.browserSupport||n("Your browser does not support Speech Synthesis");var D=(0,o.isNil)(t.listeners)?{}:t.listeners,i=!!(0,o.isNil)(t.splitSentences)||t.splitSentences,r=(0,o.isNil)(t.lang)?void 0:t.lang,a=(0,o.isNil)(t.volume)?1:t.volume,s=(0,o.isNil)(t.rate)?1:t.rate,F=(0,o.isNil)(t.pitch)?1:t.pitch,l=(0,o.isNil)(t.voice)?void 0:t.voice;Object.keys(D).forEach((function(u){var t=D[u];"onvoiceschanged"!==u&&(speechSynthesis[u]=function(u){t&&t(u)})})),u._loadVoices().then((function(t){D.onvoiceschanged&&D.onvoiceschanged(t),!(0,o.isNil)(r)&&u.setLanguage(r),!(0,o.isNil)(l)&&u.setVoice(l),!(0,o.isNil)(a)&&u.setVolume(a),!(0,o.isNil)(s)&&u.setRate(s),!(0,o.isNil)(F)&&u.setPitch(F),!(0,o.isNil)(i)&&u.setSplitSentences(i),e({voices:t,lang:u.lang,voice:u.voice,volume:u.volume,rate:u.rate,pitch:u.pitch,splitSentences:u.splitSentences,browserSupport:u.browserSupport})})).catch((function(u){n(u)}))}))}},{key:"_fetchVoices",value:function(){return new Promise((function(u,t){setTimeout((function(){var e=speechSynthesis.getVoices();return(0,o.size)(e)>0?u(e):t("Could not fetch voices")}),100)}))}},{key:"_loadVoices",value:function(){var u=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this._fetchVoices().catch((function(e){if(0===t)throw e;return u._loadVoices(t-1)}))}},{key:"hasBrowserSupport",value:function(){return this.browserSupport}},{key:"setVoice",value:function(u){var t,e=speechSynthesis.getVoices();if((0,o.isString)(u)&&(t=e.find((function(t){return t.name===u}))),(0,o.isObject)(u)&&(t=u),!t)throw"Error setting voice. The voice you passed is not valid or the voices have not been loaded yet.";this.synthesisVoice=t}},{key:"setLanguage",value:function(u){if(u=u.replace("_","-"),!(0,o.validateLocale)(u))throw"Error setting language. Please verify your locale is BCP47 format (http://schneegans.de/lv/?tags=es-FR&format=text)";this.lang=u}},{key:"setVolume",value:function(u){if(u=parseFloat(u),!(!(0,o.isNan)(u)&&u>=0&&u<=1))throw"Error setting volume. Please verify your volume value is a number between 0 and 1.";this.volume=u}},{key:"setRate",value:function(u){if(u=parseFloat(u),!(!(0,o.isNan)(u)&&u>=0&&u<=10))throw"Error setting rate. Please verify your volume value is a number between 0 and 10.";this.rate=u}},{key:"setPitch",value:function(u){if(u=parseFloat(u),!(!(0,o.isNan)(u)&&u>=0&&u<=2))throw"Error setting pitch. Please verify your pitch value is a number between 0 and 2.";this.pitch=u}},{key:"setSplitSentences",value:function(u){this.splitSentences=u}},{key:"speak",value:function(u){var t=this;
2return new Promise((function(e,n){var D=u.text,i=u.listeners,r=void 0===i?{}:i,a=u.queue,s=void 0===a||a,F=(0,o.trim)(D);(0,o.isNil)(F)&&e(),!s&&t.cancel();var l=[],c=t.splitSentences?(0,o.splitSentences)(F):[F];c.forEach((function(u,D){var i=D===(0,o.size)(c)-1,a=new SpeechSynthesisUtterance;t.synthesisVoice&&(a.voice=t.synthesisVoice),t.lang&&(a.lang=t.lang),(0,o.isNil)(t.volume)||(a.volume=t.volume),(0,o.isNil)(t.rate)||(a.rate=t.rate),(0,o.isNil)(t.pitch)||(a.pitch=t.pitch),a.text=u,Object.keys(r).forEach((function(u){var t=r[u];a[u]=function(D){t&&t(D),"onerror"===u&&n({utterances:l,lastUtterance:a,error:D}),"onend"===u&&i&&e({utterances:l,lastUtterance:a})}})),l.push(a),speechSynthesis.speak(a)}))}))}},{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()}}],e&&a(t.prototype,e),n&&a(t,n),u}();const F=s},6330:(u,t,e)=>{e.d(t,{A:()=>ju});var n=e(1522);function D(u){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},D(u)}function i(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,o(n.key),n)}}function o(u){var t=function(u,t){if("object"!=D(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=D(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==D(t)?t:t+""}function r(u,t,e){a(u,t),t.set(u,e)}function a(u,t){if(t.has(u))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(u,t){return u.get(l(u,t))}function F(u,t,e){return u.set(l(u,t),e),e}function l(u,t,e){if("function"==typeof u?u===t:u.has(t))return arguments.length<3?t:e;throw new TypeError("Private element is not present on this object")}var c=new WeakMap,C=new WeakMap,d=new WeakMap,E=new WeakMap,A=new WeakMap,h=new WeakMap,v=new WeakMap,p=new WeakSet,f=function(){return u=function u(t,e,n,D){var i,s;!function(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a(i=this,s=p),s.add(i),r(this,c,""),r(this,C,{}),function(u,t,e){(t=o(t))in u?Object.defineProperty(u,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):u[t]=e}(this,"voices",[]),r(this,d,"Google UK English Female"),r(this,E,"en-GB"),r(this,A,"en-GB"),r(this,h,"Google UK English Female"),r(this,v,[]),F(C,this,t),this.voices=e,n&&F(A,this,n),D&&F(h,this,D),this.defineVoiceAndLang(D,n)},t=[{key:"isAndroid",value:function(){var u=navigator.userAgent.toLowerCase().indexOf("android")>-1;return!!u}},{key:"getLanguage",value:function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(d,this),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(E,this);return s(E,this)===t||this.defineVoiceAndLang(u,t),s(E,this)}},{key:"getVoice",value:function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(d,this),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s(E,this);return s(d,this)===u||this.defineVoiceAndLang(u,t),s(d,this)}},{key:"setLanguage",value:function(u,t){var e=this,n=!1;return this.voices.length?(Object.values(this.voices).map((function(t){var D=new RegExp(u,"gi");null!==t.lang.match(D)&&t.name&&(F(E,e,t.lang),n=!0)})),{lang:s(E,this),isSupported:n}):{lang:s(E,this),isSupported:n}}},{key:"setVoice",value:function(u){F(d,this,u)}},{key:"getVoiceByLangCode",value:function(u){for(var t=0;t<this.voices.length;t++){var e=this.voices[t];if(e.lang===u)return e.name}return!1}},{key:"defineVoiceAndLang",value:function(u,t){var e,n="",D=u||s(h,this),i=t||s(A,this),o=l(p,this,B).call(this,i),r=l(p,this,g).call(this,o);if(r.length>1)for(var a=0;a<r.length;a++){if(n=r[a].lang,e=r[a].name,D===r[a].name){F(d,this,e),F(E,this,n);break}F(d,this,e),F(E,this,n)}else 1===r.length?(F(d,this,r[0].name),F(E,this,r[0].lang)):(F(d,this,u),F(E,this,t))}},{key:"getVoices",value:function(){return this.voices}},{key:"validateCountryCode",value:function(u){for(var t=this.voices,e=0;e<t.length;e++){var n=t[e].lang;if((n=l(p,this,B).call(this,n))==u||this.aliasCountryCode(u))return!0}return!1}},{key:"aliasCountryCode",value:function(u){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e={es:["es","ca"]};for(var n in e)if(e[n].includes(u))return!!t||n;return!t&&u}}],t&&i(u.prototype,t),e&&i(u,e),Object.defineProperty(u,"prototype",{writable:!1}),u;var u,t,e}();function B(u){return u&&-1!==u.indexOf("-")?u.split("-")[0]:u&&-1!==u.indexOf("_")?u.split("_")[0]:u}function g(u){var t=this;return F(v,this,[]),Object.values(this.voices).map((function(e){var n=new RegExp("^"+u,"i");null!==e.lang.match(n)&&e.name&&s(v,t).push(e)})),s(v,this)}window.BrowserSupport=f;var m=e(1111),y=e(6379);function w(u){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},w(u)}function b(u,t){var e="undefined"!=typeof Symbol&&u[Symbol.iterator]||u["@@iterator"];if(!e){if(Array.isArray(u)||(e=function(u,t){if(u){if("string"==typeof u)return _(u,t);var e={}.toString.call(u).slice(8,-1);return"Object"===e&&u.constructor&&(e=u.constructor.name),"Map"===e||"Set"===e?Array.from(u):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_(u,t):void 0}}(u))||t&&u&&"number"==typeof u.length){e&&(u=e);var n=0,D=function(){};return{s:D,n:function(){return n>=u.length?{done:!0}:{done:!1,value:u[n++]}},e:function(u){throw u},f:D}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,r=!1;return{s:function(){e=e.call(u)},n:function(){var u=e.next();return o=u.done,u},e:function(u){r=!0,i=u},f:function(){try{o||null==e.return||e.return()}finally{if(r)throw i}}}}function _(u,t){(null==t||t>u.length)&&(t=u.length);for(var e=0,n=Array(t);e<t;e++)n[e]=u[e];return n}function S(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,k(n.key),n)}}function x(u,t,e){return(t=k(t))in u?Object.defineProperty(u,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):u[t]=e,u}function k(u){var t=function(u,t){if("object"!=w(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==w(t)?t:t+""}var T=function(){function u(){!function(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u)}return t=u,n=[{key:"replaceAliases",value:function(t,e){var n,D=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t)return t;var i="undefined"!=typeof window?null===(n=window.wp)||void 0===n?void 0:n.hooks:null,o=e?Object.values(e):[];i&&(o=i.applyFilters("tts_text_aliases",o,t)||[]);var r,a=b(o);try{for(a.s();!(r=a.n()).done;){var s=r.value,F=u.buildAliasRule(s,D);F&&(t=t.replace(F.regex,F.replace))}}catch(u){a.e(u)}finally{a.f()}return i?i.applyFilters("tts_pronunciation_text",t,o):t}},{key:"buildAliasRule",value:function(t){var e,n,D=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=String(null!==(e=null==t?void 0:t.actual_text)&&void 0!==e?e:"");if(!i)return null;var o=String(null!==(n=null==t?void 0:t.to_read)&&void 0!==n?n:""),r=function(u){return u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},a=null!=t&&t.apply_to_numbers&&i.match(u.ALIAS_NUMBER)||[],s=a.length>0&&a.every((function(u){return o.includes(u)})),F=r(i),l=o;if(s){F="";var c=i;a.forEach((function(t,e){var n=c.indexOf(t);F+=r(c.slice(0,n))+"("+u.ALIAS_NUMBER.source+")",c=c.slice(n+t.length),l=l.replace(t,"\0"+String.fromCharCode(65+e)+"\0")})),F+=r(c)}var C=function(t){return/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\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0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-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\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61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CF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/.test(t)&&!u.ALIAS_NO_SPACE_SCRIPT.test(t)},d=C(i[0])?"(?<![\\p{L}\\p{N}])":"",E=C(i[i.length-1])?"(?![\\p{L}\\p{N}])":"",A=s?function(){for(var u=arguments.length,t=new Array(u),e=0;e<u;e++)t[e]=arguments[e];return l.replace(/\u0000([A-Z])\u0000/g,(function(u,e){return t[e.charCodeAt(0)-64]}))}:function(){return o};return{regex:new RegExp(d+F+E,D?"giu":"gu"),replace:A}}}
2],(e=null)&&S(t.prototype,e),n&&S(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();x(T,"ALIAS_NUMBER",/(?:[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD801[\uDCA0-\uDCA9]|[\uD803\uD818][\uDD30-\uDD39\uDD40-\uDD49]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDED0-\uDEE3\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59\uDFF0-\uDFF9]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9\uDF50-\uDF59]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD81B[\uDD70-\uDD79]|\uD833[\uDCF0-\uDCF9]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD839[\uDCF0-\uDCF9\uDDF1-\uDDFA]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9])+(?:[',\.\xA0\u202F](?:[0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD801[\uDCA0-\uDCA9]|[\uD803\uD818][\uDD30-\uDD39\uDD40-\uDD49]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDED0-\uDEE3\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59\uDFF0-\uDFF9]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9\uDF50-\uDF59]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD81B[\uDD70-\uDD79]|\uD833[\uDCF0-\uDCF9]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD839[\uDCF0-\uDCF9\uDDF1-\uDDFA]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9])+)*/g),x(T,"ALIAS_NO_SPACE_SCRIPT",/(?:[\u0E01-\u0E3A\u0E40-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0ED0-\u0ED9\u0EDC-\u0EDF\u1000-\u109F\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u19E0-\u19FF\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FD-\u30FF\u31F0-\u31FF\u32D0-\u32FE\u3300-\u3357\u3400-\u4DBF\u4E00-\u9FFF\uA9E0-\uA9FE\uAA60-\uAA7F\uF900-\uFA6D\uFA70-\uFAD9\uFF66-\uFF6F\uFF71-\uFF9D]|\uD805[\uDED0-\uDEE3]|\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67]|\uD83C\uDE00|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/);var L=e(6756);function j(u){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},j(u)}function O(u,t){var e=Object.keys(u);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(u);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable}))),e.push.apply(e,n)}return e}function M(u){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?O(Object(e),!0).forEach((function(t){V(u,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(e)):O(Object(e)).forEac
2h((function(t){Object.defineProperty(u,t,Object.getOwnPropertyDescriptor(e,t))}))}return u}function V(u,t,e){return(t=function(u){var t=function(u,t){if("object"!=j(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==j(t)?t:t+""}(t))in u?Object.defineProperty(u,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):u[t]=e,u}var I=("undefined"!=typeof wp&&wp.i18n?wp.i18n:{__:function(u){return u}}).__,P="atlasvoice-selection-control",R="atlasvoice-selection-tip",N="atlasvoice-selection-badge",W="atlasvoice-selection-styles",H="atlasvoice_selection_tip_seen",Z="atlasvoice_selection_badge_hidden";function G(){return window.ttsObj&&window.ttsObj.settings&&window.ttsObj.settings.highlight||{}}function z(){return!!G().tta__selection_listen_enabled}function Y(){var u=G().tta__selection_announce;return-1!==["tip","badge","both","off"].indexOf(u)?u:"tip"}function X(){var u=window.ttsObj&&window.ttsObj.settings&&window.ttsObj.settings.customize||{};return{background:u.backgroundColor||"#184c53",color:u.color||"#ffffff"}}function J(){var u={listen:I("Listen","text-to-audio"),fromHere:I("From here","text-to-audio"),listenTitle:I("Listen to the selected text","text-to-audio"),fromHereTitle:I("Listen from here to the end","text-to-audio"),tip:I("Tip: select any text in the article to listen to just that part.","text-to-audio"),badge:I("Select any text to listen to it","text-to-audio"),dismiss:I("Dismiss","text-to-audio")};return window.wp&&window.wp.hooks?M(M({},u),wp.hooks.applyFilters("tts_selection_control_labels",u)||{}):u}function U(){return!(!window.matchMedia||!window.matchMedia("(pointer: coarse)").matches)}function q(){if(!document.getElementById(W)){var u=U()?"12px 16px":"8px 12px",t="#"+P+"{position:absolute;z-index:2147483000;display:flex;align-items:center;gap:2px;padding:4px;border-radius:22px;box-shadow:0 2px 10px rgba(0,0,0,.28);font-size:13px;line-height:1;user-select:none;-webkit-user-select:none;opacity:0;transform:scale(.96);transition:opacity .12s ease-out,transform .12s ease-out;}#"+P+".atlasvoice-sel-in{opacity:1;transform:scale(1);}#"+P+" button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:"+u+";border-radius:18px;white-space:nowrap;}#"+P+' button[data-action="listen"]{background:rgba(255,255,255,.16);font-weight:600;}#'+P+" button:hover,#"+P+" button:focus-visible{background:rgba(255,255,255,.26);outline:none;}#"+P+" .atlasvoice-sel-divider{width:1px;height:18px;background:rgba(255,255,255,.25);margin:0 2px;flex:0 0 auto;}#"+P+" svg{flex:0 0 auto;}#"+R+"{position:absolute;z-index:2147483000;display:flex;align-items:flex-start;gap:9px;max-width:300px;padding:11px 12px;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.28);font-size:13px;line-height:1.45;opacity:0;transition:opacity .15s ease-out;}#"+R+".atlasvoice-sel-in{opacity:1;}#"+R+" button{border:0;background:transparent;color:inherit;cursor:pointer;padding:2px;line-height:0;opacity:.75;}#"+R+" button:hover,#"+R+" button:focus-visible{opacity:1;outline:none;}#"+N+"{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:2147482999;display:flex;align-items:center;border-radius:0 22px 22px 0;box-shadow:0 2px 8px rgba(0,0,0,.22);font-size:13px;line-height:1.35;overflow:hidden;user-select:none;-webkit-user-select:none;}#"+N+" .atlasvoice-badge-main{display:inline-flex;align-items:center;gap:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:11px 12px;min-height:44px;}#"+N+" .atlasvoice-badge-text{max-width:0;opacity:0;white-space:nowrap;overflow:hidden;transition:max-width .18s ease-out,opacity .18s ease-out,margin .18s ease-out;}#"+N+".atlasvoice-badge-open .atlasvoice-badge-text,#"+N+":hover .atlasvoice-badge-text,#"+N+":focus-within .atlasvoice-badge-text{max-width:180px;opacity:1;margin-left:9px;}#"+N+" .atlasvoice-badge-close{display:none;border:0;background:transparent;color:inherit;cursor:pointer;padding:6px 10px 6px 2px;line-height:0;opacity:.75;}#"+N+".atlasvoice-badge-open .atlasvoice-badge-close,#"+N+":hover .atlasvoice-badge-close,#"+N+":focus-within .atlasvoice-badge-close{display:inline-flex;}#"+N+" .atlasvoice-badge-close:hover,#"+N+" .atlasvoice-badge-close:focus-visible{opacity:1;outline:none;}@media (prefers-reduced-motion: reduce){#"+P+",#"+R+"{transition:none;transform:none;}#"+N+" .atlasvoice-badge-text{transition:none;}}@media (forced-colors: active){#"+P+",#"+R+",#"+N+"{border:1px solid ButtonText;}}",e=document.createElement("style");e.id=W,e.textContent=t,(document.head||document.documentElement).appendChild(e)}}var Q='<svg width="12" height="12" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
2<path fill="currentColor" d="M18.3 5.7L12 12l6.3 6.3-1.4 1.4L10.6 13.4 4.3 19.7 2.9 18.3 9.2 12 2.9 5.7l1.4-1.4 6.3 6.3 6.3-6.3z"/></svg>',K='<svg width="18" height="18" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M4 7h16M4 12h10"/><polygon fill="currentColor" points="14 14 14 23 16.6 20.2 19.1 23 20.6 21.5 18 18.8 21 16"/></svg>';function $(u){var t=u?1===u.nodeType?u:u.parentElement:null;return t?t.closest('[class*="tts_content_wrapper_"]'):null}function uu(u,t){try{return window[u].getItem(t)}catch(u){return null}}function tu(u,t,e){try{window[u].setItem(t,e)}catch(u){}}function eu(u){return eu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},eu(u)}function nu(u,t){var e="undefined"!=typeof Symbol&&u[Symbol.iterator]||u["@@iterator"];if(!e){if(Array.isArray(u)||(e=function(u,t){if(u){if("string"==typeof u)return Du(u,t);var e={}.toString.call(u).slice(8,-1);return"Object"===e&&u.constructor&&(e=u.constructor.name),"Map"===e||"Set"===e?Array.from(u):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Du(u,t):void 0}}(u))||t&&u&&"number"==typeof u.length){e&&(u=e);var n=0,D=function(){};return{s:D,n:function(){return n>=u.length?{done:!0}:{done:!1,value:u[n++]}},e:function(u){throw u},f:D}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,r=!1;return{s:function(){e=e.call(u)},n:function(){var u=e.next();return o=u.done,u},e:function(u){r=!0,i=u},f:function(){try{o||null==e.return||e.return()}finally{if(r)throw i}}}}function Du(u,t){(null==t||t>u.length)&&(t=u.length);for(var e=0,n=Array(t);e<t;e++)n[e]=u[e];return n}function iu(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,ou(n.key),n)}}function ou(u){var t=function(u,t){if("object"!=eu(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=eu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==eu(t)?t:t+""}var ru="atlasvoice-word",au="atlasvoice-sentence",su="atlasvoice-reading-dim",Fu=!1,lu="sentence",cu="#a5abf0",Cu="#202124",du="#e8e7fe",Eu=!0,Au=.7,hu=!0;function vu(){return window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth"}var pu=!0;function fu(){pu=!1}function Bu(u){if(u&&"function"==typeof u.getBoundingClientRect){var t=u.getBoundingClientRect(),e=window.innerHeight||document.documentElement.clientHeight||0;if(e){var n=.82*e;if(!pu&&t.top>=0&&t.top<=n&&(pu=!0),pu&&(t.top<0||t.top>n)){var D=t.top-.3*e;Math.abs(D)>4&&window.scrollBy({top:D,behavior:vu()})}}}}if("undefined"!=typeof window&&!window.__ttsAutoScrollGuard){window.__ttsAutoScrollGuard=!0;var gu={passive:!0,capture:!0};window.addEventListener("wheel",fu,gu),window.addEventListener("touchmove",fu,gu),window.addEventListener("keydown",(function(u){var t=u.target;t&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)||-1!==["PageUp","PageDown","Home","End","ArrowUp","ArrowDown"," ","Spacebar"].indexOf(u.key)&&fu()}),!0)}function mu(u){return(u||"").toLowerCase().replace(/[â-â]/g,"-").replace(/[ââââ]/g,"'").replace(/[ââââ]/g,'"').replace(/Â /g," ")}function yu(u){return(u||"").replace(/^(listen|pause|resume|replay)\s+/,"")}var wu=function(){function u(t){var e,n;!function(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),this.buttonId=t,this.cfg=(e=window.ttsObj&&window.ttsObj.settings&&window.ttsObj.settings.highlight||{},(n={enabled:void 0!==e.tta__highlight_enabled?!!e.tta__highlight_enabled:Fu,mode:e.tta__highlight_mode||lu,wordBg:e.tta__highlight_word_bg||cu,wordColor:e.tta__highlight_word_color||Cu,sentenceBg:e.tta__highlight_sentence_bg||du,dimEnabled:void 0!==e.tta__highlight_dim_enabled?!!e.tta__highlight_dim_enabled:Eu,dimOpacity:void 0!==e.tta__highlight_dim_opacity?parseFloat(e.tta__highlight_dim_opacity):Au,autoscroll:void 0!==e.tta__highlight_autoscroll?!!e.tta__highlight_autoscroll:hu}).wantWord="sentence"!==n.mode,n.wantSentence="word"!==n.mode,n),this.root=document.querySelector(".tts_content_wrapper_"+t),this.title=this._resolveTitle(),this.supported="undefined"!=typeof Highlight&&window.CSS&&CSS.highlights,this.nodes=[],this.text="",this.lower="",this.cursor=0,this.gotWordEvent=!1,this.fallbackActive=!1,this.fallbackTimer=null,this._lastSentence=null,this._wordCursor=0,this.cfg.enabled&&(function(){if(!document.getElementById("atlasvoice-highlight-styles")){var u=[""," p"," li"," span"," a"," h1"," h2"," h3"," h4"," h5"," h6"," blockquote"," td"," th"].map((function(u){return".atlasvoice-reading-dim"+u})).join(","),t="::highlight(atlasvoice-sentence){background-color:var(--atlasvoice-hl-sentence-bg,#e8e7fe);}::highlight(atlasvoice-word){background-color:var(--atlasvoice-hl-word-bg,#a5abf0);color:var(--atlasvoice-hl-word-color,#202124);}"+u+"{color:var(--atlasvoice-dim-color,rgba(60,64,67,0.7)) !important;transition:color .25s ease;}@media (forced-colors: active){::highlight(atlasvoice-sentence){background-color:Highlight;color:HighlightText;}::highlight(atlasvoice-word){background-color:Highlight;color:HighlightText;}"+u+"{color:CanvasText !important;}}",e=document.createElement("style");e.id="atlasvoice-highlight-styles",e.textContent=t,(document.head||document.documentElement).appendChild(e)}}(),function(u){var t=document.documentElement;if(t&&t.style){t.style.setProperty("--atlasvoice-hl-word-bg",u.wordBg),t.style.setProperty("--atlasvoice-hl-word-color",u.wordColor),t.style.setProperty("--atlasvoice-hl-sentence-bg",u.sentenceBg);var e=isNaN(u.dimOpacity)?Au:Math.max(.1,Math.min(.85,u.dimOpacity));t.style.setProperty("--atlasvoice-dim-color","rgba(60, 64, 67, "+e+")")}}(this.cfg)),this.root&&this._index(),this.supported&&(this._word=CSS.highlights.get(ru)||new Highlight,CSS.highlights.set(ru,this._word),this._sentence=CSS.highlights.get(au)||new Highlight,CSS.highlights.set(au,this._sentence))}return t=u,n=[{key:"splitSentences",value:function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,L.P)(u)}},{key:"get",value:function(u){return _u(u)}},{key:"registerSentenceRenderer",value:function(t){u._sentenceRenderer=t||null}}],(e=[{key:"_resolveTitle",value:function(){return yu(mu(((window.TTS&&window.TTS.extra&&window.TTS.extra[this.buttonId]||{}).title||"").trim())).replace(/(?:[\0-\(\*-\/:-@\[\\\^-`\{-\xA9\xAB-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u
20530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u065F\u066A-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07BF\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0965\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09E5\u09F2\u09F3\u09FA\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A65\u0A70\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AE5\u0AF0-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B65\u0B70\u0B78-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0BE5\u0BF3-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C65\u0C70-\u0C77\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CE5\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57\u0D62-\u0D65\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DE5\u0DF0-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F1F\u0F34-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u104A-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u1368\u137D-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u17DF\u17EA-\u17EF\u17FA-\u180F\u181A-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19FF\u1A17-\u1A1F\u1A55-\u1A7F\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B4F\u1B5A-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BFF\u1C24-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u206F\u2072\u2073\u207A-\u207E\u208A-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A-\u245F\u249C-\u24E9\u2500-\u2775\u2794-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFC\u2CFE\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3008-\u3020\u302A-\u3030\u3036\u3037\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u3191\u3196-\u319F\u31C0-\u31EF\u3200-\u321F\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6F0-\uA716\uA720\uA721\uA789\uA78A\uA7CE\uA7CF\uA7D2\uA7D4\uA7DD-\uA7F1\uA802\uA806\uA80B\uA823-\uA82F\uA836-\uA83F\uA874-\uA881\uA8B4-\uA8CF\uA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-\uDCEF\uDCFA-\uDDCF\uDDEE\uDDEF\uDDFB-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD0-\uDCFF\uDD44-\uDD4A\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCAC\uDCB0\uDCB5-\uDD00\uDD2E\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/,"")}},{key:"_index",value:function(){this.nodes=[];for(var u,t=0,e=document.createTreeWalker(this.root,NodeFilter.SHOW_TEXT,{acceptNode:function(u){return u.parentElement&&u.parentElement.closest("tts-play-button, .tts__listent_content, script, style")?NodeFilter.FILTER_REJECT:u.nodeValue?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});u=e.nextNode();){var n=u.nodeValue.length;this.nodes.push({node:u,start:t,end:t+n}),t+=n}this.text=this.nodes.map((function(u){return u.node.nodeValue})).join(""),this.lower=mu(this.text)}},{key:"spanForRange",value:function(u){if(!u||!this.nodes.length)return null;var t,e=-1,n=-1,D=nu(this.nodes);try{for(D.s();!(t=D.n()).done;){var i=t.value,o=i.node.nodeValue.length,r=void 0,a=void 0;try{r=-1===u.comparePoint(i.node,o),a=1===u.comparePoint(i.node,0)}catch(u){continue}if(!r){if(a)break;-1===e&&(e=i.start+(u.startContainer===i.node?u.startOffset:0)),n=i.start+(u.endContainer===i.node?u.endOffset:o)}}}catch(u){D.e(u)}finally{D.f()}return-1===e||n<=e?null:{start:e,end:n,text:this.text.slice(e,n)}}},{key:"snapSpanToWords",value:function(u){for(var t=u.start,e=u.end,n=function(u){return!!u&&!/\s/.test(u)};t>0&&n(this.text[t-1])&&n(this.text[t]);)t--;for(;e<this.text.length&&n(this.text[e-1])&&n(this.text[e]);)e++;return{start:t,end:e,text:this.text.slice(t,e)}}},{key:"estimateTimeRange",value:function(u,t,e){var n=this.text.length;return n&&e&&isFinite(e)?{tStart:Math.max(0,Math.min(u,n)/n*e),tEnd:Math.min(e,Math.min(t,n)/n*e),estimated:!0}:null}},{key:"_rangeAt",value:function(u,t){var e=this.nodes.find((function(t){return u>=t.start&&u<t.end})),n=this.nodes.find((function(u){return t>u.start&&t<=u.end}))||e;if(!e||!n)return null;var D=document.createRange();return D.setStart(e.node,u-e.start),D.setEnd(n.node,Math.min(t-n.start,n.node.nodeValue.length)),D}},{key:"syncSentence",value:function(u){var t=this;if(this.cfg.enabled&&this.root){this.cfg.dimEnabled&&this.root.classList.add(su);var e=yu(mu((u||"").trim()));if(e){if(this.title||(this.title=this._resolveTitle()),this.title&&e.replace(/(?:[\0-\(\*-\/:-@\[\\\^-`\{-\xA9\xAB-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u
20530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u065F\u066A-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07BF\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0965\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09E5\u09F2\u09F3\u09FA\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A65\u0A70\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AE5\u0AF0-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B65\u0B70\u0B78-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0BE5\u0BF3-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C65\u0C70-\u0C77\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CE5\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57\u0D62-\u0D65\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DE5\u0DF0-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F1F\u0F34-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u104A-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u1368\u137D-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u17DF\u17EA-\u17EF\u17FA-\u180F\u181A-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19FF\u1A17-\u1A1F\u1A55-\u1A7F\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B4F\u1B5A-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BFF\u1C24-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u206F\u2072\u2073\u207A-\u207E\u208A-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A-\u245F\u249C-\u24E9\u2500-\u2775\u2794-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFC\u2CFE\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3008-\u3020\u302A-\u3030\u3036\u3037\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u3191\u3196-\u319F\u31C0-\u31EF\u3200-\u321F\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6F0-\uA716\uA720\uA721\uA789\uA78A\uA7CE\uA7CF\uA7D2\uA7D4\uA7DD-\uA7F1\uA802\uA806\uA80B\uA823-\uA82F\uA836-\uA83F\uA874-\uA881\uA8B4-\uA8CF\uA8DA-\uA8F1\uA8F8-\uA8FA\uA8FC\uA8FF\uA926-\uA92F\uA947-\uA95F\uA97D-\uA983\uA9B3-\uA9CE\uA9DA-\uA9DF\uA9E5\uA9F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\uDD44-\uDD4A\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCAC\uDCB0\uDCB5-\uDD00\uDD2E\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/,"")===this.title)return this._lastSentence=null,void this.clear();var n=e.slice(0,Math.min(24,e.length)).replace(/(?:[\0-\(\*-\/:-@\[\\\^-`\{-\xA9\xAB-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u
20530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u065F\u066A-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07BF\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0965\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09E5\u09F2\u09F3\u09FA\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A65\u0A70\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AE5\u0AF0-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B65\u0B70\u0B78-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0BE5\u0BF3-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C65\u0C70-\u0C77\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CE5\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57\u0D62-\u0D65\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DE5\u0DF0-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F1F\u0F34-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u104A-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u1368\u137D-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u17DF\u17EA-\u17EF\u17FA-\u180F\u181A-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19FF\u1A17-\u1A1F\u1A55-\u1A7F\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B4F\u1B5A-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BFF\u1C24-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u206F\u2072\u2073\u207A-\u207E\u208A-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A-\u245F\u249C-\u24E9\u2500-\u2775\u2794-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFC\u2CFE\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3008-\u3020\u302A-\u3030\u3036\u3037\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u3191\u3196-\u319F\u31C0-\u31EF\u3200-\u321F\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6F0-\uA716\uA720\uA721\uA789\uA78A\uA7CE\uA7CF\uA7D2\uA7D4\uA7DD-\uA7F1\uA802\uA806\uA80B\uA823-\uA82F\uA836-\uA83F\uA874-\uA881\uA8B4-\uA8CF\uA8DA-\uA8F1\uA8F8-\uA8FA\uA8FC\uA8FF\uA926-\uA92F\uA947-\uA95F\uA97D-\uA983\uA9B3-\uA9CE\uA9DA-\uA9DF\uA9E5\uA9FF\uAA29-\uAA3F\uAA43\uAA4C-\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAC3-\uAADA\uA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\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/,"");if(n){var D=this.lower.indexOf(n,Math.max(0,this.cursor-4));if(-1===D&&(D=this.lower.indexOf(n)),-1===D)return this._lastSentence=null,void this.clear();this.cursor=D,this._lastSentence={start:D,end:Math.min(D+e.length,this.text.length)},this._wordCursor=D,(this.cfg.wantSentence||this.fallbackActive)&&this._paintSentence(),!this.cfg.wantWord||this.gotWordEvent||this.fallbackActive||(clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout((function(){t.gotWordEvent||(t.fallbackActive=!0,t._paintSentence())}),1200))}}}}},{key:"_paintSentence",value:function(){if(this._lastSentence){var t=this._rangeAt(this._lastSentence.start,this._lastSentence.end);if(t){this._sentenceRange=t;var e=!1,n=u._sentenceRenderer;if(n)try{e=!!n.paint(this,t)}catch(u){e=!1}this.supported&&this._sentence&&(this._sentence.clear(),e||this._sentence.add(t)),!this.cfg.autoscroll||this.cfg.wantWord&&!this.fallbackActive||Bu(t.startContainer.parentElement)}}}},{key:"highlightWord",value:function(u){if(this.cfg.enabled&&this.cfg.wantWord&&this.supported&&this.root&&this._word){this.gotWordEvent=!0,this.fallbackTimer&&(clearTimeout(this.fallbackTimer),this.fallbackTimer=null);var t=(u||"").trim().replace(/^(?:[\0-\/:-@\[-`\{-\xA9\xAB-\xB1\xB4\xB6-\xB8\xBB\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u
20530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u065F\u066A-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07BF\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0965\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09E5\u09F2\u09F3\u09FA\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A65\u0A70\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AE5\u0AF0-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B65\u0B70\u0B78-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0BE5\u0BF3-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C65\u0C70-\u0C77\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CE5\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57\u0D62-\u0D65\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DE5\u0DF0-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F1F\u0F34-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u104A-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u1368\u137D-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u17DF\u17EA-\u17EF\u17FA-\u180F\u181A-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19FF\u1A17-\u1A1F\u1A55-\u1A7F\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B4F\u1B5A-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BFF\u1C24-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u206F\u2072\u2073\u207A-\u207E\u208A-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A-\u245F\u249C-\u24E9\u2500-\u2775\u2794-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFC\u2CFE\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3008-\u3020\u302A-\u3030\u3036\u3037\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u3191\u3196-\u319F\u31C0-\u31EF\u3200-\u321F\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4D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EB\u02ED\u02EF-\u036F\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482-\u0489\u
20530\u0557\u0558\u055A-\u055F\u0589-\u05CF\u05EB-\u05EE\u05F3-\u061F\u064B-\u065F\u066A-\u066D\u0670\u06D4\u06D6-\u06E4\u06E7-\u06ED\u06FD\u06FE\u0700-\u070F\u0711\u0730-\u074C\u07A6-\u07B0\u07B2-\u07BF\u07EB-\u07F3\u07F6-\u07F9\u07FB-\u07FF\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u083F\u0859-\u085F\u086B-\u086F\u0888\u088F-\u089F\u08CA-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0965\u0970\u0981-\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA-\u09BC\u09BE-\u09CD\u09CF-\u09DB\u09DE\u09E2-\u09E5\u09F2\u09F3\u09FA\u09FB\u09FD-\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A-\u0A58\u0A5D\u0A5F-\u0A65\u0A70\u0A71\u0A75-\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA-\u0ABC\u0ABE-\u0ACF\u0AD1-\u0ADF\u0AE2-\u0AE5\u0AF0-\u0AF8\u0AFA-\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A-\u0B3C\u0B3E-\u0B5B\u0B5E\u0B62-\u0B65\u0B70\u0B78-\u0B82\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BCF\u0BD1-\u0BE5\u0BF3-\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C3E-\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C62-\u0C65\u0C70-\u0C77\u0C7F\u0C81-\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA-\u0CBC\u0CBE-\u0CDC\u0CDF\u0CE2-\u0CE5\u0CF0\u0CF3-\u0D03\u0D0D\u0D11\u0D3B\u0D3C\u0D3E-\u0D4D\u0D4F-\u0D53\u0D57\u0D62-\u0D65\u0D79\u0D80-\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DE5\u0DF0-\u0E00\u0E31\u0E34-\u0E3F\u0E47-\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EB1\u0EB4-\u0EBC\u0EBE\u0EBF\u0EC5\u0EC7-\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F1F\u0F34-\u0F3F\u0F48\u0F6D-\u0F87\u0F8D-\u0FFF\u102B-\u103E\u104A-\u104F\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B-\u1368\u137D-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u1712-\u171E\u1732-\u173F\u1752-\u175F\u176D\u1771-\u177F\u17B4-\u17D6\u17D8-\u17DB\u17DD-\u17DF\u17EA-\u17EF\u17FA-\u180F\u181A-\u181F\u1879-\u187F\u1885\u1886\u18A9\u18AB-\u18AF\u18F6-\u18FF\u191F-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19FF\u1A17-\u1A1F\u1A55-\u1A7F\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1B04\u1B34-\u1B44\u1B4D-\u1B4F\u1B5A-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BFF\u1C24-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1CFB-\u1CFF\u1DC0-\u1DFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u206F\u2072\u2073\u207A-\u207E\u208A-\u208F\u209D-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A-\u245F\u249C-\u24E9\u2500-\u2775\u2794-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF4-\u2CFC\u2CFE\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7F\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF-\u2E2E\u2E30-\u3004\u3008-\u3020\u302A-\u3030\u3036\u3037\u303D-\u3040\u3097-\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u3191\u3196-\u319F\u31C0-\u31EF\u3200-\u321F\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA66F-\uA67E\uA69E\uA69F\uA6F0-\uA716\uA720\uA721\uA789\uA78A\uA7CE\uA7CF\uA7D2\uA7D4\uA7DD-\uA7F1\uA802\uA806\uA80B\uA823-\uA82F\uA836-\uA83F\uA874-\uA881\uA8B4-\uA8CF\u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C-\uDCEF\uDCFA-\uDDCF\uDDEE\uDDEF\uDDFB-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5\uDCC6\uDCD0-\uDCFF\uDD44-\uDD4A\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDC70\uDCAC\uDCB0\uDCB5-\uDD00\uDD2E\uDD3E-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/g,"");if(t&&this._lastSentence){var e=mu(t),n=this._lastSentence.start,D=Math.min(this._lastSentence.end+20,this.text.length),i=this.lower.indexOf(e,Math.max(n,this._wordCursor));if((-1===i||i>=D)&&(i=this.lower.indexOf(e,n)),!(-1===i||i>=D)){var o=this._rangeAt(i,i+t.length);o&&(this._word.clear(),this._word.add(o),this._wordCursor=i+t.length,this.cfg.autoscroll&&Bu(o.startContainer.parentElement))}}}}},{key:"clear",value:function(){this.supported&&(this._word&&this._word.clear(),this._sentence&&this._sentence.clear());var t=u._sentenceRenderer;if(t&&"function"==typeof t.clear)try{t.clear(this)}catch(u){}this._sentenceRange=null}},{key:"stop",value:function(){this.clear(),this.root&&this.root.classList.remove(su),this.cursor=0,this.gotWordEvent=!1,this.fallbackActive=!1,this.fallbackTimer&&(clearTimeout(this.fallbackTimer),this.fallbackTimer=null),this._lastSentence=null,this._wordCursor=0}}])&&iu(t.prototype,e),n&&iu(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),bu={};function _u(u){return bu[u]||(bu[u]=new wu(u)),bu[u]}"undefined"!=typeof window&&(window.AtlasVoiceHighlighter=wu),window.wp&&window.wp.hooks&&!window.__ttsHighlighterReady&&(window.__ttsHighlighterReady=!0,wp.hooks.addAction("tts_high_light_sentence","tts/highlighter",(function(u,t){_u(t).syncSentence(u)})),wp.hooks.addAction("tts_highlight_word","tts/highlighter",(function(u){u&&null!=u.buttonId&&_u(u.buttonId).highlightWord(u.word)})),wp.hooks.addAction("tts_highlight_clear","tts/highlighter",(function(u){_u(u).stop()}))),"undefined"!=typeof window&&"undefined"!=typeof document&&function(u){if("undefined"!=typeof window&&!window.__ttsSelectionControlReady){window.__ttsSelectionControlReady=!0;var t=null,e=null,n=null;document.addEventListener("selectionchange",(function(){clearTimeout(n),n=setTimeout(s,180)})),document.addEventListener("keydown",(function(u){"Escape"===u.key&&e&&a()}));var D=!1;
2document.addEventListener("click",(function u(t){if(z()&&("tip"===Y()||"both"===Y()))if(uu("localStorage",H))document.removeEventListener("click",u,!0);else{var e=t.target&&t.target.closest?t.target.closest('tts-play-button, .tts__listent_content, [id^="player_content_"], .plyr'):null;e&&(document.removeEventListener("click",u,!0),function(u){if(!D){D=!0,tu("localStorage",H,"1"),q();var t=J(),e=X(),n=document.createElement("div");n.id=R,n.setAttribute("role","status"),n.setAttribute("aria-live","polite"),n.style.background=e.background,n.style.color=e.color,n.innerHTML=K+"<span>"+t.tip+'</span><button type="button" aria-label="'+t.dismiss+'">'+Q+"</button>",n.querySelector("button").addEventListener("click",F),document.body.appendChild(n);var i=u.getBoundingClientRect(),o=Math.min(300,document.documentElement.clientWidth-16),r=i.left+window.scrollX;r=Math.max(window.scrollX+8,Math.min(r,window.scrollX+document.documentElement.clientWidth-o-8)),n.style.top=i.bottom+window.scrollY+10+"px",n.style.left=r+"px",requestAnimationFrame((function(){return n.classList.add("atlasvoice-sel-in")})),setTimeout((function(){return n.classList.add("atlasvoice-sel-in")}),80),setTimeout(F,1e4)}}(e))}}),!0);var i=0,o=setInterval((function(){i++,(z()||i>10)&&(clearInterval(o),z()&&l())}),500)}function r(){if(t)return t;q();var n=J(),D=X();(t=document.createElement("div")).id=P,t.setAttribute("role","toolbar"),t.setAttribute("aria-label",n.listenTitle),t.style.background=D.background,t.style.color=D.color,t.style.display="none";var i=U()?"":"<span>"+n.fromHere+"</span>";return t.innerHTML='<button type="button" data-action="listen" title="'+n.listenTitle+'">
2<svg width="11" height="11" viewBox="0 0 7 8" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><polygon fill="currentColor" points="0 0 0 8 7 4"/></svg><span>'+n.listen+'</span></button><span class="atlasvoice-sel-divider" aria-hidden="true"></span><button type="button" data-action="from-here" title="'+n.fromHereTitle+'" aria-label="'+n.fromHereTitle+'"><svg width="12" height="12" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill="currentColor" d="M4 4l8 8-8 8V4zm9 0l8 8-8 8V4z"/></svg>'+i+"</button>",t.addEventListener("mousedown",(function(u){return u.preventDefault()})),t.addEventListener("click",(function(t){var n=t.target.closest("button[data-action]");n&&function(t){if(e){var n=u(e.buttonId),D=e.span,i={buttonId:e.buttonId,text:t?n.text.slice(D.start):D.text,start:D.start,end:t?n.text.length:D.end,fromHere:!!t};a();try{window.getSelection().removeAllRanges()}catch(u){}window.wp&&window.wp.hooks&&wp.hooks.doAction("tts_listen_selection",i)}}("from-here"===n.getAttribute("data-action"))})),document.body.appendChild(t),t}function a(){t&&(t.classList.remove("atlasvoice-sel-in"),t.style.display="none"),e=null}function s(){if(z()){var t=window.getSelection();if(t&&!t.isCollapsed&&t.rangeCount){var n=t.getRangeAt(0),D=(s=$(n.startContainer)||$(n.endContainer),(F=s&&"string"==typeof s.className?s.className.match(/(?:^|\s)tts_content_wrapper_(\S+)/):null)?F[1]:null);if(null!=D){var i=u(D);if(i&&i.root&&"function"==typeof i.spanForRange){var o=i.spanForRange(n);o&&o.text.trim()?(e={buttonId:D,span:i.snapSpanToWords(o)},function(u){var t=r();t.style.display="flex";var e,n=t.offsetWidth||180,D=t.offsetHeight||38;U()?e=u.bottom+window.scrollY+10:(e=u.top+window.scrollY-D-8)<window.scrollY+4&&(e=u.bottom+window.scrollY+8);var i=u.left+window.scrollX+u.width/2-n/2;i=Math.max(window.scrollX+4,Math.min(i,window.scrollX+document.documentElement.clientWidth-n-4)),t.style.top=e+"px",t.style.left=i+"px",requestAnimationFrame((function(){return t.classList.add("atlasvoice-sel-in")})),setTimeout((function(){return t.classList.add("atlasvoice-sel-in")}),80)}(n.getBoundingClientRect())):a()}else a()}else a()}else a()}else a();var s,F}function F(){var u=document.getElementById(R);u&&u.remove()}function l(){if(z()&&("badge"===Y()||"both"===Y())&&!uu("sessionStorage",Z)&&document.querySelector('[class*="tts_content_wrapper_"]')){q();var u=J(),t=X(),e=document.createElement("div");e.id=N,e.style.background=t.background,e.style.color=t.color,e.innerHTML='<button type="button" class="atlasvoice-badge-main" aria-label="'+u.badge+'">'+K+'<span class="atlasvoice-badge-text">'+u.badge+'</span></button><button type="button" class="atlasvoice-badge-close" aria-label="'+u.dismiss+'">'+Q+"</button>",e.querySelector(".atlasvoice-badge-main").addEventListener("click",(function(){e.classList.toggle("atlasvoice-badge-open")})),e.querySelector(".atlasvoice-badge-close").addEventListener("click",(function(){tu("sessionStorage",Z,"1"),e.remove()})),document.body.appendChild(e)}}}(_u);var Su;function xu(u){return xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},xu(u)}function ku(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,Lu(n.key),n)}}function Tu(u,t,e){return(t=Lu(t))in u?Object.defineProperty(u,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):u[t]=e,u}function Lu(u){var t=function(u,t){if("object"!=xu(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=xu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==xu(t)?t:t+""}var ju=function(){return u=function u(t){var e,D,i,o,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.TTS;if(function(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),Tu(this,"TTS",window.TTS),Tu(this,"browser",null),Tu(this,"speech",null),Tu(this,"speechSynthesis",window.speechSynthesis),Tu(this,"utterence",new SpeechSynthesisUtterance),Tu(this,"speechRecognitionIsActive",!0),Tu(this,"speechRecognition",window.speechRecognition||window.webkitSpeechRecognition),Tu(this,"recordStatus","re
2cord"),Tu(this,"listenStatus","listen"),Tu(this,"noticeClass","tta_notice"),Tu(this,"cofiguration",{}),Tu(this,"timer",null),Tu(this,"buttonId",null),Tu(this,"speakButton",null),Tu(this,"content",null),Tu(this,"ttsListeningSettings",null),Tu(this,"languages",[]),Tu(this,"voices",{}),Tu(this,"voice","Google UK English Female"),Tu(this,"language","en-GB"),Tu(this,"buttonTextArr",null),Tu(this,"splittedSentances",""),Tu(this,"isCanceled",!1),Tu(this,"shouldCancelTimer",null),Tu(this,"callBackAfterEnd",null),Tu(this,"splitSentences",null),Tu(this,"playButtonNo",1),Tu(this,"analytics",null),Tu(this,"playButtonIcon",null),Tu(this,"_activeSentence",""),this.TTS=s,this.content=r||window.TTS.contents[t],this.splittedSentances=(0,m.PC)(r),this.buttonId=t,this.buttonTextArr=(null===(e=this.TTS)||void 0===e||null===(e=e.buttons)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.textArr)||this.TTS.settings.textArr,this.speakButton=a||document.getElementById(t),this.ttsListeningSettings=this.TTS.settings.listening,this.speech=new n.A,this.splitSentences=m.PC,this.playButtonNo=null!==(D=null===(i=window)||void 0===i||null===(i=i.TTS)||void 0===i||null===(i=i.extra)||void 0===i?void 0:i.player_id)&&void 0!==D?D:1,this.analytics=new y.A(this.TTS.settings.postId),this.playButtonIcon=(0,m.cs)(),"function"==typeof NoSleep&&null!==(o=ttsObj)&&void 0!==o&&o.is_mobile){var F=new NoSleep;window.onload=function(){F.enable(),console.log("NoSleep enabled")}}},t=[{key:"getData",value:function(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(window.TextToSpeech=this),this}},{key:"getStateText",value:function(u,t){var e,n,D,i=null==this?void 0:this.playButtonNo,o=null==this||null===(e=this.buttonTextArr)||void 0===e||null===(e=e.players)||void 0===e||null===(e=e[i])||void 0===e||null===(e=e[u])||void 0===e?void 0:e.text;if(o&&o.length)return o;var r=u+"_text";return null!==(n=null==this||null===(D=this.buttonTextArr)||void 0===D?void 0:D[r])&&void 0!==n?n:t}},{key:"getStateHover",value:function(u,t){var e,n,D,i=null==this?void 0:this.playButtonNo,o=null==this||null===(e=this.buttonTextArr)||void 0===e||null===(e=e.players)||void 0===e||null===(e=e[i])||void 0===e||null===(e=e[u])||void 0===e?void 0:e.hover;if(o&&o.length)return o;var r=u+"_hover_title";return null!==(n=null==this||null===(D=this.buttonTextArr)||void 0===D?void 0:D[r])&&void 0!==n?n:t}},{key:"playButtonText",value:function(){return this.getStateText("listen","Listen")}},{key:"_renderStateContent",value:function(u,t,e){var n,D,i=null!==(n=null==this?void 0:this.playButtonNo)&&void 0!==n?n:1,o=null===(D=this.playButtonIcon)||void 0===D||null===(D=D[i])||void 0===D?void 0:D[u],r="";return o?r=(new DOMParser).parseFromString(o,"image/svg+xml").documentElement.outerHTML:t&&(r='<span class="dashicons '.concat(t,'"></span>')),'<div class="tts_button" aria-hidden="true">'.concat(r,'<span class="tts_button_label">').concat(e,"</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 u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e="",n="";if(this.speechRecognitionIsActive||(e+="Text To Audio: Please enable speechRecognition"),this.speechSynthesis||(e+=e?" , speechSynthesis.":"Text To Audio: Please enable speechSynthesis."),u){var D,i=null===(D=document.getElementById(u))||void 0===D?void 0:D.previousSibling;i?(e+=' 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>
2',i.style.display="block",i.innerHTML=e,setTimeout((function(){document.querySelector(".tta_notice").style.display="none",i.innerHTML=""}),5e3)):(e+="\nFollow this link to enable: \n".concat(n+="This browser not supports speechSynthesis API"),alert(e))}else t||"?page=text-to-audio"===location.search&&"#/customize"===location.hash?n+=ttsObj.admin_url+"admin.php?page=text-to-audio#/faq":n+="https://wordpress.org/plugins/text-to-audio/#how%20to%20enable%20%60%60speechsynthesis%60%60%20on%20firefox%3F",e+="\nFollow this link to enable: \n".concat(n),alert(e);return!0}},{key:"displayButtonText",value:function(u){var t,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];1===Number(null==this?void 0:this.playButtonNo)&&null!=this&&null!==(t=this.speakButton)&&void 0!==t&&t.innerHTML&&("listen"===u?(this.speakButton.innerHTML=this.replayButtonContent(),this.speakButton.setAttribute("title","Text To Audio : "+this.getStateHover("replay","Click to listen post."))):"pause"===u?(this.speakButton.innerHTML=this.pauseButtonContent(),this.speakButton.setAttribute("title","Text To Audio : "+this.getStateHover("pause",this.pauseButtonText()))):"resume"===u&&(this.speakButton.innerHTML=this.resumeButtonContent(),this.speakButton.setAttribute("title","Text To Audio : "+this.getStateHover("resume",this.resumeButtonText()))),e&&(0,m.ho)(this.speakButton))}},{key:"finishedSpeaking",value:function(u){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.speech.speaking()&&!e||(console.log("End utterance "+this.speech.speaking()),this.listenStatus="listen",this.displayButtonText(this.listenStatus),this.splittedSentances=(0,m.PC)(window.TTS.contents[this.buttonId]),u.cancel(),wp.hooks.doAction("tts_highlight_clear",this.buttonId)),console.log("Success !",t),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(u){var t=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e||(e=this.content),this.speech.hasBrowserSupport()){try{window.speechSynthesis&&window.speechSynthesis.paused&&(window.speechSynthesis.resume(),window.speechSynthesis.cancel())}catch(u){}if(u.setLanguage(this.browser.getLanguage()),u.setVoice(this.browser.getVoice()),console.log(e),u.speak({text:e,queue:!1,listeners:{onstart:function(u){var e,n;console.log("Start utterance"),t.utterence=u,t._activeSentence=(null==u||null===(e=u.currentTarget)||void 0===e?void 0:e.text)||(null==u||null===(n=u.target)||void 0===n?void 0:n.text)||"",wp.hooks.doAction("tts_high_light_sentence",t._activeSentence,t.buttonId,m.PC)},onend:function(u){console.log("End utterance")},onpause:function(u){console.log("Pause utterance")},onresume:function(u){console.log("Resume utterance")},onboundary:function(u){var e,n;if(!u||!u.name||"word"===u.name){var D=(null==u||null===(e=u.target)||void 0===e?void 0:e.text)||(null==u||null===(n=u.currentTarget)||void 0===n?void 0:n.text)||t._activeSentence||"",i=u&&"number"==typeof u.charIndex?u.charIndex:0,o=u&&u.charLength?u.charLength:0;if(!o){var r=D.slice(i),a=r.search(/\s|$/);o=-1===a?r.length:a}var s=D.slice(i,i+o);s&&s.trim()&&wp.hooks.doAction("tts_highlight_word",{buttonId:t.buttonId,sentence:D,word:s,charIndex:i,charLength:o})}}}}).then((function(e){t.finishedSpeaking(u,e)})).catch((function(u){console.error("An error occurred :",u)})),this.listenStatus="pause",this.displayButtonText(this.listenStatus,n),this.analytics.trackPlay(),!this.browser.isAndroid()){var D=this;this.timer=setTimeout((function t(){u.pause(),console.log(u),setTimeout((function(){u.resume()}),0),D.timer=setTimeout(t,13e3),u.speaking()||(clearTimeout(D.timer),D.timer=null)}),13e3)}}else this.displayApiMissing("tts__listent_content_"+this.buttonId)}},{key:"pause",value:function(u){var t,e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.browser.isAndroid())u.cancel(),this.isCanceled=!0;else{u.pause();var D=0;this.shouldCancelTimer=setInterval((function(){u.cancel(),e.isCanceled=!0,D++,(!u.speaking()||D>=20)&&(clearInterval(e.shouldCancelTimer),e.shouldCancelTimer=null)}),50)}var i=this.splittedSentances.indexOf((null===(t=this.utterence)||void 0===t||null===(t=t.target)||void 0===t?void 0:t.text)||"");this.splittedSentances=this.splittedSentances.slice(i),this.content=this.splittedSentances.join(" "),this.listenStatus="resume",this.displayButtonText(this.listenStatus,n),this.analytics.trackPause(),this.browser.isAndroid()||clearTimeout(this.timer)}},{key:"resume",value:function(u){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isCanceled?(this.speak(u,this.content),clearTimeout(this.shouldCancelTimer),this.browser.isAndroid()||clearTimeout(this.timer)):(u.resume(),clearTimeout(this.shouldCancelTimer)),this.listenStatus="pause",this.displayButtonText(this.listenStatus,t),!this.browser.isAndroid()){var e=this;this.timer=setTimeout((function t(){u.pause(),console.log(u),setTimeout((function(){u.resume()}),0),e.timer=setTimeout(t,13e3),u.speaking()||(clearTimeout(e.timer),e.timer=null)}),13e3)}}},{key:"_init",value:function(){var u=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.callBackAfterEnd=t,void 0!==this.ttsListeningSettings){var n="undefined"!=typeof window&&window.TTSSett
2ingsModalManager?window.TTSSettingsModalManager.getStoredSettings():{};this.speech.init({volume:void 0!==n.volume?n.volume:this.ttsListeningSettings.tta__listening_volume?this.ttsListeningSettings.tta__listening_volume:1,rate:void 0!==n.rate?n.rate:this.ttsListeningSettings.tta__listening_rate?this.ttsListeningSettings.tta__listening_rate:1,pitch:void 0!==n.pitch?n.pitch:this.ttsListeningSettings.tta__listening_pitch?this.ttsListeningSettings.tta__listening_pitch:1,splitSentences:!0,listeners:{onvoiceschanged:function(u){}}}).then((function(t){var n,D;u.voices=t.voices,u.browser=new f(ttsObj,t.voices,null===(n=u.ttsListeningSettings)||void 0===n?void 0:n.tta__listening_lang,null===(D=u.ttsListeningSettings)||void 0===D?void 0:D.tta__listening_voice),u._prepareSpeakButton(u.speech,e),window.sessionStorage.setItem("tts_paused_by_intention",!1)})).catch((function(u){console.error("An error occured while initializing : ",u)}))}}},{key:"_prepareSpeakButton",value:function(u){var t=this,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"listen"==this.listenStatus?this.speak(u,null,e):"pause"==this.listenStatus?this.pause(u,e):"resume"==this.listenStatus&&this.resume(u,e),document.addEventListener("visibilitychange",(function(){var e,n,D=null!==(e=null===(n=window)||void 0===n||null===(n=n.ttsObj)||void 0===n||null===(n=n.settings)||void 0===n||null===(n=n.settings)||void 0===n?void 0:n.tta__settings_stop_auto_pause_after_switching_tab)&&void 0!==e&&e;if(D=wp.hooks.applyFilters("tta__settings_stop_auto_pause_after_switching_tab",D),"hidden"!==document.visibilityState||"pause"!==t.listenStatus||D||(t.pause(u),t.callBackAfterEnd&&t.callBackAfterEnd()),"visible"===document.visibilityState&&"resume"===t.listenStatus&&!D){var i,o,r=JSON.parse(window.sessionStorage.getItem("tts_paused_by_intention")),a=null!==(i=null===(o=window)||void 0===o||null===(o=o.ttsObj)||void 0===o||null===(o=o.settings)||void 0===o||null===(o=o.settings)||void 0===o?void 0:o.tta__settings_stop_auto_playing_after_switching_tab)&&void 0!==i&&i;r||a||(window.sessionStorage.setItem("tts_paused_by_intention",!1),t.resume(u)),t.callBackAfterEnd&&t.callBackAfterEnd()}}))}}],e=[{key:"replaceAliases",value:function(u,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return T.replaceAliases(u,t,e)}},{key:"buildAliasRule",value:function(u){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return T.buildAliasRule(u,t)}}],t&&ku(u.prototype,t),e&&ku(u,e),Object.defineProperty(u,"prototype",{writable:!1}),u;var u,t,e}();if("undefined"!=typeof window&&window.wp&&window.wp.hooks&&!window.__ttsSelectionSpeakReady){window.__ttsSelectionSpeakReady=!0;var Ou={};wp.hooks.addAction("tts_listen_selection","tts/selection-speak",(function(u){var t,e,n,D,i,o=parseInt(null!==(t=null!==(e=null===(n=window)||void 0===n||null===(n=n.ttsObj)||void 0===n?void 0:n.player_id)&&void 0!==e?e:null===(D=window)||void 0===D||null===(D=D.TTS)||void 0===D||null===(D=D.extra)||void 0===D?void 0:D.player_id)&&void 0!==t?t:1,10);if((1===o||2===o)&&u&&u.text&&u.text.trim()){var r=ju.replaceAliases(u.text,null===(i=window)||void 0===i||null===(i=i.ttsObj)||void 0===i||null===(i=i.settings)||void 0===i?void 0:i.aliases),a=window.TextToSpeech;if(a instanceof ju&&a.speech&&a.listenStatus&&"listen"!==a.listenStatus){var s;try{a.speech.cancel()}catch(u){}clearTimeout(a.timer),clearInterval(a.shouldCancelTimer),a.timer=null,a.shouldCancelTimer=null,a.listenStatus="listen",a.displayButtonText("listen");var F=null===(s=window.TTS)||void 0===s||null===(s=s.contents)||void 0===s?void 0:s[a.buttonId];F&&(a.content=F,a.splittedSentances=(0,m.PC)(F))}var l=Ou[u.buttonId];l&&l.browser?(l.content=r,l.splittedSentances=(0,m.PC)(r),l.listenStatus="listen",l.speak(l.speech,r,!1)):(l=new ju(u.buttonId,r,document.createElement("button"),window.TTS),Ou[u.buttonId]=l,l._init(null,!1))}}))}if(null!==(Su=window)&&void 0!==Su&&null!==(Su=Su.ttsObj)&&void 0!==Su&&Su.is_atlasvoice_addon_functional?window.TextToSpeech=ju:window.document.addEventListener("DOMContentLoaded",(function(){window.TextToSpeech=ju})),"page=text-to-audio"===new URLSearchParams("page=text-to-audio").toString()){var Mu;Mu=setInterval((function(){window.hasOwnProperty("ttsObj")&&ttsObj.is_dashboard&&(window.hasOwnProperty("TTS")?""!==window.TTS.c
2ontents[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(Mu),Mu=null)}),1e3)}},6379:(u,t,e)=>{e.d(t,{A:()=>zu});e(1522);function n(u){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},n(u)}var D=function(){return D=Object.assign||function(u){for(var t,e=1,n=arguments.length;e<n;e++)for(var D in t=arguments[e])Object.prototype.hasOwnProperty.call(t,D)&&(u[D]=t[D]);return u},D.apply(this,arguments)};function i(u,t,e,n){return new(e||(e=Promise))((function(D,i){function o(u){try{a(n.next(u))}catch(u){i(u)}}function r(u){try{a(n.throw(u))}catch(u){i(u)}}function a(u){var t;u.done?D(u.value):(t=u.value,t instanceof e?t:new e((function(u){u(t)}))).then(o,r)}a((n=n.apply(u,t||[])).next())}))}function o(u,t){var e,n,D,i,o={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return i={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function r(r){return function(a){return function(r){if(e)throw new TypeError("Generator is already executing.");for(;i&&(i=0,r[0]&&(o=0)),o;)try{if(e=1,n&&(D=2&r[0]?n.return:r[0]?n.throw||((D=n.return)&&D.call(n),0):n.next)&&!(D=D.call(n,r[1])).done)return D;switch(n=0,D&&(r=[2&r[0],D.value]),r[0]){case 0:case 1:D=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!((D=(D=o.trys).length>0&&D[D.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!D||r[1]>D[0]&&r[1]<D[3])){o.label=r[1];break}if(6===r[0]&&o.label<D[1]){o.label=D[1],D=r;break}if(D&&o.label<D[2]){o.label=D[2],o.ops.push(r);break}D[2]&&o.ops.pop(),o.trys.pop();continue}r=t.call(u,o)}catch(u){r=[6,u],n=0}finally{e=D=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function r(u,t,e){if(e||2===arguments.length)for(var n,D=0,i=t.length;D<i;D++)!n&&D in t||(n||(n=Array.prototype.slice.call(t,0,D)),n[D]=t[D]);return u.concat(n||Array.prototype.slice.call(t))}function a(u,t){return new Promise((function(e){return setTimeout(e,u,t)}))}function s(u){return!!u&&"function"==typeof u.then}function F(u,t){try{var e=u();s(e)?e.then((function(u){return t(!0,u)}),(function(u){return t(!1,u)})):t(!0,e)}catch(u){t(!1,u)}}function l(u,t,e){return void 0===e&&(e=16),i(this,void 0,void 0,(function(){var n,D,i,r;return o(this,(function(o){switch(o.label){case 0:n=Array(u.length),D=Date.now(),i=0,o.label=1;case 1:return i<u.length?(n[i]=t(u[i],i),(r=Date.now())>=D+e?(D=r,[4,new Promise((function(u){var t=new MessageChannel;t.port1.onmessage=function(){return u()},t.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:o.sent(),o.label=3;case 3:return++i,[3,1];case 4:return[2,n]}}))}))}function c(u){u.then(void 0,(function(){}))}function C(u){return parseInt(u)}function d(u){return parseFloat(u)}function E(u,t){return"number"==typeof u&&isNaN(u)?t:u}function A(u){return u.reduce((function(u,t){return u+(t?1:0)}),0)}function h(u,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(u/t)*t;var e=1/t;return Math.round(u*e)/e}function v(u,t){var e=u[0]>>>16,n=65535&u[0],D=u[1]>>>16,i=65535&u[1],o=t[0]>>>16,r=65535&t[0],a=t[1]>>>16,s=0,F=0,l=0,c=0;l+=(c+=i+(65535&t[1]))>>>16,c&=65535,F+=(l+=D+a)>>>16,l&=65535,s+=(F+=n+r)>>>16,F&=65535,s+=e+o,s&=65535,u[0]=s<<16|F,u[1]=l<<16|c}function p(u,t){var e=u[0]>>>16,n=65535&u[0],D=u[1]>>>16,i=65535&u[1],o=t[0]>>>16,r=65535&t[0],a=t[1]>>>16,s=65535&t[1],F=0,l=0,c=0,C=0;c+=(C+=i*s)>>>16,C&=65535,l+=(c+=D*s)>>>16,c&=65535,l+=(c+=i*a)>>>16,c&=65535,F+=(l+=n*s)>>>16,l&=65535,F+=(l+=D*a)>>>16,l&=65535,F+=(l+=i*r)>>>16,l&=65535,F+=e*s+n*a+D*r+i*o,F&=65535,u[0]=F<<16|l,u[1]=c<<16|C}function f(u,t){var e=u[0];32==(t%=64)?(u[0]=u[1],u[1]=e):t<32?(u[0]=e<<t|u[1]>>>32-t,u[1]=u[1]<<t|e>>>32-t):(t-=32,u[0]=u[1]<<t|e>>>32-t,u[1]=e<<t|u[1]>>>32-t)}function B(u,t){0!=(t%=64)&&(t<32?(u[0]=u[1]>>>32-t,u[1]=u[1]<<t):(u[0]=u[1]<<t-32,u[1]=0))}function g(u,t){u[0]^=t[0],u[1]^=t[1]}var m=[4283543511,3981806797],y=[3301882366,444984403];function w(u){var t=[0,u[0]>>>1];g(u,t),p(u,m),t[1]=u[0]>>>1,g(u,t),p(u,y),t[1]=u[0]>>>1,g(u,t)}var b=[2277735313,289559509],_=[1291169091,658871167],S=[0,5],x=[0,1390208809],k=[0,944331445];function T(u,t){var e=function(u){for(var t=new Uint8Array(u.length),e=0;e<u.length;e++){var n=u.charCodeAt(e);if(n>127)return(new TextEncoder).encode(u);t[e]=n}return t}(u);t=t||0;var n,D=[0,e.length],i=D[1]%16,o=D[1]-i,r=[0,t],a=[0,t],s=[0,0],F=[0,0];for(n=0;n<o;n+=16)s[0]=e[n+4]|e[n+5]<<8|e[n+6]<<16|e[n+7]<<24,s[1]=e[n]|e[n+1]<<8|e[n+2]<<16|e[n+3]<<24,F[0]=e[n+12]|e[n+13]<<8|e[n+14]<<16|e[n+15]<<24,F[1]=e[n+8]|e[n+9]<<8|e[n+10]<<16|e[n+11]<<24,p(s,b),f(s,31),p(s,_),g(r,s),f(r,27),v(r,a),p(r,S),v(r,x),p(F,_),f(F,33),p(F,b),g(a,F),f(a,31),v(a,r),p(a,S),v(a,k);s[0]=0,s[1]=0,F[0]=0,F[1]=0;var l=[0,0];switch(i){case 15:l[1]=e[n+14],B(l,48),g(F,l);case 14:l[1]=e[n+13],B(l,40),g(F,l);case 13:l[1]=e[n+12],B(l,32),g(F,l);case 12:l[1]=e[n+11],B(l,24),g(F,l);case 11:l[1]=e[n+10],B(l,16),g(F,l);case 10:l[1]=e[n+9],B(l,8),g(F,l);case 9:l[1]=e[n+8],g(F,l),p(F,_),f(F,33),p(F,b),g(a,F);case 8:l[1]=e[n+7],B(l,56),g(s,l);case 7:l[1]=e[n+6],B(l,48),g(s,l);case 6:l[1]=e[n+5],B(l,40),g(s,l);case 5:l[1]=e[n+4],B(l,32),g(s,l);case 4:l[1]=e[n+3],B(l,24),g(s,l);case 3:l[1]=e[n+2],B(l,16),g(s,l);case 2:l[1]=e[n+1],B(l,8),g(s,l);case 1:l[1]=e[n],g(s,l),p(s,b),f(s,31),p(s,_),g(r,s)}return g(r,D),g(a,D),v(r,a),v(a,r),w(r),w(a),v(r,a),v(a,r),("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}function L(u){return"function"!=typeof u}function j(u,t,e,n){var D=Object.keys(u).filter((function(u){return!function(u,t){for(var e=0,n=u.length;e<n;++e)if(u[e]===t)return!0;return!1}(e,u)})),r=l(D,(function(e){return function(u,t){var e=new Promise((function(e){var n=Date.now();F(u.bind(null,t),(function(){for(var u=[],t=0;t<arguments.length;t++)u[t]=arguments[t];var D=Date.now()-n;if(!u[0])return e((function(){return{error:u[1],duration:D}}));var i=u[1];if(L(i))return e((function(){return{value:i,duration:D}}));e((function(){return new Promise((function(u){var t=Date.now();F(i,(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=D+Date.now()-t;if(!e[0])return u({error:e[1],duration:i});u({value:e[1],duration:i})}))}))}))}))}));return c(e),function(){return e.then((function(u){return u()}))}}(u[e],t)}),n);return c(r),function(){return i(this,void 0,void 0,(function(){var u,t,e,i;return o(this,(function(o){switch(o.label){case 0:return[4,r];case 1:return[4,l(o.sent(),(function(u){var t=u();return c(t),t}),n)];case 2:return u=o.sent(),[4,Promise.all(u)];case 3:for(t=o.sent(),e={},i=0;i<D.length;++i)e[D[i]]=t[i];return[2,e]}}))}))}}function O(){var u=window,t=navigator;return A(["MSCSSMatrix"in u,"msSetImmediate"in u,"msIndexedDB"in u,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function M(){var u=window,t=navigator;return A(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in u,"BatteryManager"in u,"webkitMediaStream"in u,"webkitSpeechGrammar"in u])>=5}function V(){var u=window,t=navigator;return A(["ApplePayError"in u,"CSSPrimitiveValue"in u,"Counter"in u,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in u])>=4}function I(){var u=window,t=u.HTMLElement,e=u.Document;return A(["safari"in u,!("ongestureend"in u),!("TouchEvent"in u),!("orientation"in u),t&&!("autocapitalize"in t.prototype),e&&"pointerLockElement"in e.prototype])>=4}function P(){var u,t=window;return u=t.print,!!/^function\s.*?\{\s*\[native code]\s*}$/.test(String(u))&&A(["[object WebPageNamespace]"===String(t.browser),"MicrodataExtractor"in t])>=1}function R(){var u,t,e=window;return A(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(u=document.documentElement)||void 0===u?void 0:u.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in e,"mozInnerScreenX"in e,"CSSMozDocumentRule"in e,"CanvasCaptureMediaStream"in e])>=4}function N(){var u=window,t=navigator,e=u.CSS,n=u.HTMLButtonElement;return A([!("getStorageUpdates"in t),n&&"popover"in n.prototype,"CSSCounterStyleRule"in u,e.supports("font-size-adjust: ex-height 0.5"),e.supports("text-transform: full-width")])>=4}function W(){var u=M(),t=R(),e=window,n=navigator,D="connection";return u?A([!("SharedWorker"in e),n[D]&&"ontypechange"in n[D],!("sinkId"in new window.Audio)])>=2:!!t&&A(["onorientationchange"in e,"orientation"in e,/android/i.test(navigator.appVersion)])>=2}function H(u){var t=new Error(u);return t.name=u,t}function Z(u,t,e){var n,D,r;return void 0===e&&(e=50),i(this,void 0,void 0,(function(){var i,s;return o(this,(function(o){switch(o.label){case 0:i=document,o.label=1;case 1:return i.body?[3,3]:[4,a(e)];case 2:return o.sent(),[3,1];case 3:s=i.createElement("iframe"),o.label=4;case 4:return o.trys.push([4,,10,11]),[4,new Promise((function(u,e){var n=!1,D=function(){n=!0,u()};s.onload=D,s.onerror=function(u){n=!0,e(u)};var o=s.style;o.setProperty("display","block","important"),o.position="absolute",o.top="0",o.left="0",o.visibility="hidden",t&&"srcdoc"in s?s.srcdoc=t:s.src="about:blank",i.body.appendChild(s);var r=function(){var u,t;n||("complete"===(null===(t=null===(u=s.contentWindow)||void 0===u?void 0:u.document)||void 0===t?void 0:t.readyState)?D():setTimeout(r,10))};r()}))];case 5:o.sent(),o.label=6;case 6:return(null===(D=null===(n=s.contentWindow)||void 0===n?void 0:n.document)||void 0===D?void 0:D.body)?[3,8]:[4,a(e)];case 7:return o.sent(),[3,6];case 8:return[4,u(s,s.contentWindow)];case 9:return[2,o.sent()];case 10:return null===(r=s.parentNode)||void 0===r||r.removeChild(s),[7];case 11:return[2]}}
2))}))}function G(u){for(var t=function(u){for(var t,e,n="Unexpected syntax '".concat(u,"'"),D=/^\s*([a-z-]*)(.*)$/i.exec(u),i=D[1]||void 0,o={},r=/([.:#][\w-]+|\[.+?\])/gi,a=function(u,t){o[u]=o[u]||[],o[u].push(t)};;){var s=r.exec(D[2]);if(!s)break;var F=s[0];switch(F[0]){case".":a("class",F.slice(1));break;case"#":a("id",F.slice(1));break;case"[":var l=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(F);if(!l)throw new Error(n);a(l[1],null!==(e=null!==(t=l[4])&&void 0!==t?t:l[5])&&void 0!==e?e:"");break;default:throw new Error(n)}}return[i,o]}(u),e=t[0],n=t[1],D=document.createElement(null!=e?e:"div"),i=0,o=Object.keys(n);i<o.length;i++){var r=o[i],a=n[r].join(" ");"style"===r?z(D.style,a):D.setAttribute(r,a)}return D}function z(u,t){for(var e=0,n=t.split(";");e<n.length;e++){var D=n[e],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(D);if(i){var o=i[1],r=i[2],a=i[4];u.setProperty(o,r,a||"")}}}var Y,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(u){return u.toDataURL()}function Q(){var u=this;return function(){if(void 0===X){var u=function(){var t=K();$(t)?X=setTimeout(u,2500):(Y=t,X=void 0)};u()}}(),function(){return i(u,void 0,void 0,(function(){var u;return o(this,(function(t){switch(t.label){case 0:return $(u=K())?Y?[2,r([],Y,!0)]:function(){var u=document;return u.fullscreenElement||u.msFullscreenElement||u.mozFullScreenElement||u.webkitFullscreenElement||null}()?[4,(e=document,(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e))]:[3,2]:[3,2];case 1:t.sent(),u=K(),t.label=2;case 2:return $(u)||(Y=u),[2,u]}var e}))}))}}function K(){var u=screen;return[E(d(u.availTop),null),E(d(u.width)-d(u.availWidth)-E(d(u.availLeft),0),null),E(d(u.height)-d(u.availHeight)-E(d(u.availTop),0),null),E(d(u.availLeft),null)]}function $(u){for(var t=0;t<4;++t)if(u[t])return!1;return!0}function uu(u){var t;return i(this,void 0,void 0,(function(){var e,n,D,i,r,s,F;return o(this,(function(o){switch(o.label){case 0:for(e=document,n=e.createElement("div"),D=new Array(u.length),i={},tu(n),F=0;F<u.length;++F)"DIALOG"===(r=G(u[F])).tagName&&r.show(),tu(s=e.createElement("div")),s.appendChild(r),n.appendChild(s),D[F]=r;o.label=1;case 1:return e.body?[3,3]:[4,a(50)];case 2:return o.sent(),[3,1];case 3:e.body.appendChild(n);try{for(F=0;F<u.length;++F)D[F].offsetParent||(i[u[F]]=!0)}finally{null===(t=n.parentNode)||void 0===t||t.removeChild(n)}return[2,i]}}))}))}function tu(u){u.style.setProperty("visibility","hidden","important"),u.style.setProperty("display","block","important")}function eu(u){return matchMedia("(inverted-colors: ".concat(u,")")).matches}function nu(u){return matchMedia("(forced-colors: ".concat(u,")")).matches}function Du(u){return matchMedia("(prefers-contrast: ".concat(u,")")).matches}function iu(u){return matchMedia("(prefers-reduced-motion: ".concat(u,")")).matches}function ou(u){return matchMedia("(prefers-reduced-transparency: ".concat(u,")")).matches}function ru(u){return matchMedia("(dynamic-range: ".concat(u,")")).matches}var au=Math,su=function(){return 0},Fu={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},lu=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]),cu=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Cu=["FRAGMENT_SHADER","VERTEX_SHADER"],du=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function Eu(u){if(u.webgl)return u.webgl.context;var t,e=document.createElement("canvas");e.addEventListener("webglCreateContextError",(function(){return t=void 0}));for(var n=0,D=["webgl","experimental-webgl"];n<D.length;n++){var i=D[n];try{t=e.getContext(i)}catch(u){}if(t)break}return u.webgl={context:t},t}function Au(u,t,e){var n=u.getShaderPrecisionFormat(u[t],u[e]);return n?[n.rangeMin,n.rangeMax,n.precision]:[]}function hu(u){return Object.keys(u.__proto__).filter(vu)}function vu(u){return"string"==typeof u&&!u.match(/[^A-Z0-9_x]/)}function pu(){return R()}function fu(u){return"function"==typeof u.getParameter}var Bu={fonts:function(){var u=this;return Z((function(t,e){var n=e.document;return i(u,void 0,void 0,(function(){var u,t,e,D,i,r,a,s,F,l,c;return o(this,(function(o){for((u=n.body).style.fontSize="48px",(t=n.createElement("div")).style.setProperty("visibility","hidden","important"),e={},D={},i=function(u){var e=n.createElement("span"),D=e.style;return D.position="absolute",D.top="0",D.left="0",D.fontFamily=u,e.textContent="mmMwWLliI0O&1",t.appendChild(e),e},r=function(u,t){return i("'".concat(u,"',").concat(t))},a=function(){for(var u={},t=function(t){u[t]=J.map((function(u){return r(t,u)}))},e=0,n=U;e<n.length;e++)t(n[e]);return u},s=function(u){return J.some((function(t,n){return u[n].offsetWidth!==e[t]||u[n].offsetHeight!==D[t]}))},F=J.map(i),l=a(),u.appendChild(t),c=0;c<J.length;c++)e[J[c]]=F[c].offsetWidth,D[J[c]]=F[c].offsetHeight;return[2,U.filter((function(u){return s(l[u])}))]}))}))}))},domBlockers:function(u){var t=(void 0===u?{}:u).debug;return i(this,void 0,void 0,(function(){var u,e,n,D,i;return o(this,(function(o){switch(o.label){case 0:return V()||W()?(r=atob,u=
vendor: 7,216 bytes, line 2
2{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',r("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",r("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",r("LnNwb25zb3JpdA=="),".ylamainos",r("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),r("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",r("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",r("LmhlYWRlci1ibG9ja2VkLWFk"),r("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",r("I2FkXzMwMFgyNTA="),r("I2Jhbm5lcmZsb2F0MjI="),r("I2NhbXBhaWduLWJhbm5lcg=="),r("I0FkLUNvbnRlbnQ=")],adGuardChinese:[r("LlppX2FkX2FfSA=="),r("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",r("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),r("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",r("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",r("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",r("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),r("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),r("LmFkZ29vZ2xl"),r("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[r("YW1wLWF1dG8tYWRz"),r("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",r("I2FkX2ludmlld19hcmVh")],adGuardRussian:[r("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),r("LnJlY2xhbWE="),'div[id^="smi2adblock"]',r("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[r("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),r("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",r("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),r("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),r("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",r("I3Jla2xhbWk="),r("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),r("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),r("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[r("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",r("LndpZGdldF9wb19hZHNfd2lkZ2V0"),r("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",r("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[r("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),r("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",r("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",r("I3Jla2xhbW5pLWJveA=="),r("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",r("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[r("I2FkdmVydGVudGll"),r("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",r("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",r("LnNwb25zb3JsaW5rZ3J1ZW4="),r("I3dlcmJ1bmdza3k="),r("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),r("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[r("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",r("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),r("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),r("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[r("LnJla2xhbW9zX3RhcnBhcw=="),r("LnJla2xhbW9zX251b3JvZG9z"),r("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),r("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),r("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[r("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:[r("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),r("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",r("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[r("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),r("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),r("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",r("LmFkX19tYWlu"),r("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[r("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[r("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),r("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[r("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),r("I2xpdmVyZUFkV3JhcHBlcg=="),r("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),r("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[r("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",r("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),r("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),r("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[r("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),r("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),r("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",r("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),r("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),r("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),r("ZGl2I3NrYXBpZWNfYWQ=")],ro:[r("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),r("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),r("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),r("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[r("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),r("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),r("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",r("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),r("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",r("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}
2,e=Object.keys(u),[4,uu((i=[]).concat.apply(i,e.map((function(t){return u[t]}))))]):[2,void 0];case 1:return n=o.sent(),t&&function(u,t){for(var e="DOM blockers debug:\n```",n=0,D=Object.keys(u);n<D.length;n++){var i=D[n];e+="\n".concat(i,":");for(var o=0,r=u[i];o<r.length;o++){var a=r[o];e+="\n ".concat(t[a]?"ð«":"â¡ï¸"," ").concat(a)}}console.log("".concat(e,"\n```"))}(u,n),(D=e.filter((function(t){var e=u[t];return A(e.map((function(u){return n[u]})))>.6*e.length}))).sort(),[2,D]}var r}))}))},fontPreferences:function(){return function(u,t){return void 0===t&&(t=4e3),Z((function(u,e){var n=e.document,D=n.body,i=D.style;i.width="".concat(t,"px"),i.webkitTextSizeAdjust=i.textSizeAdjust="none",M()?D.style.zoom="".concat(1/e.devicePixelRatio):V()&&(D.style.zoom="reset");var o=n.createElement("div");return o.textContent=r([],Array(t/20|0),!0).map((function(){return"word"})).join(" "),D.appendChild(o),function(u,t){for(var e={},n={},D=0,i=Object.keys(Fu);D<i.length;D++){var o=i[D],r=Fu[o],a=r[0],s=void 0===a?{}:a,F=r[1],l=void 0===F?"mmMwWLliI0fiflO&1":F,c=u.createElement("span");c.textContent=l,c.style.whiteSpace="nowrap";for(var C=0,d=Object.keys(s);C<d.length;C++){var E=d[C],A=s[E];void 0!==A&&(c.style[E]=A)}e[o]=c,t.append(u.createElement("br"),c)}for(var h=0,v=Object.keys(Fu);h<v.length;h++)n[o=v[h]]=e[o].getBoundingClientRect().width;return n}(n,D)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}()},audio:function(){return V()&&N()&&P()?-4:function(){var u=window,t=u.OfflineAudioContext||u.webkitOfflineAudioContext;if(!t)return-2;if(V()&&!I()&&!function(){var u=window;return A(["DOMRectList"in u,"RTCPeerConnectionIceEvent"in u,"SVGGeometryElement"in u,"ontransitioncancel"in u])>=3}())return-1;var e=new t(1,5e3,44100),n=e.createOscillator();n.type="triangle",n.frequency.value=1e4;var D=e.createDynamicsCompressor();D.threshold.value=-50,D.knee.value=40,D.ratio.value=12,D.attack.value=0,D.release.value=.25,n.connect(D),D.connect(e.destination),n.start(0);var i=function(u){var t=function(){};return[new Promise((function(e,n){var D=!1,i=0,o=0;u.oncomplete=function(u){return e(u.renderedBuffer)};var r=function(){setTimeout((function(){return n(H("timeout"))}),Math.min(500,o+5e3-Date.now()))},a=function(){try{var t=u.startRendering();switch(s(t)&&c(t),u.state){case"running":o=Date.now(),D&&r();break;case"suspended":document.hidden||i++,D&&i>=3?n(H("suspended")):setTimeout(a,500)}}catch(u){n(u)}};a(),t=function(){D||(D=!0,o>0&&r())}})),t]}(e),o=i[0],r=i[1],a=o.then((function(u){return function(u){for(var t=0,e=0;e<u.length;++e)t+=Math.abs(u[e]);return t}(u.getChannelData(0).subarray(4500))}),(function(u){if("timeout"===u.name||"suspended"===u.name)return-3;throw u}));return c(a),function(){return r(),a}}()},screenFrame:function(){var u=this;if(V()&&N()&&P())return function(){return Promise.resolve(void 0)};var t=Q();return function(){return i(u,void 0,void 0,(function(){var u,e;return o(this,(function(n){switch(n.label){case 0:return[4,t()];case 1:return u=n.sent(),[2,[(e=function(u){return null===u?null:h(u,10)})(u[0]),e(u[1]),e(u[2]),e(u[3])]]}}))}))}},canvas:function(){return function(u){var t,e,n,D=!1,i=function(){var u=document.createElement("canvas");return u.width=1,u.height=1,[u,u.getContext("2d")]}(),o=i[0],r=i[1];return function(u,t){return!(!t||!u.toDataURL)}(o,r)?(D=function(u){return u.rect(0,0,10,10),u.rect(2,2,6,6),!u.isPointInPath(
25,5,"evenodd")}(r),u?e=n="skipped":(t=function(u,t){!function(u,t){u.width=240,u.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var e="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));t.fillText(e,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(e,4,45)}(u,t);var e=q(u);return e!==q(u)?["unstable","unstable"]:(function(u,t){u.width=122,u.height=110,t.globalCompositeOperation="multiply";for(var e=0,n=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];e<n.length;e++){var D=n[e],i=D[0],o=D[1],r=D[2];t.fillStyle=i,t.beginPath(),t.arc(o,r,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(u,t),[q(u),e])}(o,r),e=t[0],n=t[1])):e=n="unsupported",{winding:D,geometry:e,text:n}}(V()&&N()&&P())},osCpu:function(){return navigator.oscpu},languages:function(){var u,t=navigator,e=[],n=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==n&&e.push([n]),Array.isArray(t.languages))M()&&A([!("MediaSettingsRange"in(u=window)),"RTCEncodedAudioFrame"in u,""+u.Intl=="[object Intl]",""+u.Reflect=="[object Reflect]"])>=3||e.push(t.languages);else if("string"==typeof t.languages){var D=t.languages;D&&e.push(D.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return E(d(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(V()&&N()&&P()))return function(){var u=screen,t=function(u){return E(C(u),null)},e=[t(u.width),t(u.height)];return e.sort().reverse(),e}()},hardwareConcurrency:function(){return E(C(navigator.hardwareConcurrency),void 0)},timezone:function(){var u,t=null===(u=window.Intl)||void 0===u?void 0:u.DateTimeFormat;if(t){var e=(new t).resolvedOptions().timeZone;if(e)return e}var n,D=(n=(new Date).getFullYear(),-Math.max(d(new Date(n,0,1).getTimezoneOffset()),d(new Date(n,6,1).getTimezoneOffset())));return"UTC".concat(D>=0?"+":"").concat(D)},sessionStorage:function(){try{return!!window.sessionStorage}catch(u){return!0}},localStorage:function(){try{return!!window.localStorage}catch(u){return!0}},indexedDB:function(){if(!O()&&!function(){var u=window,t=navigator;return A(["msWriteProfilerMark"in u,"MSStream"in u,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!O()}())try{return!!window.indexedDB}catch(u){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var u=navigator.platform;return"MacIntel"===u&&V()&&!I()?function(){if("iPad"===navigator.platform)return!0;var u=screen,t=u.width/u.height;return A(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":u},plugins:function(){var u=navigator.plugins;if(u){for(var t=[],e=0;e<u.length;++e){var n=u[e];if(n){for(var D=[],i=0;i<n.length;++i){var o=n[i];D.push({type:o.type,suffixes:o.suffixes})}t.push({name:n.name,description:n.description,mimeTypes:D})}}return t}},touchSupport:function(){var u,t=navigator,e=0;void 0!==t.maxTouchPoints?e=C(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(e=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),u=!0}catch(t){u=!1}return{maxTouchPoints:e,touchEvent:u,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var u=[],t=0,e=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<e.length;t++){var D=e[t],i=window[D];i&&"object"==n(i)&&u.push(D)}return u.sort()},cookiesEnabled:function(){var u=document;try{u.cookie="cookietest=1; SameSite=Strict;";var t=-1!==u.cookie.indexOf("cookietest=");return u.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(u){return!1}},colorGamut:function(){for(var u=0,t=["rec2020","p3","srgb"];u<t.length;u++){var e=t[u];if(matchMedia("(color-gamut: ".concat(e,")")).matches)return e}},invertedColors:function(){return!!eu("inverted")||!eu("none")&&void 0},forcedColors:function(){return!!nu("active")||!nu("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var u=0;u<=100;++u)if(matchMedia("(max-monochrome: ".concat(u,")")).matches)return u;throw new Error("Too high value")}},contrast:function(){return Du("no-preference")?0:Du("high")||Du("more")?1:Du("low")||Du("less")?-1:Du("forced")?10:void 0},reducedMotion:function(){return!!iu("reduce")||!iu("no-preference")&&void 0},reducedTransparency:function(){return!!ou("reduce")||!ou("no-preference")&&void 0},hdr:function(){return!!ru("high")||!ru("standard")&&void 0},math:function(){var u,t=au.acos||su,e=au.acosh||su,n=au.asin||su,D=au.asinh||su,i=au.atanh||su,o=au.atan||su,r=au.sin||su,a=au.sinh||su,s=au.cos||su,F=au.cosh||su,l=au.tan||su,c=au.tan
2h||su,C=au.exp||su,d=au.expm1||su,E=au.log1p||su;return{acos:t(.12312423423423424),acosh:e(1e308),acoshPf:(u=1e154,au.log(u+au.sqrt(u*u-1))),asin:n(.12312423423423424),asinh:D(1),asinhPf:au.log(1+au.sqrt(2)),atanh:i(.5),atanhPf:au.log(3)/2,atan:o(.5),sin:r(-1e300),sinh:a(1),sinhPf:au.exp(1)-1/au.exp(1)/2,cos:s(10.000000000123),cosh:F(1),coshPf:(au.exp(1)+1/au.exp(1))/2,tan:l(-1e300),tanh:c(1),tanhPf:(au.exp(2)-1)/(au.exp(2)+1),exp:C(1),expm1:d(1),expm1Pf:au.exp(1)-1,log1p:E(10),log1pPf:au.log(11),powPI:au.pow(au.PI,-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var u=new Float32Array(1),t=new Uint8Array(u.buffer);return u[0]=1/0,u[0]=u[0]-u[0],t[3]},applePay:function(){var u=window.ApplePaySession;if("function"!=typeof(null==u?void 0:u.canMakePayments))return-1;try{return u.canMakePayments()?1:0}catch(u){return function(u){if(u instanceof Error){if("InvalidAccessError"===u.name){if(/\bfrom\b.*\binsecure\b/i.test(u.message))return-2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(u.message))return-3}if("SecurityError"===u.name&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(u.message))return-3}throw u}(u)}},privateClickMeasurement:function(){var u,t=document.createElement("a"),e=null!==(u=t.attributionSourceId)&&void 0!==u?u:t.attributionsourceid;return void 0===e?void 0:String(e)},audioBaseLatency:function(){var u;return W()||V()?window.AudioContext&&null!==(u=(new AudioContext).baseLatency)&&void 0!==u?u:-1:-2},webGlBasics:function(u){var t,e,n,D,i,o,r=Eu(u.cache);if(!r)return-1;if(!fu(r))return-2;var a=pu()?null:r.getExtension("WEBGL_debug_renderer_info");return{version:(null===(t=r.getParameter(r.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(e=r.getParameter(r.VENDOR))||void 0===e?void 0:e.toString())||"",vendorUnmasked:a?null===(n=r.getParameter(a.UNMASKED_VENDOR_WEBGL))||void 0===n?void 0:n.toString():"",renderer:(null===(D=r.getParameter(r.RENDERER))||void 0===D?void 0:D.toString())||"",rendererUnmasked:a?null===(i=r.getParameter(a.UNMASKED_RENDERER_WEBGL))||void 0===i?void 0:i.toString():"",shadingLanguageVersion:(null===(o=r.getParameter(r.SHADING_LANGUAGE_VERSION))||void 0===o?void 0:o.toString())||""}},webGlExtensions:function(u){var t=Eu(u.cache);if(!t)return-1;if(!fu(t))return-2;var e=t.getSupportedExtensions(),n=t.getContextAttributes(),D=[],i=[],o=[],r=[];if(n)for(var a=0,s=Object.keys(n);a<s.length;a++){var F=s[a];D.push("".concat(F,"=").concat(n[F]))}for(var l=0,c=hu(t);l<c.length;l++){var C=t[f=c[l]];i.push("".concat(f,"=").concat(C).concat(lu.has(C)?"=".concat(t.getParameter(C)):""))}if(e)for(var d=0,E=e;d<E.length;d++){var A=E[d];if(!("WEBGL_debug_renderer_info"===A&&pu()||"WEBGL_polygon_mode"===A&&(M()||V()))){var h=t.getExtension(A);if(h)for(var v=0,p=hu(h);v<p.length;v++){var f;C=h[f=p[v]],o.push("".concat(f,"=").concat(C).concat(cu.has(C)?"=".concat(t.getParameter(C)):""))}}}for(var B=0,g=Cu;B<g.length;B++)for(var m=g[B],y=0,w=du;y<w.length;y++){var b=w[y],_=Au(t,m,b);r.push("".concat(m,".").concat(b,"=").concat(_.join(",")))}return o.sort(),i.sort(),{contextAttributes:D,parameters:i,shaderPrecisions:r,extensions:e,extensionParameters:o}}};function gu(u){var t=function(u){if(W())return.4;if(V())return!I()||N()&&P()?.3:.5;var t="value"in u.platform?u.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(u),e=function(u){return h(.99+.01*u,1e-4)}(t);return{score:t,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(e))}}function mu(u){return JSON.stringify(u,(function(u,t){return t instanceof Error?D({name:(e=t).name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e):t;var e,n}),2)}function yu(u){return T(function(u){for(var t="",e=0,n=Object.keys(u).sort();e<n.length;e++){var D=n[e],i=u[D],o="error"in i?"error":JSON.stringify(i.value);t+="".concat(t?"|":"").concat(D.replace(/([:|\\])/g,"\\$1"),":").concat(o)}return t}(u))}function wu(u){return void 0===u&&(u=50),function(u,t){void 0===t&&(t=1/0);var e=window.requestIdleCallback;return e?new Promise((function(u){return e.call(window,(function(){return u()}),{timeout:t})})):a(Math.min(u,t))}(u,2*u)}function bu(u,t){var e=Date.now();return{get:function(n){return i(this,void 0,void 0,(function(){var D,i,r;return o(this,(function(o){switch(o.label){case 0:return D=Date.now(),[4,u()];case 1:return i=o.sent(),r=function(u){var t;return{get visitorId(){return void 0===t&&(t=yu(this.components)),t},set visitorId(u){t=u},confidence:gu(u),components:u,version:"4.4.2"}}(i),(t||(null==n?void 0:n.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(r.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(D-e,"\nvisitorId: ").concat(r.visitorId,"\ncomponents: ").concat(mu(i),"\n```")),[2,r]}}))}))}}}function _u(u){return void 0===u&&(u={}),i(this,void 0,void 0,(function(){var t,e,n;return o(this,(function(D){switch(D.label){case 0:return u.monitoring,t=u.delayFallback,e=u.debug,[4,wu(t)];case 1:return D.sent(),n=function(u){return j(Bu,u,[])}({cache:{},debug:e}),[2,bu(n,e)]}}))}))}e(1111);function Su(u){return Su="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},Su(u)}function xu(u,t){var e=Object.keys(u);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(u);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable}))),e.push.apply(e,n)}return e}function ku(u){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};
vendor: 3,854 bytes, line 2
2t%2?xu(Object(e),!0).forEach((function(t){Tu(u,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(e)):xu(Object(e)).forEach((function(t){Object.defineProperty(u,t,Object.getOwnPropertyDescriptor(e,t))}))}return u}function Tu(u,t,e){return(t=Vu(t))in u?Object.defineProperty(u,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):u[t]=e,u}function Lu(){Lu=function(){return t};var u,t={},e=Object.prototype,n=e.hasOwnProperty,D="function"==typeof Symbol?Symbol:{},i=D.iterator||"@@iterator",o=D.asyncIterator||"@@asyncIterator",r=D.toStringTag||"@@toStringTag";function a(u,t,e,n){return Object.defineProperty(u,t,{value:e,enumerable:!n,configurable:!n,writable:!n})}try{a({},"")}catch(u){a=function(u,t,e){return u[t]=e}}function s(t,e,n,D){var i=e&&e.prototype instanceof c?e:c,o=Object.create(i.prototype);return a(o,"_invoke",function(t,e,n){var D=1;return function(i,o){if(3===D)throw Error("Generator is already running");if(4===D){if("throw"===i)throw o;return{value:u,done:!0}}for(n.method=i,n.arg=o;;){var r=n.delegate;if(r){var a=B(r,n);if(a){if(a===l)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===D)throw D=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);D=3;var s=F(t,e,n);if("normal"===s.type){if(D=n.done?4:2,s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(D=4,n.method="throw",n.arg=s.arg)}}}(t,n,new y(D||[])),!0),o}function F(u,t,e){try{return{type:"normal",arg:u.call(t,e)}}catch(u){return{type:"throw",arg:u}}}t.wrap=s;var l={};function c(){}function C(){}function d(){}var E={};a(E,i,(function(){return this}));var A=Object.getPrototypeOf,h=A&&A(A(w([])));h&&h!==e&&n.call(h,i)&&(E=h);var v=d.prototype=c.prototype=Object.create(E);function p(u){["next","throw","return"].forEach((function(t){a(u,t,(function(u){return this._invoke(t,u)}))}))}function f(u,t){function e(D,i,o,r){var a=F(u[D],u,i);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==Su(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(u){e("next",u,o,r)}),(function(u){e("throw",u,o,r)})):t.resolve(l).then((function(u){s.value=u,o(s)}),(function(u){return e("throw",u,o,r)}))}r(a.arg)}var D;a(this,"_invoke",(function(u,n){function i(){return new t((function(t,D){e(u,n,t,D)}))}return D=D?D.then(i,i):i()}),!0)}function B(t,e){var n=e.method,D=t.i[n];if(D===u)return e.delegate=null,"throw"===n&&t.i.return&&(e.method="return",e.arg=u,B(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var i=F(D,t.i,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,l;var o=i.arg;return o?o.done?(e[t.r]=o.value,e.next=t.n,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function g(u){this.tryEntries.push(u)}function m(t){var e=t[4]||{};e.type="normal",e.arg=u,t[4]=e}function y(u){this.tryEntries=[[-1]],u.forEach(g,this),this.reset(!0)}function w(t){if(null!=t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var D=-1,o=function e(){for(;++D<t.length;)if(n.call(t,D))return e.value=t[D],e.done=!1,e;return e.value=u,e.done=!0,e};return o.next=o}}throw new TypeError(Su(t)+" is not iterable")}return C.prototype=d,a(v,"constructor",d),a(d,"constructor",C),C.displayName=a(d,r,"GeneratorFunction"),t.isGeneratorFunction=function(u){var t="function"==typeof u&&u.constructor;return!!t&&(t===C||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(u){return Object.setPrototypeOf?Object.setPrototypeOf(u,d):(u.__proto__=d,a(u,r,"GeneratorFunction")),u.prototype=Object.create(v),u},t.awrap=function(u){return{__await:u}}
2,p(f.prototype),a(f.prototype,o,(function(){return this})),t.AsyncIterator=f,t.async=function(u,e,n,D,i){void 0===i&&(i=Promise);var o=new f(s(u,e,n,D),i);return t.isGeneratorFunction(e)?o:o.next().then((function(u){return u.done?u.value:o.next()}))},p(v),a(v,r,"Generator"),a(v,i,(function(){return this})),a(v,"toString",(function(){return"[object Generator]"})),t.keys=function(u){var t=Object(u),e=[];for(var n in t)e.unshift(n);return function u(){for(;e.length;)if((n=e.pop())in t)return u.value=n,u.done=!1,u;return u.done=!0,u}},t.values=w,y.prototype={constructor:y,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(m),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var u=this.tryEntries[0][4];if("throw"===u.type)throw u.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(u){o.type="throw",o.arg=t,e.next=u}for(var D=e.tryEntries.length-1;D>=0;--D){var i=this.tryEntries[D],o=i[4],r=this.prev,a=i[1],s=i[2];if(-1===i[0])return n("end"),!1;if(!a&&!s)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=r){if(r<a)return this.method="next",this.arg=u,n(a),!0;if(r<s)return n(s),!1}}},abrupt:function(u,t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var D=n;break}}D&&("break"===u||"continue"===u)&&D[0]<=t&&t<=D[2]&&(D=null);var i=D?D[4]:{};return i.type=u,i.arg=t,D?(this.method="next",this.next=D[2],l):this.complete(i)},complete:function(u,t){if("throw"===u.type)throw u.arg;return"break"===u.type||"continue"===u.type?this.next=u.arg:"return"===u.type?(this.rval=this.arg=u.arg,this.method="return",this.next="end"):"normal"===u.type&&t&&(this.next=t),l},finish:function(u){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e[2]===u)return this.complete(e[4],e[3]),m(e),l}},catch:function(u){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e[0]===u){var n=e[4];if("throw"===n.type){var D=n.arg;m(e)}return D}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={i:w(t),r:e,n},"next"===this.method&&(this.arg=u),l}},t}function ju(u,t,e,n,D,i,o){try{var r=u[i](o),a=r.value}catch(u){return void e(u)}r.done?t(a):Promise.resolve(a).then(n,D)}function Ou(u){return function(){var t=this,e=arguments;return new Promise((function(n,D){var i=u.apply(t,e);function o(u){ju(i,n,D,o,r,"next",u)}function r(u){ju(i,n,D,o,r,"throw",u)}o(void 0)}))}}function Mu(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,Vu(n.key),n)}}function Vu(u){var t=function(u,t){if("object"!=Su(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=Su(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==Su(t)?t:t+""}function Iu(u,t){(function(u,t){if(t.has(u))throw new TypeError("Cannot initialize the same private elements twice on an object")})(u,t),t.add(u)}function Pu(u,t,e){if("function"==typeof u?u===t:u.has(t))return arguments.length<3?t:e;throw new TypeError("Private element is not present on this object")}var Ru=new WeakSet,Nu=function(){return function(u,t,e){return t&&Mu(u.prototype,t),e&&Mu(u,e),Object.defineProperty(u,"prototype",{writable:!1}),u}((function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";!function(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),Iu(this,Ru),this.userId=ttsObj.user_id,this.apiUrl=ttsObj.api_url+ttsObj.api_namespace+"/"+ttsObj.api_version+"/track",this.postId=t,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()}
2))),this.shouldTrackAnalyticsData()&&("0"==this.userId&&this.getUniqueUserId(),this.trackDeviceInfo())}),[{key:"startTimeTracking",get:function(){return this._startTimeTracking},set:function(u){this._startTimeTracking=u,this.trackListeningLength()}},{key:"handleStartTimeTracking",value:function(u){this.trackListeningLength()}},{key:"trackInit",value:function(){"0"==this.userId&&this.shouldTrackAnalyticsData()&&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(u){this._audioDuration=u}},{key:"trackProgress",value:function(u){if(this._audioDuration&&!(this._audioDuration<=0)){this._currentTime=u;var t=u/this._audioDuration*100;t>=25&&!this._milestones["25_percent"]&&(this._milestones["25_percent"]=!0,this.addEvent("25_percent")),t>=50&&!this._milestones["50_percent"]&&(this._milestones["50_percent"]=!0,this.addEvent("50_percent")),t>=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 u=this;this.startTimeTracking?this.listeningLengthInterval||(this.listeningLengthInterval=setInterval((function(){var t,e=u.getSessionData();null!=e&&e.listening_length&&(u.listeningLength=null==e||null===(t=e.listening_length)||void 0===t?void 0:t.length);u.listeningLength+=1,u.addEvent("time")}),1e3)):(clearInterval(this.listeningLengthInterval),this.listeningLengthInterval=null,this.startTimeTracking&&this.addEvent("time"),this.listeningLength=0)}},{key:"getSessionData",value:function(){var u=sessionStorage.getItem("atlasVoice_analytics_data");return u?JSON.parse(u):{}}},{key:"saveSessionData",value:function(){sessionStorage.setItem("atlasVoice_analytics_data",JSON.stringify(this.sessionData))}},{key:"sendSessionData_old",value:function(){var u,t;this.shouldTrackAnalyticsData()&&(this.sessionData=this.getSessionData(),0!==(null===(u=Object.keys(this.sessionData))||void 0===u?void 0:u.length)&&(fetch(this.apiUrl,{method:"POST",headers:{"Content-Type":"application/json","X-WP-NONCE":null===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t?void 0:t.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 u;if(this.shouldTrackAnalyticsData()){var t=this.getSessionData();if(0!==Object.keys(t).length){var e={analytics:t,post_id:this.postId,user_id:this.userId,other_data:{},rest_nonce:null===(u=window)||void 0===u||null===(u=u.ttsObj)||void 0===u?void 0:u.rest_nonce},n=JSON.stringify(e),D=navigator.userAgent.toLowerCase().includes("firefox"),i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if(navigator.sendBeacon&&(D||i))try{var o=new Blob([n],{type:"application/json"});navigator.sendBeacon(this.apiUrl,o)&&(sessionStorage.removeItem("atlasVoice_analytics_data"),sessionStorage.removeItem("atlasVoice_analytics_is_initiated"))}catch(u){console.warn("sendBeacon failed, fallback to fetch()",u),this._sendSessionDataWithFetch(n)}else this._sendSessionDataWithFetch(n);window.hasAtlasVoiceAnalyticsBeforeUnloadListener=!1}}}},{key:"_sendSessionDataWithFetch",value:function(u){var t;fetch(this.apiUrl,{method:"POST",headers:{"Content-Type":"application/json","X-WP-NONCE":(null===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t?void 0:t.rest_nonce)||""},body:u,keepalive:!0}).catch((function(u){return console.error("Fetch error:",u)}
2)).finally((function(){sessionStorage.removeItem("atlasVoice_analytics_data"),sessionStorage.removeItem("atlasVoice_analytics_is_initiated")}))}},{key:"getUniqueUserId",value:(e=Ou(Lu().mark((function u(){var t,e;return Lu().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(t=this.userId,"0"!=this.userId){u.next=5;break}return e=_u(),u.next=5,e.then((function(u){return u.get()})).then((function(u){t=u.visitorId}));case 5:this.userId=t;case 6:case"end":return u.stop()}}),u,this)}))),function(){return e.apply(this,arguments)})},{key:"addEvent",value:function(u){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldTrackAnalyticsData()){var n,D={};if("device_info"===u)return this.sessionData[u]=e,void this.saveSessionData();if(null!==(t=this.sessionData)&&void 0!==t&&t[u])D=ku({count:(null===(n=this.sessionData)||void 0===n||null===(n=n[u])||void 0===n?void 0:n.count)+1,timestamp:(new Date).toISOString()},e);else D=ku({count:1,timestamp:(new Date).toISOString()},e);this.sessionData[u]=D,this.saveSessionData()}}},{key:"addEvent_new",value:function(u){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sessionData[this.postId]||(this.sessionData[this.postId]={}),this.sessionData[this.postId][u]||(this.sessionData[this.postId][u]={count:0}),this.sessionData[this.postId][u].count+=1,this.sessionData[this.postId][u]=ku(ku({},this.sessionData[this.postId][u]),t),this.saveSessionData()}},{key:"trackDeviceInfo",value:(t=Ou(Lu().mark((function u(){var t,e,n,D,i;return Lu().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(t="undefined"!=typeof ttsObj&&ttsObj.settings&&ttsObj.settings.analytics&&ttsObj.settings.analytics.tts_show_listener_location,e=function(u){return u&&"object"===Su(u)&&(u.country=null,u.city=null,u.region=null,u.location=null),u},n=localStorage.getItem("atlasVoice_stored_device_info"),!(n=JSON.parse(n))){u.next=14;break}if(t){u.next=10;break}return e(n),localStorage.setItem("atlasVoice_stored_device_info",JSON.stringify(n)),this.addEvent("device_info",n),u.abrupt("return");case 10:if(!(n.country||n.city||n.region)){u.next=14;break}return this.addEvent("device_info",n),u.abrupt("return");case 14:return u.next=16,this.getDeviceData().then((function(u){return u}));case 16:if(D=u.sent,!t){u.next=24;break}return u.next=20,Pu(Ru,this,Zu).call(this);case 20:(i=u.sent)&&(i.city&&"Unknown"!==i.city&&(D.city=i.city),i.country&&"Unknown"!==i.country&&(D.country=i.country),i.region&&(D.region=i.region)),u.next=25;break;case 24:e(D);case 25:localStorage.setItem("atlasVoice_stored_device_info",JSON.stringify(D)),this.addEvent("device_info",D);case 27:case"end":return u.stop()}}),u,this)}))),function(){return t.apply(this,arguments)})},{key:"getDeviceData",value:(u=Ou(Lu().mark((function u(){var t,e,n,D,i,o;return Lu().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return i=function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t="Unknown",e="Desktop",n="";if((u=u.toLowerCase()).includes("windows"))t=u.includes("windows nt 10.0")?"Windows 10":u.includes("windows nt 11.0")?"Windows 11":u.includes("windows nt 6.3")?"Windows 8.1":u.includes("windows nt 6.2")?"Windows 8":u.includes("windows nt 6.1")?"Windows 7":"Windows",u.includes("win64")||u.includes("x64")||u.includes("wow64")?n="64-bit":(u.includes("win32")||u.includes("x86"))&&(n="32-bit");else if(u.includes("macintosh")||u.includes("mac os"))t="macOS",n=u.includes("arm")||u.includes("apple")?"Apple Silicon":"Intel";else if(/iphone|ipad|ipod/.test(u))t="iOS",e=/ipad/.test(u)?"Tablet":"Mobile";else if(u.includes("android")){var D=u.match(/android\s([\d\.]+)/);t=D?"Android ".concat(D[1]):"Android",e=u.includes("mobile")?"Mobile":"Tablet"}else u.includes("linux")&&(t="Linux",u.includes("x86_64")?n="64-bit":u.includes("i686")&&(n="32-bit"));return/mobi|android|iphone|ipod/i.test(u)?e="Mobile":/ipad|tablet/i.test(u)&&(e="Tablet"),{platform:t,architecture:n,deviceType:e}},n=function(){return(n=Ou(Lu().mark((function u(){var t;return Lu().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if("permissions"in navigator&&"geolocation"in navigator){u.next=2;break}return u.abrupt("return",null);case 2:return u.prev=2,u.next=5,navigator.permissions.query({name:"geolocation"});case 5:if(!(t=u.sent)||"granted"!==t.state){u.next=10;break}return u.abrupt("return",new Promise((function(u){navigator.geolocation.getCurrentPosition((function(t){u({latitude:t.coords.latitude,longitude:t.coords.longitude,accuracy:t.coords.accuracy,timestamp:t.timestamp})}),(function(t){u(null)}),{enableHighAccuracy:!1,maximumAge:3e5,timeout:5e3})})));case 10:return u.abrupt("return",null);case 11:u.next=16;break;case 13:return u.prev=13,u.t0=u.catch(2),u.abrupt("return",null);case 16:case"end":return u.stop()}}),u,null,[[2,13]])})))).apply(this,arguments)},e=function(){return n.apply(this,arguments)},t={browserName:null,browserVersion:null,browser:null,platform:navigator.platform||null,deviceType:null,architecture:null,language:navigator.language||null,timeZone:Pu(Ru,this,Wu).call(this),location:null,country:Pu(Ru,this,Hu).call(this),city:null,region:null},function(){if(!t.browserName)for(var u,e=null===(u=window)||void 0===u||null===(u=u.n
2avigator)||void 0===u?void 0:u.userAgent,n=0,D=[{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._]+)/}];n<D.length;n++){var i=D[n],o=e.match(i.re);if(o){t.browser=i.name+"_"+o[1]||o[2]||null;break}}}(),u.prev=5,u.next=8,e();case 8:(D=u.sent)&&(t.location=D),u.next=14;break;case 12:u.prev=12,u.t0=u.catch(5);case 14:return null!=(o=i())&&o.deviceType&&(t.deviceType=o.deviceType),null!=o&&o.platform&&(t.platform=o.platform),null!=o&&o.architecture&&(t.architecture=o.architecture),u.abrupt("return",t);case 19:case"end":return u.stop()}}),u,this,[[5,12]])}))),function(){return u.apply(this,arguments)})},{key:"getReport",value:function(u){var t="".concat(this.apiUrl,"/report"),e=t+(t.includes("?")?"&":"?")+"period=".concat(encodeURIComponent(u));return fetch(e).then((function(u){return u.json()}))}},{key:"shouldTrackAnalyticsData",value:function(){var u,t;if(null===(u=window)||void 0===u||null===(u=u.ttsObj)||void 0===u||null===(u=u.settings)||void 0===u||null===(u=u.analytics)||void 0===u||!u.tts_enable_analytics)return!1;var e=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?void 0:t.tts_trackable_post_ids;if(!e||!e.length)return!0;var n=e.map((function(u){return String(u)}));return n.includes("all")||n.includes(String(this.postId))}}]);var u,t,e}();function Wu(){return"object"===("undefined"==typeof Intl?"undefined":Su(Intl))&&Intl.DateTimeFormat?Intl.DateTimeFormat().resolvedOptions().timeZone:null}function Hu(){var u,t=Pu(Ru,this,Wu).call(this),e=null;null!==(u=window)&&void 0!==u&&u.ct&&(e=ct.getTimezone(t));var n=e?ct.getCountry(e.countries[0]):null;return n?n.name:"Unknown"}function Zu(){return Gu.apply(this,arguments)}function Gu(){return(Gu=Ou(Lu().mark((function u(){var t,e,n;return Lu().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.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===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t?void 0:t.rest_nonce)||""}});case 3:if((e=u.sent).ok){u.next=6;break}throw new Error("Geolocation API request failed");case 6:return u.next=8,e.json();case 8:if(!(n=u.sent).status||!n.data){u.next=11;break}return u.abrupt("return",n.data);case 11:u.next=16;break;case 13:u.prev=13,u.t0=u.catch(0),console.warn("Failed to fetch geolocation:",u.t0);case 16:return u.abrupt("return",{city:"Unknown",country:Pu(Ru,this,Hu).call(this),region:""});case 17:case"end":return u.stop()}}),u,this,[[0,13]])})))).apply(this,arguments)}const zu=Nu;window.AtlasVoiceAnalytics=Nu},6756:(u,t,e)=>{e.d(t,{P:()=>i});var n=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 D(u){if(!u)return!1;var t=u.toLowerCase().replace(/[^a-z.]/g,"").replace(/\./g,"");return!!t&&(/^[a-z]$/.test(t)?!/[0-9]/.test(u):n.has(t))}var i=function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!u||"string"!=typeof u)return[];for(var t,e=[],n=0,i=/([.!?]+)(["'ââ)\]]*)(\s+)/g;null!==(t=i.exec(u));){var o=t[1],r=i.lastIndex,a=u.slice(n,t.index),s=u.charAt(r);if(""===s||/[A-Z0-9"'ââ(\[¿¡]/.test(s)){if("."===o)if(D((a.match(/(\S+)$/)||[null,""])[1]))continue;var F=u.slice(n,r).trim();F&&e.push(F),n=r}}var l=u.slice(n).trim();return l&&e.push(l),e}}},t={};function e(n){var D=t[n];if(void 0!==D)return D.exports;var i=t[n]={exports:{}};return u[n](i,i.exports,e),i.exports}e.d=(u,t)=>{for(var n in t)e.o(t,n)&&!e.o(u,n)&&Object.defineProperty(u,n,{enumerable:!0,get:t[n]})},e.o=(u,t)=>Object.prototype.hasOwnProperty.call(u,t);var n=e(6330),D=e(1111),i=e(6379);function o(u){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},o(u)}function r(u,t){var e="undefined"!=typeof Symbol&&u[Symbol.iterator]||u["@@iterator"];if(!e){if(Array.isArray(u)||(e=h(u))||t&&u&&"number"==typeof u.length){e&&(u=e);var n=0,D=function(){};return{s:D,n:function(){return n>=u.length?{done:!0}:{done:!1,value:u[n++]}},e:function(u){throw u},f:D}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,r=!1;return{s:function(){e=e.call(u)},n:function(){var u=e.next();return o=u.done,u},e:function(u){r=!0,i=u},f:function(){try{o||null==e.return||e.return()}finally{if(r)throw i}}}}function a(u,t,e){return t=c(t),function(u,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}(u)}
vendor: 1,808 bytes, line 2
2(u,F()?Reflect.construct(t,e||[],c(u).constructor):t.apply(u,e))}function s(u){var t="function"==typeof Map?new Map:void 0;return s=function(u){if(null===u||!function(u){try{return-1!==Function.toString.call(u).indexOf("[native code]")}catch(t){return"function"==typeof u}}(u))return u;if("function"!=typeof u)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(u))return t.get(u);t.set(u,e)}function e(){return function(u,t,e){if(F())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var D=new(u.bind.apply(u,n));return e&&l(D,e.prototype),D}(u,arguments,c(this).constructor)}return e.prototype=Object.create(u.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),l(e,u)},s(u)}function F(){try{var u=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(u){}return(F=function(){return!!u})()}function l(u,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,t){return u.__proto__=t,u},l(u,t)}function c(u){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)},c(u)}function C(u,t){(function(u,t){if(t.has(u))throw new TypeError("Cannot initialize the same private elements twice on an object")})(u,t),t.add(u)}function d(u,t){var e=Object.keys(u);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(u);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(u,t).enumerable}))),e.push.apply(e,n)}return e}function E(u){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?d(Object(e),!0).forEach((function(t){g(u,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEac
2h((function(t){Object.defineProperty(u,t,Object.getOwnPropertyDescriptor(e,t))}))}return u}function A(u){return function(u){if(Array.isArray(u))return v(u)}(u)||function(u){if("undefined"!=typeof Symbol&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}(u)||h(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(u,t){if(u){if("string"==typeof u)return v(u,t);var e={}.toString.call(u).slice(8,-1);return"Object"===e&&u.constructor&&(e=u.constructor.name),"Map"===e||"Set"===e?Array.from(u):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?v(u,t):void 0}}function v(u,t){(null==t||t>u.length)&&(t=u.length);for(var e=0,n=Array(t);e<t;e++)n[e]=u[e];return n}function p(u,t){if(!(u instanceof t))throw new TypeError("Cannot call a class as a function")}function f(u,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,m(n.key),n)}}function B(u,t,e){return t&&f(u.prototype,t),e&&f(u,e),Object.defineProperty(u,"prototype",{writable:!1}),u}function g(u,t,e){return(t=m(t))in u?Object.defineProperty(u,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):u[t]=e,u}function m(u){var t=function(u,t){if("object"!=o(u)||!u)return u;var e=u[Symbol.toPrimitive];if(void 0!==e){var n=e.call(u,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(u)}(u,"string");return"symbol"==o(t)?t:t+""}var y=("undefined"!=typeof wp&&wp.i18n?wp.i18n:{__:function(u){return u}}).__,w=["bottom_fixed","bottom_left","bottom_right","sticky_top"],b={bottom_center:"bottom_fixed"},_=function(){return B((function u(){p(this,u)}),null,[{key:"init",value:function(){this.modalContainer||(this.modalContainer=document.createElement("div"),this.modalContainer.id="tts-settings-modal-container",document.body.appendChild(this.modalContainer),this.injectStyles(),this.loadBrowserVoices(),this.loadSettingsFromStorage())}},{key:"injectStyles",value:function(){}},{key:"getColors",value:function(){var u,t=(null===(u=window)||void 0===u||null===(u=u.ttsObj)||void 0===u||null===(u=u.settings)||void 0===u?void 0:u.customize)||{};return{backgroundColor:t.backgroundColor||"#184c53",color:t.color||"#ffffff"}}},{key:"getCountryCode",value:function(u){return u?-1!==u.indexOf("-")?u.split("-")[0]:-1!==u.indexOf("_")?u.split("_")[0]:u:""}},{key:"loadBrowserVoices",value:function(){var u=this,t=function(){var t=window.speechSynthesis.getVoices();if(t.length>0){var e,n;u.availableVoices=t;var D=(null===(e=window)||void 0===e||null===(e=e.TTS)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.listening)||void 0===e?void 0:e.tta__listening_lang)||"en",i=(null===(n=window)||void 0===n||null===(n=n.TTS)||void 0===n||null===(n=n.settings)||void 0===n||null===(n=n.listening)||void 0===n?void 0:n.tta__listening_voice)||"",o=u.getCountryCode(D),r=t.filter((function(t){return u.getCountryCode(t.lang).toLowerCase()===o.toLowerCase()})),a=A(new Set(r.map((function(u){return u.lang}))));u.availableLanguages=a,u.filteredVoices=r;var s=u.loadSettingsFromStorage();if(s){var F;if(!r.some((function(u){return u.name===s.voice}))&&r.length>0&&(u.currentVoice=i||r[0].name),!a.includes(s.language)&&a.length>0)u.currentLanguage=(null===(F=r[0])||void 0===F?void 0:F.lang)||D}else{var l;if(r.length>0){var c=r.find((function(u){return u.name===i}))||r[0];u.currentLanguage=c.lang,u.currentVoice=c.name}var C=(null===(l=window)||void 0===l||null===(l=l.TTS)||void 0===l||null===(l=l.settings)||void 0===l?void 0:l.listening)||{};u.currentRate=parseFloat(C.tta__listening_rate)||1,u.currentPitch=parseFloat(C.tta__listening_pitch)||1,u.currentVolume=parseFloat(C.tta__listening_volume)||1}return!0}return!1};t()||(window.speechSynthesis.onvoiceschanged=t)}},{key:"loadSettingsFromStorage",value:function(){var u=localStorage.getItem("tts_player_settings");if(u)try{var t=JSON.parse(u);return void 0!==t.rate&&(this.currentRate=parseFloat(t.rate)),void 0!==t.pitch&&(this.currentPitch=parseFloat(t.pitch)),void 0!==t.volume&&(this.currentVolume=parseFloat(t.volume)),t.language&&(this.currentLanguage=t.language),t.voice&&(this.currentVoice=t.voice),void 0!==t.isMuted&&(this.isMuted=t.isMuted),t}catch(u){console.error("Error loading TTS settings from localStorage:",u)}return null}},{key:"getStoredSettings",value:function(){try{var u=localStorage.getItem("tts_player_settings");if(!u)return{};var t=JSON.parse(u)||{},e={};return void 0!==t.rate&&(e.rate=parseFloat(t.rate)),void 0!==t.pitch&&(e.pitch=parseFloat(t.pitch)),t.isMuted?e.volume=0:void 0!==t.volume&&(e.volume=parseFloat(t.volume)),t.voice&&(e.voice=t.voice),t.language&&(e.language=t.language),e}catch(u){return{}}}},{key:"saveSettingsToStorage",value:function(u){try{var t=E(E({},JSON.parse(localStorage.getItem("tts_player_settings")||"{}")),u);localStorage.setItem("tts_player_settings",JSON.stringify(t))}catch(u){console.error("Error saving TTS settings to localStorage:",u)}}},{key:"filterVoicesByLanguage",value:function(u){var t=this,e=this.getCountryCode(u),n=this.availableV
2oices.filter((function(u){return t.getCountryCode(u.lang).toLowerCase()===e.toLowerCase()})),D=String(u||"").toLowerCase();return n.sort((function(u,t){return(String(u.lang||"").toLowerCase()===D?0:1)-(String(t.lang||"").toLowerCase()===D?0:1)})),this.filteredVoices=n,n}},{key:"openModal",value:function(u){var t=this;this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),this.currentButtonInstance=u,this.isOpen=!0,this._previousFocus=document.activeElement,this.renderModal(),this.startAutoCloseTimer(),requestAnimationFrame((function(){var u=t.modalContainer.querySelector(".tts__settings-modal-backdrop");u&&u.classList.add("tts__modal-visible");var e=t.modalContainer.querySelector(".tts__settings-modal-close");e&&e.focus()})),this._keyHandler=function(u){if("Escape"===u.key&&t.isOpen)t.closeModal();else if("Tab"===u.key&&t.isOpen){var e=t.modalContainer.querySelector(".tts__settings-modal");if(!e)return;var n=e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(0===n.length)return;var D=n[0],i=n[n.length-1];u.shiftKey?document.activeElement===D&&(u.preventDefault(),i.focus()):document.activeElement===i&&(u.preventDefault(),D.focus())}},document.addEventListener("keydown",this._keyHandler)}},{key:"closeModal",value:function(){var u=this,t=this.modalContainer.querySelector(".tts__settings-modal-backdrop");t?(t.classList.remove("tts__modal-visible"),t.classList.add("tts__modal-closing"),this._closeTimer=setTimeout((function(){u._closeTimer=null,u.isOpen=!1,u.modalContainer.innerHTML="",u.currentButtonInstance=null}),200)):(this.isOpen=!1,this.currentButtonInstance=null),this.clearAutoCloseTimer(),this._keyHandler&&(document.removeEventListener("keydown",this._keyHandler),this._keyHandler=null),this._previousFocus&&(this._previousFocus.focus(),this._previousFocus=null)}},{key:"startAutoCloseTimer",value:function(){var u=this;this.clearAutoCloseTimer(),this.autoCloseTimer=setTimeout((function(){u.isOpen&&u.closeModal()}),15e3)}},{key:"clearAutoCloseTimer",value:function(){this.autoCloseTimer&&(clearTimeout(this.autoCloseTimer),this.autoCloseTimer=null)}},{key:"resetAutoCloseTimer",value:function(){this.isOpen&&this.startAutoCloseTimer()}},{key:"handleLanguageChange",value:function(u){var t=u.target.value;this.currentLanguage=t,this.saveSettingsToStorage({language:t}),this.resetAutoCloseTimer();var e=this.filterVoicesByLanguage(t);if(e.length>0){var n=e[0].name;this.currentVoice=n,this.saveSettingsToStorage({voice:n})}this.renderModal(),this.currentButtonInstance&&this.currentButtonInstance.speech&&this.applySettingsAndRestart()}},{key:"handleVoiceChange",value:function(u){var t=u.target.value;this.currentVoice=t,this.saveSettingsToStorage({voice:t}),this.resetAutoCloseTimer();var e=this.availableVoices.find((function(u){return u.name===t}));e&&e.lang!==this.currentLanguage&&(this.currentLanguage=e.lang,this.saveSettingsToStorage({language:e.lang})),this.currentButtonInstance&&this.currentButtonInstance.speech&&this.applySettingsAndRestart()}},{key:"handleRateChange",value:function(u){var t=parseFloat(u.target.value);this.currentRate=t,this.saveSettingsToStorage({rate:t}),this.resetAutoCloseTimer();var e=this.modalContainer.querySelector("#tts-rate-value");e&&(e.textContent="".concat(t,"x")),this.currentButtonInstance&&this.currentButtonInstance.speech&&this.applySettingsAndRestart()}},{key:"handlePitchChange",value:function(u){var t=parseFloat(u.target.value);this.currentPitch=t,this.saveSettingsToStorage({pitch:t}),this.resetAutoCloseTimer();var e=this.modalContainer.querySelector("#tts-pitch-value");e&&(e.textContent=t.toFixed(1)),this.currentButtonInstance&&this.currentButtonInstance.speech&&this.applySettingsAndRestart()}},{key:"handleVolumeChange",value:function(u){var t=parseFloat(u.target.value);this.currentVolume=t,this.isMuted=0===t,this.saveSettingsToStorage({volume:t,isMuted:0===t}),this.resetAutoCloseTimer();var e=this.modalContainer.querySelector("#tts-volume-value");e&&(e.textContent="".concat(Math.round(100*t),"%"));var n=this.modalContainer.querySelector(".tts__mute-btn");n&&(n.classList.toggle("muted",this.isMuted),this.updateMuteButtonIcon(n)),this.currentButtonInstance&&this.currentButtonInstance.speech&&this.applySettingsAndRestart()}},{key:"handleMuteToggle",value:function(){this.resetAutoCloseTimer(),this.isMuted?(this.currentVolume=this.previousVolume,this.isMuted=!1,this.saveSettingsToStorage({volume:this.previousVolume,isMuted:!1})):(this.previousVolume=this.currentVolume,this.currentVolume=0,this.isMuted=!0,this.saveSettingsToStorage({volume:0,isMuted:!0}));var u=this.modalContainer.querySelector("#tts-volume-slider"),t=this.modalContainer.querySelector("#tts-volume-value"),e=this.modalContainer.querySelector(".tts__mute-btn");u&&(u.value=this.currentVolume),t&&(t.textContent="".concat(Math.round(100*this.currentVolume),"%")),e&&(e.classList.toggle("muted",this.isMuted),this.updateMuteButtonIcon(e)),this.currentButtonInstance&&this.currentButtonInstance.speech&&this.applySettingsAndRestart()}},{key:"updateMuteButtonIcon",value:function(u){var t=this.getColors();this.isMuted?u.innerHTML='\n <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="'.concat(t.color,'" stroke-width="2">\n <polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>\n <line x1="23" y1="9" x2="17" y2="15"></line>\n <line x1="17" y1="9" x2="23" y2="15"></line>\n </svg>\n '):u.innerHTML='\n <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="'.concat(t.color,'" stroke-width="2">\n <polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>\n <path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>\n </svg>\n '),u.setAttribute("aria-pressed",this.isMuted?"true":"false"),u.setAttribute("aria-label",this.isMuted?y("Unmute audio","text-to-audio"):y("Mute audio","text-to-audio")),u.setAttribute("title",this.isMuted?y("Unmute","text-to-audio"):y("Mute","text-to-audio"))}},{key:"splitSentencesForSeek",value:function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,D.PC)(u)}},{key:"applySettingsAndRestart",value:function(){var u=this.currentButtonInstance;if(u&&u.speech&&u.speech.speech){var t=u.speech,e=this.modalContainer.querySelector(".tts__settings-loader-overlay");e&&(e.style.display="flex");
2var n=window.TTS.contents[u.buttonId],D=t.content,i=this.splitSentencesForSeek(n);if(0!==i.length){for(var o=n.length,r=(o-D.length)/o*100,a=i.reduce((function(u,t){return u+t.length}),0),s=0,F=0,l=0;l<i.length;l++){if((s+=i[l].length/a*100)>=r){F=l;break}}var c=i.slice(F).join(" ");t.speech.cancel(),t.content=c,t.splittedSentances=i.slice(F),t.speech.setRate(this.currentRate),t.speech.setPitch(this.currentPitch),t.speech.setVolume(this.currentVolume),t.speech.setLanguage(this.currentLanguage),t.speech.setVoice(this.currentVoice),t.browser&&t.browser.defineVoiceAndLang(this.currentVoice,this.currentLanguage),window.TTS&&window.TTS.settings&&window.TTS.settings.listening&&(window.TTS.settings.listening.tta__listening_rate=this.currentRate,window.TTS.settings.listening.tta__listening_pitch=this.currentPitch,window.TTS.settings.listening.tta__listening_volume=this.currentVolume,window.TTS.settings.listening.tta__listening_lang=this.currentLanguage,window.TTS.settings.listening.tta__listening_voice=this.currentVoice),setTimeout((function(){t.speak(t.speech,c,!0),t.listenStatus="pause",e&&(e.style.display="none")}),100)}else e&&(e.style.display="none")}}},{key:"renderModal",value:function(){var u=this,t=this.getColors();if(this.modalContainer.style.setProperty("--tts-modal-bg",t.backgroundColor),this.modalContainer.style.setProperty("--tts-modal-color",t.color),this.modalContainer.innerHTML='\n <div class="tts__settings-modal-backdrop" onclick="TTSSettingsModalManager.handleBackdropClick(event)">\n <div class="tts__settings-modal" role="dialog" aria-modal="true" aria-labelledby="tts-settings-modal-title" onclick="event.stopPropagation()">\n \x3c!-- Loading overlay --\x3e\n <div class="tts__settings-loader-overlay" style="display: none;" role="status" aria-label="'.concat(y("Loading","text-to-audio"),'">\n <div class="tts__settings-loader"></div>\n </div>\n\n \x3c!-- Modal Header --\x3e\n <div class="tts__settings-modal-header">\n <h3 id="tts-settings-modal-title" class="tts__settings-modal-title">').concat(y("Player Settings","text-to-audio"),'</h3>\n <button class="tts__settings-modal-close" onclick="TTSSettingsModalManager.closeModal()" title="').concat(y("Close","text-to-audio"),'" aria-label="').concat(y("Close settings","text-to-audio"),'">\n <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="').concat(t.color,'" stroke-width="2" aria-hidden="true">\n <line x1="18" y1="6" x2="6" y2="18"></line>\n <line x1="6" y1="6" x2="18" y2="18"></line>\n </svg>\n </button>\n </div>\n\n \x3c!-- Language Selection --\x3e\n <div class="tts__setting-row">\n <label class="tts__setting-label" for="tts-language-select">').concat(y("Language","text-to-audio"),'</label>\n <select id="tts-language-select" class="tts__settings-select" onchange="TTSSettingsModalManager.handleLanguageChange(event)" style="\n width: 100%;\n padding: 10px 12px;\n border-radius: 6px;\n border: 1px solid ').concat(t.color,"30;\n background-color: ").concat(t.backgroundColor,";\n color: ").concat(t.color,';\n font-size: 13px;\n cursor: pointer;\n ">\n ').concat(this.availableLanguages.map((function(e){return'\n <option value="'.concat(e,'" ').concat(e===u.currentLanguage?"selected":"",' style="background-color: ').concat(t.backgroundColor,"; color: ").concat(t.color,';">\n ').concat(e,"\n </option>\n ")})).join(""),'\n </select>\n </div>\n\n \x3c!-- Voice Selection --\x3e\n <div class="tts__setting-row">\n <label class="tts__setting-label" for="tts-voice-select">').concat(y("Voice","text-to-audio"),'</label>\n <select id="tts-voice-select" class="tts__settings-select" onchange="TTSSett
2ingsModalManager.handleVoiceChange(event)" style="\n width: 100%;\n padding: 10px 12px;\n border-radius: 6px;\n border: 1px solid ').concat(t.color,";\n background-color: ").concat(t.backgroundColor,";\n color: ").concat(t.color,';\n font-size: 13px;\n cursor: pointer;\n ">\n ').concat(this.filteredVoices.map((function(e){return'\n <option value="'.concat(e.name,'" ').concat(e.name===u.currentVoice?"selected":"",' style="background-color: ').concat(t.backgroundColor,"; color: ").concat(t.color,';">\n ').concat(e.name," (").concat(e.lang,")\n </option>\n ")})).join(""),'\n </select>\n </div>\n\n \x3c!-- Speed Control --\x3e\n <div class="tts__setting-row">\n <div class="tts__setting-header">\n <label class="tts__setting-label" for="tts-rate-slider" style="margin-bottom: 0;">').concat(y("Speed","text-to-audio"),'</label>\n <span id="tts-rate-value" class="tts__setting-value">').concat(this.currentRate,'x</span>\n </div>\n <input type="range" id="tts-rate-slider" class="tts__settings-slider" min="0.5" max="2" step="0.1" value="').concat(this.currentRate,'" aria-label="').concat(y("Playback speed","text-to-audio"),'" aria-valuemin="0.5" aria-valuemax="2" aria-valuenow="').concat(this.currentRate,'" aria-valuetext="').concat(this.currentRate,'x" oninput="TTSSettingsModalManager.handleRateChange(event)" style="width: 100%; cursor: pointer;" />\n </div>\n\n \x3c!-- Pitch Control --\x3e\n <div class="tts__setting-row">\n <div class="tts__setting-header">\n <label class="tts__setting-label" for="tts-pitch-slider" style="margin-bottom: 0;">').concat(y("Pitch","text-to-audio"),'</label>\n <span id="tts-pitch-value" class="tts__setting-value">').concat(this.currentPitch.toFixed(1),'</span>\n </div>\n <input type="range" id="tts-pitch-slider" class="tts__settings-slider" min="0" max="2" step="0.1" value="').concat(this.currentPitch,'" aria-label="').concat(y("Voice pitch","text-to-audio"),'" aria-valuemin="0" aria-valuemax="2" aria-valuenow="').concat(this.currentPitch,'" aria-valuetext="').concat(this.currentPitch.toFixed(1),'" oninput="TTSSettingsModalManager.handlePitchChange(event)" style="width: 100%; cursor: pointer;" />\n </div>\n\n \x3c!-- Volume Control with Mute Button --\x3e\n <div class="tts__setting-row">\n <div class="tts__setting-header">\n <label class="tts__setting-label" for="tts-volume-slider" style="margin-bottom: 0;">').concat(y("Volume","text-to-audio"),'</label>\n <div style="display: flex; align-items: center; gap: 10px;">\n <span id="tts-volume-value" class="tts__setting-value">').concat(Math.round(100*this.currentVolume),'%</span>\n <button class="tts__mute-btn ').concat(this.isMuted?"muted":"",'" onclick="TTSSettingsModalManager.handleMuteToggle()" title="').concat(this.isMuted?y("Unmute","text-to-audio"):y("Mute","text-to-audio"),'" aria-label="').concat(this.isMuted?y("Unmute audio","text-to-audio"):y("Mute audio","text-to-audio"),'" aria-pressed="').concat(this.isMuted,'">\n ').concat(this.isMuted?'\n <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="'.concat(t.color,'" stroke-width="2">\n <polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>\n <line x1="23" y1="9" x2="17" y2="15"></line>\n <line x1="17" y1="9" x2="23" y2="15"></line>\n </svg>\n '):'\n <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="'.concat(t.color,'" stroke-width="2">\n <polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>\n <path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>\n </svg>\n '),'\n </button>\n </div>\n </div>\n <input type="range" id="tts-volume-slider" class="tts__settings-slider" min="0" max="1" step="0.05" value="').concat(this.currentVolume,'" aria-label="').concat(y("Volume","text-to-audio"),'" aria-valuemin="0" aria-valuemax="1" aria-valuenow="').concat(this.currentVolume,'" aria-valuetext="').concat(Math.round(100*this.currentVolume),'%" oninput="TTSSett
2ingsModalManager.handleVolumeChange(event)" style="width: 100%; cursor: pointer;" />\n </div>\n </div>\n </div>\n '),this.isOpen){var e=this.modalContainer.querySelector(".tts__settings-modal-backdrop");e&&e.classList.add("tts__modal-visible")}}},{key:"handleBackdropClick",value:function(u){u.target===u.currentTarget&&this.closeModal()}}])}();g(_,"instance",null),g(_,"modalContainer",null),g(_,"currentButtonInstance",null),g(_,"autoCloseTimer",null),g(_,"isOpen",!1),g(_,"availableVoices",[]),g(_,"filteredVoices",[]),g(_,"availableLanguages",[]),g(_,"currentLanguage",""),g(_,"currentVoice",""),g(_,"currentRate",1),g(_,"currentPitch",1),g(_,"currentVolume",1),g(_,"isMuted",!1),g(_,"previousVolume",1),g(_,"_keyHandler",null),g(_,"_previousFocus",null),g(_,"_closeTimer",null),window.TTSSettingsModalManager=_;var S=new WeakSet,x=function(u){function t(){var u,e,n,D;if(p(this,t),C(D=a(this,t),S),g(D,"speech",null),g(D,"isProLicenseActive",!1),g(D,"analytics",null),g(D,"buttonId",null),g(D,"useNewPlayer",!0),g(D,"listenStatus","listen"),g(D,"settingsIconVisible",!1),"function"==typeof NoSleep&&null!==(u=ttsObj)&&void 0!==u&&u.is_mobile){var o=new NoSleep;window.onload=function(){o.enable(),console.log("NoSleep enabled")}}D.isProLicenseActive=null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e?void 0:e.is_atlasvoice_addon_functional;var r=parseInt((null===(n=window)||void 0===n||null===(n=n.ttsObj)||void 0===n?void 0:n.player_id)||1,10);D.useLightDom=1===r;var s=D.useLightDom?D:D.attachShadow({mode:"open"});if(window.hasOwnProperty("TTS")){var F=window.TTS.contents,l=window.TTS.settings,c=Object.keys(F);D.analytics=new i.A(window.TTS.settings.postId);for(var d=0,E=c;d<E.length;d++){var A=E[d];if(A==D.getAttribute("data-id")){D.buttonId=A,D.initNewPlayer(s,A,F,l);break}}}return D}return function(u,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(t&&t.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),t&&l(u,t)}(t,u),B(t,[{key:"initNewPlayer",value:function(u,t,e,D){var i,o=this;console.log(e[t]),_.init();var r=(null===(i=ttsObj)||void 0===i||null===(i=i.settings)||void 0===i?void 0:i.customize)||{},a=(r.backgroundColor,r.color||"#ffffff"),s=r.hoverBackgroundColor||"#000000",F=r.hoverTextColor||"#ffffff",l=this.useLightDom?this:u,c=this.getNewButtonContent(t,D,"listen");l.innerHTML=c,this.initFloatingPosition(),this.analytics.trackInit();this.addEventListener("click",(function(u){if(!u.target.closest(".tts-settings-icon")){var i=l.querySelector("#tts__listent_content_".concat(t));if(null!=o.speech&&"listen"==o.speech.listenStatus&&(o.speech=null,o.listenStatus="listen"),null===o.speech){var r=new n.A(t,e[t],i,window.TTS);r._init(null,!0),o.speech=r.getData(),o.speech.callBackAfterEnd=function(){o.callBackAfterEndNew()},o.listenStatus="pause",o.updateButtonUI(l,t,D)}else o.speech=o.speech.getData(),"pause"==o.speech.listenStatus?(o.speech.pause(o.speech.speech,!0),window.sessionStorage.setItem("tts_paused_by_intention",!0),o.listenStatus="resume"):"resume"==o.speech.listenStatus&&(o.speech.resume(o.speech.speech,!0),o.listenStatus="pause"),o.updateButtonUI(l,t,D)}})),this.applyButtonStyles(u,l,t,D,{base:"".concat(D.btnStyle," display:flex;align-items:center;justify-content:space-between;padding:8px 12px;"),hoverBg:s,hoverColor:F,color:a})}},{key:"getNewButtonContent",value:function(u,t,e){var n,D,i,o,r=((null===(n=ttsObj)||void 0===n||null===(n=n.settings)||void 0===n?void 0:n.customize)||{}).color||"#ffffff",a=(null===(D=window)||void 0===D||null===(D=D.ttsObj)||void 0===D?void 0:D.player_id)||1,s=(null===(i=window)||void 0===i||null===(i=i.TTS)||void 0===i||null===(i=i.buttons)||void 0===i||null===(i=i[u])||void 0===i?void 0:i.textArr)||null,F=(null===(o=window)||void 0===o||null===(o=o.ttsObj)||void 0===o||null===(o=o.buttonTextArr)||void 0===o?void 0:o.players)||{},l=function(u){return F[a]&&F[a][u]||null},c=function(u,t,e){var n;if(s&&s[t])return s[t];var D=l(u);return D&&D.text?D.text:(null===(n=window)||void 0===n||null===(n=n.ttsObj)||void 0===n||null===(n=n.buttonTextArr)||void 0===n?void 0:n[t])||e},C=function(u,t,e){var n;if(s&&s[t])return"Text To Audio : "+s[t];var D=l(u);
2if(D&&D.hover)return"Text To Audio : "+D.hover;var i=null===(n=window)||void 0===n||null===(n=n.ttsObj)||void 0===n||null===(n=n.buttonTextArr)||void 0===n?void 0:n[t];return i?"Text To Audio : "+i:e},d=function(u){var t,e;return(null===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t||null===(t=t.player_customizations)||void 0===t||null===(t=t[a])||void 0===t?void 0:t[u])||(null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e||null===(e=e.player_customizations)||void 0===e||null===(e=e[1])||void 0===e?void 0:e[u])||null},E=c("listen","listen_text","Listen"),A=C("listen","listen_hover_title","Text To Audio: Click to listen post."),h="",v=d("play");v?h=(new DOMParser).parseFromString(v,"image/svg+xml").documentElement.outerHTML:h="<svg width='15px' height='15px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8'><polygon fill='".concat(r,"' points='0 0 0 8 7 4'/></svg>");if("pause"===e){E=c("pause","pause_text","Pause"),A=C("pause","pause_hover_title","Text To Audio: Click to pause.");var p=d("pause");if(p)h=(new DOMParser).parseFromString(p,"image/svg+xml").documentElement.outerHTML;else h="<svg width='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M14 9L14 15' stroke='".concat(r,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(r,"' 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(r,"' stroke-width='2'></path></svg>")}else if("resume"===e){E=c("resume","resume_text","Resume"),A=C("resume","resume_hover_title","Text To Audio: Click to resume.");var f=d("resume");if(f)h=(new DOMParser).parseFromString(f,"image/svg+xml").documentElement.outerHTML;else h="<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(r,"' stroke-width='1'><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(r,"'></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(r,"'></path></svg>")}else if("listen"===e&&this.speech&&"listen"===this.speech.listenStatus){E=c("replay","replay_text","Replay"),A=C("replay","replay_hover_title","Text To Audio: Click to replay.");var B=d("replay");if(B)h=(new DOMParser).parseFromString(B,"image/svg+xml").documentElement.outerHTML;else h="<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(r,"' stroke-width='1'><path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.7
25 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(r,"'></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(r,"'></path></svg>")}var g="pause"===e||"resume"===e,m='\n <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="'.concat(r,'" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <circle cx="12" cy="12" r="3"></circle>\n <path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>\n </svg>\n '),w=E;return"listen"===e?w=(this.speech&&this.speech.listenStatus,E):("pause"===e||"resume"===e)&&(w=E),'\n <button id="tts__listent_content_'.concat(u,'" class="tts__listent_content ').concat(t.cssClass,'" type="button" title="').concat(A,'" aria-label="').concat(w,' audio">\n <div class="tts-button-left" aria-hidden="true">\n ').concat(h,"\n <span>").concat(E,'</span>\n </div>\n <div class="tts-button-right">\n ').concat(g?'\n <div class="tts-settings-icon" role="button" tabindex="0" aria-label="'.concat(y("Player settings","text-to-audio"),'" title="').concat(y("Settings","text-to-audio"),'" data-button-id="').concat(u,'">\n ').concat(m,"\n </div>\n "):"",'\n </div>\n </button>\n <div class="tts-sr-only tts-live-region" role="status" aria-live="polite" aria-atomic="true"></div>\n ')}},{key:"updateButtonUI",value:function(u,t,e){var n=this,D=u.querySelector("#tts__listent_content_".concat(t));if(D){var i=this.getNewButtonContent(t,e,this.listenStatus),o=document.createElement("template");o.innerHTML=i.trim();var r=o.content.querySelector("#tts__listent_content_".concat(t));r&&D.replaceWith(r);var a=u.querySelector(".tts-live-region"),s=o.content.querySelector(".tts-live-region");!a&&s&&u.appendChild(s);var F=u.querySelector(".tts-live-region");if(F){var l="";"pause"===this.listenStatus?l="Audio playing":"resume"===this.listenStatus?l="Audio paused":"listen"===this.listenStatus&&(l="Audio stopped"),F.textContent="",setTimeout((function(){F.textContent=l}),50)}var c=u.querySelector(".tts-settings-icon");c&&(c.addEventListener("click",(function(u){u.stopPropagation(),n.openSettingsModal()})),c.addEventListener("keydown",(function(u){"Enter"!==u.key&&" "!==u.key||(u.preventDefault(),u.stopPropagation(),n.openSettingsModal())})))}}},{key:"openSettingsModal",value:function(){_.openModal(this)}},{key:"initFloatingPosition",value:function(){var u,t,e,n=this;if(this.useLightDom&&!this._floatListeners){var D=(null===(u=window)||void 0===u||null===(u=u.ttsObj)||void 0===u?void 0:u.settings)||{};if(null==D||null===(t=D.settings)||void 0===t||!t.tta__settings_stop_floating_button){var i=(null==D||null===(e=D.customize)||void 0===e?void 0:e.buttonSettings)||{},o=function(u){return b[u]||u},r=o(i.float_position);if(-1===w.indexOf(r)){var a=o(i.button_position);r=-1!==w.indexOf(a)?a:"bottom_right"}var s="tts__custom-position_"+r,F="sticky_top"===r,l=null,c=function(){if(null===l&&function(){if(!n.classList.contains(s)){var u=n.getBoundingClientRect();u.height&&(l=u.top+window.scrollY)}}(),null!==l){var u=window.scrollY>l;n.classList.toggle(s,u),F&&(u?n.style.setProperty("--tts-sticky-top",n.topChromeOffset()+"px"):n.style.removeProperty("--tts-sticky-top"))}},C=function(){l=null,c()};this._floatListeners={sync:c,onResize:C},window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",C,{passive:!0}),requestAnimationFrame(c),window.addEventListener("load",c,{once:!0})}}}},{key:"topChromeOffset",value:function(){for(var u=Math.round(window.innerWidth/2),t=0,e=0;e<5;e++){var n,D=!1,i=r(document.elementsFromPoint(u,t+1)||[]);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o!==this&&!this.contains(o)){var a=getComputedStyle(o).position;if("fixed"===a||"sticky"===a){var s=Math.ceil(o.getBoundingClientRect().bottom);s>t&&s<window.innerHeight/2&&(t=s,D=!0)}}}}catch(u){i.e(u)}finally{i.f()}if(!D)break}return t}},{key:"disconnectedCallback",value:function(){var u=this._floatListeners;u&&(this._floatListeners=null,window.removeEventListener("scroll",u.sync),window.removeEventListener("resize",u.onResize))}},{key:"callBackAfterEndNew",value:function(){this.listenStatus="listen",this.speech=this.speech.getData();var u=this.useLightDom?this:this.shadowRoot;u&&this.updateButtonUI(u,this.buttonId,window.TTS.settings)}},{key:"callBackAfterEnd",value:function(){"listen"===this.listenStatus&&this.displayButtonText()}},{key:"applyButtonStyles",value:function(u,t,e,n,D){t.querySelector("#tts__listent_content_".concat(e));if(!this.useLightDom){var i=document.createElement("style");i.setAttribute("id","tts_style"),i.textContent="\n :host(:focus), :host(:focus-visible), :host(:focus-within) {\n outline: none !important;\n box-shadow: none !important;\n }\n #tts__listent_content_".concat(e,".tts__listent_content{ ").concat(D.base," transition: all 0.5s ease-in-out; }\n #tts__listent_content_").concat(e,".tts__listent_content:hover{ ").concat(D.base," background-color:").concat(D.hoverBg,"; color:").concat(D.hoverColor,"; }\n #tts__listent_content_").concat(e,".tts__listent_content .tts_button{ display: inline-flex; align-items: center; gap: 8px; }\n #tts__listent_content_").concat(e,".tts__listent_content .tts_button_label{ display: inline-block; color:").concat(D.hoverColor,"; }\n #tts__listent_content_").concat(e,".tts__listent_content .tts-button-left{ display:flex; align-items:center; gap:8px; }\n #tts__listent_content_").concat(e,".tts__listent_content .tts-button-right{ display:flex; align-items:center; }\n #tts__listent_content_").concat(e,".tts__listent_content svg,\n #tts__listent_content_").concat(e,".tts__listent_content .tts-button-left svg{ display:").concat(n.shouldDisplayIcon,"; flex: 0 0 auto; }\n /* TTS-296: only shapes with their own fill. This ID-scoped rule beat the\n stylesheet, so the gear had to be fixed here too â see the matching\n note in admin/css/text-to-audio-button.css. */\n #tts__listent_content_").concat(e,'.tts__listent_content:hover svg [fill]:not([fill="none"]){ fill:').concat(D.hoverColor,"; }\n #tts__listent_content_").concat(e,".tts__listent_content:hover svg[stroke] path,\n #tts__listent_content_").concat(e,".tts__listent_content:hover svg[stroke] line{ stroke:").concat(D.hoverColor,"; }\n .tts-settings-icon{ cursor:pointer; padding:4px; border-radius:50%; display:flex; align-items:center; justify-content:center; transition: background-color 0.2s ease; }\n .tts-settings-icon:hover, .tts-settings-icon:focus-visible{ background-color: rgba(255,255,255,0.2); }\n #tts__listent_content_").concat(e,".tts__listent_content:focus,\n #tts__listent_content_").concat(e,".tts__listent_content:focus-visible{ outline: none; box-shadow: none; }\n .tts-sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }\n "),u.appendChild(i)}}}])}(s(HTMLElement));document.addEventListener("DOMContentLoaded",(function(){!function(){if(window.AtlasVoicePayload&&"function"==typeof window.AtlasVoicePayload.hydrate)window.AtlasVoicePayload.hydrate();else for(var u=document.querySelectorAll("script.atlasvoice-payload:not([data-atlasvoice-hydrated])"),t=0;t<u.length;t++){var e=u[t],n=void 0;try{n=JSON.parse(e.textContent)}catch(u){continue}e.setAttribute("data-atlasvoice-hydrated","1"),window.ttsObj&&window.ttsObj.settings&&(window.ttsObj.settings.settings=n.settings),window.TTS||(window.TTS={}
2),window.TTS.contents||(window.TTS.contents={}),window.TTS.extra||(window.TTS.extra={}),window.TTS.buttons||(window.TTS.buttons={}),window.TTS.contents[n.playerNo]=n.content,window.TTS.extra[n.playerNo]=n.extra,window.TTS.extra.player_id=n.playerId,window.TTS.buttons[n.playerNo]={textArr:n.textArr},window.TTS.hasOwnProperty("settings")||(window.TTS.settings={listening:n.listening,cssClass:n.cssClass,btnStyle:n.btnStyle,textArr:n.textArr,customCSS:n.customCSS,shouldDisplayIcon:n.shouldDisplayIcon,readingTime:n.readingTime,postId:n.postId,fileURLs:n.fileURLs,get_content_from_dom:n.get_content_from_dom,speech:n.speech,use_old_player:n.use_old_player})}}(),customElements.get("tts-play-button")||customElements.define("tts-play-button",x)}))})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.