var mod_pagespeed_rpzoyuH_iz = "// Hyiprio main jQuery\n\n\n(function ($) {\n    'use strict';\n\n\n// ToolTip\n    var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle=\"tooltip\"]'))\n    var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {\n        return new bootstrap.Tooltip(tooltipTriggerEl)\n    })\n\n\n    // Side Nav Click Collapse\n    $(\".sidebar-toggle\").on('click', function () {\n        $(\".panel-layout\").toggleClass(\"nav-folded\");\n    });\n\n    // Side Nav Hover Collapse\n    $(\".side-nav\").on('mouseenter mouseleave',function () {\n        $(\".nav-folded .side-nav\").toggleClass(\"side-nav-hover\");\n    });\n\n    // Side Nav Click Dropdowns\n    $(\".side-nav-dropdown\").on('click', function () {\n        $(this).toggleClass(\"show\");\n    });\n\n\n    // Nice Select\n    $('.site-nice-select').niceSelect();\n\n\n    //Counter-JS\n    $('.count').counterUp({\n        delay: 10,\n        time: 2000\n    });\n\n    //lucide icons\n    lucide.createIcons();\n\n\n    // Invoice Options\n    $('.add-new-option').on('click', function () {\n        var optionss =\n            `<div class=\"row\">\n          <div class=\"col-xl-8\">\n            <div class=\"input-group\">\n              <input type=\"text\" class=\"form-control itemname\"  name=\"name[]\" placeholder=\"Item Name\">\n            </div>\n          </div>\n          <div class=\"col-xl-3\">\n            <div class=\"input-group\">\n              <input type=\"text\" class=\"form-control amount\"  name=\"amount[]\" placeholder=\"Amount\">\n            </div>\n          </div>\n          <div class=\"col-xl-1\">\n            <button type=\"button\" class=\"invoice-option-btn add-new-option remove-optionss\"><i class=\"anticon anticon-minus\"></i></button>\n          </div>\n      </div>`\n        $('.optionss').append(optionss);\n    });\n    // Invoice Options Remove\n    $(document).on('click', '.remove-optionss', function () {\n        $(this).closest('.row').remove();\n    });\n\n\n    $('.currency').on('change', function () {\n        var selected = $('.currency option:selected')\n        if (selected.val() == '') {\n            $('.itemname').attr('disabled', true)\n            $('.amount').attr('disabled', true)\n            $('.add-new-option').addClass('disabled')\n            return false\n        } else {\n            $('.itemname').attr('disabled', false)\n            $('.amount').attr('disabled', false)\n            $('.add-new-option').removeClass('disabled')\n        }\n        $('.currencyCode').text(selected.data('code'))\n    })\n\n\n    $(document).on('keyup', '.amount', function () {\n        var total = 0;\n        $('.amount').each(function (e) {\n            if ($(this).val() != '') {\n                total += parseFloat($(this).val());\n            }\n            $('.totalAmount').text(total.toFixed(2))\n        })\n    })\n\n\n// Image Preview\n    $('input[type=\"file\"]').each(function () {\n        // Refs\n        var $file = $(this),\n            $label = $file.next('label'),\n            $labelText = $label.find('span'),\n            labelDefault = $labelText.text();\n\n        // When a new file is selected\n        $file.on('change', function (event) {\n            var fileName = $file.val().split('\\\\').pop(),\n                tmppath = URL.createObjectURL(event.target.files[0]);\n            //Check successfully selection\n            if (fileName) {\n                $label\n                    .addClass('file-ok')\n                    .css('background-image', 'url(' + tmppath + ')');\n                $labelText.text(fileName);\n            } else {\n                $label.removeClass('file-ok');\n                $labelText.text(labelDefault);\n            }\n        });\n    });\n\n\n\n\n// magnificPopup initialization\n    $('.video-popup').magnificPopup({\n        type: 'iframe',\n    });\n\n\n})(jQuery);\n";
var mod_pagespeed_HLmZJG$EYW = "(function(qualifiedName,value){\"use strict\";var cookieAlert=document.querySelector(\".cookiealert\");var acceptCookies=document.querySelector(\".acceptcookies\");if(!cookieAlert){return;}cookieAlert.offsetHeight;if(!getCookie(\"acceptCookies\")){cookieAlert.removeAttribute(\"hidden\");}acceptCookies.addEventListener(\"click\",function(qualifiedName,value){setCookie(\"acceptCookies\",true,365);cookieAlert.setAttribute(\"hidden\",value);window.dispatchEvent(new Event(\"cookieAlertAccept\"))});function setCookie(cname,cvalue,exdays){var d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));var expires=\"expires=\"+d.toUTCString();document.cookie=cname+\"=\"+cvalue+\";\"+expires+\";path=/\";}function getCookie(cname){var name=cname+\"=\";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)===' '){c=c.substring(1);}if(c.indexOf(name)===0){return c.substring(name.length,c.length);}}return\"\";}})();";
var mod_pagespeed_ojnOSH60lV = "function validateNumber(e){\"use strict\";const pattern=/^[0-9]$/;return pattern.test(e.key)}function validateDouble($value){\"use strict\";return $value.replace(/[^0-9.]/g,'').replace(/(\\..*?)\\..*/g,'$1');}function isWhatPercentOf(numA,numB){\"use strict\";return(numA/numB)*100;}function calPercentage(num,percentage){\"use strict\";const result=num*(percentage/100);return parseFloat(result.toFixed(2));}function imagePreview(){\"use strict\";$('input[type=\"file\"]').each(function(){var $file=$(this),$label=$file.next('label'),$labelText=$label.find('span'),labelDefault=$labelText.text();$file.on('change',function(event){var fileName=$file.val().split('\\\\').pop(),tmppath=URL.createObjectURL(event.target.files[0]);if(fileName){$label.addClass('file-ok').css('background-image','url('+tmppath+')');$labelText.text(fileName);}else{$label.removeClass('file-ok');$labelText.text(labelDefault);}});});}function imagePreviewAdd(title){\"use strict\";var base_url=window.location.origin;var previewImage=$(\"#image-old\");previewImage.css({'background-image':'url('+base_url+'/assets/'+title+')'});previewImage.addClass(\"file-ok\");}";
