PageSourceSearch

https://www.tak-dcxi.com/_astro/hoisted.BmoZx5WZ.js

js tak-dcxi.com collected 2026-09-26 01:01:59 UTC 19,891 bytes, 1 lines download raw bytes

1function V(){return typeof HTMLButtonElement<"u"&&"command"in HTMLButtonElement.prototype&&"source"in((globalThis.CommandEvent||{}).prototype||{})}function W(){document.addEventListener("invoke",r=>{r.type=="invoke"&&r.isTrusted&&(r.stopImmediatePropagation(),r.preventDefault())},!0),document.addEventListener("command",r=>{r.type=="command"&&r.isTrusted&&(r.stopImmediatePropagation(),r.preventDefault())},!0);function t(r,s,i=!0){Object.defineProperty(r,s,{...Object.getOwnPropertyDescriptor(r,s),enumerable:i})}function e(r){return r&&typeof r.getRootNode=="function"?r.getRootNode():r&&r.parentNode?e(r.parentNode):r}const n=new WeakMap,o=new WeakMap;class a extends Event{constructor(s,i={}){super(s,i);const{source:l,command:u}=i;if(l!=null&&!(l instanceof Element))throw new TypeError("source must be an element");n.set(this,l||null),o.set(this,u!==void 0?String(u):"")}get[Symbol.toStringTag](){return"CommandEvent"}get source(){if(!n.has(this))throw new TypeError("illegal invocation");const s=n.get(this);if(!(s instanceof Element))return null;const i=e(s);return i!==e(this.target||document)?i.host:s}get command(){if(!o.has(this))throw new TypeError("illegal invocation");return o.get(this)}get action(){throw new Error("CommandEvent#action was renamed to CommandEvent#command")}get invoker(){throw new Error("CommandEvent#invoker was renamed to CommandEvent#source")}}t(a.prototype,"source"),t(a.prototype,"command");class c extends Event{constructor(){throw new Error("InvokeEvent has been deprecated, it has been renamed to `CommandEvent`")}}const d=new WeakMap;function b(r){Object.defineProperties(r.prototype,{commandForElement:{enumerable:!0,configurable:!0,set(s){if(this.hasAttribute("invokeaction"))throw new TypeError("Element has deprecated `invokeaction` attribute, replace with `command`");if(this.hasAttribute("invoketarget"))throw new TypeError("Element has deprecated `invoketarget` attribute, replace with `commandfor`");if(s===null)this.removeAttribute("commandfor"),d.delete(this);else if(s instanceof Element){this.setAttribute("commandfor","");const i=e(s);e(this)===i||i===this.ownerDocument?d.set(this,s):d.delete(this)}else throw new TypeError("commandForElement must be an element or null")},get(){if(this.localName!=="button")return null;if(this.hasAttribute("invokeaction")||this.hasAttribute("invoketarget"))return console.warn("Element has deprecated `invoketarget` or `invokeaction` attribute, use `commandfor` and `command` instead"),null;if(this.disabled)return null;if(this.form&&this.getAttribute("type")!=="button")return console.warn("Element with `commandFor` is a form participant. It should explicitly set `type=button` in order for `commandFor` to work"),null;const s=d.get(this);if(s)return s.isConnected?s:(d.delete(this),null);const i=e(this),l=this.getAttribute("commandfor");return(i instanceof Document||i instanceof ShadowRoot)&&l&&i.getElementById(l)||null}},command:{enumerable:!0,configurable:!0,get(){const s=this.getAttribute("command")||"";if(s.startsWith("--"))return s;const i=s.toLowerCase();switch(i){case"show-modal":case"close":case"toggle-popover":case"hide-popover":case"show-popover":return i}return""},set(s){this.setAttribute("command",s)}},invokeAction:{enumerable:!1,configurable:!0,get(){throw new Error("invokeAction is deprecated. It has been renamed to command")},set(s){throw new Error("invokeAction is deprecated. It has been renamed to command")}},invokeTargetElement:{enumerable:!1,configurable:!0,get(){throw new Error("invokeTargetElement is deprecated. It has been renamed to command")},set(s){throw new Error("invokeTargetElement is deprecated. It has been renamed to command")}}})}const p=new WeakMap;Object.defineProperties(HTMLElement.prototype,{oncommand:{enumerable:!0,configurable:!0,get(){return w.takeRecords(),p.get(this)||null},set(r){const s=p.get(this)||null;s&&this.removeEventListener("command",s),p.set(this,typeof r=="object"||typeof r=="function"?r:null),typeof r=="function"&&this.addEventListener("command",r)}}});function f(r){for(const s of r)s.oncommand=new Function("event",s.getAttribute("oncommand"))}const w=new MutationObserver(r=>{for(const s of r){const{target:i}=s;s.type==="childList"?f(i.querySelectorAll("[oncommand]")):f([i])}});w.observe(document,{subtree:!0,childList:!0,attributeFilter:["oncommand"]}),f(document.querySelectorAll("[oncommand]"));function q(r){if(r.defaultPrevented||r.type!=="click")return;const s=r.target.closest("button[invoketarget], button[invokeaction], input[invoketarget], input[invokeaction]");if(s&&(console.warn("Elements with `invoketarget` or `invokeaction` are deprecated and should be renamed to use `commandfor` and `command` respectively"),s.matches("input")))throw new Error("Input elements no longer support `commandfor`");const i=r.target.closest("button[commandfor], button[command]");if(!i)return;if(i.form&&i.getAttribute("type")!=="button")throw r.preventDefault(),new Error("Element with `commandFor` is a form participant. It should explicitly set `type=button` in order for `commandFor` to work. In order for it to act as a Submit button, it must not have command or commandfor attributes");if(i.hasAttribute("command")!==i.hasAttribute("commandfor")){const m=i.hasAttribute("command")?"command":"commandfor",L=i.hasAttribute("command")?"commandfor":"command";throw new Error(`Element with ${m} attribute must also have a ${L} attribute to function.`)}if(i.command!=="show-popover"&&i.command!=="hide-popover"&&i.command!=="toggle-popover"&&i.command!=="show-modal"&&i.command!=="close"&&!i.command.startsWith("--")){console.warn(`"${i.command}" is not a valid command value. Custom commands must begin with --`);return}const l=i.commandForElement;if(!l)return;const u=new a("command",{command:i.command,source:i,cancelable:!0});if(l.dispatchEvent(u),u.defaultPrevented)return;const h=u.command.toLowerCase();if(l.popover){const m=!l.matches(":popover-open");m&&(h==="toggle-popover"||h==="show-popover")?l.showPopover({source:i}):!m&&h==="hide-popover"&&l.hidePopover()}else if(l.localName==="dialog"){const m=!l.hasAttribute("open");m&&h==="show-modal"?l.showModal():!m&&h==="close"&&l.close()}}function I(r){r.addEventListener("click",q,!0)}function N(r,s){const i=r.prototype.attachShadow;r.prototype.attachShadow=function(u){const h=i.call(this,u);return s(h),h};const l=r.prototype.attachInternals;r.prototype.attachInternals=function(){const u=l.call(this);return u.shadowRoot&&s(u.shadowRoot),u}}b(HTMLButtonElement),N(HTMLElement,r=>{I(r),w.observe(r,{attributeFilter:["oncommand"]}),f(r.querySelectorAll("[oncommand]"))}),I(document),Object.assign(globalThis,{CommandEvent:a,InvokeEvent:c})}V()||W();var E=new WeakMap;function T(t){const e=t.getAttribute("closedby");return e==="closerequest"||e==="none"?e:"any"}function $(t){const e=Array.from(y);return e[e.length-1]===t}var y=new Set;function z(t){if(t.key!=="Escape"||y.size===0)return;let e=!1,n=!1;const o=Array.from(y).reverse();
1for(const a of o){const c=T(a);if(c==="none"){e=!0;break}if(c==="any"||c==="closerequest"){a.close(),n=!0;break}}(e||n)&&t.preventDefault()}document.addEventListener("keydown",z);function j(t){return function(n){if(!$(t)||T(t)!=="any"||!t.open)return;const o=t.getBoundingClientRect(),{clientX:a,clientY:c}=n;o.top<=c&&c<=o.bottom&&o.left<=a&&a<=o.right||t.close()}}function K(t){return function(n){if(n.target!==t||T(t)!=="any")return;const o=t.getBoundingClientRect();o.top<n.clientY&&n.clientY<o.bottom&&o.left<n.clientX&&n.clientX<o.right||t.close()}}function _(t){return function(n){T(t)==="none"&&n.preventDefault()}}function g(t){if(E.has(t))return;const e={handleEscape:z,handleClick:K(t),handleDocClick:j(t),handleCancel:_(t),attrObserver:new MutationObserver(()=>{})};t.addEventListener("click",e.handleClick),t.addEventListener("cancel",e.handleCancel),document.addEventListener("click",e.handleDocClick,!0),e.attrObserver.observe(t,{attributes:!0,attributeFilter:["closedby"]}),y.add(t),E.set(t,e)}function A(t){const e=E.get(t);e&&(t.removeEventListener("click",e.handleClick),t.removeEventListener("cancel",e.handleCancel),document.removeEventListener("click",e.handleDocClick,!0),e.attrObserver.disconnect(),y.delete(t),E.delete(t))}function M(t){t.querySelectorAll("dialog[closedby]").forEach(o=>{o instanceof HTMLDialogElement&&o.open&&g(o)});const e=new MutationObserver(o=>{o.forEach(a=>{a.addedNodes.forEach(c=>{c instanceof HTMLDialogElement&&c.open&&c.hasAttribute("closedby")&&g(c),c instanceof Element&&c.querySelectorAll("dialog[closedby]").forEach(d=>{d instanceof HTMLDialogElement&&d.open&&g(d)})}),a.removedNodes.forEach(c=>{c instanceof HTMLDialogElement&&A(c),c instanceof Element&&c.querySelectorAll("dialog").forEach(A)})})}),n=t===document?document.body:t;e.observe(n,{childList:!0,subtree:!0})}function x(t){const e=[];t.shadowRoot&&e.push(t.shadowRoot);for(const n of Array.from(t.children))e.push(...x(n));return e}function U(){M(document),document.body&&x(document.body).forEach(M);const t=HTMLElement.prototype.attachShadow;HTMLElement.prototype.attachShadow=function(n){const o=t.call(this,n);return M(o),o}}var D=!1;function H(){return typeof HTMLDialogElement<"u"&&typeof HTMLDialogElement.prototype=="object"&&"closedBy"in HTMLDialogElement.prototype}function X(){if(D||H())return;if(!("showModal"in HTMLDialogElement.prototype)){console.warn("[closedBy polyfill] <dialog> API not found – polyfill skipped.");return}const t=HTMLDialogElement.prototype.showModal,e=HTMLDialogElement.prototype.close;HTMLDialogElement.prototype.showModal=function(){t.call(this),this.open&&this.hasAttribute("closedby")&&g(this)},HTMLDialogElement.prototype.close=function(o){A(this),e.call(this,o)},Object.defineProperty(HTMLDialogElement.prototype,"closedBy",{get(){const n=this.getAttribute("closedby");return n==="closerequest"||n==="none"?n:"any"},set(n){n==="any"||n==="closerequest"||n==="none"?this.setAttribute("closedby",n):(console.warn(`[closedBy polyfill] Invalid value '${n}'. Falling back to 'any'.`),this.setAttribute("closedby","any")),this.open&&(this.hasAttribute("closedby")?g(this):A(this))},enumerable:!0,configurable:!0}),U(),D=!0}H()||X();const Y=()=>{Q(),document.addEventListener("click",J,{capture:!0})},R=(t,e)=>{const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches,o=e&&!n?"smooth":"instant";t.scrollIntoView({behavior:o,inline:"end"})},B=t=>{t.focus({preventScroll:!0}),document.activeElement!==t&&(t.setAttribute("tabindex","-1"),t.focus({preventScroll:!0}))},J=t=>{if(t.button!==0)return;const e=t.target.closest('a[href*="#"]');if(!e)return;const n=e.hash;if(!n||e.getAttribute("role")==="tab"||e.getAttribute("role")==="button"||e.getAttribute("data-smooth-scroll")==="disabled")return;const o=document.getElementById(decodeURIComponent(n.slice(1)))||n==="#top"&&document.body;o&&(t.preventDefault(),R(o,!0),B(o),n!=="#top"&&history.pushState({},"",n))},Q=()=>{const t=window.location.hash;if(!t)return;const e=document.getElementById(decodeURIComponent(t.slice(1)));e&&(R(e,!1),B(e))},Z=t=>{let e;return(...n)=>{e!==void 0&&cancelAnimationFrame(e),e=requestAnimationFrame(()=>t.apply(void 0,n))}},G=()=>{const t=Z(ee);window.addEventListener("resize",t,!1),t()},ee=()=>{const e=window.outerWidth>375?"width=device-width,initial-scale=1":"width=375",n=document.querySelector('meta[name="viewport"]');n&&n.getAttribute("content")!==e&&n.setAttribute("content",e)},te=t=>{const{writingMode:e}=window.getComputedStyle(t);return e.includes("vertical")||e.includes("sideways")},v={tablistSelector:null,tabSelector:null,tabpanelSelector:null,firstView:1};
1class ne extends HTMLElement{observer=null;tablist=null;tabs=[];tabpanels=[];options={...v};static get observedAttributes(){return["tablist-selector","tab-selector","tabpanel-selector","first-view"]}constructor(){super(),this.handleClick=this.handleClick.bind(this),this.handleKeyNavigation=this.handleKeyNavigation.bind(this),this.handleBeforeMatch=this.handleBeforeMatch.bind(this)}connectedCallback(){this.updateOptions(),this.initializeTabs()}disconnectedCallback(){this.removeEventListeners(),this.observer&&(this.observer.disconnect(),this.observer=null)}attributeChangedCallback(e,n,o){n!==o&&(this.updateOptions(),this.initializeTabs())}updateOptions(){this.options={tablistSelector:this.getAttribute("tablist-selector")||v.tablistSelector,tabSelector:this.getAttribute("tab-selector")||v.tabSelector,tabpanelSelector:this.getAttribute("tabpanel-selector")||v.tabpanelSelector,firstView:Number(this.getAttribute("first-view"))||v.firstView}}initializeTabs(){if(this.tablist=this.querySelector(`${this.options.tablistSelector}`),this.tabs=[...this.querySelectorAll(`${this.options.tabSelector}`)],this.tabpanels=[...this.querySelectorAll(`${this.options.tabpanelSelector}`)],!this.tablist||this.tabs.length===0||this.tabpanels.length===0){console.error("initializeTabs: Required elements for tabs are missing or invalid.");return}const e=Math.max(0,this.options.firstView-1);this.setTabAttributes(),this.activateTab(e),this.addEventListeners(),this.updateAriaOrientation(),this.observeWritingMode()}setTabAttributes(){this.tablist.setAttribute("role","tablist"),this.tabs.forEac
1h((e,n)=>{e.setAttribute("role","tab"),e.setAttribute("aria-selected","false"),e.setAttribute("aria-controls",this.tabpanels[n].id),e.setAttribute("tabindex","-1")}),this.tabpanels.forEach(e=>{e.setAttribute("role","tabpanel")})}activateTab(e){this.tabs.forEach((n,o)=>{const a=o===e;n.setAttribute("aria-selected",String(a)),n.setAttribute("tabindex",a?"0":"-1")}),this.tabpanels.forEach((n,o)=>{o===e?(n.removeAttribute("hidden"),n.setAttribute("tabindex","0")):(n.setAttribute("hidden","until-found"),n.removeAttribute("tabindex"))})}handleClick(e){e.preventDefault();const n=e.currentTarget,o=this.tabs.indexOf(n);this.activateTab(o)}handleKeyNavigation(e){const n=e.currentTarget,o=this.tabs.indexOf(n),a=this.tablist.getAttribute("aria-orientation")||"horizontal",d={[a==="vertical"?"ArrowUp":"ArrowLeft"]:()=>o-1>=0?o-1:this.tabs.length-1,[a==="vertical"?"ArrowDown":"ArrowRight"]:()=>(o+1)%this.tabs.length,Home:()=>0,End:()=>this.tabs.length-1}[e.key];if(d){e.preventDefault();const b=d();this.tabs[b].focus({focusVisible:!1}),this.activateTab(b)}}handleBeforeMatch(e){const n=e.currentTarget,o=this.tabpanels.indexOf(n);o!==-1&&this.activateTab(o)}updateAriaOrientation(){const e=te(document.documentElement);this.tablist?.setAttribute("aria-orientation",e?"vertical":"horizontal")}observeWritingMode(){this.observer=new MutationObserver(e=>{e.some(n=>n.attributeName==="style")&&this.updateAriaOrientation()}),this.observer.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]})}
1addEventListeners(){this.tabs.forEach(e=>{e.addEventListener("click",this.handleClick),e.addEventListener("keyup",this.handleKeyNavigation)}),this.tabpanels.forEach(e=>{e.addEventListener("beforematch",this.handleBeforeMatch)})}removeEventListeners(){this.tabs.forEach(e=>{e.removeEventListener("click",this.handleClick),e.removeEventListener("keyup",this.handleKeyNavigation)}),this.tabpanels.forEach(e=>{e.removeEventListener("beforematch",this.handleBeforeMatch)})}}const oe=()=>{const t=document.querySelectorAll(".adsbygoogle");t.length!==0&&t.forEach(e=>{if(e.innerHTML==="")try{(window.adsbygoogle=window.adsbygoogle||[]).push({})}catch(n){console.error(n)}})};document.addEventListener("DOMContentLoaded",()=>{G(),Y(),oe(),customElements.define("tab-component",ne)});class S extends HTMLElement{static CSS_VARIABLE_NAME="--app-header-block-size";resizeObserver=new ResizeObserver(()=>{});constructor(){super(),this.initResizeObserver()}initResizeObserver(){this.resizeObserver=new ResizeObserver(e=>{const n=e[0];if(n.borderBoxSize&&n.borderBoxSize[0]){const{blockSize:o}=n.borderBoxSize[0];this.updateHeaderBlockSize(o)}}),this.resizeObserver.observe(this)}updateHeaderBlockSize(e){const n=Math.round(e);document.documentElement.style.setProperty(S.CSS_VARIABLE_NAME,`${n}px`)}disconnectedCallback(){document.documentElement.style.setProperty(S.CSS_VARIABLE_NAME,"0px"),this.resizeObserver.disconnect()}}customElements.define("app-header",S);class k extends HTMLElement{static SENTINEL_BREAKPOINT="30dvb";static ACTIVE_ATTR="display";sentinel=null;observer=null;constructor(){super()}connectedCallback(){this.sentinel=this.createSentinel(k.SENTINEL_BREAKPOINT),this.initializeObserver()}disconnectedCallback(){this.destroyObserver()}initializeObserver(){this.sentinel&&(this.observer=new IntersectionObserver(e=>{const[n]=e;this.setAttribute(k.ACTIVE_ATTR,String(!n.isIntersecting))},{threshold:0,rootMargin:"0px"}),this.observer.observe(this.sentinel))}destroyObserver(){this.observer&&this.observer.disconnect(),this.sentinel&&this.sentinel.remove()}createSentinel(e){const n=document.createElement("div");return Object.assign(n.style,{position:"absolute",insetBlockStart:e,inlineSize:"0",blockSize:"0",visibility:"hidden"}),document.body.appendChild(n),n}}customElements.define("return-button",k);class re extends HTMLElement{checkbox;constructor(){super(),this.checkbox=this.querySelector("input"),this.initializeThemeSwitch()}initializeThemeSwitch(){this.checkbox.addEventListener("change",this.handleChange.bind(this)),this.setInitialState()}handleChange(e){const n=e.target.checked?"dark":"light";this.applyTheme(n),this.saveTheme(n)}setInitialState(){const e=this.getSavedTheme();if(e)this.checkbox.checked=e==="dark",this.applyTheme(e);else{const{colorScheme:n}=window.getComputedStyle(document.documentElement);this.checkbox.checked=n==="dark"}}applyTheme(e){document.documentElement.style.setProperty("--theme",`${e} only`);const n=document.querySelector('meta[name="color-scheme"]');n&&n.setAttribute("content",e)}saveTheme(e){try{localStorage.setItem("theme",e)}catch(n){console.error("Failed to access localStorage:",n)}}getSavedTheme(){try{return localStorage.getItem("theme")}catch(e){return console.error("Failed to access localStorage:",e),null}}}customElements.define("theme-switch",re);const ie={duration:300,easing:"ease-in-out",printAll:!1},se=(t,e={})=>{if(!t){console.error("initializeDetailsAccordion: Details element is not found.");return}const n=t.querySelector("summary"),o=t.querySelector("summary + *");if(!n||!o){console.error("initializeDetailsAccordion: Elements required for initializeDetailsAccordion are not found.");return}const a={...ie,...e},c=t.getAttribute("name")||null;n.addEventListener("click",d=>ce(d,t,o,a,c),!1),a.printAll&&(window.addEventListener("beforeprint",()=>le(t,c)),window.addEventListener("afterprint",()=>de(t,c)))};let C=!1;const P=(t,e,n,o,a)=>{if(t.open===a)return;C=!0,o&&t.removeAttribute("name"),a&&(t.open=!0),e.style.willChange="max-block-size",e.style.overflow="clip";const{blockSize:c}=window.getComputedStyle(e),d=a?[{maxBlockSize:"0"},{maxBlockSize:c}]:[{maxBlockSize:c},{maxBlockSize:"0"}],p={duration:window.matchMedia("(prefers-reduced-motion: reduce)").matches?0:Math.max(0,n.duration||0),easing:n.easing},f=()=>{requestAnimationFrame(()=>{e.style.willChange="",e.style.overflow="",a||(t.open=!1),o&&t.setAttribute("name",o),C=!1})};requestAnimationFrame(()=>{e.animate(d,p).addEventListener("finish",f)})},ae=(t,e,n)=>{if(!n)return;const o=document.querySelector(`details[name="${n}"][open]`);if(!o||o===t)return;const a=o.querySelector("summary + *");a&&P(o,a,e,n,!1)},ce=(t,e,n,o,a)=>{t.preventDefault(),!C&&(P(e,n,o,a,!e.open),e.open&&ae(e,o,a))},O="data-open-status",le=(t,e)=>{t&&(t.setAttribute(O,String(t.open)),e&&t.removeAttribute("name"),t.open=!0)},de=(t,e)=>{t&&(e&&t.setAttribute("name",e),t.open=t.getAttribute(O)==="true",t.removeAttribute(O))};class ue extends HTMLElement{accordion;constructor(){super(),this.accordion=null}connectedCallback(){const e={printAll:!1};this.accordion=this.querySelector("details"),this.accordion&&se(this.accordion,e)}}customElements.define("drawer-accordion",ue);

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.