/
home
/
cabinetdhs
/
www
/
wp-content
/
plugins
/
analogwp-templates
/
inc
/
elementor
/
js
/
Upload File
HOME
"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){function e(e,t){var n,o=void 0,i=0,r=e.length,f=void 0,l="",c=void 0,u=void 0,s=void 0,a=void 0,h=void 0,p=void 0,d=void 0,g=!0,y=!1,S=void 0;function A(e){return" "===e||"\n"===e||"\t"===e||"\r"===e||"\f"===e}function v(e){return"'"===e||'"'===e}function b(e){return"a"<=c&&c<="z"||"A"<=c&&c<="Z"||"0"<=c&&c<="9"||0<="-_*.:#[]".indexOf(e)}function R(){var e=void 0;for(e=h;0<e;e-=1)l+=o.indent}function m(){l=S(l),g?l+=" {":(l+="\n",R(),l+="{"),"\n"!==u&&(l+="\n"),h+=1}function x(){var e=void 0;h-=1,0<(l=S(l)).length&&y&&";"!==(e=l.charAt(l.length-1))&&"{"!==e&&(l+=";"),l+="\n",R(),l+="}",f.push(l),l=""}for(void 0===(o=1<arguments.length?t:{}).indent&&(o.indent=" "),"string"==typeof o.openbrace&&(g="end-of-line"===o.openbrace),"boolean"==typeof o.autosemicolon&&(y=o.autosemicolon),S=String.prototype.trimRight?function(e){return e.trimRight()}:function(e){return e.replace(/\s+$/,"")},a=(n={Start:h=0,AtRule:1,Block:2,Selector:3,Ruleset:4,Property:5,Separator:6,Expression:7,URL:8}).Start,d=!1,f=[],e=e.replace(/\r\n/g,"\n");i<r;)if(c=e.charAt(i),u=e.charAt(i+1),i+=1,v(p))l+=c,c===p&&(p=null),"\\"===c&&u===p&&(l+=u,i+=1);else if(v(c))l+=c,p=c;else if(d)l+=c,"*"===c&&"/"===u&&(d=!1,l+=u,i+=1);else if("/"!==c||"*"!==u){if(a===n.Start){if(0===f.length&&A(c)&&0===l.length)continue;if(c<=" "||128<=c.charCodeAt(0)){a=n.Start,l+=c;continue}if(b(c)||"@"===c){if(0===(s=S(l)).length)0<f.length&&(l="\n\n");else if("}"===s.charAt(s.length-1)||";"===s.charAt(s.length-1))l=s+"\n\n";else for(;" "===(u=l.charAt(l.length-1))||9===u.charCodeAt(0);)l=l.substr(0,l.length-1);l+=c,a="@"===c?n.AtRule:n.Selector;continue}}if(a!==n.AtRule)if(a!==n.Block)if(a!==n.Selector)if(a!==n.Ruleset)if(a!==n.Property)if(a!==n.Separator)if(a!==n.Expression)a===n.URL&&")"===c&&l.charAt(l.length-1!=="\\")?(l+=c,a=n.Expression):l+=c;else{if("}"===c){x(),a=n.Start,0<h&&(a=n.Block);continue}if(";"===c){l=S(l),l+=";\n",a=n.Ruleset;continue}if(l+=c,"("!==c||"l"!==l.charAt(l.length-2)||"r"!==l.charAt(l.length-3)||"u"!==l.charAt(l.length-4))continue;a=n.URL}else{if(!A(c)){l+=c,a=n.Expression;continue}v(u)&&(a=n.Expression)}else{if(":"===c){l=S(l),l+=": ",a=n.Expression,A(u)&&(a=n.Separator);continue}if("}"===c){x(),a=n.Start,0<h&&(a=n.Block);continue}l+=c}else{if("}"===c){x(),a=n.Start,0<h&&(a=n.Block);continue}if("\n"===c){l=S(l),l+="\n";continue}if(!A(c)){l=S(l),l+="\n",R(),l+=c,a=n.Property;continue}l+=c}else{if("{"===c){m(),a=n.Ruleset;continue}if("}"===c){x(),a=n.Start;continue}l+=c}else{if(b(c)){if(0===(s=S(l)).length)0<f.length&&(l="\n\n");else if("}"===s.charAt(s.length-1))l=s+"\n\n";else for(;" "===(u=l.charAt(l.length-1))||9===u.charCodeAt(0);)l=l.substr(0,l.length-1);R(),l+=c,a=n.Selector;continue}if("}"===c){x(),a=n.Start;continue}l+=c}else{if(";"===c){l+=c,a=n.Start;continue}if("{"===c){s=S(l),m(),a="@font-face"===s?n.Ruleset:n.Block;continue}l+=c}}else d=!0,l+=c,l+=u,i+=1;return l=f.join("")+l}"undefined"!=typeof exports?module.exports=exports=e:"object"===("undefined"==typeof window?"undefined":_typeof(window))&&(window.cssbeautify=e)}();