PageSourceSearch

https://utahrealestate.com/min/?g=search_js_top

js utahrealestate.com collected 2026-10-02 04:47:46 UTC 15,243 bytes, 1 lines download raw bytes

1function displayMortgageCalculator(price,hoa_monthly=0,tax=0){Master.appendHead({css:['/min/?g=tools_css'],js:['/js/tools/calc.js','/js/highcharts/highcharts.js','/js/highcharts/modules/exporting.js'],callback:function(){$.browserbox('show','Mortgage Calculator','/tools/amortization.calc/sale_price/'+price+'/tax/'+tax+'/hoa_monthly/'+hoa_monthly+'/layout/disable',{menu:{pdf:function(){Calc.process(!0)}},width:1e3,afterThisLocationLoaded:function(){autoToggle({animate:!1,block_disp:'table-row-group'}),Calc.initEvents(),Calc.process()}})}})}function processReportAction(action){switch(action){case"PRINT":var url=addParamToURL(location.href,'pdf',!0);pdfPopUp(url,{});break;case"NEW_CUSTOM_REPORT":location.href='/report/customize/cr_id/new';break;case"EDIT_CUSTOM_REPORT":location.href='/report/customize';break;case"EMAIL_PDF":Reports.writePDF(addParamToURL(addParamToURL(location.href,'write',!0),'pdf',!0));break;default:processActionRequest(action)}}function removeListingFromReportDisplay(listingNo,callbk){jQuery.confirm('open','Are you sure you want to remove this listing from the report?',function(){var callbackFunction={success:function(o){var data=jQuery.parseJSON(o.responseText),cntDiv=jQuery('#selected-listings')[0];null!=cntDiv&&(cntDiv.innerHTML=data.count,data.ignored?(jQuery('#ignored-notice').css('display','inline'),jQuery('#ignored-count')[0].innerHTML=data.ignored):jQuery('#ignored-notice').hide());hideListing(o.argument[0]),o.argument[1]&&o.argument[1]()},failure:handleException,argument:[listingNo,callbk]};YAHOO.util.Connect.asyncRequest('POST','/search/listings',callbackFunction,'format=json&debug=reports_remove&act=del&listno='+escape(listingNo)),jQuery('#widget_confirm_c').remove()},'Confirm',function(){jQuery('#widget_confirm_c').remove()})}function hideListing(listno){new YAHOO.widget.Effects.BlindUp('mls-'+listno,{ghost:!0})}function showIgnoredListing(listno){new YAHOO.widget.Effects.Appear('mls-'+listno+'-ignore',{ghost:!0});jQuery('#mls-'+listno+'-ignore').css('display','inline-block')}function toggleListing(listing,all,report){var action='/act/'+(listing.checked?'add':'del'),post='',value='';if("string"===jQuery.type(all)?(action='/act/'+(listing.checked?'all':'reset'),post='true'):("array"===jQuery.type(all)?value=all.join(','):listing.value&&(value=listing.value),value&&(post='listno='+value)),post){'function'==typeof toggleReportSelection&&toggleReportSelection(0);var reports=report?'/report/1':'';jQuery.ajax({url:'/search/listings/format/json/debug/reports_toggle/mthd/single'+action+reports,type:'post',data:{listno:value}}).done(function(data){var cntDiv=jQuery('#selected-listings')[0];null!=cntDiv&&(cntDiv.innerHTML=report?data.selected:data.count),'function'==typeof toggleReportSelection&&toggleReportSelection(data.selected),jQuery('#notification').hide()}).fail(function(error){handleException(error)})}}function toggleAllListings(chkd,reports){reports=reports||!1;var chkBoxes=YAHOO.util.Dom.getElementsByClassName('selListingChk'),listnos=[];for(var chk in chkBoxes)chkBoxes[chk].checked=chkd.checked,listnos.push(chkBoxes[chk].value);reports?(toggleListing(chkd,'all',reports),jQuery('#help-selectall')[0].innerHTML=chkd.checked?' Unselect All':' Select All'):toggleListing(chkd,listnos)}function rate(listing,rating,type,options){options=$.extend({},{callBack:!1,useRating:!0,publicReport:!1,actor:!1,st_id:!1},options),'remove'==rating?$.confirm('open','Are you sure you want to remove this property from your favorites?',function(){doRate(listing,rating,type,options)}):doRate(listing,rating,type,options)}function doRate(listing,rating,type,options){$('#rate_wait_'+listing).css('display','block');let post_data={format:'json',type:type,listno:listing,rating:rating};options.actor&&(post_data.actor=options.actor),options.st_id&&(post_data.st_id=options.st_id),$.ajax({url:'/report/rate',type:'post',data:post_data,success:function(data){$('#rate_wait_'+data.listno).css('display','none');var fav=new $('#rating_add_'+listing)[0];$('#rating_add_'+listing+' span').length&&(fav=$('#rating_add_'+listing+' span')[0]),0===rating?($('#rating_add_'+listing).removeClass('rating_add').addClass('rating_remove'),$('#fav-icon').removeClass('icon').addClass('icon-h'),fav.innerHTML="Remove"+data.ana):'remove'==rating&&($('#rating_add_'+listing).removeClass('rating_remove').addClass('rating_add'),$('#fav-icon').removeClass('icon-h').addClass('icon'),fav.innerHTML="Favorite"),options.callBack&&YAHOO.lang.isFunction(options.callBack)&&options.callBack()}})}function copyToClipboard(content){window.isSecureContext&&navigator.clipboard?navigator.clipboard.writeText(content).then(()=>{MiniNotify.show("Copied MLS# to clipboard.",{auto_hide:3})}):MiniNotify.error("Unable to copy in non-secure environment.",{auto_hide:3})}var Reports={email_panel:null,export_panel:null,filename:null,lastReportIndex:0,highChartInstances:null,
1stopIgnoring:function(listno,options){options=options||{},jQuery.confirm('open','Are you sure you want to stop ignoring this property?',function(){var callback={success:function(o){if(o.argument[1].publicReport)jQuery('#public_details_ignore').css('display','block'),jQuery('#public_details_unignore').hide();else{Reports.swapIgnoreDivs(o.argument[0]);var ignored=jQuery('#ignored-count')[0];ignored&&parseInt(ignored.innerHTML)>0&&(ignored.innerHTML=parseInt(ignored.innerHTML)-1)}},failure:handleException,argument:[listno,options]};YAHOO.util.Connect.asyncRequest('POST','/report/rate',callback,'format=json&rating=remove&listno='+escape(listno))})},swapIgnoreDivs:function(listno){new YAHOO.widget.Effects.Hide('mls-'+listno+'-ignore',{ghost:!0}),new YAHOO.widget.Effects.Appear('mls-'+listno,{ghost:!0})},writePDF:function(url,msg){if('function'==typeof countCheckedPhotos){if(countCheckedPhotos()>50)return alert('Our PDF generator only supports up to 50 photos in this report. If you would like to print more than 50 photos, please use your browser\'s "Print" features.'),!1;if(url.includes('cma_report')&&url.includes('photo_comp')&&url.includes('?pdf=true')&&!confirm('WARNING: You may encounter issues / slowness with the "Comp Photos" report if you have more than 50 comp photos selected.'))return!1}msg=msg||'Generating PDF Report...',MiniNotify.info(msg,{with_progress_bar:!0}),pdfPopUp.appendToUrlCallback&&(url+=pdfPopUp.appendToUrlCallback());var chartOptions={plotOptions:{series:{enableMouseTracking:!1}}},svg=new Array,chart='';for(var i in Reports.highChartInstances)chart=Reports.highChartInstances[i],svg[i]=chart.getSVG(Highcharts.merge(chart.options.exporting.chartOptions,chartOptions));jQuery.ajax({type:'post',url:url,data:{chartSvg:svg}}).done(function(response){MiniNotify.hide(),Reports.filename=response,Reports.showEmailForm()}).fail(function(response){MiniNotify.hide(),handleReportsException(response,!0)})},printGraphPdf:function(){var chartOptions={plotOptions:{series:{enableMouseTracking:!1}},credits:{enabled:!1}},svg=new Array,chart='',url=addParamToURL(addParamToURL(location.href,'pdf',!0),'write',!0);for(var i in Reports.highChartInstances)chart=Reports.highChartInstances[i],svg[i]=chart.getSVG(Highcharts.merge(chart.options.exporting.chartOptions,chartOptions));$.ajax({url:url,type:"POST",data:{chartSvg:svg},success:function(filepath){pdfPopUp(filepath,{})}})},checkExportForm:function(export_type){const cap_text=$('textarea[name="g-recaptcha-response"]').val();$.ajax({url:'/report/valid.captcha',type:'POST',data:{format:'json',cap_text:cap_text},dataType:'json'}).done(function(result){result.captcha?'photos'===export_type?Reports.exportPhotos(result.md):Reports.exportForm(export_type,result.md):MiniNotify.error('Please click the "I\'m not a robot" checkbox and try again.',{auto_hide:4})}).fail(function(error){handleException(error)})},exportForm:function(export_type,md){var loc='/report/display/report/export',formats=null,typeEl=null,dataEl=null;if('export_vendor'==(export_type=export_type||''))formats=YAHOO.util.Dom.getElementsBy(function(el){return'export_vendor'==el.name},'input',YAHOO.util.Dom.get('export_vendors')),loc+='/compat/1',dataEl='standard';else{var data=YAHOO.util.Dom.getElementsBy(function(el){return'export_data'==el.name},'input',YAHOO.util.Dom.get('export_datas'));for(var datum in formats=YAHOO.util.Dom.getElementsBy(function(el){return'export_type'==el.name},'input',YAHOO.util.Dom.get('export_types')),loc+='/compat/'+(YAHOO.util.Dom.get('compat').checked?'1':'0'),data)if(data[datum].checked){dataEl=data[datum].value;break}}for(var format in formats)if(formats[format].checked){typeEl=formats[format].value;break}loc+='/format/'+typeEl,loc+='/data/'+dataEl,loc+='/md/'+md,'custom'==dataEl&&(loc+='/cust/'+escape(jQuery('#custom_report').val())),this.export_panel.browserbox('close'),location.href=loc},exportPhotos:function(md){this.export_panel.browserbox('close'),location.href='/report/display/report/export/format/photos/md/'+md},showExportForm:function(){this.export_panel=jQuery.browserbox('show','Export Listings','/report/export.form',{width:780,height:570})},getListingsFromShowingTime:function(url,id_prefix,display,listnos){display=display||'inline',url.length>0&&$.get(url,null,function(response){var f=[];eval(response);for(var i=0;i<f.length;i++)f[i]>0&&($('#availsoon_'+listnos[i]).css('display','none'),$(id_prefix+listnos[i]).css('display',display))})},getListingsFromAlignedShowings:function(url,id_prefix,display){display=display||'inline',url.length>0&&$.get(url,null,function(response){response&&response.data&&response.data instanceof Array&&response.data.forEach(o=>{o.showingStatus&&($('#availsoon_'+o.listingId).css('display','none'),$(id_prefix+o.listingId).css('display',display))})})},showShowingTimeForm:function(url){var dualScreenLeft=null!=window.screenLeft?window.screenLeft:window.screenX,dualScreenTop=null!=window.screenTop?window.screenTop:window.screenY,left=((window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)-620)/2+dualScreenLeft,top=((window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)-690)/2+dualScreenTop,newWindow=window.open(url,'showingtime',"scrollbars=yes,resizable=yes,titlebar=no,toolbar=no,location=no,menubar=no,status=no,width=620,height=690,top="+top+',left='+left);return window.focus&&newWindow.focus(),!1},showAlignedRouteForm:function(url){this.export_panel=jQuery.browserbox('show','Aligned Showings Route','/report/aligned.route.form',{width:980,height:640})},emailForm:function(){if(''!==jQuery('#fo_email_to').val())jQuery.ajax({type:'post',url:'/report/email',data:jQuery('#FOEmailForm').serialize(),dataType:'json'}).done(function(response){if(response){var emails='The following email address(es) are invalid: ';emails+=response.join(','),emails+='. Please correct the problem and try again.',MiniNotify.error(emails,{auto_hide:5})}else jQuery('#form_email_panel').dialog('close'),MiniNotify.hide(function(){MiniNotify.show("Email(s) has been sent.",{auto_hide:3})})}).fail(function(response){handleException(response,!0)}),MiniNotify.show('Sending email...',{with_progress_bar:!0});else{MiniNotify.error('You must enter a recipient\'s email address in order to send the email.',{auto_hide:3})}},showEmailForm:function(){var $emailDialog=jQuery('#form_email_panel');$emailDialog.length||($emailDialog=jQuery('<div id="form_email_panel"></div>').dialog({autoOpen:!1,width:640,zIndex:5e4,closeOnEscape:!0,title:"Email Report"})),$emailDialog.html('Loading...'),$emailDialog.dialog('open'),jQuery.ajax({type:'post',url:'/report/email.form/',data:{filename:Reports.filename,sending_controller:'Reports'}}).done(function(response){$emailDialog.html(response),$emailDialog.dialog('option','position','center');var split=function(val){return val.split(/,\s*/)};jQuery("#fo_email_to").bind("keydown",function(event){event.keyCode===jQuery.ui.keyCode.TAB&&jQuery(this).data("autocomplete").menu.active&&event.preventDefault()}).autocomplete({source:function(request,response){var term;jQuery.ajax({url:"/forms/email.client.search/name/"+(term=request.term,split(term).pop()),dataType:'json'}).done(function(json){for(var formattedData=[],i=0;i<json.data.length;i++)formattedData[i]={label:json.data[i].value,value:json.data[i].value};response(formattedData)}).fail(function(response){handleException(response)})},minLength:2,focus:function(){return!1},select:function(event,ui){var terms=split(this.value);terms.pop(),terms.push(ui.item.value),terms.push("");var joinedTerms=terms.join(", ");return this.value=joinedTerms,jQuery('#fo_email_to_data').val(joinedTerms.substring(0,joinedTerms.length-2)),!1},change:function(event,ui){var e_value=jQuery.trim(jQuery('#fo_email_to').val());","==e_value.substr(e_value.length-1)&&(e_value=e_value.substr(0,e_value.length-1)),jQuery('#fo_email_to_data').val(e_value)}})}).fail(function(response){handleException(response)})},publicActionButtons:{Back:'BACK'},replyToAnonymousEmail:function(email){YAHOO.util.Connect.asyncRequest('POST','/report/send.reply.email/',{success:function(o){}},'email='+encodeURIComponent(escape(email)))}
1,startCMASearch:function(listno){jQuery.getJSON('/search/populate.form/populateByType/listno/populateByValue/'+listno,function(data){location.href='/search/form/type/1/name/cma/popType/listno/popValue/'+data.popValue})},showCloudCMAForm:function(){this.export_panel=jQuery.browserbox('show','CloudCMA','/report/cloudcma.form',{width:880,height:610})},initLGMortCalc:function(element){jQuery(element).lightGallery({dynamic:!0,dynamicEl:[{iframe:!0,src:jQuery(element).attr('data-src')}],counter:!1,download:!1,preload:1,speed:0,enableDrag:!1,startClass:'',addClass:'ufcu-mort-calc'}).on('onAfterOpen.lg',function(){jQuery('.lg-backdrop.in').css('opacity',.6),jQuery('.ufcu-mort-calc .lg-video').append('                    <div id="ufcu-loading">                        <div class="spin"></div>                    </div>                '),jQuery('.ufcu-mort-calc .lg-video .lg-object').css('display','none').load(function(){jQuery('#ufcu-loading').remove(),jQuery(this).css('display','block')})})},zoomMediumPhoto:function(event,img,conststatus){var html='<span class="photo-medium-zoom"><img src="'+img+'" />';1==conststatus&&(html+='<span>Under Construction</span>'),2==conststatus&&(html+='<span>To Be Built</span>'),html+='</span>',balloon.showTooltip(event,html,0,{width:282,height:222})},initOwnerName:function(showSelector,hideSelector){$(showSelector).on('mouseover click',e=>$(hideSelector).show()),$(hideSelector).on('mouseout',e=>$(hideSelector).hide())},updateRevPros:function(listno,start,end){var postData={listno:listno,startDate:start,endDate:end};$.ajax({type:"POST",data:postData,url:"/report/update.rev.pros"}).success(function(response){response.passed?($('#listing-alerts-num').text(response.listing_alerts),$('#property-lists-num').text(response.property_lists),$('#favorites-num').text(response.favorites)):MiniNotify.error('Error. Try Again.',{auto_hide:5})}).fail(function(err){handleException(err)})}};YAHOO.util.Event.onContentReady('report-selector',function(){Reports.lastReportIndex=YAHOO.util.Dom.get('report-selector').selectedIndex});

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.