1(function(factory){'use strict' 2new factory(window.jQuery,window.fafcms)})(function($,fafcms){'use strict' 3let $body=$('body') 4let $socialSwiper 5let socialSwiperInitSrc 6fafcms.prototype.events.init.push(function(){$body.on('click','.switch-social',function(){let $socialButton=$(this) 7let dataType=$socialButton.data('social-type') 8$socialButton.blur() 9if(dataType==='reset'){$('.switch-social.filter-reset').removeClass('active') 10$('.switch-social:not(.filter-reset)').removeClass('inactive') 11$socialSwiper.data('src',socialSwiperInitSrc)}else{$('.switch-social.filter-reset').addClass('active') 12$('.switch-social:not(.filter-reset)').addClass('inactive') 13$socialButton.removeClass('inactive') 14$socialSwiper.data('src',socialSwiperInitSrc+'?social-type='+$socialButton.data('social-type'))} 15$socialSwiper.trigger('load-data')}) 16$body.on('click','.filter-label',function(){$(this).toggleClass('active') 17$(this).next().toggleClass('active')})}) 18fafcms.prototype.events.initPlugins.push(function($target){M.updateTextFields() 19$socialSwiper=$('.social-swiper') 20if($socialSwiper.length>0&&typeof socialSwiperInitSrc==='undefined'){socialSwiperInitSrc=$socialSwiper.data('src')} 21$target.find('.parallax').parallax() 22$target.find('.tooltipped').tooltip() 23$target.find('.tabs').tabs() 24$target.find('.dropdown-trigger').dropdown({coverTrigger:!1}) 25$target.find('.scrollbar').each(function(){let $scrollbarElement=$(this) 26let theme=$scrollbarElement.data('scrollbar-theme') 27let sizeAutoCapable=$scrollbarElement.data('scrollbar-size-auto-capable') 28if(typeof theme==='undefined'){theme='os-theme-light'} 29OverlayScrollbars($scrollbarElement,{className:theme,paddingAbsolute:!0,sizeAutoCapable:sizeAutoCapable,scrollbars:{clickScrolling:!0}})}) 30$target.find('.collapsible:not(.expandable)').collapsible() 31$target.find('.collapsible.expandable').collapsible({accordion:!1}) 32$target.find('.datepicker').datepicker({yearRange:[2000,new Date().getFullYear()],firstDay:1,i18n:{today:fafcms.prototype.t('app','Today'),clear:fafcms.prototype.t('app','Clear'),cancel:fafcms.prototype.t('app','Cancel'),close:fafcms.prototype.t('app','OK'),months:[fafcms.prototype.t('app','January'),fafcms.prototype.t('app','February'),fafcms.prototype.t('app','March'),fafcms.prototype.t('app','April'),fafcms.prototype.t('app','May'),fafcms.prototype.t('app','June'),fafcms.prototype.t('app','July'),fafcms.prototype.t('app','August'),fafcms.prototype.t('app','September'),fafcms.prototype.t('app','October'),fafcms.prototype.t('app','November'),fafcms.prototype.t('app','December')],monthsShort:[fafcms.prototype.t('app','Jan'),fafcms.prototype.t('app','Feb'),fafcms.prototype.t('app','Mar'),fafcms.prototype.t('app','Apr'),fafcms.prototype.t('app','May'),fafcms.prototype.t('app','Jun'),fafcms.prototype.t('app','Jul'),fafcms.prototype.t('app','Aug'),fafcms.prototype.t('app','Sep'),fafcms.prototype.t('app','Oct'),fafcms.prototype.t('app','Nov'),fafcms.prototype.t('app','Dec')],weekdays:[fafcms.prototype.t('app','Sunday'),fafcms.prototype.t('app','Monday'),fafcms.prototype.t('app','Tuesday'),fafcms.prototype.t('app','Wednesday'),fafcms.prototype.t('app','Thursday'),fafcms.prototype.t('app','Friday'),fafcms.prototype.t('app','Saturday')],weekdaysShort:[fafcms.prototype.t('app','Sun'),fafcms.prototype.t('app','Mon'),fafcms.prototype.t('app','Tue'),fafcms.prototype.t('app','Wed'),fafcms.prototype.t('app','Thu'),fafcms.prototype.t('app','Fri'),fafcms.prototype.t('app','Sat')],weekdaysAbbrev:[fafcms.prototype.t('app','weekdaysAbbrev-Sun'),fafcms.prototype.t('app','weekdaysAbbrev-Mon'),fafcms.prototype.t('app','weekdaysAbbrev-Tue'),fafcms.prototype.t('app','weekdaysAbbrev-Wed'),fafcms.prototype.t('app','weekdaysAbbrev-Thu'),fafcms.prototype.t('app','weekdaysAbbrev-Fri'),fafcms.prototype.t('app','weekdaysAbbrev-Sat')]},showClearBtn:!0,format:'yyyy-mm-dd',container:$('body'),maxDate:new Date()}) 33$target.find('.character-counter').characterCounter()}) 34return fafcms})
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.