1class WSEditorsController{static CallBackPanelDisableEditors(n){this.SetEnableEditorsInContainer(n.GetMainElement(),!1)}static SetEnableEditorsInContainer(n,t){ASPxClientControl.GetControlCollection().ProcessControlsInContainer(n,function(n){typeof n.SetEnabled=="function"&&n.SetEnabled(t)})}static TextEditGotFocus(n){const t=n.GetCaptionCell();t!=null&&t.classList.remove("Invisible")}static TextEditLostFocus(n){const t=n.GetValue();if(n.nullText!=""&&(t==null||t=="")){const t=n.GetCaptionCell();t!=null&&t.classList.add("Invisible")}}}const ZeroGuid="00000000-0000-0000-0000-000000000000";class CountryStateController{constructor(n,t,i){this.statesData=n;this.countryControl=t;this.stateControl=i;t.SelectedIndexChanged.AddHandler(this.CountryChanged.bind(this));t.Validation.AddHandler(this.CountryValidate.bind(this));t.Init.AddHandler(this.CountryInit.bind(this));i.SelectedIndexChanged.AddHandler(this.StateChanged.bind(this));i.Validation.AddHandler(this.StateValidation.bind(this))}CountryInit(n){const t=this.stateControl.GetSelectedItem();if(t==null){const t=n.GetSelectedItem();t!=null&&this.UpdateStatesCollectionForCountry(t.value)}else t.value==ZeroGuid&&this.StatesRemoveButNA()}CountryChanged(n){const t=n.GetSelectedItem();t!=null&&this.UpdateStatesCollectionForCountry(t.value)}CountryValidate(n,t){t.isValid=n.GetSelectedItem()!=null}StateChanged(n){const t=n.GetSelectedItem();if(t!=null)if(t.value=="10000000-0000-0000-0000-000000000001")n.SetSelectedItem(null),n.HideDropDown();else{const n=this.countryControl.GetSelectedItem();if(t.value==ZeroGuid){n!=null&&this.IsStateRequired(n.value)&&this.countryControl.SetSelectedItem(null);return}const i=this.statesData[t.value].CountryId;this.countryControl.SetSelectedItem(this.countryControl.FindItemByValue(i))}}StateValidation(n,t){const r=this.countryControl.GetSelectedItem(),i=n.GetSelectedItem();t.isValid=r==null&&i==null||i!=null}UpdateStatesCollectionForCountry(n){if(this.IsStateRequired(n)){this.stateControl.ClearItems();this.stateControl.BeginUpdate();for(const t in this.statesData)this.statesData[t].CountryId==n&&this.stateControl.AddItem(this.statesData[t].Name,t);this.stateControl.SetSelectedIndex(-1);this.stateControl.EndUpdate()}else this.stateControl.ClearItems(),this.stateControl.BeginUpdate(),this.stateControl.AddItem("N/A",ZeroGuid),this.stateControl.SetSelectedIndex(0),this.stateControl.EndUpdate()}IsStateRequired(n){for(const t in this.statesData)if(this.statesData[t].CountryId==n)return!0;return!1}StatesRemoveButNA(){this.stateControl.BeginUpdate();for(let n=this.stateControl.GetItemCount()-1;n>0;n--)this.stateControl.RemoveItem(n);this.stateControl.EndUpdate()}}class LightBoxController{constructor(){const n=document.getElementById("LightBox");n!=null&&(this.pages=n.querySelectorAll("[data-lightbox-page]"),this.pages.forEach(n=>{n.classList.contains("Current")||n.classList.add("Right"),n.querySelectorAll("[data-lightbox-action-showpage]").forEach(n=>{n.addEventListener("click",t=>{t.preventDefault(),this.ShowPage(n.getAttribute("data-lightbox-action-showpage"))})})}))}ShowPage(n){let t=null,i=null,u=-1,f=-1,r=0;(this.pages.forEach(e=>{e.getAttribute("data-lightbox-page")==n&&(t=e,u=r),e.classList.contains("Current")&&(i=e,f=r),r++}),t!=null)&&i!=t&&(i.classList.remove("Current"),f<u?i.classList.add("Left"):i.classList.add("Right"),t.classList.remove("Right"),t.classList.remove("Left"),t.classList.add("Current"))}}class PerfectScrollerController{get LongScrollDelta(){return 1500}constructor(){this.busy=!1;this.processedElements=[];this.Initialize(document.documentElement);window.addEventListener("hashchange",()=>{if(console.log("hashchange"),this.busy){this.busy=!1;return}console.log("hashchange scroll");this.ScrollToAnchor(this.GetHash())});const n=this.GetHash();n!=null&&n!==""&&(this.SetHash(""),window.addEventListener("DOMContentLoaded",()=>{this.ScrollToAnchor(n)}))}Initialize(n){n.querySelectorAll('a[href^="#"]:not([href="#"])').forEach(n=>{this.processedElements.indexOf(n)==-1&&(this.processedElements.push(n),n.addEventListener("click",t=>{t.preventDefault(),this.ScrollToAnchor(n.getAttribute("href").substr(1))}))});n.querySelectorAll("a[data-scroll-to]").forEach(n=>{this.processedElements.indexOf(n)==-1&&(this.processedElements.push(n),n.addEventListener("click",t=>{t.preventDefault(),this.ScrollTo(document.querySelector('[data-anchor="'+n.getAttribute("data-scroll-to")+'"]'))}))})}SetHash(n){history?history.pushState(undefined,undefined,"#"+n):location.replace("#"+n)}GetHash(){return document.location.hash.length>1?document.location.hash.substr(1):null}ScrollTo(n){if(n!=null){this.busy=!0;const r=document.$scrollTop;let t=this.GetScrollTo(n);
1if(Math.abs(r-t)>this.LongScrollDelta){const n=r>t?t+this.LongScrollDelta:t-this.LongScrollDelta;window.scrollTo(0,n)}let i=n.getAttribute("name");i=i!=null?i:"";this.SmoothScrollToPosition(t,300,()=>{i!=""&&this.GetHash()!=i&&(this.busy=!0,n.setAttribute("name",""),this.SetHash(i),n.setAttribute("name",i)),t=this.GetScrollTo(n),document.$scrollTop!=t&&this.SmoothScrollToPosition(t,100)})}}ScrollToAnchor(n){n!=null&&this.ScrollTo(document.querySelector('a[name="'+n+'"]'))}GetScrollTo(n){if(n!=null){let t=n;n.getAttribute("data-anchor")==null&&(t=t.nextElementSibling);t==null&&(t=n);let i=t.getBoundingClientRect().top-document.documentElement.getBoundingClientRect().top-parseInt(getComputedStyle(t).marginTop,10);if(n.previousElementSibling==null){let t=n.parentElement;while(t!=null&&t.previousElementSibling==null)t=t.parentElement;t!=null&&(i-=parseInt(getComputedStyle(t).paddingTop,10),i-=Math.min(parseInt(getComputedStyle(t).marginTop,10),20))}document.querySelectorAll(".Fixed").forEach(n=>{getComputedStyle(n).position=="fixed"&&(i-=n.offsetHeight)});let r=0;return document.querySelectorAll(".sys-fixed").forEach(n=>{let t=n.previousElementSibling;while(t!=null&&t.getAttribute("data-control")!=="FixedBarPlaceholder")t=t.previousElementSibling;t!=null&&t.scrollTop<i&&(r+=t.offsetHeight)}),i-r+1}}SmoothScrollToPosition(n,t,i=null){document.dispatchEvent(document.createCustomEvent("scrollingstarted"));const f=document.$scrollTop,o=n-f;let u=0;const e=16,s=function(n,t,i,r){return i*Math.sqrt(1-(n=n/r-1)*n)+t},r=()=>{u+=e,window.scrollTo(0,s(u,f,o,t)),u<t?window.requestAnimationFrame?window.requestAnimationFrame(r):setTimeout(r,e):(document.dispatchEvent(document.createCustomEvent("scrollingended")),this.busy=!1,i!=null&&i.call(this))};this.busy=!0;window.requestAnimationFrame?window.requestAnimationFrame(r):r()}}class VideoController{constructor(){document.querySelectorAll(".NativeVideo").forEach(n=>{const t=n.querySelector("video");t!=null&&(t.addEventListener("play",this.OnVideoStarted.bind(this,n)),t.addEventListener("pause",this.OnVideoPaused.bind(this,n)),t.addEventListener("ended",this.OnVideoEnded.bind(this,n)),n.addEventListener("click",this.VideoClick.bind(this,n,t)))})}VideoClick(n,t){!t.paused&&!t.ended&&t.currentTime>0?t.pause():(n.classList.add("Playing"),t.play())}OnVideoPaused(n){n.classList.remove("Playing")}OnVideoEnded(n){n.classList.remove("Playing")}OnVideoStarted(n){n.classList.add("Playing")}}
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.