PageSourceSearch

https://secure.trisura.com/ScriptResource.axd?d=mcAASOSteirJeuV-3b…mv-Z3U8GNGQ1w29EnRSOAuNVqxIZ9sw1&t=4c030be6

js trisura.com collected 2026-09-29 09:48:17 UTC 18,512 bytes, 1 lines download raw bytes

1Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.BoxSide=function(){};Sys.Extended.UI.BoxSide.prototype={Top:0,Right:1,Bottom:2,Left:3};Sys.Extended.UI.BoxSide.registerEnum("Sys.Extended.UI.BoxSide",!1);Sys.Extended.UI._CommonToolkitScripts=function(){};Sys.Extended.UI._CommonToolkitScripts.prototype={_borderStyleNames:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],_borderWidthNames:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],_paddingWidthNames:["paddingTop","paddingRight","paddingBottom","paddingLeft"],_marginWidthNames:["marginTop","marginRight","marginBottom","marginLeft"],getCurrentStyle:function(n,t,i){var r=null,u;return n&&(n.currentStyle?r=n.currentStyle[t]:document.defaultView&&document.defaultView.getComputedStyle&&(u=document.defaultView.getComputedStyle(n,null),u&&(r=u[t])),!r&&n.style.getPropertyValue?r=n.style.getPropertyValue(t):!r&&n.style.getAttribute&&(r=n.style.getAttribute(t))),r&&r!=""&&typeof r!="undefined"||(r=typeof i!="undefined"?i:null),r},getInheritedBackgroundColor:function(n){if(!n)return"#FFFFFF";var t=this.getCurrentStyle(n,"backgroundColor");try{while(!t||t==""||t=="transparent"||t=="rgba(0, 0, 0, 0)")n=n.parentNode,t=n?this.getCurrentStyle(n,"backgroundColor"):"#FFFFFF"}catch(i){t="#FFFFFF"}return t},getLocation:function(n){return Sys.UI.DomElement.getLocation(n)},setLocation:function(n,t){Sys.UI.DomElement.setLocation(n,t.x,t.y)},getContentSize:function(n){if(!n)throw Error.argumentNull("element");var t=this.getSize(n),i=this.getBorderBox(n),r=this.getPaddingBox(n);return{width:t.width-i.horizontal-r.horizontal,height:t.height-i.vertical-r.vertical}},getSize:function(n){if(!n)throw Error.argumentNull("element");return{width:n.offsetWidth,height:n.offsetHeight}},setContentSize:function(n,t){if(!n)throw Error.argumentNull("element");if(!t)throw Error.argumentNull("size");if(this.getCurrentStyle(n,"MozBoxSizing")=="border-box"||this.getCurrentStyle(n,"BoxSizing")=="border-box"){var i=this.getBorderBox(n),r=this.getPaddingBox(n);t={width:t.width+i.horizontal+r.horizontal,height:t.height+i.vertical+r.vertical}}n.style.width=t.width.toString()+"px";n.style.height=t.height.toString()+"px"},setSize:function(n,t){if(!n)throw Error.argumentNull("element");if(!t)throw Error.argumentNull("size");var i=this.getBorderBox(n),r=this.getPaddingBox(n),u={width:t.width-i.horizontal-r.horizontal,height:t.height-i.vertical-r.vertical};this.setContentSize(n,u)},getBounds:function(n){return Sys.UI.DomElement.getBounds(n)},setBounds:function(n,t){if(!n)throw Error.argumentNull("element");if(!t)throw Error.argumentNull("bounds");this.setSize(n,t);$common.setLocation(n,t)},getClientBounds:function(){var n,t;return document.compatMode=="CSS1Compat"?(n=document.documentElement.clientWidth,t=document.documentElement.clientHeight):(n=document.body.clientWidth,t=document.body.clientHeight),new Sys.UI.Bounds(0,0,n,t)},getMarginBox:function(n){if(!n)throw Error.argumentNull("element");var t={top:this.getMargin(n,Sys.Extended.UI.BoxSide.Top),right:this.getMargin(n,Sys.Extended.UI.BoxSide.Right),bottom:this.getMargin(n,Sys.Extended.UI.BoxSide.Bottom),left:this.getMargin(n,Sys.Extended.UI.BoxSide.Left)};return t.horizontal=t.left+t.right,t.vertical=t.top+t.bottom,t},getBorderBox:function(n){if(!n)throw Error.argumentNull("element");var t={top:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Top),right:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Right),bottom:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Bottom),left:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Left)};return t.horizontal=t.left+t.right,t.vertical=t.top+t.bottom,t},getPaddingBox:function(n){if(!n)throw Error.argumentNull("element");var t={top:this.getPadding(n,Sys.Extended.UI.BoxSide.Top),right:this.getPadding(n,Sys.Extended.UI.BoxSide.Right),bottom:this.getPadding(n,Sys.Extended.UI.BoxSide.Bottom),left:this.getPadding(n,Sys.Extended.UI.BoxSide.Left)};return t.horizontal=t.left+t.right,t.vertical=t.top+t.bottom,t},isBorderVisible:function(n,t){if(!n)throw Error.argumentNull("element");
1if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));var i=this._borderStyleNames[t],r=this.getCurrentStyle(n,i);return r!="none"},getMargin:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));var i=this._marginWidthNames[t],r=this.getCurrentStyle(n,i);try{return this.parsePadding(r)}catch(u){return 0}},getBorderWidth:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));if(!this.isBorderVisible(n,t))return 0;var i=this._borderWidthNames[t],r=this.getCurrentStyle(n,i);return this.parseBorderWidth(r)},getPadding:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));var i=this._paddingWidthNames[t],r=this.getCurrentStyle(n,i);return this.parsePadding(r)},parseBorderWidth:function(n){var r,t,i,u,f;if(this._borderThicknesses||(r={},t=document.createElement("div"),t.style.visibility="hidden",t.style.position="absolute",t.style.fontSize="1px",document.body.appendChild(t),i=document.createElement("div"),i.style.height="0px",i.style.overflow="hidden",t.appendChild(i),u=t.offsetHeight,i.style.borderTop="solid black",i.style.borderTopWidth="thin",r.thin=t.offsetHeight-u,i.style.borderTopWidth="medium",r.medium=t.offsetHeight-u,i.style.borderTopWidth="thick",r.thick=t.offsetHeight-u,t.removeChild(i),document.body.removeChild(t),this._borderThicknesses=r),n){switch(n){case"thin":case"medium":case"thick":return this._borderThicknesses[n];case"inherit":return 0}return f=this.parseUnit(n),Sys.Debug.assert(f.type=="px",String.format(Sys.Extended.UI.Resources.Common_InvalidBorderWidthUnit,f.type)),f.size}return 0},parsePadding:function(n){if(n){if(n=="inherit")return 0;var t=this.parseUnit(n);return t.type!=="px"&&Sys.Debug.fail(String.format(Sys.Extended.UI.Resources.Common_InvalidPaddingUnit,t.type)),t.size}return 0},parseUnit:function(n){var f,t,r,i,e,u;if(!n)throw Error.argumentNull("value");for(n=n.trim().toLowerCase(),f=n.length,t=-1,r=0;r<f;r++){if(i=n.substr(r,1),(i<"0"||i>"9")&&i!="-"&&i!="."&&i!=",")break;t=r}if(t==-1)throw Error.create(Sys.Extended.UI.Resources.Common_UnitHasNoDigits);return e=t<f-1?n.substring(t+1).trim():"px",u=parseFloat(n.substr(0,t+1)),e=="px"&&(u=Math.floor(u)),{size:u,type:e}},getElementOpacity:function(n){var t,i,r,u;if(!n)throw Error.argumentNull("element");return(t=!1,n.filters?(r=n.filters,r.length!==0&&(u=r["DXImageTransform.Microsoft.Alpha"],u&&(i=u.opacity/100,t=!0))):(i=this.getCurrentStyle(n,"opacity",1),t=!0),t===!1)?1:parseFloat(i)},setElementOpacity:function(n,t){var i,r,u;if(!n)throw Error.argumentNull("element");n.filters?(i=n.filters,r=!0,i.length!==0&&(u=i["DXImageTransform.Microsoft.Alpha"],u&&(r=!1,u.opacity=t*100)),r&&(n.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+t*100+")")):n.style.opacity=t},getVisible:function(n){return n&&"none"!=$common.getCurrentStyle(n,"display")&&"hidden"!=$common.getCurrentStyle(n,"visibility")},setVisible:function(n,t){n&&t!=$common.getVisible(n)&&(t?n.style.removeAttribute?n.style.removeAttribute("display"):n.style.removeProperty("display"):n.style.display="none",n.style.visibility=t?"visible":"hidden")},resolveFunction:function(value){if(value){if(value instanceof Function)return value;if(String.isInstanceOfType(value)&&value.length>0){var func;if((func=window[value])instanceof Function||(func=eval(value))instanceof Function)return func}}return null},addCssClasses:function(n,t){for(var i=0;i<t.length;i++)Sys.UI.DomElement.addCssClass(n,t[i])}
1,removeCssClasses:function(n,t){for(var i=0;i<t.length;i++)Sys.UI.DomElement.removeCssClass(n,t[i])},setStyle:function(n,t){$common.applyProperties(n.style,t)},removeHandlers:function(n,t){for(var i in t)$removeHandler(n,i,t[i])},overlaps:function(n,t){return n.x<t.x+t.width&&t.x<n.x+n.width&&n.y<t.y+t.height&&t.y<n.y+n.height},containsPoint:function(n,t,i){return t>=n.x&&t<n.x+n.width&&i>=n.y&&i<n.y+n.height},isKeyDigit:function(n){return 48<=n&&n<=57},isKeyNavigation:function(n){return Sys.UI.Key.left<=n&&n<=Sys.UI.Key.down},padLeft:function(n,t,i,r){return $common._pad(n,t||2,i||" ","l",r||!1)},padRight:function(n,t,i,r){return $common._pad(n,t||2,i||" ","r",r||!1)},_pad:function(n,t,i,r,u){var o,e,f;for(n=n.toString(),o=n.length,e=new Sys.StringBuilder,r=="r"&&e.append(n);o<t;)e.append(i),o++;return r=="l"&&e.append(n),f=e.toString(),u&&f.length>t&&(f=r=="l"?f.substr(f.length-t,t):f.substr(0,t)),f},__DOMEvents:{focusin:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("focusin",!0,!1,window,1)}},focusout:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("focusout",!0,!1,window,1)}},activate:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("activate",!0,!0,window,1)}},focus:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("focus",!1,!1,window,1)}},blur:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("blur",!1,!1,window,1)}},click:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("click",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},dblclick:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("click",!0,!0,window,2,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mousedown:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mousedown",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mouseup:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mouseup",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mouseover:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mouseover",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mousemove:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mousemove",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mouseout:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mousemove",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},load:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("load",!1,!1)}},unload:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("unload",!1,!1)}},select:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("select",!0,!1)}},change:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("change",!0,!1)}},submit:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("submit",!0,!0)}},reset:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("reset",!0,!1)}},resize:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("resize",!0,!1)}},scroll:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("scroll",!0,!1)}}},tryFireRawEvent:function(n,t){try{if(n.fireEvent)return n.fireEvent("on"+t.type,t),!0;if(n.dispatchEvent)return n.dispatchEvent(t),!0}catch(i){}return!1},tryFireEvent:function(n,t,i){var u,r;try{if(document.createEventObject)return r=document.createEventObject(),$common.applyProperties(r,i||{}),n.fireEvent("on"+t,r),!0;if(document.createEvent&&(u=$common.__DOMEvents[t],u))return r=document.createEvent(u.eventGroup),u.init(r,i||{}),n.dispatchEvent(r),!0}catch(r){}return!1},wrapElement:function(n,t,i){var r=n.parentNode;r.replaceChild(t,n);(i||t).appendChild(n)},unwrapElement:function(n,t){var i=t.parentNode;i!=null&&($common.removeElement(n),i.replaceChild(n,t))},removeElement:function(n){var t=n.parentNode;t!=null&&t.removeChild(n)},applyProperties:function(n,t){var r,i,u;for(r in t)i=t[r],i!=null&&Object.getType(i)===Object?(u=n[r],$common.applyProperties(u,i)):n[r]=i},createElementFromTemplate:function(n,t,i){var f,h,r,e,s,c,o,u;if(typeof n.nameTable!="undefined"&&(f=n.nameTable,String.isInstanceOfType(f)&&(f=i[f]),f!=null&&(i=f)),h=null,typeof n.name!="undefined"&&(h=n.name),r=document.createElement(n.nodeName),typeof n.name!="undefined"&&i&&(i[n.name]=r),typeof n.parent!="undefined"&&t==null&&(e=n.parent,String.isInstanceOfType(e)&&(e=i[e]),e!=null&&(t=e)),typeof n.properties!="undefined"&&n.properties!=null&&$common.applyProperties(r,n.properties),typeof n.cssClasse
1s!="undefined"&&n.cssClasses!=null&&$common.addCssClasses(r,n.cssClasses),typeof n.events!="undefined"&&n.events!=null&&$addHandlers(r,n.events),typeof n.visible!="undefined"&&n.visible!=null&&this.setVisible(r,n.visible),t&&t.appendChild(r),typeof n.opacity!="undefined"&&n.opacity!=null&&$common.setElementOpacity(r,n.opacity),typeof n.children!="undefined"&&n.children!=null)for(s=0;s<n.children.length;s++)c=n.children[s],$common.createElementFromTemplate(c,r,i);return o=r,typeof n.contentPresenter!="undefined"&&n.contentPresenter!=null&&(o=i[o]),typeof n.content!="undefined"&&n.content!=null&&(u=n.content,String.isInstanceOfType(u)&&(u=i[u]),u.parentNode?$common.wrapElement(u,r,o):o.appendChild(u)),r},prepareHiddenElementForATDeviceUpdate:function(){var n=document.getElementById("hiddenInputToUpdateATBuffer_CommonToolkitScripts");n||(n=document.createElement("input"),n.setAttribute("type","hidden"),n.setAttribute("value","1"),n.setAttribute("id","hiddenInputToUpdateATBuffer_CommonToolkitScripts"),n.setAttribute("name","hiddenInputToUpdateATBuffer_CommonToolkitScripts"),document.forms[0]&&document.forms[0].appendChild(n))},updateFormToRefreshATDeviceBuffer:function(){var n=document.getElementById("hiddenInputToUpdateATBuffer_CommonToolkitScripts");n&&(n.getAttribute("value")=="1"?n.setAttribute("value","0"):n.setAttribute("value","1"))},appendElementToFormOrBody:function(n){document.forms&&document.forms[0]?document.forms[0].appendChild(n):document.body.appendChild(n)},setText:function(n,t){document.all?n.innerText=t:n.textContent=t}};CommonToolkitScripts=Sys.Extended.UI.CommonToolkitScripts=new Sys.Extended.UI._CommonToolkitScripts;$common=CommonToolkitScripts;Sys.UI.DomElement.getVisible=$common.getVisible;Sys.UI.DomElement.setVisible=$common.setVisible;Sys.UI.Control.overlaps=$common.overlaps;Sys.Extended.UI._DomUtility=function(){};Sys.Extended.UI._DomUtility.prototype={isDescendant:function(n,t){for(var i=t.parentNode;i!=null;i=i.parentNode)if(i==n)return!0;return!1},isDescendantOrSelf:function(n,t){return n===t?!0:Sys.Extended.UI.DomUtility.isDescendant(n,t)},isAncestor:function(n,t){return Sys.Extended.UI.DomUtility.isDescendant(t,n)},isAncestorOrSelf:function(n,t){return n===t?!0:Sys.Extended.UI.DomUtility.isDescendant(t,n)},isSibling:function(n,t){for(var r=n.parentNode,i=0;i<r.childNodes.length;i++)if(r.childNodes[i]==t)return!0;return!1}};Sys.Extended.UI._DomUtility.registerClass("Sys.Extended.UI._DomUtility");Sys.Extended.UI.DomUtility=new Sys.Extended.UI._DomUtility;Sys.Extended.UI.TextBoxWrapper=function(n){Sys.Extended.UI.TextBoxWrapper.initializeBase(this,[n]);this._current=n.value;this._watermark=null;this._isWatermarked=!1};Sys.Extended.UI.TextBoxWrapper.prototype={dispose:function(){this.get_element().TextBoxWrapper=null;Sys.Extended.UI.TextBoxWrapper.callBaseMethod(this,"dispose")},get_Current:function(){return this._current=this.get_element().value,this._current},set_Current:function(n){this._current=n;this._updateElement()},get_Value:function(){return this.get_IsWatermarked()?"":this.get_Current()},set_Value:function(n){this.set_Current(n);n&&0!=n.length?this.set_IsWatermarked(!1):null!=this._watermark&&this.set_IsWatermarked(!0)},get_Watermark:function(){return this._watermark},set_Watermark:function(n){this._watermark=n;this._updateElement()},get_IsWatermarked:function(){return this._isWatermarked},set_IsWatermarked:function(n){this._isWatermarked!=n&&(this._isWatermarked=n,this._updateElement(),this._raiseWatermarkChanged())},_updateElement:function(){var n=this.get_element();this._isWatermarked?n.value!=this._watermark&&(n.value=this._watermark):n.value!=this._current&&(n.value=this._current)},add_WatermarkChanged:function(n){this.get_events().addHandler("WatermarkChanged",n)},remove_WatermarkChanged:function(n){this.get_events().removeHandler("WatermarkChanged",n)},_raiseWatermarkChanged:function(){var n=this.get_events().getHandler("WatermarkChanged");n&&n(this,Sys.EventArgs.Empty)}};Sys.Extended.UI.TextBoxWrapper.get_Wrapper=function(n){return null==n.TextBoxWrapper&&(n.TextBoxWrapper=new Sys.Extended.UI.TextBoxWrapper(n)),n.TextBoxWrapper};Sys.Extended.UI.TextBoxWrapper.registerClass("Sys.Extended.UI.TextBoxWrapper",Sys.UI.Behavior);Sys.Extended.UI.TextBoxWrapper.validatorGetValue=function(n){var t=$get(n);return t&&t.TextBoxWrapper?t.TextBoxWrapper.get_Value():Sys.Extended.UI.TextBoxWrapper._originalValidatorGetValue(n)};typeof ValidatorGetValue=="function"&&(Sys.Extended.UI.TextBoxWrapper._originalValidatorGetValue=ValidatorGetValue,ValidatorGetValue=Sys.Extended.UI.TextBoxWrapper.validatorGetValue);Sys.CultureInfo&&Sys.CultureInfo.prototype._getAbbrMonthIndex&&(Sys.CultureInfo.prototype._getAbbrMonthIndex=function(n){return this._upperAbbrMonths||(this._upperAbbrMonths=this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames)),Array.indexOf(this._upperAbbrMonths,this._toUpper(n))},Sys.CultureInfo.CurrentCulture._getAbbrMonthIndex=Sys.CultureInfo.prototype._getAbbrMonthIndex,Sys.CultureInfo.InvariantCulture._getAbbrMonthIndex=Sys.CultureInfo.prototype._getAbbrMonthIndex);
1Sys.Extended.UI.ScrollBars=function(){throw Error.invalidOperation();};Sys.Extended.UI.ScrollBars.prototype={None:0,Horizontal:1,Vertical:2,Both:3,Auto:4};Sys.Extended.UI.ScrollBars.registerEnum("Sys.Extended.UI.ScrollBars",!1);

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.