PageSourceSearch

https://community.terracaching.com/bundles/custom/js?v=9o0jypJq2A8XYiHMJegPBVEFLJFk_BiOp5UicOCjYRo1

js terracaching.com collected 2026-09-24 19:09:35 UTC 13,593 bytes, 1 lines download raw bytes

1function simple_alert(n,t){$("#dialog-simple-alert h2").html(n),$("#dialog-simple-alert .main").html(t),$("#dialog-simple-alert").modal({overlayClose:!0,containerId:"sbx-dialog-container",opacity:30})}function cleanRichText(n){n.isDirty()&&tinyMCE.execCommand("mceCleanup")}function closeToolTip(){$("#tool-tip").css("visibility","hidden"),$("#tool-tip").css({left:"-10000px",top:"-10000px"})}function markAllNotificationsAsRead(){var n=ApplicationVariables.SiteURL+"/Special/MarkAllNotificationsAsReviewed";$.ajax({type:"POST",url:n,contentType:"application/json; charset=utf-8",success:function(n){$("#header_notification_bar").html(n)},error:function(n,t,i){showMessageDialog(i,MessageType.Error)}})}if(function(n){n.fn.UItoTop=function(t){function e(){n(window).width()<=h&&n(window).width()>=u.min_width?n(r).stop().animate({marginRight:l,right:"50%"}):n(window).width()<=u.min_width?n(r).stop().css({marginRight:0,right:10}):n(r).stop().animate({marginRight:c,right:"50%"})}var u={text:"TOP",min:300,scrollSpeed:800,containerID:"toTop",containerHoverID:"toTopHover",easingType:"linear",min_width:parseInt(n("body").css("min-width"),10),main_width:parseInt(n("body").css("min-width"),10)/2},i=n.extend(u,t),r="#"+i.containerID,f="#"+i.containerHoverID;n("body").append('<a href="#" id="'+i.containerID+'">'+i.text+"</a>");var o=parseInt(n(r).css("width"))+90,s=parseInt(n(r).css("width"))+20,h=u.min_width+o,c=-(u.main_width+s),l=-(u.main_width-20);e(),n(r).hide().click(function(){return n("html, body").stop().animate({scrollTop:0},i.scrollSpeed,i.easingType),n("#"+i.containerHoverID,this).stop().animate({opacity:0}
1,i.inDelay,i.easingType),!1}).prepend('<span id="'+i.containerHoverID+'"></span>').hover(function(){n(f,this).stop().animate({opacity:1},600,"linear")},function(){n(f,this).stop().animate({opacity:0},700,"linear")}),n(window).scroll(function(){var t=n(window).scrollTop();typeof document.body.style.maxHeight=="undefined"&&n(r).css({position:"absolute",top:n(window).scrollTop()+n(window).height()-50}),t>i.min?n(r).stop(!0,!0).fadeIn(400):n(r).fadeOut(600)}),n(window).resize(function(){e()})}}(jQuery),$.easing.jswing=$.easing.swing,$.extend($.easing,{def:"easeOutQuad",swing:function(n,t,i,r,u){return $.easing[$.easing.def](n,t,i,r,u)},easeInQuad:function(n,t,i,r,u){return r*(t/=u)*t+i},easeOutQuad:function(n,t,i,r,u){return-r*(t/=u)*(t-2)+i},easeInOutQuad:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t+i:-r/2*(--t*(t-2)-1)+i},easeInCubic:function(n,t,i,r,u){return r*(t/=u)*t*t+i},easeOutCubic:function(n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i},easeInOutCubic:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t+i:r/2*((t-=2)*t*t+2)+i},easeInQuart:function(n,t,i,r,u){return r*(t/=u)*t*t*t+i},easeOutQuart:function(n,t,i,r,u){return-r*((t=t/u-1)*t*t*t-1)+i},easeInOutQuart:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t+i:-r/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(n,t,i,r,u){return r*(t/=u)*t*t*t*t+i},easeOutQuint:function(n,t,i,r,u){return r*((t=t/u-1)*t*t*t*t+1)+i},easeInOutQuint:function(n,t,i,r,u){return(t/=u/2)<1?r/2*t*t*t*t*t+i:r/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i},easeOutSine:function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i},easeInOutSine:function(n,t,i,r,u){return-r/2*(Math.cos(Math.PI*t/u)-1)+i},easeInExpo:function(n,t,i,r,u){return t==0?i:r*Math.pow(2,10*(t/u-1))+i},easeOutExpo:function(n,t,i,r,u){return t==u?i+r:r*(-Math.pow(2,-10*t/u)+1)+i},easeInOutExpo:function(n,t,i,r,u){return t==0?i:t==u?i+r:(t/=u/2)<1?r/2*Math.pow(2,10*(t-1))+i:r/2*(-Math.pow(2,-10*--t)+2)+i},easeInCirc:function(n,t,i,r,u){return-r*(Math.sqrt(1-(t/=u)*t)-1)+i},easeOutCirc:function(n,t,i,r,u){return r*Math.sqrt(1-(t=t/u-1)*t)+i},easeInOutCirc:function(n,t,i,r,u){return(t/=u/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+i:r/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),-(e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f))+i)},easeOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u)==1?i+r:(f||(f=u*.3),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin((t*u-o)*2*Math.PI/f)+r+i)},easeInOutElastic:function(n,t,i,r,u){var o=1.70158,f=0,e=r;return t==0?i:(t/=u/2)==2?i+r:(f||(f=u*.3*1.5),e<Math.abs(r)?(e=r,o=f/4):o=f/(2*Math.PI)*Math.asin(r/e),t<1)?-.5*e*Math.pow(2,10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)+i:e*Math.pow(2,-10*(t-=1))*Math.sin((t*u-o)*2*Math.PI/f)*.5+r+i},easeInBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*(t/=u)*t*((f+1)*t-f)+i},easeOutBack:function(n,t,i,r,u,f){return f==undefined&&(f=1.70158),r*((t=t/u-1)*t*((f+1)*t+f)+1)+i},easeInOutBack:function(n,t,i,r,u,f){return(f==undefined&&(f=1.70158),(t/=u/2)<1)?r/2*t*t*(((f*=1.525)+1)*t-f)+i:r/2*((t-=2)*t*(((f*=1.525)+1)*t+f)+2)+i},easeInBounce:function(n,t,i,r,u){return r-$.easing.easeOutBounce(n,u-t,0,r,u)+i},easeOutBounce:function(n,t,i,r,u){return(t/=u)<1/2.75?r*7.5625*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(n,t,i,r,u){return t<u/2?$.easing.easeInBounce(n,t*2,0,r,u)*.5+i:$.easing.easeOutBounce(n,t*2-u,0,r,u)*.5+r*.5+i}}),function(n){n.fn.superfish=function(t){var i=n.fn.superfish,r=i.c,e=n(['<span class="',r.arrowClass,'"></span>'].join("")),u=function(){var t=n(this),i=f(t);clearTimeout(i.sfTimer),t.showSuperfishUl().siblings().hideSuperfishUl()},o=function(){var r=n(this),e=f(r),t=i.op;clearTimeout(e.sfTimer),e.sfTimer=setTimeout(function(){t.retainPath=n.inArray(r[0],t.$path)>-1,r.hideSuperfishUl(),t.$path.length&&r.parents(["li.",t.hoverClass].join("")).length<1&&u.call(t.$path)},t.delay)},f=function(n){var t=n.parents(["ul.",r.menuClass,":first"].join(""))[0];return i.op=i.o[t.serial],t},s=function(n){n.addClass(r.anchorClass).append(e.clone())};return this.each(function(){var h=this.serial=i.o.length,f=n.extend({},i.defaults,t),e;f.$path=n("li."+f.pathClass,this).slice(0,f.pathLevels).each(function(){n(this).addClass([f.hoverClass,r.bcClass].join(" ")).filter("li:has(ul)").removeClass(f.pathClass)}),i.o[h]=i.op=f,n("li:has(ul)",this)[n.fn.hoverIntent&&!f.disableHI?"hoverIntent":"hover"](u,o).each(function(){f.autoArrows&&s(n(">a:first-child",this))}).not("."+r.bcClass).hideSuperfishUl(),e=n("a",this),e.each(function(n){var t=e.eq(n).parents("li")}),f.onInit.call(this)}).each(function(){var t=[r.menuClass];
1!i.op.dropShadows||n.browser.msie&&n.browser.version<7||t.push(r.shadowClass),n(this).addClass(t.join(" "))})};var t=n.fn.superfish;t.o=[],t.op={},t.IE7fix=function(){var i=t.op;n.browser.msie&&n.browser.version>6&&i.dropShadows&&i.animation.opacity!=undefined&&this.toggleClass(t.c.shadowClass+"-off")},t.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"menu-arrow",shadowClass:"sf-shadow"},t.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:2,delay:1e3,animation:{height:"show"},speed:"normal",autoArrows:!1,dropShadows:!1,disableHI:!1,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}},n.fn.extend({hideSuperfishUl:function(){var i=t.op,u=i.retainPath===!0?i.$path:"",r;return i.retainPath=!1,r=n(["li.",i.hoverClass].join(""),this).add(this).not(u).removeClass(i.hoverClass).find(">ul").hide(),i.onHide.call(r),this},showSuperfishUl:function(){var n=t.op,r=t.c.shadowClass+"-off",i=this.not(".accorChild").addClass(n.hoverClass).find(">ul:hidden");return t.IE7fix.call(i),n.onBeforeShow.call(i),i.animate(n.animation,n.speed,function(){t.IE7fix.call(i),n.onShow.call(i)}),this}})}(jQuery),$(function(){$(".sf-menu").supersubs({autoArrows:!0}).superfish()}),function(n){n.fn.supersubs=function(t){var i=n.extend({},n.fn.supersubs.defaults,t);return this.each(function(){var r=n(this),t=n.meta?n.extend({},i,r.data()):i,u;$ULs=r.find("ul").show(),u=n('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(r)[0].clientWidth,n("#menu-fontsize").remove(),$ULs.each(function(){var f=n(this),e=f.children(),o=e.children("a"),s=e.css("white-space","nowrap").css("float"),r;f.add(e).add(o).css({float:"none",width:"auto"}),r=f[0].clientWidth/u,r+=t.extraWidth,r>t.maxWidth?r=t.maxWidth:r<t.minWidth&&(r=t.minWidth),r+="em",f.css("width",r),e.css({float:s,width:"100%","white-space":"normal"}).each(function(){var t=n(this).children("ul"),i=t.css("left")!==undefined?"left":"right";t.css(i,"100%")})}).hide()})},n.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}}(jQuery),$(function(){var n=document.querySelector&&document.querySelector('meta[name="viewport"]'),t=navigator.userAgent,i=function(){n.content="width=device-width, minimum-scale=0.25, maximum-scale=1.6"},f=function(){n&&/iPhone|iPad/.test(t)&&!/Opera Mini/.test(t)&&(n.content="width=device-width, minimum-scale=1.0, maximum-scale=1.0",document.addEventListener("gesturestart",i,!1))},r,u;
1f(),r=navigator.userAgent.toLowerCase(),u=r.indexOf("android")>-1,u&&(n.content="width=device-width, minimum-scale=1.0, maximum-scale=1.0",document.addEventListener("gesturestart",i,!1)),$(".button").append("<strong></strong>"),$(".lightbox").append("<span></span><em></em><strong></strong>"),$(".main-menu").prepend('<div id="menu-icon"></div>');$("#menu-icon").on("click",function(){$(".sf-menu").slideToggle("2000","easeInOutBack"),$(this).toggleClass("active")})}),typeof com==typeof undefined)var com={};typeof com.appirio==typeof undefined&&(com.appirio={}),com.appirio._addToolTips=function(){$(".tool-tip-trigger").css("cursor","pointer"),$(".tool-tip-trigger").hover(function(){var r=$(this),u=r.html(),n,t,i,f,e;r.hasClass("alt-tooltip")&&(u=$(".alt-tooltip-html").html()),$("#tool-tip .main").html(u),n=[],n[0]=parseInt($("#tool-tip .main").css("paddingTop")),n[1]=parseInt($("#tool-tip .main").css("paddingRight")),n[2]=parseInt($("#tool-tip .main").css("paddingBottom")),n[3]=parseInt($("#tool-tip .main").css("paddingLeft")),t=$("#tool-tip .main").height()+(n[0]+n[2]),i=$("#tool-tip .main").width()+(n[1]+n[3]),$("#tool-tip .r").css({height:t+"px",left:i+"px"}),$("#tool-tip .b").css({width:i+"px",top:t+"px"}),$("#tool-tip .c").css({left:i+"px",top:t+"px"}),f=$("#tool-tip .main").height(),e=$(this).offset(),$(this).mousemove(function(n){$("#tool-tip").css({left:n.pageX-45+"px",top:n.pageY-(32+f)+"px"})}),$("#tool-tip").css("visibility","visible")},function(){$("#tool-tip").css("visibility","hidden"),$("#tool-tip").css({left:"-10000px",top:"-10000px"})})},com.appirio._addVoting=function(){$(".idea ul.closed li.vote-yes, .idea ul.closed li.vote-no").live("click",function(){return simple_alert("Sorry, voting is closed","<p>Voting for this idea is now closed. Thank you for voting and please continue to vote on open items!</p>"),!1})},com.appirio._showHideComments=function(){$(".messages .comments").css({display:"none"}),$(".toggle-comments span").html("View Comments"),$(".idea-single .messages .comments").css({display:"block"}),$(".idea-single .toggle-comments span").html("Hide Comments"),$(".toggle-comments").click(function(){var n=$(this).parents(".imessage")[0];return $(n).children(".comments").is(":hidden")?($(n).find(".toggle-comments span").html("Hide Comments"),$(n).children(".comments").slideDown("slow")):($(n).find(".toggle-comments span").get(0).focus(),$(n).children(".comments").toggle(),$(n).find(".toggle-comments span").html("View Comments")),!1}),$(".messages .comments-inbox").css({display:"none"}
1),$(".toggle-comments-inbox span").html("Recent Comments")},com.appirio.init=function(){$("span.sbx_button").hover(function(){$(this).css("backgroundPosition","0 100%"),$(this).children("input").css("backgroundPosition","100% 100%")},function(){$(this).css("backgroundPosition","0 0"),$(this).children("input").css("backgroundPosition","100% 0")}),$("a.sbx_button").hover(function(){$(this).css("backgroundPosition","0 100%"),$(this).children("span").css("backgroundPosition","100% 100%")},function(){$(this).css("backgroundPosition","0 0"),$(this).children("span").css("backgroundPosition","100% 0")}),com.appirio._showHideComments(),com.appirio._addToolTips(),com.appirio._addVoting(),$("a.login-required").click(function(){return simple_alert("Please sign in",'<p>You need a starbucks.com account to share, vote and discuss.</p><p>To sign in or create a new account, <a href="#">click here</a>.</p>'),!1}),typeof com.appirio.getSimilarIdeas==typeof undefined&&(com.appirio.getSimilarIdeas=function(){}),$(".newIdeaTitleSelector").blur(function(){com.appirio.getSimilarIdeas(),$("#dialog-other-ideas").modal({containerId:"sbx-dialog-large-container",opacity:30})})},com.appirio.addCommas=function(n){n+="",x=n.split("."),x1=x[0],x2=x.length>1?"."+x[1]:"";for(var t=/(\d+)(\d{3})/;t.test(x1);)x1=x1.replace(t,"$1,$2");return x1+x2},$(document).ready(com.appirio.init),$(function(){$(".dropdown a.dropdown-toggle").click(function(n){var t=$(".dropdown").not($(this).parent());t.removeClass("open"),$(this).parent().toggleClass("open"),n.stopPropagation()}),$("body").click(function(){$(".dropdown").removeClass("open")}),$(".dropdown .dropdown-menu").click(function(n){n.stopPropagation()}),$("#menu-toggle").click(function(){$("#uMenu").toggleClass("open")})}),$(document).ready(function(){var n=$("#header_notification_bar div.dropdown-menu.notification ul.notifications");n.length>0&&n.slimScroll({position:"right",color:"#808080",railColor:"#dff1fb",railVisible:!0,height:"",alwaysVisible:!0})})

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.