PageSourceSearch

https://www.studapart.com/back/build/default.min.js

js studapart.com collected 2026-09-25 21:05:19 UTC 3,532 bytes, 1 lines download raw bytes

1function printAlert(t,e,r){var o=$(".alert-box").eq(0),n=$('<li class="callout toastr alert-'+t+'" data-closable data-close>').text(e);r=r||0,n.append('<button class="close-button" aria-label="Dismiss alert" type="button" data-close><span aria-hidden="true">&times;</span></button>'),o.append(n),r&&setTimeout((function(){n.fadeOut(400)}),r),$(".alert-box .close-button").on("click",(function(){$(".alert-box").empty()}))}function dateFormat(t,e){var r={d:t.getDate()<10?"0"+t.getDate():t.getDate(),m:t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth(),Y:t.getFullYear(),H:t.getHours()<10?"0"+t.getHours():t.getHours(),i:t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),s:t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds()};for(var o in r)e=e.replace(o,r[o]);return e}function preventForJumping(){$("label[for]").on("click",(function(){var t=$("#"+$(this).attr("for"));if("checkbox"==t.attr("type"))return t.prop("checked",!t.prop("checked")),!1}))}function addDoubleScrollbar(t,e){var r=$('<div class="scrollWrapper"><div></div></div>'),o=r.find("div");r.css("width",t.css("width")).css("overflow-x","scroll").css("overflow-y","hidden"),o.css("width",e.css("width")).css("height","1px"),t.before(r),r.scroll((function(){t.scrollLeft(r.scrollLeft())})),t.scroll((function(){r.scrollLeft(t.scrollLeft())}))}function getElementRotateAngle(t){var e=t.css("transform").replace("matrix(","").replace(")","").split(", ").map((function(t){return parseFloat(t)}));return e.length>1?Math.round(Math.atan2(e[1],e[0])*(180/Math.PI)):0}function sortObjectDesc(t){var e=[],r={};for(var o in t)e.push([o,t[o]]);e.sort((function(t,e){return e[1]-t[1]}));for(var n=0;n<e.length;++n)r[e[n][0]]=e[n][1];return r}function deleteValueFromObject(t,e){for(var r in e)e[r]||delete e[r]}function sortObjectByKeys(t,e){for(var r={},o=0;o<e.length;o++)r[e[o]]=t[e[o]];return r}function getParameterByName(t){const e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(location.search);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function setUtm(t,e){""!==e&&void 0===Cookies.get(t)&&Cookies.set(t,e,{expires:30,path:"/"})}$((function(){const t=document.querySelector("html"),e=t=>{let e=t.target;e.getAttribute("src")&&e.getAttribute("src").match(/media\/cache\//)&&!e.getAttribute("src").match(/media\/cache\/resolve/)&&e.setAttribute("src",e.getAttribute("src").replace(/media\/cache\//,"media/cache/resolve/"))};new MutationObserver(((t,r)=>{for(const r of t)("childList"===r.type&&"IMG"===r.target.nodeName||"attributes"===r.type&&"src"===r.attributeName)&&(r.target.onerror=e)})).observe(t,{attributes:!0,childList:!0,subtree:!0})})),$((function(){"use strict";"undefined"!=typeof moment&&moment.locale($("html").attr("lang")),$(".open-intercom").on("click",(function(){Intercom("show")})),$(".open-faq").on("click",(function(){document.location.href="http://help.studapart.com"})),setUtm("utm_source",getParameterByName("utm_source")),setUtm("utm_support",getParameterByName("utm_support")),setUtm("utm_campaign",getParameterByName("utm_campaign"))})),$((function(){"use strict";function t(t,e){t.closest(".form_row, .input-group").toggleClass("error",!!e).find("ul").hide()}
1$("input, select, textarea").on("change",(function(){var e=$(this).attr("min");"radio"==$(this).attr("type")&&void 0===$(this).filter(":checked").val()||(void 0!==e&&!1!==e&&$(this).val().length>=$(this).attr("min")||void 0===e)&&t($(this))})),$(document).on("click",'button[type="submit"], input[type="submit"]',(function(){t($(":invalid"),!0),t($(":valid"))}))}));

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.