PageSourceSearch

https://aday.kstu.edu.tr/wp-content/plugins/pixfort-core/dist/front/toc.bb939a835a954100c456.js

js kstu.edu.tr collected 2026-10-02 19:01:20 UTC 6,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[9679],{729(t,e,n){n.d(e,{default:()=>p});const i=["h1","h2","h3","h4","h5","h6"],o=["h2","h3","h4","h5","h6"];function r(t){return(t||"").toString().toLowerCase().trim().replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}function l(t){const e=parseInt((t.tagName||"H2").replace("H",""),10);return isNaN(e)?2:e}function c(t,e){for(let n=0;n<t.children.length;n++)if(t.children[n].classList&&t.children[n].classList.contains(e))return t.children[n];return null}function s(){let t=20;const e=document.getElementById("wpadminbar");e&&e.offsetHeight>0&&(t+=e.offsetHeight);const n=document.querySelectorAll(".pix-header, header, .site-header, #masthead");for(let e=0;e<n.length;e++){const i=n[e];if(i.offsetHeight<=0)continue;const o=window.getComputedStyle(i).position;if("fixed"===o||"sticky"===o){t+=i.offsetHeight;break}}return t}function a(t,e){const n=function(t){const e=[];for(let n=0;n<t.length;n++){const o=(t[n]||"").toLowerCase().trim();-1!==i.indexOf(o)&&-1===e.indexOf(o)&&e.push(o)}return e}(e);return"exclude"===t?i.slice():n.length?n:o.slice()}function d(t){const e="numbers"===t?"ol":"ul",n=document.createElement(e);return n.className="pix-toc-list",n}function u(t){const e=document.createElement("li");e.className="pix-toc-item",e.setAttribute("data-target-id",t.id),e.setAttribute("data-level",String(l(t)));const n=document.createElement("a");return n.className="pix-toc-link",n.href="#"+t.id,n.textContent=(t.textContent||"").trim(),n.addEventListener("click",function(e){e.preventDefault(),function(t){const e=document.getElementById(t);if(!e)return;const n=s(),i=e.getBoundingClientRect().top+window.pageYOffset-n;window.scrollTo({top:i,behavior:"smooth"}),window.history&&window.history.replaceState&&window.history.replaceState(null,"","#"+t)}(t.id)}),e.appendChild(n),e}function f(t){if(!t||"1"===t.getAttribute("data-toc-ready"))return;t.setAttribute("data-toc-ready","1");const e=t.getAttribute("id")||"";window.pixfortTableOfContentInstances=window.pixfortTableOfContentInstances||{},e&&window.pixfortTableOfContentInstances[e]&&"function"==typeof window.pixfortTableOfContentInstances[e].destroy&&window.pixfortTableOfContentInstances[e].destroy();const n=t.querySelector(".pix-toc-nav"),i=t.querySelector(".pix-toc-empty");if(!n||!i)return;const o=t.getAttribute("data-include-mode")||"include",f=(t.getAttribute("data-include-tags")||"").split(","),p=(t.getAttribute("data-exclude-selectors")||"").trim(),h=(t.getAttribute("data-container-selector")||"").trim(),g=t.getAttribute("data-marker-view")||"none",m="yes"===t.getAttribute("data-hierarchical-view"),x="yes"===t.getAttribute("data-collapse-subitems"),w=function(t,e,n,i,o){if(!e)return[];const r=Array.prototype.slice.call(t.querySelectorAll(e)),l=[];if("exclude"===o&&i){const t=i.split(",");for(let e=0;e<t.length;e++){const n=t[e].trim();n&&l.push(n)}}return r.filter(function(t){if(!t)return!1;if(n.contains(t))return!1;if(0===(t.textContent||"").trim().length)return!1;if("exclude"===o&&l.length>0)for(let e=0;e<l.length;e++)try{if(t.matches(l[e]))return!1}catch(t){console.warn("Invalid exclude selector:",l[e])}return!0})}(function(t){if(t)try{const e=document.querySelector(t);if(e)return e}catch(t){}return document.querySelector(".site-content")||document}(h),a(o,f).join(","),t,p,o);if(!w.length)return n.innerHTML="",void(i.style.display="block");i.style.display="none",function(t){const e={},n=document.querySelectorAll("[id]");for(let t=0;t<n.length;t++)e[n[t].id]=!0;for(let n=0;n<t.length;n++)if(!t[n].id){const i=r(t[n].textContent)||"heading-"+(n+1);let o=i,l=2;for(;e[o];)o=i+"-"+l,l++;t[n].id=o,e[o]=!0}}(w);const y=m?function(t,e){const n=d(e),i=[{level:0,list:n}];for(let n=0;n<t.length;n++){const o=t[n],r=l(o);for(;i.length>1&&r<=i[i.length-1].level;)i.pop();const c=i[i.length-1],s=u(o);c.list.appendChild(s);const a=d(e);s.appendChild(a),i.push({level:r,list:a})}const o=n.querySelectorAll(".pix-toc-item");for(let t=0;t<o.length;t++){const e=c(o[t],"pix-toc-list");e&&!e.children.length&&e.parentNode.removeChild(e)}return n}(w,g):function(t,e){const n=d(e);for(let e=0;e<t.length;e++)n.appendChild(u(t[e]));return n}(w,g);n.innerHTML="",n.appendChild(y),x&&m&&function(t){const e=t.querySelectorAll(".pix-toc-item");for(let t=0;t<e.length;t++){const n=c(e[t],"pix-toc-list");if(!n||!n.children.length)continue;
1e[t].classList.add("pix-toc-has-children","is-collapsed");const i=document.createElement("button");i.type="button",i.className="pix-toc-toggle",i.setAttribute("aria-label","Toggle sub-items"),i.setAttribute("aria-expanded","false"),i.addEventListener("click",function(t){t.preventDefault(),t.stopPropagation();const e=this.parentNode.classList.toggle("is-collapsed");this.setAttribute("aria-expanded",e?"false":"true")}),e[t].insertBefore(i,e[t].firstChild)}}(n);const b=Array.prototype.slice.call(n.querySelectorAll(".pix-toc-link")),A={};for(let t=0;t<b.length;t++){A[(b[t].getAttribute("href")||"").replace(/^#/,"")]=b[t]}const v=function(t,e,n,i,o,r){let l=!1;function a(){if(!e.length)return;const l=s()+20;let a=e[0];for(let t=0;t<e.length&&e[t].getBoundingClientRect().top-l<=0;t++)a=e[t];for(let t=0;t<i.length;t++)i[t].classList.remove("is-active");const d=a?a.id:"",u=d?n[d]:null;if(u&&(u.classList.add("is-active"),o&&r)){const e=t.querySelectorAll(".pix-toc-has-children");for(let t=0;t<e.length;t++){e[t].classList.add("is-collapsed");const n=c(e[t],"pix-toc-toggle");n&&n.setAttribute("aria-expanded","false")}let n=u.closest(".pix-toc-item");for(;n&&n!==t;){if(n.classList&&n.classList.contains("pix-toc-has-children")){n.classList.remove("is-collapsed");const t=c(n,"pix-toc-toggle");t&&t.setAttribute("aria-expanded","true")}const t=n.parentElement;n=t?t.closest(".pix-toc-item"):null}}}function d(){l||(l=!0,window.requestAnimationFrame(function(){a(),l=!1}))}return a(),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d),{handler:d,destroy:function(){window.removeEventListener("scroll",d),window.removeEventListener("resize",d)}}}(n,w,A,b,x,m);e&&(window.pixfortTableOfContentInstances[e]={destroy:v.destroy})}function p(t){t||(t=$("body")),t.find(".pix-toc-element").each(function(t,e){$(e).attr("data-toc-ready","0"),f(e)})}}}]);

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.