1!(function(e, o) { 2 if ('function' == typeof define && define.amd) 3 define('ellipsed', ['exports'], o); 4 else if ('undefined' != typeof exports) o(exports); 5 else { 6 var t = {}; 7 o(t), (e.ellipsed = t); 8 } 9})(this, function(e) { 10 'use strict'; 11 Object.defineProperty(e, '__esModule', { value: !0 }); 12 var h = 13 Object.assign || 14 function(e) { 15 for (var o = 1; o < arguments.length; o++) { 16 var t = arguments[o]; 17 for (var n in t) 18 Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); 19 } 20 return e; 21 }; 22 function v(e, o) { 23 var t = e.el, 24 n = e.elStyle, 25 r = e.elHeight, 26 a = e.rowsLimit, 27 i = e.rowsWrapped, 28 l = e.options, 29 s = e.buffer, 30 c = s; 31 if (i === a + 1) return h({}, e); 32 var p = s, 33 d = i, 34 f = r; 35 return ( 36 (t.innerHTML = c = s.length 37 ? '' + s + l.delimiter + o + l.replaceStr 38 : '' + o + l.replaceStr), 39 parseFloat(n.height) > parseFloat(r) && (d++, (f = n.height), d === a + 1) 40 ? ((t.innerHTML = c = 41 '.' === p[p.length - 1] && '...' === l.replaceStr 42 ? p + '..' 43 : '' + p + l.replaceStr), 44 h({}, e, { elHeight: f, rowsWrapped: d })) 45 : ((t.innerHTML = c = p.length ? '' + p + l.delimiter + o : '' + o), 46 h({}, e, { buffer: c, elHeight: f, rowsWrapped: d })) 47 ); 48 } 49 (e.disableResponsive = function(e) { 50 window.removeEventListener('resize', e); 51 }), 52 (e.ellipsis = function o() { 53 for ( 54 var t = 55 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : '', 56 n = 57 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : 1, 58 r = 59 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}, 60 e = h( 61 {}, 62 { 63 replaceStr: '...', 64 responsive: !1, 65 debounceDelay: 250, 66 delimiter: ' ', 67 }, 68 r 69 ), 70 a = document.querySelectorAll(t), 71 i = [], 72 l = 0; 73 l < a.length; 74 l++ 75 ) { 76 var s = a[l]; 77 i[l] = s.innerHTML; 78 var c = s.innerHTML.split(e.delimiter); 79 s.innerHTML = ''; 80 var p = window.getComputedStyle(s); 81 c.reduce(v, { 82 el: s, 83 buffer: s.innerHTML, 84 elStyle: p, 85 elHeight: 0, 86 rowsLimit: n, 87 rowsWrapped: 0, 88 options: e, 89 }); 90 } 91 if (e.responsive) { 92 var d = !1, 93 f = window.innerWidth, 94 g = function() { 95 if (window.innerWidth !== f) { 96 f = window.innerWidth; 97 for (var e = 0; e < a.length; e++) a[e].innerHTML = i[e]; 98 o(t, n, h({}, r, { responsive: !1 })); 99 } 100 }, 101 u = function() { 102 clearTimeout(d), (d = setTimeout(g, e.debounceDelay)); 103 }; 104 return window.addEventListener('resize', u), u; 105 } 106 }); 107}), 108 require(['jquery', 'ellipsed'], function(n, e) { 109 'use strict'; 110 var r = e.ellipsis, 111 a = [ 112 { selector: '#breadcrumbs-home a', icon: 'fas fa-home', prepend: !0 }, 113 { 114 selector: '#document-toc .portletHeader', 115 icon: 'fas fa-list-ul', 116 prepend: !0, 117 }, 118 { 119 selector: '#parent-fieldname-text.pat-autotoc .autotoc-nav a', 120 icon: 'fas fa-chevron-right', 121 prepend: !0, 122 }, 123 { 124 selector: 125 '.template-album_view .photoAlbumEntry.photoAlbumFolder .photoAlbumEntryTitle', 126 icon: 'fas fa-folder-open', 127 prepend: !0, 128 }, 129 { 130 selector: '.footer-social .fb', 131 icon: 'fab fa-facebook-f', 132 prepend: !0, 133 }, 134 { 135 selector: '.footer-social .ig', 136 icon: 'fab fa-instagram', 137 prepend: !0, 138 }, 139 { selector: '.footer-social .tw', icon: 'fab fa-twitter', prepend: !0 }, 140 { 141 selector: '.footer-social .tg', 142 icon: 'fab fa-telegram', 143 prepend: !0, 144 }, 145 { selector: '.footer-social .yt', icon: 'fab fa-youtube', prepend: !0 }, 146 { 147 selector: '.footer-social .in', 148 icon: 'fab fa-linkedin-in', 149 prepend: !0, 150 }, 151 { 152 selector: '.footer-social .gp', 153 icon: 'fab fa-google-plus-g', 154 prepend: !0, 155 }, 156 { 157 selector: '.footer-social .pi', 158 icon: 'fab fa-pinterest', 159 prepend: !0, 160 }, 161 { 162 selector: '.footer-social .po', 163 icon: 'fab fa-get-pocket', 164 prepend: !0, 165 }, 166 { selector: '.footer-social .rss', icon: 'fas fa-rss', prepend: !0 }, 167 { 168 selector: '.footer-social .flickr', 169 icon: 'fab fa-flickr', 170 prepend: !0, 171 }, 172 { 173 selector: '.footer-social .spotify', 174 icon: 'fab fa-spotify', 175 prepend: !0, 176 }, 177 { 178 selector: 179 '.navigationTile a.navTreeFolderish:not(.navTreeCurrentNode):not(.navTreeItemInPath), .portletNavigationTree a.navTreeFolderish:not(.navTreeCurrentNode):not(.navTreeItemInPath)', 180 icon: 'fas fa-angle-down', 181 prepend: !1, 182 }, 183 { 184 selector: 185 '.navigationTile a.navTreeFolderish.navTreeCurrentNode, .navigationTile a.navTreeFolderish.navTreeItemInPath, .portletNavigationTree a.navTreeFolderish.navTreeCurrentNode, .portletNavigationTree a.navTreeFolderish.navTreeItemInPath', 186 icon: 'fas fa-angle-up', 187 prepend: !1, 188 }, 189 { 190 selector: 'button#search-filter-toggle', 191 icon: 'fas fa-filter', 192 prepend: !0, 193 }, 194 { 195 selector: '#sorting-options a[data-sort="Date"]', 196 icon: 'far fa-calendar-alt', 197 prepend: !0, 198 }, 199 { 200 selector: '#sorting-options a[data-sort="sortable_title"]', 201 icon: 'fas fa-sort-alpha-down', 202 prepend: !0, 203 }, 204 { 205 selector: 206 '#sorting-options a:not([data-sort="Date"]):not([data-sort="sortable_title"])', 207 icon: 'fas fa-star', 208 prepend: !0, 209 }, 210 { 211 selector: '#categories-filed-under', 212 icon: 'fas fa-tags', 213 prepend: !0, 214 }, 215 { 216 selector: 217 '#portal-searchbox input:not(.solr-search) + button.search-button', 218 icon: 'fas fa-search', 219 prepend: !0, 220 }, 221 { 222 selector: '.documentActions #document-action-print a', 223 icon: 'fas fa-print', 224 prepend: !0, 225 }, 226 { 227 selector: 'nav.pagination ul li .arrow', 228 icon: 'fas fa-angle-right', 229 prepend: !1, 230 }, 231 { 232 selector: 'article.vevent a.event_ical', 233 icon: 'far fa-calendar', 234 prepend: !0, 235 }, 236 { 237 selector: '.event.summary.details li.event-calendar a', 238 icon: 'far fa-calendar', 239 prepend: !0, 240 }, 241 ]; 242 n(document).ready(function() { 243 a.forEach(function(e) { 244 var o = n(e.selector); 245 0 !== o.length && 246 (e.prepend 247 ? o.prepend('<i class="' + e.icon + '"></i>') 248 : o.append('<i class="' + e.icon + '"></i>')); 249 }), 250 n(window).scroll(function() { 251 50 <= n(this).scrollTop() 252 ? n('#return-to-top').fadeIn(200) 253 : n('#return-to-top').fadeOut(200); 254 }), 255 n('#return-to-top').click(function() { 256 n('body,html').animate({ scrollTop: 0 }, 500); 257 }); 258 var o = n('.share'); 259 function e() { 260 r( 261 '.tile-collection .collectionItemDescription, .news-highlight .news-description, .news-big-photo .news-description', 262 4, 263 { responsive: !0 } 264 ); 265 } 266 if ( 267 (n('.news-column').length 268 ? (n('.news-column').prepend(o), o.addClass('share-visible')) 269 : n('#portal-column-two').length && 270 (n('#portal-column-two').prepend(o), o.addClass('share-visible')), 271 n('.share .share-toggle').on('click', function(e) { 272 e.preventDefault(), o.toggleClass('open'); 273 }), 274 n('#search-toggle').on('click', function() { 275 n('#portal-searchbox').toggleClass('open'), 276 n('#search-toggle').toggleClass('open'), 277 n('body').toggleClass('searchOpened'), 278 n('#portal-searchbox').hasClass('open') && 279 n('#searchGadget').focus(); 280 }), 281 n('button.plone-navbar-toggle').on('click', function() { 282 n('#portal-mainnavigation').toggleClass('open'); 283 }), 284 n('#globalnav-close').click(function() { 285 n('#portal-mainnavigation').removeClass('open'); 286 }), 287 n(document).on('click', function(e) { 288 !n(e.target).closest('#portal-searchbox').length && 289 !n(e.target).closest('button#search-toggle').length && 290 n(window).width() <= 991 && 291 (n('#portal-searchbox').removeClass('open'), 292 n('#search-toggle').removeClass('open'), 293 n('body').removeClass('searchOpened')), 294 n(e.target).closest('.share').length || o.removeClass('open'), 295 !n(e.target).closest('#portal-globalnav-wrapper').length && 296 !n(e.target).closest('button.plone-navbar-toggle').length && 297 n(window).width() <= 991 && 298 n('#portal-mainnavigation #portal-globalnav').length && 299 n('#portal-mainnavigation #portal-globalnav').hasClass( 300 'plone-nav' 301 ) && 302 n('#portal-mainnavigation').removeClass('open'); 303 }), 304 n('body').hasClass('userrole-anonymous') 305 ? e() 306 : n('.tiles-management, .pat-tiles-management').on( 307 'rtTilesLoaded', 308 function() { 309 e(); 310 } 311 ), 312 n(document).on('patSliderInit', function(e) { 313 n(e.originalEvent.detail) 314 .find('.slick-dots') 315 .attr('aria-hidden', !0); 316 }), 317 !!!document.documentMode) 318 ) { 319 var t = new Event('rtIconsLoaded'); 320 document.dispatchEvent(t); 321 } 322 n(document).on('click', function(e) { 323 0 < n(e.target).closest('.pat-structure').length && 324 (n('#portal-breadcrumbs').load( 325 window.location.href.split('folder_contents')[0] + 326 ' #portal-breadcrumbs', 327 function() { 328 n('#portal-breadcrumbs #breadcrumbs-home a').prepend( 329 '<i class="fas fa-home"></i>' 330 ); 331 } 332 ), 333 n('h1.documentFirstHeading').load( 334 window.location.href.split('folder_contents')[0] + 335 ' h1.documentFirstHeading' 336 )); 337 }); 338 }); 339 }),
340 define('js/src/index.js', function() {}); 341//# sourceMappingURL=design-plone-theme-bundle-compiled.min.js.map
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.