PageSourceSearch

https://www.flue-pipes.com/js/varien/js.min.js?v=6a995cf749f81

js flue-pipes.com collected 2026-10-10 00:41:10 UTC 11,241 bytes, 1 lines download raw bytes

1function popWin(e,t,a){(t=window.open(e,t,a)).focus()}function setLocation(e){window.location.href=e}function setPLocation(e,t){t&&window.opener.focus(),window.opener.location.href=e}function setLanguageCode(e,t){var a,i,n=window.location.href,r="";(a=n.match(/\#(.*)$/))&&(n=n.replace(/\#(.*)$/,""),r=a[0]),n.match(/[?]/)?(i=/([?&]store=)[a-z0-9_]*/,n.match(i)?n=n.replace(i,"$1"+e):n+="&store="+e,i=/([?&]from_store=)[a-z0-9_]*/,n.match(i)&&(n=n.replace(i,""))):n+="?store="+e,void 0!==t&&(n+="&from_store="+t),setLocation(n+=r)}function decorateGeneric(e,t){var a=["odd","even","first","last"],i={},n=e.length;if(n){if(void 0===t&&(t=a),!t.length)return;for(var r in a)i[a[r]]=!1;for(var r in t)i[t[r]]=!0;i.first&&Element.addClassName(e[0],"first"),i.last&&Element.addClassName(e[n-1],"last");for(var s=0;s<n;s++)(s+1)%2==0?i.even&&Element.addClassName(e[s],"even"):i.odd&&Element.addClassName(e[s],"odd")}}function decorateTable(e,t){if(e=$(e)){var a={tbody:!1,"tbody tr":["odd","even","first","last"],"thead tr":["first","last"],"tfoot tr":["first","last"],"tr td":["last"]};if(void 0!==t)for(var i in t)a[i]=t[i];if(a.tbody&&decorateGeneric(e.select("tbody"),a.tbody),a["tbody tr"]&&decorateGeneric(e.select("tbody tr"),a["tbody tr"]),a["thead tr"]&&decorateGeneric(e.select("thead tr"),a["thead tr"]),a["tfoot tr"]&&decorateGeneric(e.select("tfoot tr"),a["tfoot tr"]),a["tr td"]){var n=e.select("tr");if(n.length)for(var r=0;r<n.length;r++)decorateGeneric(n[r].getElementsByTagName("TD"),a["tr td"])}}}function decorateList(e,t){$(e)&&decorateGeneric(void 0===t?$(e).select("li"):$(e).childElements(),["odd","even","last"])}function decorateDataList(e){(e=$(e))&&(decorateGeneric(e.select("dt"),["odd","even","last"]),decorateGeneric(e.select("dd"),["odd","even","last"]))}function parseSidUrl(e,t){var a=e.indexOf("/?SID="),i="";return t=null!=t?t:"",-1<a&&(i="?"+e.substring(a+2),e=e.substring(0,a+1)),e+t+i}function formatCurrency(e,t,a){var i=isNaN(t.precision=Math.abs(t.precision))?2:t.precision,i=isNaN(t.requiredPrecision=Math.abs(t.requiredPrecision))?2:t.requiredPrecision,n=isNaN(t.integerRequired=Math.abs(t.integerRequired))?1:t.integerRequired,r=null==t.decimalSymbol?",":t.decimalSymbol,s=null==t.groupSymbol?".":t.groupSymbol,o=null==t.groupLength?3:t.groupLength,l="";null==a||1==a?l=e<0?"-":a?"+":"":0==a&&(l="");for(var d=parseInt(e=Math.abs(+e||0).toFixed(i))+"",h=d.length<n?n-d.length:0;h;)d="0"+d,h--;j=(j=d.length)>o?j%o:0,re=new RegExp("(\\d{"+o+"})(?=\\d)","g");var u=(j?d.substr(0,j)+s:"")+d.substr(j).replace(re,"$1"+s)+(i?r+Math.abs(e-d).toFixed(i).replace(/-/,0).slice(2):"");return(-1==t.pattern.indexOf("{sign}")?l+t.pattern:t.pattern.replace("{sign}",l)).replace("%s",u).replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function expandDetails(e,t){Element.hasClassName(e,"show-details")?($$(t).each(function(e){e.hide()}),Element.removeClassName(e,"show-details")):($$(t).each(function(e){e.show()}),Element.addClassName(e,"show-details"))}var Varien,isIE="MSIE"==navigator.appVersion.match(/MSIE/);function truncateOptions(){$$(".truncated").each(function(e){Event.observe(e,"mouseover",function(){e.down("div.truncated_full_value")&&e.down("div.truncated_full_value").addClassName("show")}),Event.observe(e,"mouseout",function(){e.down("div.truncated_full_value")&&e.down("div.truncated_full_value").removeClassName("show")})})}function fireEvent(e,t){if(document.createEvent)return(a=document.createEvent("HTMLEvents")).initEvent(t,!0,!0),e.dispatchEvent(a);var a=document.createEventObject();return e.fireEvent("on"+t,a)}function modulo(e,t){var a=t/1e4,i=e%t;return(Math.abs(i-t)<a||Math.abs(i)<a)&&(i=0),i}function customFormSubmit(e,t,a){var i=new Varien.formCreator(e,t,a);Element.insert($$("body")[0],i.form),i.form.submit()}function customFormSubmitToParent(e,t,a){new Ajax.Request(e,{method:a,parameters:JSON.parse(t),onSuccess:function(e){var t=document.createElement("div");t.innerHTML=e.responseText;var a=t.getElementsByClassName("messages")[0];window.document.body.getElementsByClassName("page-title")[0].insertAdjacentHTML("afterend",a.outerHTML),window.opener.focu
1s(),window.opener.location.href=e.transport.responseURL}})}window.Varien||(Varien=new Object),Varien.showLoading=function(){var e=$("loading-process");e&&e.show()},Varien.hideLoading=function(){var e=$("loading-process");e&&e.hide()},Varien.GlobalHandlers={onCreate:function(){Varien.showLoading()},onComplete:function(){0==Ajax.activeRequestCount&&Varien.hideLoading()}},Ajax.Responders.register(Varien.GlobalHandlers),Varien.searchForm=Class.create(),Varien.searchForm.prototype={initialize:function(e,t,a){this.form=$(e),this.field=$(t),this.emptyText=a,Event.observe(this.form,"submit",this.submit.bind(this)),Event.observe(this.field,"focus",this.focus.bind(this)),Event.observe(this.field,"blur",this.blur.bind(this)),this.blur()},submit:function(e){return this.field.value!=this.emptyText&&""!=this.field.value||(Event.stop(e),!1)},focus:function(e){this.field.value==this.emptyText&&(this.field.value="")},blur:function(e){""==this.field.value&&(this.field.value=this.emptyText)},initAutocomplete:function(e,t){new Ajax.Autocompleter(this.field,t,e,{paramName:this.field.name,method:"get",minChars:2,updateElement:this._selectAutocompleteItem.bind(this),onShow:function(e,t){t.style.position&&"absolute"!=t.style.position||(t.style.position="absolute",Position.clone(e,t,{setHeight:!1,offsetTop:e.offsetHeight})),Effect.Appear(t,{duration:0})}})},_selectAutocompleteItem:function(e){e.title&&(this.field.value=e.title),this.form.submit()}},Varien.Tabs=Class.create(),Varien.Tabs.prototype={initialize:function(e){$$(e+" a").each(this.initTab.bind(this))},initTab:function(e){e.href="javascript:void(0)",$(e.parentNode).hasClassName("active")&&this.showContent(e),e.observe("click",this.showContent.bind(this,e))},showContent:function(e){var a=$(e.parentNode);$(a.parentNode).getElementsBySelector("li","ol").each(function(e){var t=$(e.id+"_contents");e==a?(e.addClassName("active"),t.show()):(e.removeClassName("active"),t.hide())})}},Varien.DateElement=Class.create(),Varien.DateElement.prototype={initialize:function(e,t,a,i){if("id"==e)this.day=$(t+"day"),this.month=$(t+"month"),this.year=$(t+"year"),this.full=$(t+"full"),this.advice=$(t+"date-advice");else{if("container"!=e)return;this.day=t.day,this.month=t.month,this.year=t.year,this.full=t.full,this.advice=t.advice}this.required=a,this.format=i,this.day.addClassName("validate-custom"),this.day.validate=this.validate.bind(this),this.month.addClassName("validate-custom"),this.month.validate=this.validate.bind(this),this.year.addClassName("validate-custom"),this.year.validate=this.validate.bind(this),this.setDateRange(!1,!1),this.year.setAttribute("autocomplete","off"),this.advice.hide()},validate:function(){var e,t,a,i,n,r=!1,s=parseInt(this.day.value,10)||0,o=parseInt(this.month.value,10)||0,l=parseInt(this.year.value,10)||0;if(this.day.value.strip().empty()&&this.month.value.strip().empty()&&this.year.value.strip().empty()?this.required?r="This date is a required value.":this.full.value="":s&&o&&l?(t=0,(e=new Date).setYear(l),e.setMonth(o-1),e.setDate(32),(!(t=32-e.getDate())||31<t)&&(t=31),s<1||t<s?r="Please enter a valid day (1-%d).":o<1||12<o?r="Please enter a valid month (1-12).":(s%10==s&&(this.day.value="0"+s),o%10==o&&(this.month.value="0"+o),this.full.value=this.format.replace(/%[mb]/i,this.month.value).replace(/%[de]/i,this.day.value).replace(/%y/i,this.year.value),a=this.month.value+"/"+this.day.value+"/"+this.year.value,i=new Date(a),isNaN(i)?r="Please enter a valid date.":this.setFullDate(i)),n=!1,r||this.validateData()||(this.validateDataErrorType,r=n=this.validateDataErrorText)):r="Please enter a valid full date.",!1===r)return this.day.removeClassName("validation-failed"),this.month.removeClassName("validation-failed"),this.year.removeClassName("validation-failed"),this.advice.hide(),!0;try{r=Translator.translate(r)}catch(e){}return this.advice.innerHTML=n?this.errorTextModifier(r):r.replace("%d",t),this.advice.show(),!1},validateData:function(){var e=this.fullDate.getFullYear(),t=new Date;return this.curyear=t.getFullYear(),1900<=e&&e<=this.curyear},validateDataErrorType:"year",validateDataErrorText:"Please enter a valid year (1900-%d).",errorTextModifier:function(e){return e.replace("%d",this.curyear)},setDateRange:function(e,t){this.minDate=e,this.maxDate=t},setFullDate:function(e){this.fullDate=e}}
1,Varien.DOB=Class.create(),Varien.DOB.prototype={initialize:function(e,t,a){var i=$$(e)[0],n={};n.day=Element.select(i,".dob-day input")[0],n.month=Element.select(i,".dob-month input")[0],n.year=Element.select(i,".dob-year input")[0],n.full=Element.select(i,".dob-full input")[0],n.advice=Element.select(i,".validation-advice")[0],new Varien.DateElement("container",n,t,a)}},Varien.dateRangeDate=Class.create(),Varien.dateRangeDate.prototype=Object.extend(new Varien.DateElement,{validateData:function(){var e=!0;return(this.minDate||this.maxValue)&&(this.minDate&&(this.minDate=new Date(this.minDate),this.minDate.setHours(0),isNaN(this.minDate)&&(this.minDate=new Date("1/1/1900")),e=e&&this.fullDate>=this.minDate),this.maxDate&&(this.maxDate=new Date(this.maxDate),this.minDate.setHours(0),isNaN(this.maxDate)&&(this.maxDate=new Date),e=e&&this.fullDate<=this.maxDate),this.maxDate&&this.minDate?this.validateDataErrorText="Please enter a valid date between %s and %s":this.maxDate?this.validateDataErrorText="Please enter a valid date less than or equal to %s":this.minDate?this.validateDataErrorText="Please enter a valid date equal to or greater than %s":this.validateDataErrorText=""),e},validateDataErrorText:"Date should be between %s and %s",errorTextModifier:function(e){return this.minDate&&(e=e.sub("%s",this.dateFormat(this.minDate))),this.maxDate&&(e=e.sub("%s",this.dateFormat(this.maxDate))),e},dateFormat:function(e){return e.getMonth()+1+"/"+e.getDate()+"/"+e.getFullYear()}}),Varien.FileElement=Class.create(),Varien.FileElement.prototype={initialize:function(e){this.fileElement=$(e),this.hiddenElement=$(e+"_value"),this.fileElement.observe("change",this.selectFile.bind(this))},selectFile:function(e){this.hiddenElement.value=this.fileElement.getValue()}},Validation.addAllThese([["validate-custom"," ",function(e,t){return t.validate()}]]),Event.observe(window,"load",function(){truncateOptions()}),Element.addMethods({getInnerText:function(e){return(e=$(e)).innerText&&!Prototype.Browser.Opera?e.innerText:e.innerHTML.stripScripts().unescapeHTML().replace(/[\n\r\s]+/g," ").strip()}}),"undefined"==typeof Range||Range.prototype.createContextualFragment||(Range.prototype.createContextualFragment=function(e){var t=document.createDocumentFragment(),a=document.createElement("div");return t.appendChild(a),a.outerHTML=e,t}),Varien.formCreator=Class.create(),Varien.formCreator.prototype={initialize:function(e,t,a){this.url=e,this.parametersArray=JSON.parse(t),this.method=a,this.form="",this.createForm(),this.setFormData()},createForm:function(){this.form=new Element("form",{method:this.method,action:this.url})},setFormData:function(){for(var e in this.parametersArray)Element.insert(this.form,new Element("input",{name:e,value:this.parametersArray[e],type:"hidden"}))}};

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.