PageSourceSearch

https://cdn.3dbrute.com/public-assets/js/bd607a76389db3bc99d466.js

js 3dbrute.com collected 2026-10-06 19:44:47 UTC 4,363 bytes, 33 lines download raw bytes

1(function($){window.loadAuthorSeoData=function(authorId){window.__startLoadTime=performance.now();if(!authorId||isNaN(authorId)){console.warn("⚠️ Author ID không hợp lệ hoặc thiếu:",authorId);return}
2if(window.currentSeoRequest)window.currentSeoRequest.abort();window.currentSeoRequest=$.ajax({url:window.global_script_object.ajax_url,method:"POST",data:{action:"load_author_seo_data",author_id:authorId,},success:function(response){if(response.success){document.title=response.data.title;$(".category-title").text(response.data.title);$(".category-description").text(response.data.description);$(".category-focus-keyword").text(response.data.focus_keyword);if(typeof window.sendGTMPageview==="function"){window.sendGTMPageview();window.trackPageviewLocal()}}},error:function(xhr){console.error("❌ SEO AJAX lỗi:",xhr.responseText)},})};window.loadAuthorLayout=function(userId,$container,shouldPushState=!0){window.isViewingSinglePost=!1;if(!userId||!$container.length)return;window.__hasRenderedLayoutAuthor=window.__hasRenderedLayoutAuthor||!1;const currentPostId=$(".thumbnail-item-wrapper-author").data("post-id")||0;const authorUrl=`/author/${$(".author-link-ajax[data-user-id='" + userId + "']").data("slug") || ""}`;SPA_LAYOUT.showAuthor();if(!window.__hasRenderedLayoutAuthor){$container.addClass("ajax-loaded").html("").show();let sidebarLines="";for(let i=0;i<40;i++){sidebarLines+=`<div class="placeholder-product-management-line full"></div>`}
3sidebarLines+=`
4      <div class="placeholder-product-management-line medium"></div>
5      <div class="placeholder-product-management-line short"></div>
6    `;let placeholderHTML=`
7      <div class="placeholder-product-filters-follow"></div>
8      <div class="placeholder-product-filters-body">
9        <div class="placeholder-product-filters-sidebar">
10          ${sidebarLines}
11        </div>
12        <div class="placeholder-product-filters-grid">
13    `;for(let i=0;i<64;i++){placeholderHTML+=`
14        <div class="placeholder-product-filters-thumbnail">
15          <div class="placeholder-product-filters-image"></div>
16          <div class="placeholder-product-filters-line short"></div>
17          <div class="placeholder-product-filters-line long"></div>
18        </div>
19      `}
20placeholderHTML+=`</div></div>`;$container.html(placeholderHTML)}else{$container.show()}
21window.startHeaderProgressBar();$.ajax({url:ajax_data.ajax_url,method:"POST",data:{action:"load_author_layout",author_id:userId,is_reload:window.__hasRenderedLayoutAuthor?"1":"0",},success:function(res){if(res.success){if(!window.__hasRenderedLayoutAuthor&&res.data.html?.trim()){$container.html(res.data.html);window.__hasRenderedLayoutAuthor=!0}
22if(res.data.author_id){ajax_data.author_id=res.data.author_id;simple_follow_plugin_data.user_id=res.data.author_id}
23if(typeof initAuthorFilters==="function"){initAuthorFilters()}
24if(typeof initProductFiltersAdditional==="function"){initProductFiltersAdditional()}
25if(typeof initFollow==="function"){initFollow()}
26if(typeof initAuthorMetaInfo==="function"){$("#author-meta-ajax-wrapper").data("author-id",userId);initAuthorMetaInfo()}
27if(typeof initAuthorSizeButton==="function"){initAuthorSizeButton()}
28if(typeof bindSearchEnter==="function"){bindSearchEnter()}
29window.finishHeaderProgressBar();if(res.data.author_id){ajax_data.author_id=res.data.author_id;simple_follow_plugin_data.user_id=res.data.author_id;window.loadAuthorSeoData(res.data.author_id)}
30if(typeof window.bindAjaxLoadPost==="function"){window.bindAjaxLoadPost()}
31if(res.data.scripts?.js){res.data.scripts.js.forEach(function(src){const script=document.createElement("script");script.src=src;document.body.appendChild(script)})}
32if(res.data.scripts?.css){res.data.scripts.css.forEach(function(href){const link=document.createElement("link");link.rel="stylesheet";link.href=href;document.head.appendChild(link)})}
33$("html, body").animate({scrollTop:5},300);if(res.data.author_slug&&shouldPushState){const newUrl=`/author/${res.data.author_slug}/`;const newState={isAuthorPage:!0,authorId:userId,authorUrl:newUrl,postUrl:newUrl,};history.pushState(newState,"",newUrl)}}else{$container.html("<p>❌ Không thể tải nội dung tác giả.</p>")}},error:function(xhr,status,error){console.error("❌ AJAX lỗi:",error);$container.html("<p>❌ AJAX lỗi khi tải nội dung tác giả.</p>")},})}})(jQuery)

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.