RIFF"WEBPVP8 Е�* �>�T�M'��%�u|�� gk�ZaQb�����o����lN���s�_�3��S+���c�€R��y����//����~��H�@�2oF�X ���R@'�:�ꞓ}��a�M,.� ��o��=�p�U�&g<�:���~���t��.�1���cyW�� We�M=�f�Y6v�����(nO���������^- �9(b _�s%{�C|�p�@�����37�}B0��u���i�Գ���� ������5�}���֮M?dz���q�e��N�~�&�N��K�av$]hO�i�C�,��"]�����@����M@�o O[�Æ*;�e]��_; }�p�?��)�'VC� J��L�y� v����18��)7c�d�mߛ�]I� ����d��?�{�.����b)49��c��Zy/��c^��%��/z�å̯�t��rS��Z��Uͩ�h��2����` �7�:��~��zP���Z����?v�R��TD���G����CJ���}�o��fs��̜#b��e"k9,���3�{Or�i��x":���{/ۈ�`�7RČ����(�p:I��%:�ͺ��W(|�=KP��3�7}���������ed��;�3�;�e��8�g�4�9 %v,B�GU�����T% ֯��B+�tR���p������F7�sT��oϱq �h�Rݧ�~*�܈_�Ck���}�nY�>��C�PQ�B��(o�६�qxy������f ���]��}����%=CW�k^t�—]����M�cX�i��%��!�Y������:N=|��wj<9ł��,�s�O�,,�U�!�������e���{���W��989�y*z�=�"E�CyW���N�2�ę��LN�HW��?����`V���DJ=#׶×ܽ$eF���o;b� ��0��&�W���Y�bR�� �Fֵ� `J�an�-Є@�tR�v��e2W��Mn�p��4P1�q ���®w���ũur*�җ.�#�4b���������:���g��ʧ�`R�4�+G�f���niU����$�K-'A�zE&]��Y�H2�4� ��˄�t��Q�4%��L�#��0FS8�Bu����ژ��"����۹�[�JK��4��z�v�ڌ��L*jD0.����?�ڃN��H��J����n�w��6Q(i;��I,.3?|�`���y���D_��(��w��������[��ZYhe�')��D*��kb����c��@� �|S�S3���- ���iq!*��w������Ł��ܩ��*FY���jV�4Q���4�,�ʑV!��N�.�1�KT,��Zp� ���iL�r��Ȧ����"y�tU���PS�ģ��?�QGng_�#yEk��B̝��1hr��ѕ�z*Ԧ�L8T�����H�^�k�-�g�z������w��N����v��RH��E��!0Cؚ)R�@�q�J�qA�r�$k4���om���Ьnu���x�������������y$�8�Z���v� &�+2�|���\r:[,!�Y�C#c��͊�{��7Щ��Y�LVę]�j��)��^���󶦙$�_����Hx>����[ +K�ڏ�1������Q�7@�^{�ik�;'H{�8 �ȇe vR����^� Meq�����Y�MC��U<��O�۫�nAfBf317���x��O�.u@3R}e�`�D��\�z���L��P������y8�?����I�"s`�b 3��ٹd�0��A�/���� ��{b�b������1� ����ka�&T�z�_4���I��PN��8��}N�r��]�՜���ӿ��9�|/.��� �fˑ.�`r�r��U-���7�Rx8L��d$H�m��Ǒ�*x�P{�D�����k��o�ueV�-.��j}���U2��g絍g���s �������aN�X�ҍ���C�� ��X��B�EF���8%p57<�x�Y�e�cϔ�\��C �OAj&N�V���!v��U��~J��j��4�V|��8�R�v�fD�)�HA�3�G��ds�7Z.���= ����+kI2�0=�'� K �H,`�ɴāTE\����E�'/��;���;��a���0"��� �x$J�T��#U=������j-�8�����y c8W����Ԋ�K��_��Y� '%Vg$I�Пq�shE�y�:�m�}�F1(:b�U�~� ���0}�C�}0����#�#}���e�S9��.��SP�m���<�~�y��� ��ɭ�ٮ6N��� ğ��t��A��N�V ������f�+�w�O1�Jq���U�B�T��į���� ��*�=z�x"yU S���� ��// ����W᫮��R�O�2W�M��<-�;�F�`9 �����t�:C{a�8�� <�r'���:�g8%�9J̞�˦��eV�7l�~�#����.yY)$��k�|�!�3���m���XS���J4B���`�����oL[]��aT[�C��@h�T�l��_�e>�����K<'��P�zgk�#fm��V�]�ݽ�j1����H��J��J58��ڱ��@�e&*�w��e���Q��HT8�ֽ��\�Fa�栆�A�ڝӚ׹@�:9`��G�h�7����t<���_˒|�\bU�O�����,M�a�oynGf�޶7�w�i`�m[��XE4�*�8}5��U1���^�B*��_%[����Yb�^���S�l�"A�1�T��ڈ��(???)j�S�n�8v%� Eo��� mE��|�Έ�Ai�3uy5O����7Rܽ���"L��X���1�@�=?5�_'��{j�����Z3L��k��^x6g3i�����r.��N��&��9[��ɓW[+�� 7�����fe�3�K�%��0F��+V�ϛ+3�B�p,y;Z�NGK�uWg䁯9�v��t��ǒx�JY�O��K�iY��#FJy�Bzt�Q^�Y��Uϲ-͖��9��g�X,�X] f�P/�]d�䠾�̔m%Q��겓\q(�%'����/EN�P�1�o��� ���}��'��c�F��Ju��4��0ck�N��w�1��&]a ��^I�)����֓��\;�1��3��� �L��{>�+���a��Jg��#����P���>�5�a<�`>>˔�]�ߎey�-T���ʵ���r���8`dmNm���_mӐK�Ҏ-޴�� ��RQ%�d�l"��l�_��ie0.�$Xh|.jv,���l\ uyj�u\�/� B:�܀�]� _��T��I���lz�&c�A�g{g��O˂�O���O�M�t��7Y�~? ቶ`�7��'�w��#���˚�\��_��� a��d���[Ҭњ��]ɢ�A$ �l�v=E�66d �WA\̬fsǭ}x;';���?�UW�O��{�&|_a�C� |ȹ��pka�|���zf[S�������[�Jcf�A�&�L�U)Pd+)�_�$1�0�z�'�v\u�' +;�!���dž�]h�N�{ku��<��a��.0�,��]q��ZKao=ILo�z�rb&�{@K�i*7nX).�/�̶��ӒU�v �B֝���a��n��تx ���P�AG7M4N�?r;Z�����7�@�wA�q��RM5�8ۭ ��g��8�g���G�Tſ�O�{2��P3r��6�W,/��kC���p�V���~�"���T���6�/<�4�U�>��T�H�Fc�T�D�^I���!�����=&\Em�>b�,|T��d���n��=@\Wzi���D��&�f���1�t�mC�Ih��m��&�������84�!H�i�|�Z���� ��W���g����8�h�B] OvQ�u����+�}n�� FE�+q�&j����I�u��&��=!��T�b�@�ք0 �D�W�W�t�V}�������^�g�Erb`j��2 �wr�\Y5��L�Ρ���_�bNU�)~�e�Z�U�*�����:�vƀu2�W-W��W{KKo0�)��G�K.��{̮���v�/��p� !�� �w;`��b ������F���/���:����I�lm��Vc�,x~m<=|�_�>n����(A�����{�膾���m�,{3 �ӀH=٘�%��[USd��!J�|�f_�/ �߻��)I%���G�ܑ�G |N������d��BU5��qvG�c,���A?!��w��� �S��-i���Fr�P�_��E�+��)��V��f��������~�����������}"sk��cHN�<� 5I�r��1gu�ݗ�,N�I��f��k�s���0��: 0�<�\ͩB�܄ �:�f2A��mҞ�Z�6��3��t�����͟~����J�R9�] �,h������Z�@�{����9��W�il!�:��P��P���wK)���p���!���KuB\�7 uI�?(���/��r3����v,\'�8��qUa�ء���!��(b��n?�YfӸ����r�$���ה�~��_�&�8g�<(Mx$ZO�������u`q��:�N�Q !�%`���h:�� �~>�D���m�^��[V!y�6=� ��m��ѡ��p4�Iꎸ��1cE��QS�ٷ��W�C����*�����Q��=��3���&���-#,åCCG�������9�i��3�C��S[t>���qm����B��s���������o��� J�^s|����r��\ԺΦ�a�{��1��wT'���� �̓Q���B��\xx}��8��Of!��U�n��f�����bA��UD�cC} �r�������c ���^�X���k�Ɩk�6��^E�C�E�sՀ`�Ⱦ,i��v�� ٺe˟�!�co�64x4��A�ah��ˏ<��%�@�*|�\�TY����#:9��|?S�[������G hUw9���z]��D��-J6�m,ʭ��2�Iz�4W9��&���t�߁ R�Z�gP��H�dj�`%ap}�^떟��*fb{�Q) Dd_V����$��,�߁� @D�&f�2��S6��M�ɤ�)Q\F�i���5p��Wb'PN�R�>�����9��]��\8{B8�� ��ю�������%� ӏۙ{]�j,_Y>��!�l���'���H�["��;c?cy��1< 0ϑ���/�AAЛ�� ; �j�(!��1 [)5ݻK ��A7��"[�%"���{��H ���V�� ���m�K���VLn��9鿹8�At΀@����f`�1y�rЅ��q��7Nf���x)y��, 0e�"{�ƨ�"� o �6� �.|Tm.���-r �G� [ed���–q���]�X�oG*�1>�� م�p_Y{δ(N�|s��^{i�`��͒ QӴx+X.ݕ�kP�g]�޿�4��Q|�O��h�*c�W�G�4{~x�k��A:�{Yu�倀#ތM�K!�e�;ȩ����r������'���D&H�$�0�ߜ�w��Sq dH��P�y����z����h��d��"�;0��#I2�F{����. W�wl���|>s�\ŌO�&bO/4(z9ܭua��`��_3d�Qpt�/�P -��#5�,�M��� �pA:©�q�����NW��ډ�A���� �9nʺج���� �TSM��{J6?7��r�@�\����D��� �׶���s�f�TJj?"��D��`?��̒� b�#�%�C*v�$�{�$����5Ծ�F�s��y�e/8��h-�f�̰&(����Gj�L:U� 2�� ����v�_k����Y��gp,�k�WF�R������_C�R��N@���R�@�ߔ?A�w9���F("iNa-S���Q�o�3tDMLh*�#4k�T/iQ��Y*�G��m����)��8�hBm/�I�,g�ﯖ���Z��}�Cz�q@´��d.����L�ŕ�,��1�Z�܌�: ̪���F+J-'��c�tvJ8��]Q-��b��y �6;*J`r_�d ��'�G ~p��)'�C,�%F��E(��2�k�����lР�z�!�=t ��_�0��f7��� ;�p�|�U �% /ajax/content/gallery.html and load it if(path.match(/(\/ajax\/)(index\.html)?/)) return path.replace(/(\/ajax\/)(index\.html)?/, '/ajax/content/'+hash.replace(/^page\//, '')+'.html') ; //for example in Ace PHP demo version we convert "ajax.php#page/dashboard" to "ajax.php?page=dashboard" and load it return path + "?" + hash.replace(/\//, "="); } } //for IE9 and below we exclude PACE loader (using conditional IE comments) //for other browsers we use the following extra ajax loader options if(window.Pace) { demo_ajax_options['loading_overlay'] = 'body';//the opaque overlay is applied to 'body' } //initiate ajax loading on this element( which is .page-content-area[data-ajax-content=true] in Ace's demo) $('[data-ajax-content=true]').ace_ajax(demo_ajax_options) //if general error happens and ajax is working, let's stop loading icon & PACE $(window).on('error.ace_ajax', function() { $('[data-ajax-content=true]').each(function() { var $this = $(this); if( $this.ace_ajax('working') ) { if(window.Pace && Pace.running) Pace.stop(); $this.ace_ajax('stopLoading', true); } }) }) } ///////////////////////////// function handleScrollbars() { //add scrollbars for navbar dropdowns var has_scroll = !!$.fn.ace_scroll; if(has_scroll) $('.dropdown-content').ace_scroll({reset: false, mouseWheelLock: true}) //reset scrolls bars on window resize if(has_scroll && !ace.vars['old_ie']) {//IE has an issue with widget fullscreen on ajax?!!! $(window).on('resize.reset_scroll', function() { $('.ace-scroll:not(.scroll-disabled)').not(':hidden').ace_scroll('reset'); }); if(has_scroll) $(document).on('settings.ace.reset_scroll', function(e, name) { if(name == 'sidebar_collapsed') $('.ace-scroll:not(.scroll-disabled)').not(':hidden').ace_scroll('reset'); }); } } function dropdownAutoPos() { //change a dropdown to "dropup" depending on its position $(document).on('click.dropdown.pos', '.dropdown-toggle[data-position="auto"]', function() { var offset = $(this).offset(); var parent = $(this.parentNode); if ( parseInt(offset.top + $(this).height()) + 50 > (ace.helper.scrollTop() + ace.helper.winHeight() - parent.find('.dropdown-menu').eq(0).height()) ) parent.addClass('dropup'); else parent.removeClass('dropup'); }); } function navbarHelpers() { //prevent dropdowns from hiding when a from is clicked /**$(document).on('click', '.dropdown-navbar form', function(e){ e.stopPropagation(); });*/ //disable navbar icon animation upon click $('.ace-nav [class*="icon-animated-"]').closest('a').one('click', function(){ var icon = $(this).find('[class*="icon-animated-"]').eq(0); var $match = icon.attr('class').match(/icon\-animated\-([\d\w]+)/); icon.removeClass($match[0]); }); //prevent dropdowns from hiding when a tab is selected $(document).on('click', '.dropdown-navbar .nav-tabs', function(e){ e.stopPropagation(); var $this , href var that = e.target if( ($this = $(e.target).closest('[data-toggle=tab]')) && $this.length > 0) { $this.tab('show'); e.preventDefault(); $(window).triggerHandler('resize.navbar.dropdown') } }); } function sidebarTooltips() { //tooltip in sidebar items $('.sidebar .nav-list .badge[title],.sidebar .nav-list .badge[title]').each(function() { var tooltip_class = $(this).attr('class').match(/tooltip\-(?:\w+)/); tooltip_class = tooltip_class ? tooltip_class[0] : 'tooltip-error'; $(this).tooltip({ 'placement': function (context, source) { var offset = $(source).offset(); if( parseInt(offset.left) < parseInt(document.body.scrollWidth / 2) ) return 'right'; return 'left'; }, container: 'body', template: '
' }); }); //or something like this if items are dynamically inserted /** $('.sidebar').tooltip({ 'placement': function (context, source) { var offset = $(source).offset(); if( parseInt(offset.left) < parseInt(document.body.scrollWidth / 2) ) return 'right'; return 'left'; }, selector: '.nav-list .badge[title],.nav-list .label[title]', container: 'body', template: '
' }); */ } function scrollTopBtn() { //the scroll to top button var scroll_btn = $('.btn-scroll-up'); if(scroll_btn.length > 0) { var is_visible = false; $(window).on('scroll.scroll_btn', function() { var scroll = ace.helper.scrollTop(); var h = ace.helper.winHeight(); var body_sH = document.body.scrollHeight; if(scroll > parseInt(h / 4) || (scroll > 0 && body_sH >= h && h + scroll >= body_sH - 1)) {//|| for smaller pages, when reached end of page if(!is_visible) { scroll_btn.addClass('display'); is_visible = true; } } else { if(is_visible) { scroll_btn.removeClass('display'); is_visible = false; } } }).triggerHandler('scroll.scroll_btn'); scroll_btn.on(ace.click_event, function(){ var duration = Math.min(500, Math.max(100, parseInt(ace.helper.scrollTop() / 3))); $('html,body').animate({scrollTop: 0}, duration); return false; }); } } function someBrowserFix() { //chrome and webkit have a problem here when resizing from 479px to more //we should force them redraw the navbar! if( ace.vars['webkit'] ) { var ace_nav = $('.ace-nav').get(0); if( ace_nav ) $(window).on('resize.webkit_fix' , function(){ ace.helper.redraw(ace_nav); }); } //fix an issue with ios safari, when an element is fixed and an input receives focus if(ace.vars['ios_safari']) { $(document).on('ace.settings.ios_fix', function(e, event_name, event_val) { if(event_name != 'navbar_fixed') return; $(document).off('focus.ios_fix blur.ios_fix', 'input,textarea,.wysiwyg-editor'); if(event_val == true) { $(document).on('focus.ios_fix', 'input,textarea,.wysiwyg-editor', function() { $(window).on('scroll.ios_fix', function() { var navbar = $('#navbar').get(0); if(navbar) ace.helper.redraw(navbar); }); }).on('blur.ios_fix', 'input,textarea,.wysiwyg-editor', function() { $(window).off('scroll.ios_fix'); }) } }).triggerHandler('ace.settings.ios_fix', ['navbar_fixed', $('#navbar').css('position') == 'fixed']); } } function bsCollapseToggle() { //bootstrap collapse component icon toggle $(document).on('hide.bs.collapse show.bs.collapse', function (ev) { var panel_id = ev.target.getAttribute('id') var panel = $('a[href*="#'+ panel_id+'"]'); if(panel.length == 0) panel = $('a[data-target*="#'+ panel_id+'"]'); if(panel.length == 0) return; panel.find(ace.vars['.icon']).each(function(){ var $icon = $(this) var $match var $icon_down = null var $icon_up = null if( ($icon_down = $icon.attr('data-icon-show')) ) { $icon_up = $icon.attr('data-icon-hide') } else if( $match = $icon.attr('class').match(/fa\-(.*)\-(up|down)/) ) { $icon_down = 'fa-'+$match[1]+'-down' $icon_up = 'fa-'+$match[1]+'-up' } if($icon_down) { if(ev.type == 'show') $icon.removeClass($icon_down).addClass($icon_up) else $icon.removeClass($icon_up).addClass($icon_down) return false;//ignore other icons that match, one is enough } }); }) } //in small devices display navbar dropdowns like modal boxes function smallDeviceDropdowns() { if(ace.vars['old_ie']) return; $('.ace-nav > li') .on('shown.bs.dropdown.navbar', function(e) { adjustNavbarDropdown.call(this); }) .on('hidden.bs.dropdown.navbar', function(e) { $(window).off('resize.navbar.dropdown'); resetNavbarDropdown.call(this); }) function adjustNavbarDropdown() { var $sub = $(this).find('> .dropdown-menu'); if( $sub.css('position') == 'fixed' ) { var win_width = parseInt($(window).width()); var offset_w = win_width > 320 ? 60 : (win_width > 240 ? 40 : 30); var avail_width = parseInt(win_width) - offset_w; var avail_height = parseInt($(window).height()) - 30; var width = parseInt(Math.min(avail_width , 320)); //we set 'width' here for text wrappings and spacings to take effect before calculating scrollHeight $sub.css('width', width); var tabbed = false; var extra_parts = 0; var dropdown_content = $sub.find('.tab-pane.active .dropdown-content.ace-scroll'); if(dropdown_content.length == 0) dropdown_content = $sub.find('.dropdown-content.ace-scroll'); else tabbed = true; var parent_menu = dropdown_content.closest('.dropdown-menu'); var scrollHeight = $sub[0].scrollHeight; if(dropdown_content.length == 1) { //sometimes there's no scroll-content, for example in detached scrollbars var content = dropdown_content.find('.scroll-content')[0]; if(content) { scrollHeight = content.scrollHeight; } extra_parts += parent_menu.find('.dropdown-header').outerHeight(); extra_parts += parent_menu.find('.dropdown-footer').outerHeight(); var tab_content = parent_menu.closest('.tab-content'); if( tab_content.length != 0 ) { extra_parts += tab_content.siblings('.nav-tabs').eq(0).height(); } } var height = parseInt(Math.min(avail_height , 480, scrollHeight + extra_parts)); var left = parseInt(Math.abs((avail_width + offset_w - width)/2)); var top = parseInt(Math.abs((avail_height + 30 - height)/2)); var zindex = parseInt($sub.css('z-index')) || 0; $sub.css({'height': height, 'left': left, 'right': 'auto', 'top': top - (!tabbed ? 1 : 3)}); if(dropdown_content.length == 1) { if(!ace.vars['touch']) { dropdown_content.ace_scroll('update', {size: height - extra_parts}).ace_scroll('enable').ace_scroll('reset'); } else { dropdown_content .ace_scroll('disable').css('max-height', height - extra_parts).addClass('overflow-scroll'); } } $sub.css('height', height + (!tabbed ? 2 : 7));//for bottom border adjustment and tab content paddings if($sub.hasClass('user-menu')) { $sub.css('height', '');//because of user-info hiding/showing at different widths, which changes above 'scrollHeight', so we remove it! //user menu is re-positioned in small widths //but we need to re-position again in small heights as well (modal mode) var user_info = $(this).find('.user-info'); if(user_info.length == 1 && user_info.css('position') == 'fixed') { user_info.css({'left': left, 'right': 'auto', 'top': top, 'width': width - 2, 'max-width': width - 2, 'z-index': zindex + 1}); } else user_info.css({'left': '', 'right': '', 'top': '', 'width': '', 'max-width': '', 'z-index': ''}); } //dropdown's z-index is limited by parent .navbar's z-index (which doesn't make sense because dropdowns are fixed!) //so for example when in 'content-slider' page, fixed modal toggle buttons go above are dropdowns //so we increase navbar's z-index to fix this! $(this).closest('.navbar.navbar-fixed-top').css('z-index', zindex); } else { if($sub.length != 0) resetNavbarDropdown.call(this, $sub); } var self = this; $(window) .off('resize.navbar.dropdown') .one('resize.navbar.dropdown', function() { $(self).triggerHandler('shown.bs.dropdown.navbar'); }) } //reset scrollbars and user menu function resetNavbarDropdown($sub) { $sub = $sub || $(this).find('> .dropdown-menu'); if($sub.length > 0) { $sub .css({'width': '', 'height': '', 'left': '', 'right': '', 'top': ''}) .find('.dropdown-content').each(function() { if(ace.vars['touch']) { $(this).css('max-height', '').removeClass('overflow-scroll'); } var size = parseInt($(this).attr('data-size') || 0) || $.fn.ace_scroll.defaults.size; $(this).ace_scroll('update', {size: size}).ace_scroll('enable').ace_scroll('reset'); }) if( $sub.hasClass('user-menu') ) { var user_info = $(this).find('.user-info') .css({'left': '', 'right': '', 'top': '', 'width': '', 'max-width': '', 'z-index': ''}); } } $(this).closest('.navbar').css('z-index', ''); } } });//jQuery document ready //some ace helper functions (function($$ , undefined) {//$$ is ace.helper $$.unCamelCase = function(str) { return str.replace(/([a-z])([A-Z])/g, function(match, c1, c2){ return c1+'-'+c2.toLowerCase() }) } $$.strToVal = function(str) { var res = str.match(/^(?:(true)|(false)|(null)|(\-?[\d]+(?:\.[\d]+)?)|(\[.*\]|\{.*\}))$/i); var val = str; if(res) { if(res[1]) val = true; else if(res[2]) val = false; else if(res[3]) val = null; else if(res[4]) val = parseFloat(str); else if(res[5]) { try { val = JSON.parse(str) } catch (err) {} } } return val; } $$.getAttrSettings = function(el, attr_list, prefix) { var list_type = attr_list instanceof Array ? 1 : 2; //attr_list can be Array or Object(key/value) var prefix = prefix ? prefix.replace(/([^\-])$/ , '$1-') : ''; prefix = 'data-' + prefix; var settings = {} for(var li in attr_list) if(attr_list.hasOwnProperty(li)) { var name = list_type == 1 ? attr_list[li] : li; var attr_val, attr_name = $$.unCamelCase(name.replace(/[^A-Za-z0-9]{1,}/g , '-')).toLowerCase() if( ! ((attr_val = el.getAttribute(prefix + attr_name)) ) ) continue; settings[name] = $$.strToVal(attr_val); } return settings; } $$.scrollTop = function() { return document.scrollTop || document.documentElement.scrollTop || document.body.scrollTop } $$.winHeight = function() { return window.innerHeight || document.documentElement.clientHeight; } $$.redraw = function(elem, force) { var saved_val = elem.style['display']; elem.style.display = 'none'; elem.offsetHeight; if(force !== true) { elem.style.display = saved_val; } else { //force redraw for example in old IE setTimeout(function() { elem.style.display = saved_val; }, 10); } } })(ace.helper);