PageSourceSearch

https://wp-kama.ru/wp-content/plugins/democracy-poll/assets/js/democracy.min.js?ver=6.5.0

js wp-kama.ru collected 2026-10-02 04:50:31 UTC 19,492 bytes, 2 lines download raw bytes

1!function(){"use strict";class e{static mainSel=".democracy_js";static screenSel=".dem_screen_js";static cacheScreenSel=".dem_screen_cache_js";static userAnswerSel=".dem_add_answer_txt_js";static $loader=null;static loaderTmr=null;static ajaxurl="";static cookieDays=0;static animSpeed=0;static lineAnimSpeed=0;static isUserLoggedIn=!1}class t{static#e=new WeakMap;pid=0;maxAnsws=0;answsMaxHeight="";allowSameIpVotes=!1;noticeStatus="";noticeHtml="";noticeElement=null;noticeTimeout=null;constructor(e){const t=JSON.parse(e.dataset.opts||"{}");this.pid=parseInt(t.pid,10)||0,this.maxAnsws=parseInt(t.max_answs,10)||0,this.answsMaxHeight=String(t.answs_max_height||""),this.allowSameIpVotes=1===parseInt(t.allow_same_ip_votes,10)}static get(e){let n=t.#e.get(e);return n||(n=new t(e),t.#e.set(e,n)),n}}class n{static detectRealHeight(e){if(!e.parentElement)return e.getBoundingClientRect().height;const t=e.cloneNode(!0);t.querySelectorAll("input, select, textarea, button").forEach(e=>e.removeAttribute("name")),Object.assign(t.style,{height:"auto",maxHeight:"none",position:"absolute",left:"-9999px",top:"0",width:window.getComputedStyle(e).width,visibility:"hidden",pointerEvents:"none"}),e.before(t);const n=window.getComputedStyle(t),i="border-box"===n.boxSizing?parseFloat(n.height):t.getBoundingClientRect().height;return t.remove(),i}static setHeight(t,i=!1){const s=n.detectRealHeight(t);if(i){const i=e.animSpeed||0;n.animateHeight(t,s,i)}else t.style.height=s+"px"}static isVisible(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}static setAnswsMaxHeight(i){const s=i.closest(e.mainSel),o=t.get(s).answsMaxHeight;if(!o)return;const r=i.querySelector(".dem_answers_list_js"),a=n.heightToPixels(o,r);r.style.maxHeight="none",r.style.overflowY="visible";const c=window.getComputedStyle(r);if(("border-box"===c.boxSizing?parseFloat(c.height):r.getBoundingClientRect().height)-a>100){r.style.position="relative";const t=n.newEl('<span class="dem__collapser dem_collapser_js"><span class="arr"></span></span>');r.append(t);const s=()=>{t.classList.add("expanded"),t.classList.remove("collapsed")},c=()=>{t.classList.add("collapsed"),t.classList.remove("expanded")};let l;"true"===i.dataset.expanded?s():(c(),r.style.height=o,r.style.overflowY="hidden"),t.addEventListener("mouseenter",function(){"true"!==i.dataset.expanded&&(l=setTimeout(()=>t.dispatchEvent(new Event("click")),1e3))}),t.addEventListener("mouseleave",function(){clearTimeout(l)}),t.addEventListener("click",function(){if(clearTimeout(l),"true"===i.dataset.expanded)c(),delete i.dataset.expanded,i.style.height="auto",r.style.overflowY="hidden",n.animateHeight(r,a,e.animSpeed,()=>{i.style.height=n.detectRealHeight(i)+"px"});else{s();const t=n.detectRealHeight(r)+7;i.dataset.expanded="true",i.style.height="auto",n.animateHeight(r,t,e.animSpeed,()=>{i.style.height=n.detectRealHeight(i)+"px",r.style.overflowY="visible"})}})}}static heightToPixels(e,t){const n=parseFloat(e);switch(e.replace(n,"").trim()){case"px":return n;case"rem":return n*parseFloat(getComputedStyle(document.documentElement).fontSize);case"em":return n*parseFloat(getComputedStyle(t).fontSize);case"vh":return n/100*window.innerHeight;case"vw":return n/100*window.innerWidth;case"%":return n/100*t.getBoundingClientRect().height;default:return parseFloat(e)}}static#t=!1;static maxAnswLimitInit(){if(n.#t)return;n.#t=!0;const t=t=>{const i=t.target;if(!(i instanceof HTMLInputElement)||"change"===t.type&&"checkbox"!==i.type||"input"===t.type&&!i.matches(e.userAnswerSel))return;const s=i.closest(e.screenSel);s&&n.updateMaxAnswLimit(s)};document.addEventListener("change",t),document.addEventListener("input",t)}static updateMaxAnswLimit(e){const{maxAnsws:t,checkedCount:i,userAnswerInput:s,hasUserAnswer:o,isMaxReached:r}=n.maxAnswLimitData(e);if(!t)return;const a=e.querySelectorAll('input[type="checkbox"]');if(!a.length)return;a.forEach(e=>{const t=r&&!e.checked;e.disabled=t,e.closest(".dem_answer_item_js")?.classList.toggle("dem-disabled",t)});const c=e.querySelector(".dem_add_answer_item_js");if(s){const e=!o&&i>=t;return s.disabled=e,void c?.classList.toggle("dem-disabled",e)}if(c){const e=i>=t;c.classList.toggle("dem-disabled",e);const n=c.querySelector(".dem_add_answer_link_js");n&&(e?(n.setAttribute("aria-disabled","true"),n.setAttribute("tabindex","-1")):(n.removeAttribute("aria-disabled"),n.removeAttribute("tabindex")))}}static maxAnswLimitData(n){const i=n.closest(e.mainSel),s=t.get(i).maxAnsws;if(!s)return{};const o=n.querySelectorAll('input[type="checkbox"]:checked').length,r=n.querySelector(e.userAnswerSel),a=!!r?.value.trim();return{maxAnsws:s,checkedCount:o,userAnswerInput:r,hasUserAnswer:
1a,isMaxReached:o+(a?1:0)>=s}}static demShake(e){const t=window.getComputedStyle(e).position;t&&"static"!==t||(e.style.position="relative");e.animate([{left:"0px"},{left:"-10px",offset:.2},{left:"10px",offset:.4},{left:"-10px",offset:.6},{left:"10px",offset:.8},{left:"0px",offset:1}],{duration:500,iterations:1,easing:"linear"})}static loadingDots(t){const i="input"===t.tagName.toLowerCase(),s=i?t.value:t.innerHTML;"..."===s.slice(-3)?t[i?"value":"innerHTML"]=s.slice(0,-3):t[i?"value":"innerHTML"]+=".",e.loaderTmr=setTimeout(()=>n.loadingDots(t),200)}static resetHeight(e){n.clear_hAnim(e),e.getAnimations().forEach(e=>e.cancel()),e.style.height="auto"}static animateHeight(e,t,i,s){const o=e.getBoundingClientRect().height;if(n.clear_hAnim(e),!i)return e.style.height=t+"px",void(s&&s());e._hAnim=e.animate([{height:`${o}px`},{height:`${t}px`}],{duration:i,easing:"ease-out",fill:"forwards"}),e._hAnim.onfinish=()=>{e.style.height=t+"px",n.clear_hAnim(e),s&&s()},e._hAnim.oncancel=()=>{delete e._hAnim}}static clear_hAnim(e){e._hAnim&&(e._hAnim.oncancel=null,e._hAnim.cancel(),delete e._hAnim)}static newEl(e){let t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild}static fadeIn(e,t=300){if(n.showElement(e),!e.animate||!t)return void(e.style.opacity=null);e.style.opacity="0";const i=e.animate([{opacity:0},{opacity:1}],{duration:t,easing:"linear"});i.onfinish=()=>e.style.opacity=null,i.oncancel=()=>e.style.opacity=null}static showElement(e){e.hidden=!1,"none"===e.style.display?e.style.display=null:"none"===getComputedStyle(e).display&&(e.style.display="block")}static hideElement(e){e.style.display="none"}}class i{static setLoader(t){if(e.$loader){const n=e.$loader.cloneNode(!0);n.style.display="table";const i=t.closest(e.screenSel);i&&i.append(n)}else e.loaderTmr=setTimeout(()=>n.loadingDots(t),50)}static unsetLoader(t){if(e.$loader){t.closest(e.mainSel).querySelectorAll(".dem_loader_js").forEach(e=>e.remove())}else clearTimeout(e.loaderTmr)}}
2/*! js-cookie v3.0.8 | MIT */function s(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)"__proto__"!==i&&(e[i]=n[i])}return e}var o=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=s({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var a in o)o[a]&&(r+="; "+a,!0!==o[a]&&(r+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+r}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},s=0;s<n.length;s++){var o=n[s].split("="),r=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(a in i||(i[a]=t.read(r,a)),e===a)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){i(e,"",s({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,s({},this.attributes,t))},withConverter:function(t){return e(s({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});class r{static set(e,n,i=!1){const s=t.get(e);clearTimeout(s.noticeTimeout),s.noticeStatus=n?.status||"",s.noticeHtml=n?.html||"",r.#n(e,i)}static#n(e,n=!1){const i=t.get(e);if(e.querySelector(".dem_notice_js")?.remove(),i.noticeElement=null,!i.noticeStatus||!i.noticeHtml)return;const s=document.querySelector(".dem_notice_template_js"),o=s?.content.firstElementChild?.cloneNode(!0);if(!o)return;o.dataset.notice_status=i.noticeStatus,o.querySelector(".dem_notice_message_js").innerHTML=i.noticeHtml;const r=()=>{o.remove(),i.noticeElement===o&&(i.noticeStatus="",i.noticeHtml="",i.noticeElement=null,i.noticeTimeout=null)};o.querySelector(".dem_notice_close_js")?.addEventListener("click",r),e.prepend(o),i.noticeElement=o,n&&(i.noticeTimeout=setTimeout(r,1e4))}}class a{static#i;static#s={canvas:()=>a.#o(),screen_size:()=>a.#r(),webgl:()=>a.#a(),device_pixel_ratio:()=>a.#c(()=>window.devicePixelRatio),timezone:()=>a.#c(()=>Intl.DateTimeFormat().resolvedOptions().timeZone),device_memory:()=>a.#c(()=>navigator.deviceMemory),hardware_concurrency:()=>a.#c(()=>navigator.hardwareConcurrency),languages:()=>a.#c(()=>navigator.languages.join(",")),max_touch_points:()=>a.#c(()=>navigator.maxTouchPoints),platform:()=>a.#c(()=>navigator.platform),color_depth:()=>a.#c(()=>screen.colorDepth)};static get(){return a.#i??=a.#l()}static async#l(){try{const e=Object.fromEntries(Object.entries(a.#s).map(([e,t])=>[e,t()]));return await a.#d(JSON.stringify(e))}catch(e){return console.warn("Democracy: Browser fingerprint calculation failed",e),""}}static#c(e){try{return String(e()??"")}catch(e){return""}}static#r(){return a.#c(()=>`${Math.min(screen.width,screen.height)}x${Math.max(screen.width,screen.height)}`)}static#o(){return a.#c(()=>{const e=document.createElement("canvas");e.width=240,e.height=60;const t=e.getContext("2d");return t?(t.textBaseline="alphabetic",t.font="16px Arial",t.fillStyle="#f60",t.f
2illRect(10,10,100,30),t.fillStyle="#069",t.fillText("Democracy Poll 🗳️",4,28),t.globalCompositeOperation="multiply",t.fillStyle="rgba(102, 204, 0, 0.7)",t.beginPath(),t.arc(170,25,20,0,2*Math.PI),t.fill(),e.toDataURL()):""})}static#a(){return a.#c(()=>{const e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");if(!t)return"";const n=t.getExtension("WEBGL_debug_renderer_info");return`${n?t.getParameter(n.UNMASKED_VENDOR_WEBGL):t.getParameter(t.VENDOR)}|${n?t.getParameter(n.UNMASKED_RENDERER_WEBGL):t.getParameter(t.RENDERER)}`})}static async#d(e){if(window.crypto?.subtle&&window.TextEncoder)try{const t=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n),e=>e.toString(16).padStart(2,"0")).join("")}catch{}let t="";for(let n=0;n<8;n++){let i=2166136261^n;for(let t=0;t<e.length;t++)i=Math.imul(i^e.charCodeAt(t),16777619);i^=i>>>16,i=Math.imul(i,2246822507),i^=i>>>13,i=Math.imul(i,3266489909),i^=i>>>16,t+=(i>>>0).toString(16).padStart(8,"0")}return t}}class c{static actionsHandler;static initAll(){const e=document.querySelectorAll(".dem_cache_screens_js");e.length&&e.forEach(e=>c.initCache(e))}static initCache(n){const s=c.findMainBlock(n);if(!s)return void console.warn("Democracy: Main dem div not found");const o=s.querySelector(e.screenSel);if(!o)return;const a=t.get(s).pid,l=c.getPollCookie(a,e.cookieDays),d="notVoted"===l,u=l&&!d,m=n.querySelector(e.cacheScreenSel+".vote"),h=n.querySelector(e.cacheScreenSel+".voted"),p=m?m.innerHTML:"",f=h?h.innerHTML:"";if(!p)return;const g=u&&f;if(o.innerHTML=(g?f:p)+"\x3c!--cache--\x3e",o.classList.remove("vote","voted"),o.classList.add(g?"voted":"vote"),u&&c.setAnswers(o,l),c.actionsHandler(o),!d){let n;const l=function(){clearTimeout(n)},d=function(){n=setTimeout(function(){if(s._vote_check_done)return;s._vote_check_done=!0;const n=s.querySelector(".dem_link_js");
2n&&i.setLoader(n),c.postWithFingerprint(e.ajaxurl,{dem_pid:a,dem_act:"getVotedIds",action:"dem_ajax"},t.get(s).allowSameIpVotes&&!e.isUserLoggedIn).then(e=>{n&&i.unsetLoader(o),o.dataset.expanded="true";const t=e.voted_for&&f;o.innerHTML=t?f:p,o.classList.remove("vote","voted"),o.classList.add(t?"voted":"vote"),c.setAnswers(o,e.voted_for),c.actionsHandler(o),"login_required"===e.notice?.status&&o.querySelector(".dem_revote_button_js")?.remove(),r.set(s,e.notice,!0)}).catch(e=>{n&&i.unsetLoader(o),console.warn("Democracy: AJAX request failed",e)})},700)};s.addEventListener("mouseenter",d),s.addEventListener("mouseleave",l),s.addEventListener("click",d)}}static setAnswers(e,t){const i=t.split(/,/).filter(e=>""!==e);if(e.classList.contains("voted")){const t=e.querySelector(".dem_answers_list_js"),n=t?t.dataset.voted_txt:"";i.forEach(t=>{c.queryAidNodes(e,t).forEach(e=>{e.classList.add("dem-voted-this");const t=e.getAttribute("title")||"";n&&e.setAttribute("title",n+t)})}),e.querySelectorAll(".dem_vote_link_js").forEach(e=>e.remove())}else{const t=Array.from(e.querySelectorAll("[data-aid]")),s=e.querySelector(".dem_voted_button_js");i.forEach(t=>{c.queryAidNodes(e,t).forEach(e=>{e.querySelectorAll("input").forEach(e=>{e.checked=!0})})}),t.forEach(e=>{e.querySelectorAll("input").forEach(e=>{e.disabled=!0})}),e.querySelectorAll(".dem_vote_button_js").forEach(e=>e.remove()),s?n.showElement(s):e.querySelectorAll(".dem_revote_button_wrap_js").forEach(n.showElement)}}static findMainBlock(t){let n=t.previousElementSibling;for(;n;){if(n.matches(e.mainSel))return n;n=n.previousElementSibling}return t.closest(e.mainSel)}static getPollCookie(e,t){const n=o.get("demPoll");if(!n)return null;const i=String(e),s=Math.trunc(86400*Number(t)),r=Date.now()/1e3;let a=null;for(const e of n.split("|")){const t=e.match(/^(\d+):(0|[1-9]\d*(?:_[1-9]\d*)*)-([0-9a-z]+)$/);if(!t||t[1]!==i)continue;const n=t[2],o=parseInt(t[3],36),c="0"===n?43200:s;o&&c>0&&o+c>r&&(a="0"===n?"notVoted":n.replaceAll("_",","))}return a}static queryAidNodes(e,t){const n=window.CSS&&CSS.escape?CSS.escape(t):t;return Array.from(e.querySelectorAll('[data-aid="'+n+'"]'))}static post(e,t){const n=new URLSearchParams;return Object.keys(t).forEach(e=>n.append(e,t[e])),fetch(e,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:n}).then(e=>{if(!e.ok)throw new Error("Bad network response");return e.json()})}static postWithFingerprint(e,t,n){return n?a.get().then(n=>c.post(e,{...t,fingerprint:n})):c.post(e,t)}}document.addEventListener("DOMContentLoaded",function(){const s=document.querySelectorAll(e.mainSel);if(!s.length)return;e.$loader=document.querySelector(".dem_loader_js");const o=window.democracyPollConfig||{};function a(t){t.querySelectorAll("[data-dem-act]").forEach(e=>{"A"===e.tagName&&e.setAttribute("href",""),e.addEventListener("click",t=>{t.preventDefault(),e.blur(),u(e,e.getAttribute("data-dem-act"))})}),l(t),n.resetHeight(t),n.setAnswsMaxHeight(t),n.updateMaxAnswLimit(t),e.lineAnimSpeed&&t.querySelectorAll(".dem_fill_js").forEach(t=>{setTimeout(()=>function(t){const n=t.dataset.width;if(!n)return;if(!t.animate)return void(t.style.width=n);t.animate([{width:window.getComputedStyle(t).width},{width:n}],{duration:e.lineAnimSpeed,easing:"linear",fill:"forwards"}).onfinish=()=>t.style.width=n}(t),e.animSpeed)}),n.setHeight(t,!1)}function l(t){(function(e){return!!e.querySelector('.dem_vote_wrap_js[data-is_auto_vote="1"]')})(t)&&!t.querySelector(e.userAnswerSel)&&t.querySelectorAll(".dem_vote_button_js").forEach(e=>e.style.display="none")}function d(t){const i=t.closest(e.screenSel);if(i.querySelector("[type=checkbox]")&&n.maxAnswLimitData(i).isMaxReached)return n.demShake(t),!1;const s=n.newEl('<input type="text" class="dem-add-answer-txt dem_add_answer_txt_js" value="">');s.addEventListener("keydown",e=>{if("Enter"===e.key&&!e.isComposing){e.preventDefault();u(i.querySelector('.dem_vote_button_js [data-dem-act="vote"]')||s,"vote")}}),s.closeListeners=[],s.closeNewAnswer=()=>function(e,t,i){if(!t.isConnected)return;
2t.closeListeners.forEach(e=>e.removeEventListener("click",t.closeNewAnswer)),t.parentElement.querySelector(".dem_add_answer_close_js")?.remove(),t.remove(),n.fadeIn(i),n.updateMaxAnswLimit(e),l(e),requestAnimationFrame(()=>n.setHeight(e,!0))}(i,s,t),i.querySelectorAll("[type=radio]").forEach(e=>{e.checked=!1,s.closeListeners.push(e),e.addEventListener("click",s.closeNewAnswer)});const o=i.querySelector(".dem_vote_button_js");o&&n.showElement(o),n.hideElement(t),t.after(s),n.hideElement(s),n.fadeIn(s),s.focus(),n.updateMaxAnswLimit(i),requestAnimationFrame(()=>n.setHeight(i,!0));const r=n.newEl('<span class="dem-add-answer-close dem_add_answer_close_js">×</span>');r.style.lineHeight=s.offsetHeight+"px",r.addEventListener("click",s.closeNewAnswer),s.before(r)}function u(s,o){const l=s.closest(e.mainSel),u=t.get(l),m={dem_pid:u.pid,dem_act:o,action:"dem_ajax"};if(void 0===m.dem_pid)return console.warn("Poll id is not defined!"),!1;if("vote"===o&&(m.answer_ids=function(t){const n=t.closest(e.screenSel);if(!n)return"";const i=n.querySelector(e.userAnswerSel),s=i?i.value:"";let o=[];const r=n.querySelectorAll("[type=checkbox]:checked");if(r.length)r.forEach(e=>o.push(e.value));else{const e=n.querySelector("[type=radio]:checked");e&&o.push(e.value)}return s&&o.push(s),o=o.join("~"),o||""}(s),!m.answer_ids))return n.demShake(s),!1;if("delVoted"===o&&!confirm(s.dataset.confirm_text))return!1;if("newAnswer"===o)return d(s),!1;const h=s.closest(e.screenSel);if(!h)return!1;i.setLoader(s);const p=u.allowSameIpVotes&&!e.isUserLoggedIn;return c.postWithFingerprint(e.ajaxurl,m,p).finally(()=>i.unsetLoader(h)).then(e=>{if(!e.screen_html)return void r.set(l,e.notice);h.dataset.expanded="true";h.style.transition="opacity 500ms ease",h.style.opacity=0,setTimeout(()=>{h.innerHTML=e.screen_html,a(h),r.set(l,e.notice),function(e){const t=e.getBoundingClientRect();return t.bottom>200&&t.top<window.innerHeight}(l)||l.scrollIntoView({behavior:"smooth",block:"start"}),h.style.opacity=1},500)}).catch(e=>{i.unsetLoader(h),console.warn("Democracy: AJAX request failed",e)}),!1}e.ajaxurl=o.ajax_url,e.cookieDays=o.cookie_days,e.animSpeed=parseInt(o.anim_speed),e.lineAnimSpeed=parseInt(o.line_anim_speed),e.isUserLoggedIn=Boolean(o.is_user_logged_in),queueMicrotask(function(){const i=[];s.forEach(s=>{t.get(s);const o=s.querySelector(e.screenSel);o&&n.isVisible(o)&&i.push(o)}
2),i.forEach(e=>a(e)),s.forEach(n=>function(n){const i=t.get(n),s=c.getPollCookie(i.pid,e.cookieDays);if(e.isUserLoggedIn||!i.allowSameIpVotes||"notVoted"===s)return;if(n.nextElementSibling?.matches(".dem_cache_screens_js"))return;let o,l=!1;const d=()=>clearTimeout(o),u=()=>{d(),o=setTimeout(async()=>{if(!l){l=!0;try{const t=await c.postWithFingerprint(e.ajaxurl,{dem_pid:i.pid,dem_act:"getVotedIds",action:"dem_ajax"},!0);if(!t.screen_html)return;const s=n.querySelector(e.screenSel);if(!s)return;s.innerHTML=t.screen_html,s.classList.remove("vote","voted"),s.classList.add(t.voted_for?"voted":"vote"),a(s),r.set(n,t.notice,!0)}catch(e){console.warn("Democracy: Vote fingerprint check failed",e)}}},700)};n.addEventListener("mouseenter",u),n.addEventListener("mouseleave",d),n.addEventListener("focusin",u,{once:!0}),n.addEventListener("touchstart",u,{once:!0,passive:!0})}(n));const o=()=>i.forEach(e=>n.setHeight(e));window.addEventListener("load",o),window.addEventListener("resize",o),n.maxAnswLimitInit(),c.actionsHandler=a,c.initAll()})})}();

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.