PageSourceSearch

https://www.brt.it/wp-content/plugins/dpd-cms-modules/assets/js/anchor-link.min.js?ver=6.8.3

js brt.it collected 2026-10-02 03:56:05 UTC 20,616 bytes, 1 lines download raw bytes

1!function($){function getAnchorLinkID(){var anchor_id=null,get_full_url=window.location.href;if(-1==get_full_url.lastIndexOf("#"))return null;var anchor_id=get_full_url.substring(get_full_url.lastIndexOf("#")+1);try{var detectVaild=$("#"+anchor_id);return anchor_id}catch(e){return null}}function jumpTo(anchor_id,queues,type_anchor){var length,length,length,length,length,length;if((length=$("#"+anchor_id).closest(".faq-content-wrap").length)>0){var parent=findParentFAQ(anchor_id,queues);return queues.push({id:anchor_id,fun:"openFaqAccordion",parent:parent.parent,parentType:parent.parentType}),!1}if((length=$("#"+anchor_id).closest(".module-026b").length)>0){var parent=findParent026b(anchor_id,queues);return queues.push({id:anchor_id,fun:"open026b",parent:parent.parent,parentType:parent.parentType}),!1}if((length=$("#"+anchor_id).closest(".module-025c").length)>0){var parent=findParent025c(anchor_id,queues);return queues.push({id:anchor_id,fun:"open025c",parent:parent.parent,parentType:parent.parentType}),!1}if((length=$("#"+anchor_id).closest(".module-007").length)>0){var parent=findParent007(anchor_id,queues);return queues.push({id:anchor_id,fun:"open007",parent:parent.parent,parentType:parent.parentType}),!1}if((length=$("#"+anchor_id).closest(".widget_dpd-image-textbox-025a-widget").length||$("#"+anchor_id).closest(".widget_dpd-text-teaser-widget").length||$("#"+anchor_id).closest(".widget_dpd-text-teaser-psfinder-widget").length||$("#"+anchor_id).closest(".widget_download-module-widget").length||$("#"+anchor_id).closest(".widget_dpd-news-widget").length||$("#"+anchor_id).closest(".widget_contact-module-widget").length||$("#"+anchor_id).closest(".widget_contact-module-side-widget").length||$("#"+anchor_id).closest(".widget_search-parcel-tracking-widget").length||$("#"+anchor_id).closest(".widget_dpd-support-search-017b-widget").length||$("#"+anchor_id).closest(".widget_dpd-stage-home-widget").length||$("#"+anchor_id).closest(".widget_dpd-header-modules-theme-pages-widget").length||$("#"+anchor_id).closest(".widget_dpd-header-module-content-page-widget").length||$("#"+anchor_id).closest(".widget_header-module-job-ad-widget").length||$("#"+anchor_id).closest(".widget_dpd-job-ad-boxes-022-widget").length||$("#"+anchor_id).closest(".widget_job-ad-dpd-text-widget").length||$("#"+anchor_id).closest(".widget_dpd-intro-text-widget").length||$("#"+anchor_id).closest(".widget_dpd-picture-gallery-widget").length||$("#"+anchor_id).closest(".widget_dpd-picture-046-widget").length||$("#"+anchor_id).closest(".widget_dpd-newsletter-widget").length||$("#"+anchor_id).closest(".widget_dpd-picture-gallery-widget").length||$("#"+anchor_id).closest(".widget_dpd-picture-046-widget").length||$("#"+anchor_id).closest(".widget_dpd-important-notice-widget").length||$("#"+anchor_id).closest(".widget_dpd-full-image-text-045-widget").length||$("#"+anchor_id).closest(".widget_dpd-customer-feedback-widget").length||$("#"+anchor_id).closest(".widget_dpd-citation-widget").length||$("#"+anchor_id).closest(".widget_dpd-button-widget").length||$("#"+anchor_id).closest(".widget_dpd-best-practice-widget").length||$("#"+anchor_id).closest(".widget_dpd-benefits-3-widget").length||$("#"+anchor_id).closest(".widget_dpd-benefits-2-widget").length||$("#"+anchor_id).closest(".widget_dpd-benefits-1-widget").length||$("#"+anchor_id).closest(".widget_dpd-awards-widget").length||$("#"+anchor_id).closest(".widget_form_maker_widget").length||$("#"+anchor_id).closest(".widget_dpd-faq-widget").length||$("#"+anchor_id).closest(".widget_dpd-image-textbox-026b-widget").length||$("#"+anchor_id).closest(".widget_dpd-table-widget").length||$("#"+anchor_id).closest(".widget_dpd-image-textbox-025c-widget").length||$("#"+anchor_id).closest(".widget_dpd-polly-contact-form-064-widget").length)>0){var parent=findParentSingleModule(anchor_id,queues);return queues.push({id:anchor_id,fun:"openSingleModule",parent:parent.parent,parentType:parent.parentType}),!1}if((length=$("#"+anchor_id).closest(".widget_shipping-planer-widget").length||$("#"+anchor_id).closest(".widget_dpd-at-commercial-invoice-widget").length||$("#"+anchor_id).closest(".widget_dpd-at-country-overview-widget").length||$("#"+anchor_id).closest(".widget_dpd-at-delivery-time-widget").length||$("#"+anchor_id).closest(".widget_dpd-at-depot-finder-widget").length||$("#"+anchor_id).closest(".widget_dpd-at-girth-calculator-widget").length||$("#"+anchor_id).closest(".widget_dpd-at-guarantee-service-widget").length)>0){var parent=findParentApplicationTool(anchor_id,queues);return queues.push({id:anchor_id,fun:"scrollToApplicationTool",parent:parent.parent,parentType:parent.parentType}),!1}var acc004Length=$("#"+anchor_id).closest(".content-wrap-004").length,acc005Length=$("#"+anchor_id).closest(".content-wrap-005").length,tabLength=$("#"+anchor_id).closest(".content-wrap-030-031").length,geopost_benefits;if(acc004Length>0){var parent=findParentAccordionContent(anchor_id,queues);return queues.push({id:anchor_id,fun:"openAccordion004",parent:parent.parent,parentType:parent.parentType}),!1}if(acc005Length>0){var parent=findParentAccordionSingle(anchor_id,queues);return queues.push({id:anchor_id,fun:"openAccordion005",parent:parent.parent,parentType:parent.parentType}),!1}if(tabLength>0){var parent=findParentTab(anchor_id,queues);return queues.push({id:anchor_id,fun:"openTab030031",parent:parent.parent,parentType:parent.parentType}),!0}if($("#"+anchor_id).closest(".module-geopost-benefits-027a").length)return queues.push({id:anchor_id,fun:"openTab027a",parent:$("#"+anchor_id).closest(".module-geopost-benefits-027a")}),!0}function openAccordion005(anchor_id,parent,parentType,loop,current,type_anchor){var parentShow;$("#"+anchor_id).find(".collapsible-toggle").first().hasClass("show")?scrollTopWithoutParent("ACCORDION005",anchor_id,loop,current,type_anchor):($("#"+anchor_id).find(".collapsible-content").first().stop().slideToggle(),$("#"+anchor_id).find(".collapsible-toggle").first().toggleClass("show"),parent?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("ACCORDION005",anchor_id,loop,current,type_anchor):scrollTopWithParent("ACCORDION005",anchor_id,loop,current):scrollTopWithoutParent("ACCORDION005",anchor_id,loop,current,type_anchor))}function openTab030031(anchor_id,parent,parentType,loop,current,type_anchor){var parentShow;parent?(isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("TAB",anchor_id,loop,current,type_anchor):scrollTopWithParent("TAB",anchor_id,loop,current),$("#"+anchor_id).find("a").trigger("click"),setTimeout((function(){$(".size-item, .item-sl
1ider").length>0&&$(".size-item, .item-slider").slick("setPosition")}),300)):(scrollTopWithoutParent("TAB",anchor_id,loop,current,type_anchor),setTimeout((function(){$("#"+anchor_id).find("a").click(),setTimeout((function(){$(".size-item, .item-slider").length>0&&$(".size-item, .item-slider").slick("setPosition")}),300)}),10))}function openAccordion004(anchor_id,parent,parentType,loop,current,type_anchor){var parentShow;$("#"+anchor_id).hasClass("show")?scrollTopWithoutParent("ACCORDION004",anchor_id,loop,current,type_anchor):($("#"+anchor_id).closest(".content-wrap-004").find(".collapsible-content").removeClass("show"),$("#"+anchor_id).closest(".content-wrap-004").find(".collapsible-toggle").removeClass("show"),$("#"+anchor_id).closest(".content-wrap-004").find("> .answer").slideUp(),$("#"+anchor_id).toggleClass("show"),$("#"+anchor_id).find(".collapsible-toggle").toggleClass("show"),$("#"+anchor_id).find("> .answer").slideDown(),parent?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("ACCORDION004",anchor_id,loop,current,type_anchor):scrollTopWithParent("ACCORDION004",anchor_id,loop,current):scrollTopWithoutParent("ACCORDION004",anchor_id,loop,current,type_anchor))}function openFaqAccordion(anchor_id,parent,parentType,loop,current,type_anchor){$(".so-widget-dpd-faq-widget").each((function(){var anchor=$(this).find("#"+anchor_id);if(anchor.hasClass("show"))scrollTopWithoutParent("FAQ",anchor_id,loop,current,type_anchor);else{var show=!1,parentShow;if(anchor.parent().find("div.q-a-item").each((function(){if($(this).hasClass("show"))return show=!0,!1})),anchor.toggleClass("show"),anchor.find(".answer").first().stop().slideToggle(),parent)isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("FAQ",anchor_id,loop,current,type_anchor):show?scrollTopWithoutParent("FAQ",anchor_id,loop,current,type_anchor):scrollTopWithParent("FAQ",anchor_id,loop,current);else scrollTopWithoutParent("FAQ",anchor_id,loop,current,type_anchor)}}))}function open025a(anchor_id,parent,parentType,loop,current){var parentShow;parent?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("025A",anchor_id,loop,current):scrollTopWithParent("025A",anchor_id,loop,current):scrollTopWithoutParent("025A",anchor_id,loop,current)}function openSingleModule(anchor_id,parent,parentType,loop,current,type_anchor){var parentShow;parent?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("SINGLEMODULE",anchor_id,loop,current,type_anchor):scrollTopWithParent("SINGLEMODULE",anchor_id,loop,current):scrollTopWithoutParent("SINGLEMODULE",anchor_id,loop,current,type_anchor)}function open026b(anchor_id,parent,parentType,loop,current,type_anchor){setTimeout((function(){$("#"+anchor_id).find("a").trigger("click")}),100),$("#"+anchor_id).closest(".module-026b").find(".nav-item img").each((function(){var img_inactive=$(this).data("inactive");$(this).attr("src",img_inactive)}));var img_active=$("#"+anchor_id+" img").data("active");""!=img_active&&$("#"+anchor_id+" img").attr("src",img_active),$("#"+anchor_id).closest(".module-026b").find(".media-content").hide();var sibling=$("#"+anchor_id).find("a").attr("aria-controls"),parentShow;($("#"+sibling+"-media").css({display:"block",opacity:"1"}),$("#"+sibling+"-media-div").css({display:"block",opacity:"1"}),parent)?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("026B",anchor_id,loop,current,type_anchor):scrollTopWithParent("026B",anchor_id,loop,current):scrollTopWithoutParent("026B",anchor_id,loop,current,type_anchor)}function open025c(anchor_id,parent,parentType,loop,current,type_anchor){setTimeout((function(){$("#"+anchor_id).find("a").trigger("click")}),100),$("#"+anchor_id).closest(".module-025c").find(".nav-item img").each((function(){var img_inactive=$(this).data("inactive");$(this).attr("src",img_inactive)}));var img_active=$("#"+anchor_id+" img").data("active");""!=img_active&&$("#"+anchor_id+" img").attr("src",img_active),$("#"+anchor_id).closest(".module-025c").find(".media-content").hide();var sibling=$("#"+anchor_id).find("a").attr("aria-controls"),parentShow;($("#"+sibling+"-media").css({display:"block",opacity:"1"}),$("#"+sibling+"-media-div").css({display:"block",opacity:"1"}),parent)?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("025C",anchor_id,loop,current,type_anchor):scrollTopWithParent("025C",anchor_id,loop,current):scrollTopWithoutParent("025C",anchor_id,loop,current,type_anchor)}function open007(anchor_id,parent,parentType,loop,current,type_anchor){var parentShow;($("#"+anchor_id).find("a").trigger("click"),$(".sib-"+anchor_id).find(".collapsible-toggle").next(".collapsible-content").stop().slideToggle(),$(".sib-"+anchor_id).find(".collapsible-toggle").toggleClass("show"),parent)?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("007",anchor_id,loop,current,type_anchor):scrollTopWithParent("007",anchor_id,loop,current):scrollTopWithoutParent("007",anchor_id,loop,current,type_anchor)}function findParentTab(anchor_id,queues){var parent=$("#"+anchor_id).closest(".content-wrap-030-031").parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".content-wrap-030-031").parent().parent().attr("data-parent-wrap"),queues)}}function findParentAccordionContent(anchor_id,queues){var parent=$("#"+anchor_id).closest(".content-wrap-004").parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".content-wrap-004").parent().parent().attr("data-parent-wrap"),queues)}}function findParentAccordionSingle(anchor_id,queues){var parent=$("#"+anchor_id).parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).parent().parent().attr("data-parent-wrap"),queues)}}function findParentFAQ(anchor_id,queues){var parent=$("#"+anchor_id).closest(".faq-content-wrap").parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".faq-content-wrap").parent().parent().attr("data-parent-wrap"),queues)}}function findParent025a(anchor_id,queues){var parent=$("#"+anchor_id).parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).parent().parent().attr("data-parent-wrap"),queues)}}function findParentSingleModule(anchor_id,queues){var parent=$("#"+anchor_id).closest(".so-panel").attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".so-panel").attr("data-parent-wrap"),queues)}}function findParent026b(anchor_id,queues){var parent=$("#"+anchor_id).closest(".module-026b").parent().parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".module-026b").parent().parent().parent().attr("data-parent-wrap"),queues)}}function findParent025c(anchor_id,queues){var parent=$("#"+anchor_id).closest(".module-025c").parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".module-025c").parent().parent().attr("data-parent-wrap"),queues)}}function findParent007(anchor_id,queues){var parent=$("#"+anchor_id).closest(".module-007").parent().parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).closest(".module-007").parent().parent().attr("data-parent-wrap"),queues)}}function findParentApplicationTool(anchor_id,queues){var parent=$("#"+anchor_id).parent().attr("data-parent"),parent_wrap,parentType;return{parent:parent,parentType:findParent(parent,$("#"+anchor_id).parent().attr("data-parent-wrap"),queues)}}function scrollToApplicationTool(anchor_id,parent,parentType,loop,current,type_anchor){var parentShow;parent?isParentShow(anchor_id,parent,parentType)?scrollTopWithoutParent("APPLICATIONTOOL",anchor_id,loop,current,type_anchor):scrollTopWithParent("APPLICATIONTOOL",anchor_id,loop,current):scrollTopWithoutParent("APPLICATIONTOOL",anchor_id,loop,current,type_anchor)}function findParent(parent,parent_wrap,queues){switch(parent_wrap){case"content-wrap-030-031":var par=findParentTab(parent,queues),parentType="TAB";queues.push({id:parent,fun:"openTab030031",parent:par.parent,parent:par.parentType});break;case"content-wrap-005":var par=findParentAccordionSingle(parent,queues),parentType="ACCORDION005";queues.push({id:parent,fun:"openAccordion005",parent:par.parent,parent:par.parentType});break;case"content-wrap-004":var par=findParentAccordionContent(parent,queues),parentType="ACCORDION004";queues.push({id:parent,fun:"openAccordion004",parent:par.parent,parent:par.parentType})}return parentType}function isParentShow(anchor_id,parent,parentType){var parentShow=!1;switch(parentType){case"TAB":$("#"+parent).parent().find("li a").each((function(){if($(this).hasClass("show"))return parentShow=!0,!1}));break;case"ACCORDION005":case"ACCORDION004":parentShow=$("#"+parent).find("h3.collapsible-toggle").hasClass("show")}return parentShow}function scrollTopWithParent(module,anchor_id,loop,current){if(loop==current&&1==loop||1==current){switch(module){case"026B":anchor_obj=$("#"+anchor_id).closest(".module-026b");break;case"025C":anchor_obj=$("#"+anchor_id).closest(".module-025c");break;case"007":anchor_obj=$("#"+anchor_id).closest(".module-007");break;default:anchor_obj=$("#"+anchor_id)}var off=$("header").height()+15,interval_obj=setInterval((function(){var offsetTop=anchor_obj.offset().top;offsetTop>0&&$("html, body").animate({scrollTop:offsetTop-off},1e3),clearInterval(interval_obj)}),1e3)}}function scrollTopWithoutParent(module,anchor_id,loop,current,type_anchor){if(loop==current&&1==loop||1==current){var off=$("header").height()+15;switch(module){case"026B":anchor_obj=$("#"+anchor_id).closest(".module-026b");break;case"025C":anchor_obj=$("#"+anchor_id).closest(".module-025c");break;case"007":anchor_obj=$("#"+anchor_id).closest(".module-007");break;default:anchor_obj=$("#"+anchor_id)}var offsetTop=anchor_obj.offset().top;if("redirect"!=type_anchor)$("html, body").animate({scrollTop:offsetTop-off},1e3);else var interval_obj=setInterval((function(){var offsetTop=anchor_obj.offset().top;offsetTop>0&&$("html, body").animate({scrollTop:offsetTop-off},1e3),clearInterval(interval_obj)}),1e3)}}jQuery(document).ready((function(){function search_faq_not_display(anchor_id,queues,type_anchor){0==$("#"+anchor_id).length?(ajaxurl=ajax_object.ajaxurl,$.ajax({url:ajaxurl,method:"POST",data:{action:"search_faq",anchor_id:anchor_id},success:function(data){var item=!1,faq_count=0;
1if(void 0!==data&&void 0!==data.data&&(item=data.data.item,faq_count=data.data.faq_count),item&&void 0!==item.tag_ids){var _catIDs=item.tag_ids.map((function(i){return parseInt(i)}));$(".widget_dpd-faq-widget").each((function(){var faqWidget=$(this),short_answer=faqWidget.find(".short_answer").val(),widgetCatIDs=JSON.parse(faqWidget.find(".faq_tag_ids").val()),intersection;if(_catIDs.filter((function(id){return widgetCatIDs.includes(id)})).length){var $faq_cat_section=faqWidget.find(".faq-content-wrap .q-a-section"),faqHtml=$("<div/>").attr({id:"FAQ_"+item.page_id,class:"dpd_faq_item mb-2 pb-2"});faqHtml.append($("<h3/>").addClass("question font-light").html('<a href="'+item.permalink+'">'+item.title+"</a>")).append($("<div/>").addClass("answer-content mb-1 dpd-text-editor-content "+(1==short_answer?"":"d-none")).html(item.content)).append($("<div/>").addClass("text-right").html('<a class="mr-2" href="'+item.permalink+'" style="color: '+item.color+'">'+item.load_more_text+"</a>"+item.img_more)),$faq_cat_section.append(faqHtml),faq_count<=$faq_cat_section.find(".dpd_faq_item").length&&$faq_cat_section.siblings(".load-more-wrap").find("button.faq-load-more").hide(),jumpTo(anchor_id,queues,type_anchor),queuesExecute(queues,type_anchor)}}))}}})):(jumpTo(anchor_id,queues,type_anchor),queuesExecute(queues,type_anchor))}var anchor_id=getAnchorLinkID(),faq="FAQ";if(void 0!==anchor_id&&null!=anchor_id){var type_anchor="redirect",queues=[];-1!=anchor_id.indexOf(faq)?search_faq_not_display(anchor_id,queues,"redirect"):(jumpTo(anchor_id,queues,"redirect"),queuesExecute(queues,"redirect"))}function queuesExecute(queues,type_anchor){if(queues.length>0){var n=i=queues.length;$.each(queues,(function(k,que){switch(que.fun){case"openFaqAccordion":openFaqAccordion(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"openSingleModule":openSingleModule(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"open026b":open026b(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"open025c":open025c(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"open007":open007(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"openTab030031":openTab030031(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"openAccordion004":openAccordion004(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"openAccordion005":openAccordion005(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"scrollToApplicationTool":scrollToApplicationTool(que.id,que.parent,que.parentType,n,i,type_anchor);break;case"openTab027a":let index_tab_id=$("#carousel-item-"+que.id).index();que.parent.find('li[data-slide-to="'+index_tab_id+'"]').trigger("click")}i--}))}}$('a[data-toggle!="tab"]').on("click",(function(){var type_anchor="onpage",queues=[],href=$(this).attr("href");if(void 0!==href){var uri=document.createElement("a");if(uri.href=href,-1!==href.lastIndexOf("#")&&uri.hostname===window.location.hostname&&uri.pathname===window.location.pathname){var anchor_id=href.substring(href.lastIndexOf("#")+1);void 0!==anchor_id&&""!==anchor_id&&(-1!==anchor_id.indexOf(faq)?search_faq_not_display(anchor_id,queues,"onpage"):(jumpTo(anchor_id,queues,"onpage"),queuesExecute(queues,"onpage")))}}}))}))}(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.