1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[7407],{57407:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var a=n(42799),s=n(83491),o=n(79234),r=n(47277),i=n.n(r),d=n(25612),l=n(70392),p=n.n(l);class h extends a.o{constructor(e){super(e),this.init()}init(){this.element&&(i()().ready((()=>this.getDownloads())),this.parm.enableLoadMore&&i()(this.element).on("click","[data-js='load-more']",(e=>{this.loadMore()})))}getDownloads(){var e=new o.o(this.parm.getDownloadsUrl,{currentCategory:this.parm.currentCategory,documents:this.parm.documents},!0);this.ajaxWrapper.doFetch(e).then((e=>this.successGetDownloadsAjaxCallback(e)))}successGetDownloadsAjaxCallback(e){e.clone().text().then((e=>{var t=new s.E(e);if(t.getComponentUpdate("downloads").json.isEmpty)i()(i()("#ImsEntityDownloadsContent")[0].parentElement).closest("#tabs-tabDownload").parent().hide();else{i()("#ImsEntityDownloadsContent")[0].innerHTML=t.getComponentUpdate("downloads").content;for(var n=i()(this.element).find(".js-tabs-panel"),a=0;a<n.length;a++){for(var o=i()(n[a]).find("[data-js='download-item']"),r=0;r<o.length&&r<this.parm.pageSize;r++)i()(o[r]).show();o.length<=this.parm.pageSize&&i()(n[a]).find("[data-js='load-more']").hide()}p().publish(d.y.defaultListerUpdated)}}))}loadMore(){for(var e=this.element.querySelector(".js-tabs-panel.is-active"),t=i()(e).find("[data-js='download-item']"),n=t.length,a=i()(e).find("[data-js='download-item']:visible").length,s=0;s<this.parm.pageSize&&a<n;)i()(t[a]).show(),s++,a++;a===n&&i()(e).find("[data-js='load-more']").hide()}}},83491:function(e,t,n){n.d(t,{E:function(){return o}});var a=n(47277),s=n.n(a);class o{constructor(e){this.rawResponse=e,this.response=s()(e)}getComponentUpdate(e){var t=this.response.filter("[data-component="+e+"]");return t.length?{content:t.html().trim(),json:s().parseJSON(t.find("script[type='json']")[0].innerHTML)}:null}getChildComponentUpdate(e){var t=this.response.find("[data-component="+e+"]");return t.length?{content:t[0].innerHTML,json:s().parseJSON(this.response.find("script")[0].innerHTML)}:null}}}}]);
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.