1"use strict";(self.webpackChunkvinnova=self.webpackChunkvinnova||[]).push([[1319],{618:function(e,n,a){a.r(n);var t=a(3),i=a.n(t),l=a(15),r=a(4),o={handlePublicationTableRows:function(){var e=i()(".page-publication");if(!e.length||e.hasClass("page-publication-search")&&!i()(".publication-wrapper").length)return!1;var n=i()(".element-table-wrapper").find(".catVal");""!==n.html()&&void 0!==n.html()&&n.html(n.html().replace(new RegExp(",","g"),", "));var a=i()(".element-table-wrapper").find(".catVal2");""!==a.html()&&void 0!==a.html()&&a.html(a.html().replace(new RegExp(",","g"),", "));var t=e.find(".key-val-row"),l=e.find(".element-table-wrapper"),r=i()(".remodal-wrapper"),o="";if(r.length&&r.each((function(n,a){var t=i()(a);return!t.find(".component-lightbox--statistics").length&&(t.hasClass("remodal-is-opening")||t.hasClass("remodal-is-opened")?(""!=(o=t.find(".modal-table-wrapper"))&&null!=o&&o.parent(),e=o,!0):void 0)})),e.hasClass("done"))return!1;t.each((function(e,n){var a=i()(n);a.find(".val").html().trim().length||a.remove()}));var s=e.find(".key-val-row");if(!s.length)return!1;s.each((function(e,n){var a=i()(s[0]).parent(),t=i()(s[4]).parent(),l=s.last(),r=i()(n);return a.children().length<=3?(a.append(r),!0):t.children().length<=3?(t.append(l),!0):void 0})),l.addClass("trimmed-publication-table");var h=e.find(".table__td"),d=h.last();window.innerWidth<600&&h.css("height",""),window.innerWidth<880&&d.css("height",""),h.each((function(e,n){var a=i()(n);i().trim(a.html())||a.remove()})),h.css("opacity","1"),e.addClass("done"),i()(window).trigger("resize")},init:function(){var e=this,n=l.parse(location.search);"lightbox"==n.lightbox&&"publication"==n.type?setTimeout(function(){this.handlePublicationTableRows()}.bind(this),500):(this.handlePublicationTableRows(),r.default.openStatistics()),i()("body").on("asyncDomReady",(function(){app.dom.equalize.init(),e.handlePublicationTableRows()})),jQuery(window).on(app.global.names.events.resize,(function(){var e=i()(".page-publication");if(!e.length||e.hasClass("page-publication-search")&&!i()(".publication-wrapper").length)return!1;var n=e.find(".table__td"),a=n.last();setTimeout((function(){window.innerWidth<600&&n.css("height",""),window.innerWidth<880&&a.css("height","")}),200)}))}};n.default=o}}]);
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.