!function(){let e=0;const t=[10,100,200,500,1e3,2e3,3e3,5e3],n=100;!function i(){try{const e=null!=window.__call_iabjs_unified_bridge&&null!=window.__iabjs_unified_bridge_nonce,t=window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.text_classification;if(e||t){const i=function(){const e=new Set(["SCRIPT","STYLE","NOSCRIPT","HEAD","TITLE","META","LINK","SVG"]),t=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT,{acceptNode:function(t){const n=t.parentElement;return n&&e.has(n.tagName)?NodeFilter.FILTER_REJECT:t.textContent.trim()?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),i=[];let s;for(;s=t.nextNode();){const e=s.textContent.replace(/\s+/g," ").trim();if(e.length>20)if(str.length>n){const t=e.slice(0,n),s=t.lastIndexOf(" ");i.push(t.slice(0,s))}else i.push(e)}return i}();if(i.length>0){let n;if(i.length<=10)n=i;else{const e=[...i];for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}n=e.slice(0,10)}const s={message:JSON.stringify({strings:n})};return void(e?window.__call_iabjs_unified_bridge("text_classification",window.__iabjs_unified_bridge_nonce,s):t&&window.webkit.messageHandlers.text_classification.postMessage(s))}}}catch(e){}e<t.length&&(setTimeout(i,t[e]),e++)}()}();