Changeset 3348666
- Timestamp:
- 08/22/2025 01:02:08 PM (7 months ago)
- Location:
- seraphinite-accelerator
- Files:
-
- 143 added
- 17 edited
-
tags/2.27.41 (added)
-
tags/2.27.41/Admin.js (added)
-
tags/2.27.41/Cmn (added)
-
tags/2.27.41/Cmn/AdminUi.css (added)
-
tags/2.27.41/Cmn/AdminUi.js (added)
-
tags/2.27.41/Cmn/Cmn.js (added)
-
tags/2.27.41/Cmn/Db.php (added)
-
tags/2.27.41/Cmn/Ext (added)
-
tags/2.27.41/Cmn/Ext/JS (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes/lazysizes.js (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes/lazysizes.min.js (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes/plugins (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes/plugins/unveilhooks (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes/plugins/unveilhooks/ls.unveilhooks.js (added)
-
tags/2.27.41/Cmn/Ext/JS/lazysizes/plugins/unveilhooks/ls.unveilhooks.min.js (added)
-
tags/2.27.41/Cmn/Ext/PHP (added)
-
tags/2.27.41/Cmn/Ext/PHP/JShrink (added)
-
tags/2.27.41/Cmn/Ext/PHP/JShrink/Minifier.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/Options.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/PHPSQLParser.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/exceptions (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/exceptions/InvalidParameterException.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnableToCalculatePositionException.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnableToCreateSQLException.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnsupportedFeatureException.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/lexer (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/lexer/LexerSplitter.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/lexer/PHPSQLLexer.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/positions (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/positions/PositionCalculator.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/AbstractProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/BracketProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ColumnDefinitionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ColumnListProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/CreateDefinitionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/CreateProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/DefaultProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/DeleteProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/DescProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/DescribeProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/DropProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/DuplicateProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ExplainProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ExpressionListProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/FromProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/GroupByProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/HavingProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/IndexColumnListProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/IndexProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/InsertProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/IntoProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/LimitProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/OptionsProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/OrderByProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionDefinitionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionOptionsProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/RecordProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ReferenceDefinitionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/RenameProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ReplaceProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/SQLChunkProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/SQLProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/SelectExpressionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/SelectProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/SetProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ShowProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/SubpartitionDefinitionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/TableProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/UnionProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/UpdateProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/UsingProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/ValuesProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/WhereProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/processors/WithProcessor.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/utils (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/utils/ExpressionToken.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/utils/ExpressionType.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/PHPSQLParser/utils/PHPSQLParserConstants.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port (added)
-
tags/2.27.41/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Colors.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Command.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Minifier.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Utils.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/jsmin-php (added)
-
tags/2.27.41/Cmn/Ext/PHP/jsmin-php/JSMin.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/jsmin-php/UnterminatedCommentException.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/jsmin-php/UnterminatedRegExpException.php (added)
-
tags/2.27.41/Cmn/Ext/PHP/jsmin-php/UnterminatedStringException.php (added)
-
tags/2.27.41/Cmn/Fs.php (added)
-
tags/2.27.41/Cmn/Gen.js (added)
-
tags/2.27.41/Cmn/Gen.php (added)
-
tags/2.27.41/Cmn/Img.php (added)
-
tags/2.27.41/Cmn/Net.js (added)
-
tags/2.27.41/Cmn/Plugin.php (added)
-
tags/2.27.41/Cmn/Ui.js (added)
-
tags/2.27.41/Cmn/Ui.php (added)
-
tags/2.27.41/Images (added)
-
tags/2.27.41/Images/ProductLogo.png (added)
-
tags/2.27.41/Images/Test.css (added)
-
tags/2.27.41/Images/Test.css.gz (added)
-
tags/2.27.41/Images/Test.js (added)
-
tags/2.27.41/Images/Test.js.gz (added)
-
tags/2.27.41/Images/Test.png (added)
-
tags/2.27.41/Images/Test.png.avif (added)
-
tags/2.27.41/Images/Test.png.webp (added)
-
tags/2.27.41/Images/VendorLogo.png (added)
-
tags/2.27.41/Images/hosting-icon-banner.svg (added)
-
tags/2.27.41/cache.php (added)
-
tags/2.27.41/cache_ext.php (added)
-
tags/2.27.41/cache_ext_CloudFlareHooksEx.php (added)
-
tags/2.27.41/cache_obj.php (added)
-
tags/2.27.41/common.php (added)
-
tags/2.27.41/content.php (added)
-
tags/2.27.41/content_css.php (added)
-
tags/2.27.41/content_css_ex.php (added)
-
tags/2.27.41/content_ex.php (added)
-
tags/2.27.41/content_frm.php (added)
-
tags/2.27.41/content_img.php (added)
-
tags/2.27.41/content_js.php (added)
-
tags/2.27.41/htmlparser.php (added)
-
tags/2.27.41/icon.png (added)
-
tags/2.27.41/languages (added)
-
tags/2.27.41/languages/seraphinite-accelerator-Admin-en_US.json (added)
-
tags/2.27.41/languages/seraphinite-accelerator-Admin-ru_RU.json (added)
-
tags/2.27.41/languages/seraphinite-accelerator-Gen-en_US.json (added)
-
tags/2.27.41/languages/seraphinite-accelerator-Gen-ru_RU.json (added)
-
tags/2.27.41/languages/seraphinite-accelerator-admin-en_US.mo (added)
-
tags/2.27.41/languages/seraphinite-accelerator-admin-ru_RU.mo (added)
-
tags/2.27.41/languages/seraphinite-accelerator-admin.pot (added)
-
tags/2.27.41/languages/seraphinite-accelerator-en_US.mo (added)
-
tags/2.27.41/languages/seraphinite-accelerator-ru_RU.mo (added)
-
tags/2.27.41/languages/seraphinite-accelerator.pot (added)
-
tags/2.27.41/main.php (added)
-
tags/2.27.41/oper.php (added)
-
tags/2.27.41/options.php (added)
-
tags/2.27.41/plugin_root.php (added)
-
tags/2.27.41/readme.txt (added)
-
tags/2.27.41/sql.php (added)
-
tags/2.27.41/third-party-software.html (added)
-
tags/2.27.41/tune.php (added)
-
trunk/Admin.js (modified) (1 diff)
-
trunk/Cmn/Gen.php (modified) (1 diff)
-
trunk/Cmn/Plugin.php (modified) (13 diffs)
-
trunk/Cmn/Ui.php (modified) (1 diff)
-
trunk/cache.php (modified) (2 diffs)
-
trunk/common.php (modified) (5 diffs)
-
trunk/languages/seraphinite-accelerator-admin-en_US.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-admin-ru_RU.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-admin.pot (modified) (4 diffs)
-
trunk/languages/seraphinite-accelerator-en_US.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-ru_RU.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator.pot (modified) (1 diff)
-
trunk/main.php (modified) (6 diffs)
-
trunk/oper.php (modified) (1 diff)
-
trunk/options.php (modified) (3 diffs)
-
trunk/plugin_root.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seraphinite-accelerator/trunk/Admin.js
r3319554 r3348666 1 function asyncGeneratorStep(y,w,I,J,F,D,A){try{var G=y[D](A),B=G.value}catch(K){I(K);return}G.done?w(B):Promise.resolve(B).then(J,F)}function _asyncToGenerator(y){return function(){var w=this,I=arguments;return new Promise(function(J,F){function D(B){asyncGeneratorStep(G,J,F,D,A,"next",B)}function A(B){asyncGeneratorStep(G,J,F,D,A,"throw",B)}var G=y.apply(w,I);D(void 0)})}} 2 function _typeof(y){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(w){return typeof w}:function(w){return w&&"function"===typeof Symbol&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w};return _typeof(y)}var _regenerator; 3 (function(){var y=function(w){function I(a,b,c,l){b=Object.create((b&&b.prototype instanceof F?b:F).prototype);l=new L(l||[]);b._invoke=K(a,c,l);return b}function J(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(l){return{type:"throw",arg:l}}}function F(){}function D(){}function A(){}function G(a){["next","throw","return"].forEach(function(b){a[b]=function(c){return this._invoke(b,c)}})}function B(a,b){function c(d,q,x,z){d=J(a[d],a,q);if("throw"===d.type)z(d.arg);else{var v=d.arg;return(d= 4 v.value)&&"object"===_typeof(d)&&C.call(d,"__await")?b.resolve(d.__await).then(function(H){c("next",H,x,z)},function(H){c("throw",H,x,z)}):b.resolve(d).then(function(H){v.value=H;x(v)},function(H){return c("throw",H,x,z)})}}var l;this._invoke=function(d,q){function x(){return new b(function(z,v){c(d,q,z,v)})}return l=l?l.then(x,x):x()}}function K(a,b,c){var l=m;return function(d,q){if(l===u)throw Error("Generator is already running");if(l===e){if("throw"===d)throw q;return O()}c.method=d;for(c.arg= 5 q;;){if(d=c.delegate)if(d=P(d,c)){if(d===k)continue;return d}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===m)throw l=e,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);l=u;d=J(a,b,c);if("normal"===d.type){l=c.done?e:h;if(d.arg===k)continue;return{value:d.arg,done:c.done}}"throw"===d.type&&(l=e,c.method="throw",c.arg=d.arg)}}}function P(a,b){var c=a.iterator[b.method];if(c===E){b.delegate=null;if("throw"===b.method){if(a.iterator["return"]&& 6 (b.method="return",b.arg=E,P(a,b),"throw"===b.method))return k;b.method="throw";b.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}c=J(c,a.iterator,b.arg);if("throw"===c.type)return b.method="throw",b.arg=c.arg,b.delegate=null,k;c=c.arg;if(!c)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,k;if(c.done)b[a.resultName]=c.value,b.next=a.nextLoc,"return"!==b.method&&(b.method="next",b.arg=E);else return c;b.delegate=null;return k} 7 function Q(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]);2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]);this.tryEntries.push(b)}function M(a){var b=a.completion||{};b.type="normal";delete b.arg;a.completion=b}function L(a){this.tryEntries=[{tryLoc:"root"}];a.forEach(Q,this);this.reset(!0)}function N(a){if(a){var b=a[n];if(b)return b.call(a);if("function"===typeof a.next)return a;if(!isNaN(a.length)){var c=-1;b=function d(){for(;++c<a.length;)if(C.call(a,c))return d.value=a[c],d.done=!1,d;d.value= 8 E;d.done=!0;return d};return b.next=b}}return{next:O}}function O(){return{value:E,done:!0}}var R=Object.prototype,C=R.hasOwnProperty,E,t="function"===typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",g=t.toStringTag||"@@toStringTag";w.wrap=I;var m="suspendedStart",h="suspendedYield",u="executing",e="completed",k={};t={};t[n]=function(){return this};var f=Object.getPrototypeOf;(f=f&&f(f(N([]))))&&f!==R&&C.call(f,n)&&(t=f);var p=A.prototype=F.prototype=Object.create(t); 9 D.prototype=p.constructor=A;A.constructor=D;A[g]=D.displayName="GeneratorFunction";w.isGeneratorFunction=function(a){return(a="function"===typeof a&&a.constructor)?a===D||"GeneratorFunction"===(a.displayName||a.name):!1};w.mark=function(a){Object.setPrototypeOf?Object.setPrototypeOf(a,A):(a.__proto__=A,g in a||(a[g]="GeneratorFunction"));a.prototype=Object.create(p);return a};w.awrap=function(a){return{__await:a}};G(B.prototype);B.prototype[r]=function(){return this};w.AsyncIterator=B;w.async=function(a, 10 b,c,l,d){void 0===d&&(d=Promise);var q=new B(I(a,b,c,l),d);return w.isGeneratorFunction(b)?q:q.next().then(function(x){return x.done?x.value:q.next()})};G(p);p[g]="Generator";p[n]=function(){return this};p.toString=function(){return"[object Generator]"};w.keys=function(a){var b=[],c;for(c in a)b.push(c);b.reverse();return function d(){for(;b.length;){var q=b.pop();if(q in a)return d.value=q,d.done=!1,d}d.done=!0;return d}};w.values=N;L.prototype={constructor:L,reset:function(a){this.next=this.prev= 11 0;this.sent=this._sent=E;this.done=!1;this.delegate=null;this.method="next";this.arg=E;this.tryEntries.forEach(M);if(!a)for(var b in this)"t"===b.charAt(0)&&C.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=E)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(v,H){q.type="throw";q.arg=a;c.next=v;H&&(c.method="next",c.arg=E);return!!H}if(this.done)throw a;for(var c=this,l=this.tryEntries.length-1;0<= 12 l;--l){var d=this.tryEntries[l],q=d.completion;if("root"===d.tryLoc)return b("end");if(d.tryLoc<=this.prev){var x=C.call(d,"catchLoc"),z=C.call(d,"finallyLoc");if(x&&z){if(this.prev<d.catchLoc)return b(d.catchLoc,!0);if(this.prev<d.finallyLoc)return b(d.finallyLoc)}else if(x){if(this.prev<d.catchLoc)return b(d.catchLoc,!0)}else if(z){if(this.prev<d.finallyLoc)return b(d.finallyLoc)}else throw Error("try statement without catch or finally");}}},abrupt:function(a,b){for(var c=this.tryEntries.length- 13 1;0<=c;--c){var l=this.tryEntries[c];if(l.tryLoc<=this.prev&&C.call(l,"finallyLoc")&&this.prev<l.finallyLoc){var d=l;break}}d&&("break"===a||"continue"===a)&&d.tryLoc<=b&&b<=d.finallyLoc&&(d=null);c=d?d.completion:{};c.type=a;c.arg=b;return d?(this.method="next",this.next=d.finallyLoc,k):this.complete(c)},complete:function(a,b){if("throw"===a.type)throw a.arg;"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"=== 14 a.type&&b&&(this.next=b);return k},finish:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,c.afterLoc),M(c),k}},"catch":function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.tryLoc===a){a=c.completion;if("throw"===a.type){var l=a.arg;M(c)}return l}}throw Error("illegal catch attempt");},delegateYield:function(a,b,c){this.delegate={iterator:N(a),resultName:b,nextLoc:c};"next"===this.method&& 15 (this.arg=E);return k}};return w}("object"===("undefined"===typeof module?"undefined":_typeof(module))?module.exports:{});try{_regenerator=y}catch(w){Function("r","_regenerator = r")(y)}})(); 16 (function(){function y(t){var n=null;t==seraph_accel.Gen.hr.E_CONTEXT_EXPIRED?n=C("OpSrvCtxExpired","admin.Manage","seraphinite-accelerator"):seraph_accel.Gen.hr.Fail(t)&&(n=E(C("OpSrvErr_%1$08X","admin.Manage","seraphinite-accelerator"),t));return n}function w(){w=_asyncToGenerator(_regenerator.mark(function r(n){return _regenerator.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return jQuery(n).attr("disabled",!0),g.prev=1,g.next=4,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 17 "LogClear",{}),type:"POST",data:"",dataType:"json",cache:!1});case 4:g.next=8;break;case 6:g.prev=6,g.t0=g["catch"](1);case 8:jQuery(n).attr("disabled",!1);case 9:case "end":return g.stop()}},r,this,[[1,6]])}));return w.apply(this,arguments)}function I(){I=_asyncToGenerator(_regenerator.mark(function g(n,r){var m,h,u,e,k,f;return _regenerator.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:m=jQuery(n.parentNode).closest(".blck").first();h=m.find(".seraph_accel_spinner");m.find(".content");u= 18 m.find('input[type="button"]:not(.cancel)');e=m.find('input[type="button"].cancel');if(!r){p.next=23;break}u.prop("disabled",!0);h.show();seraph_accel.Manager._int.notRefreshStat=!0;k=null;p.prev=10;p.next=13;return jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"UpdateStatBegin",{}),cache:!1,dataType:"json"});case 13:f=p.sent;seraph_accel.Gen.hr.Fail(f)&&(k=E(C("OpSrvErr_%1$08X","admin.Manage","seraphinite-accelerator"),f));p.next=20;break;case 17:p.prev=17, 19 p.t0=p["catch"](10),k="HTTP "+p.t0.status;case 20:return k&&(alert(k),u.prop("disabled",!1),h.hide()),delete seraph_accel.Manager._int.notRefreshStat,p.abrupt("return");case 23:return e.prop("disabled",!0),seraph_accel.Manager._int.notRefreshStat=!0,k=null,p.prev=26,p.next=29,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"UpdateStatCancel",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 29:f=p.sent;k=y(f);p.next=37;break;case 33:p.prev=33,p.t1=p["catch"](26), 20 k="HTTP "+p.t1.status,e.prop("disabled",!1);case 37:k&&alert(k),delete seraph_accel.Manager._int.notRefreshStat;case 39:case "end":return p.stop()}},g,this,[[10,17],[26,33]])}));return I.apply(this,arguments)}function J(t){switch(t){case 0:return C("OpDescr_Invalidate","admin.Manage","seraphinite-accelerator");case 3:return C("OpDescr_CheckInvalidate","admin.Manage","seraphinite-accelerator");case 2:return C("OpDescr_Delete","admin.Manage","seraphinite-accelerator");case 10:return C("OpDescr_SrvDel", 21 "admin.Manage","seraphinite-accelerator")}return""+t}function F(){F=_asyncToGenerator(_regenerator.mark(function r(n){var g,m,h,u;return _regenerator.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),m=g.find('input[type="button"].cancel'),m.prop("disabled",!0),h=null,e.prev=4,e.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"PostUpdCancel",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 7:u= 22 e.sent;h=y(u);e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](4),h="HTTP "+e.t0.status;case 14:h&&alert(h);case 15:case "end":return e.stop()}},r,this,[[4,11]])}));return F.apply(this,arguments)}function D(){D=_asyncToGenerator(_regenerator.mark(function r(n){var g,m,h,u;return _regenerator.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),m=g.find('input[type="button"].cancel'),m.prop("disabled",!0),h=null,e.prev=4,e.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 23 "ScheUpdCancel",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 7:u=e.sent;h=y(u);e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](4),h="HTTP "+e.t0.status;case 14:h&&alert(h);case 15:case "end":return e.stop()}},r,this,[[4,11]])}));return D.apply(this,arguments)}function A(){A=_asyncToGenerator(_regenerator.mark(function r(n){var g,m,h,u,e,k;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),m=g.find(".seraph_accel_spinner"), 24 h=g.find('input[type="button"]:not(.cancel)'),u=g.find('input[type="button"].cancel'),m.show(),h.prop("disabled",!0),u.prop("disabled",!1),seraph_accel.Manager._int.notRefreshExtDp=!0,e=null,f.prev=9,f.next=12,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"ExtDbUpdBegin",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 12:k=f.sent;e=y(k);f.next=19;break;case 16:f.prev=16,f.t0=f["catch"](9),e="HTTP "+f.t0.status;case 19:e&&alert(e),delete seraph_accel.Manager._int.notRefreshExtDp; 25 case 21:case "end":return f.stop()}},r,this,[[9,16]])}));return A.apply(this,arguments)}function G(){G=_asyncToGenerator(_regenerator.mark(function r(n){var g,m,h,u;return _regenerator.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),m=g.find('input[type="button"].cancel'),m.prop("disabled",!0),h=null,e.prev=4,e.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"ExtDbUpdCancel",{}),type:"POST",data:"", 26 cache:!1,dataType:"json"});case 7:u=e.sent;h=y(u);e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](4),h="HTTP "+e.t0.status;case 14:h&&alert(h);case 15:case "end":return e.stop()}},r,this,[[4,11]])}));return G.apply(this,arguments)}function B(){B=_asyncToGenerator(_regenerator.mark(function m(n,r,g){var h,u,e,k,f,p,a,b,c,l,d,q,x,z;return _regenerator.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return h=jQuery(n.parentNode).closest(".blck").first(),u=h.find(".seraph_accel_spinner"),e=h.find(".descr"), 27 k=h.find('input[type="button"]:not(.cancel)'),f=h.find('input[type="button"].cancel'),p=h.find("#seraph_accel_views"),a=h.find("#seraph_accel_geos"),b=[],p.get()&&(seraph_accel.Ui.TokensMetaTree.Apply(p.get()),b=seraph_accel.Ui.TokensList.GetVal(p.get())),c=[],a.get()&&(seraph_accel.Ui.TokensMetaTree.Apply(a.get()),c=seraph_accel.Ui.TokensList.GetVal(a.get()).filter(function(H){return"_"!==H})),d=String(h.find(".type").val()),"uri"===d?l=h.find(".uri").val():0===d.indexOf("uri:")&&(l=d.substr(4), 28 d="uri"),l=seraph_accel.Gen.StrReplaceAll(String(l),["\r","\n","*"],["",";","{ASTRSK}"]),u.show(),e.show(),e.text(J(r)),k.prop("disabled",!0),f.prop("disabled",!1),seraph_accel.Manager._int.notRefreshOp=!0,q={cache:!1,dataType:"json"},512>l.length?q.url=seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"CacheOpBegin",{type:d,op:r,uri:l,v:b.join(),g:c.length?c.join():void 0,_wpnonce:g}):(q.url=seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"CacheOpBegin", 29 {type:d,op:r,v:b.join(),g:c.length?c.join():void 0,_wpnonce:g}),q.type="POST",q.contentType="application/x-www-form-urlencoded",q.data="uri="+encodeURIComponent(l)),x=null,v.prev=23,v.next=26,jQuery.ajax(q);case 26:z=v.sent;x=y(z);v.next=33;break;case 30:v.prev=30,v.t0=v["catch"](23),x="HTTP "+v.t0.status;case 33:x&&alert(x),delete seraph_accel.Manager._int.notRefreshOp;case 35:case "end":return v.stop()}},m,this,[[23,30]])}));return B.apply(this,arguments)}function K(){K=_asyncToGenerator(_regenerator.mark(function m(n, 30 r,g){var h,u,e,k;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return h=jQuery(n.parentNode).closest(".blck").first(),u=h.find('input[type="button"].cancel'),u.prop("disabled",!0),e=null,f.prev=4,f.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"CacheOpCancel",{op:r,_wpnonce:g}),type:"POST",data:"",cache:!1,dataType:"json"});case 7:k=f.sent;e=y(k);f.next=14;break;case 11:f.prev=11,f.t0=f["catch"](4),e="HTTP "+f.t0.status;case 14:e&& 31 alert(e);case 15:case "end":return f.stop()}},m,this,[[4,11]])}));return K.apply(this,arguments)}function P(){P=_asyncToGenerator(_regenerator.mark(function m(n,r,g){return _regenerator.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:case "end":return h.stop()}},m,this)}));return P.apply(this,arguments)}function Q(){Q=_asyncToGenerator(_regenerator.mark(function m(n,r,g){return _regenerator.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:case "end":return h.stop()}},m,this)}));return Q.apply(this, 32 arguments)}function M(){M=_asyncToGenerator(_regenerator.mark(function m(n,r,g){return _regenerator.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:case "end":return h.stop()}},m,this)}));return M.apply(this,arguments)}function L(){L=_asyncToGenerator(_regenerator.mark(function g(n,r){return _regenerator.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:case "end":return m.stop()}},g,this)}));return L.apply(this,arguments)}function N(){N=_asyncToGenerator(_regenerator.mark(function g(n,r){return _regenerator.wrap(function(m){for(;;)switch(m.prev= 33 m.next){case 0:case "end":return m.stop()}},g,this)}));return N.apply(this,arguments)}function O(){O=_asyncToGenerator(_regenerator.mark(function r(n){var g,m,h,u,e,k,f,p;return _regenerator.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),m=g.find(".url"),h=g.find(".messages"),u=g.find(".seraph_accel_spinner"),e=g.find('input[type="button"]'),k=0,g.find(".liteChk").prop("checked")&&(k|=1),g.find(".medChk").prop("checked")&&(k|=2),g.find(".tidyChk").prop("checked")&& 34 (k|=524288),h.empty(),u.show(),e.prop("disabled",!0),a.prev=12,a.next=15,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"HtmlCheck",{url:m.val(),norm:k}),type:"POST",data:"",dataType:"json",cache:!1});case 15:f=a.sent;a.next=21;break;case 18:a.prev=18,a.t0=a["catch"](12),f={err:a.t0.statusText};case 21:u.hide();e.prop("disabled",!1);if(!f.err){a.next=26;break}h.append(seraph_accel.Ui.LogItem("error",f.err));return a.abrupt("return");case 26:for(p in f.list)p= 35 f.list[p],h.append(seraph_accel.Ui.LogItem(p.severity,p.text));case 27:case "end":return a.stop()}},r,this,[[12,18]])}));return O.apply(this,arguments)}var R=seraph_accel.Wp.Loc.GetApi(),C=R._x,E=R.sprintf;seraph_accel.Settings={_int:{OnUpdateCssAuto:function(t){seraph_accel.Ui.ComboShowDependedItems(t,jQuery(t.parentNode).closest(".blck").first().get(0))},OnLogClear:function(t){return w.apply(this,arguments)}}};seraph_accel.Manager={_int:{OnStatOp:function(t,n){return I.apply(this,arguments)},OnCacheOp:function(t, 36 n,r){return B.apply(this,arguments)},OnCacheOpCancel:function(t,n,r){return K.apply(this,arguments)},OnPostUpdCancel:function(t){return F.apply(this,arguments)},OnScheUpdCancel:function(t){return D.apply(this,arguments)},OnExtDbUpdBegin:function(t){return A.apply(this,arguments)},OnExtDbUpdCancel:function(t){return G.apply(this,arguments)},OnQueueDel:function(t,n,r){return P.apply(this,arguments)},OnQueuePause:function(t,n,r){return Q.apply(this,arguments)},OnQueueItemCancel:function(t,n,r){return M.apply(this, 37 arguments)},OnDataRefreshInit:function(t,n){return L.apply(this,arguments)},OnDataRefresh:function(t,n){return N.apply(this,arguments)},OnHtmlCheck:function(t){return O.apply(this,arguments)}}};(function(){function t(m){return n.apply(this,arguments)}function n(){n=_asyncToGenerator(_regenerator.mark(function u(h){var e,k;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return e={},f.prev=1,seraph_accel.SelfDiag._int.curAjax=jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 38 "SelfDiag_"+h,{}),cache:!1,dataType:"json"}),f.next=5,seraph_accel.SelfDiag._int.curAjax;case 5:e=f.sent;delete seraph_accel.SelfDiag._int.curAjax;f.next=14;break;case 9:f.prev=9,f.t0=f["catch"](1),delete seraph_accel.SelfDiag._int.curAjax,0===f.t0.status?e.hr=seraph_accel.Gen.hr.S_ABORTED:(e.hr=seraph_accel.Gen.hr.E_FAIL,e.descr="HTTP "+f.t0.status),500==f.t0.status&&(k=document.implementation.createHTMLDocument(""),k.documentElement.innerHTML=f.t0.responseText,k=k.body.textContent,k=seraph_accel.Gen.StrReplaceAll(k, 39 "\r",""),k=seraph_accel.Gen.StrReplaceAll(k,["\t","\v"]," "),k=seraph_accel.Gen.StrReplaceAll(k,"\n",". "),(k=seraph_accel.Gen.StrReplaceAllWhileChanging(k,[" ",". . "],[" ",". "]).trim())&&"."!=k&&(e.descr+="<br>"+k));case 14:return f.abrupt("return",e);case 15:case "end":return f.stop()}},u,this,[[1,9]])}));return n.apply(this,arguments)}function r(){r=_asyncToGenerator(_regenerator.mark(function u(h){var e,k,f,p,a,b,c,l,d,q,x,z=arguments;return _regenerator.wrap(function(v){for(;;)switch(v.prev= 40 v.next){case 0:e=1<z.length&&void 0!==z[1]?z[1]:!1;k=jQuery(h.parentNode).closest(".blck").first();f=k.find(".seraph_accel_spinner");p=k.find('input[type="button"]:not(.cancel)');a=k.find('input[type="button"].cancel');b=k.find(".log");c=[{id:"3rdPartySettCompat",name:g("TestName_3rdPartySettCompat","admin.SelfDiag","seraphinite-accelerator")},{id:"AsyncRequest",name:g("TestName_AsyncRequest","admin.SelfDiag","seraphinite-accelerator")},{id:"SetMaxExecTime",name:g("TestName_SetMaxExecTime","admin.SelfDiag", 41 "seraphinite-accelerator")},{id:"PageOptimize",name:g("TestName_PageOptimize","admin.SelfDiag","seraphinite-accelerator")},{id:"VendorSrv",name:g("TestName_VendorSrv","admin.SelfDiag","seraphinite-accelerator")},{id:"ExtCache",name:g("TestName_ExtCache","admin.SelfDiag","seraphinite-accelerator")}];b.empty();for(l=0;l<c.length;l++)d=c[l],b.append(seraph_accel.Ui.LogItem("none",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id),!1));if(!e){v.next=11;break}return v.abrupt("return");case 11:f.show(),p.prop("disabled", 42 !0),a.prop("disabled",!1),seraph_accel.SelfDiag._int.inProgress=!0,l=0;case 16:if(!(l<c.length)){v.next=31;break}d=c[l];jQuery(b.children().get(l)).replaceWith(seraph_accel.Ui.LogItem("info",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id)+g("TestRunning","admin.SelfDiag","seraphinite-accelerator"),!1));v.next=21;return t(d.id);case 21:q=v.sent;x=g("TestSucc","admin.SelfDiag","seraphinite-accelerator");q.hr!=seraph_accel.Gen.hr.S_OK&&(x=seraph_accel.Gen.hr.Succ(q.hr)?q.hr==seraph_accel.Gen.hr.S_ABORTED? 43 g("TestAbort","admin.SelfDiag","seraphinite-accelerator"):q.hr==seraph_accel.Gen.hr.S_FALSE?g("TestNotice","admin.SelfDiag","seraphinite-accelerator"):g("TestWarn","admin.SelfDiag","seraphinite-accelerator"):g("TestError","admin.SelfDiag","seraphinite-accelerator"));q.descr&&(x+="<br>"+q.descr);jQuery(b.children().get(l)).replaceWith(seraph_accel.Ui.LogItem(q.hr==seraph_accel.Gen.hr.S_OK?"success":seraph_accel.Gen.hr.Succ(q.hr)?q.hr==seraph_accel.Gen.hr.S_FALSE?"normal":"warning":"error",seraph_accel.Ui.Tag("strong", 44 d.name?d.name:d.id)+x,!1));if(seraph_accel.SelfDiag._int.inProgress){v.next=28;break}return v.abrupt("break",31);case 28:l++;v.next=16;break;case 31:f.hide(),p.prop("disabled",!1),a.prop("disabled",!0);case 34:case "end":return v.stop()}},u,this)}));return r.apply(this,arguments)}var g=seraph_accel.Wp.Loc.GetApi()._x;seraph_accel.SelfDiag={_int:{OnStart:function(m){return r.apply(this,arguments)},OnCancel:function(m){m=jQuery(m.parentNode).closest(".blck").first();m.find(".seraph_accel_spinner"); 45 m.find('input[type="button"]:not(.cancel)');m.find('input[type="button"].cancel').prop("disabled",!0);seraph_accel.SelfDiag._int.inProgress=!1;seraph_accel.SelfDiag._int.curAjax&&seraph_accel.SelfDiag._int.curAjax.abort()},inProgress:!1}}})()})(); 1 function asyncGeneratorStep(z,y,K,J,G,E,B){try{var H=z[E](B),C=H.value}catch(L){K(L);return}H.done?y(C):Promise.resolve(C).then(J,G)}function _asyncToGenerator(z){return function(){var y=this,K=arguments;return new Promise(function(J,G){function E(C){asyncGeneratorStep(H,J,G,E,B,"next",C)}function B(C){asyncGeneratorStep(H,J,G,E,B,"throw",C)}var H=z.apply(y,K);E(void 0)})}} 2 function _typeof(z){_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"===typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y};return _typeof(z)}var _regenerator; 3 (function(){var z=function(y){function K(a,b,c,m){b=Object.create((b&&b.prototype instanceof G?b:G).prototype);m=new M(m||[]);b._invoke=L(a,c,m);return b}function J(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(m){return{type:"throw",arg:m}}}function G(){}function E(){}function B(){}function H(a){["next","throw","return"].forEach(function(b){a[b]=function(c){return this._invoke(b,c)}})}function C(a,b){function c(d,q,v,x){d=J(a[d],a,q);if("throw"===d.type)x(d.arg);else{var r=d.arg;return(d= 4 r.value)&&"object"===_typeof(d)&&D.call(d,"__await")?b.resolve(d.__await).then(function(A){c("next",A,v,x)},function(A){c("throw",A,v,x)}):b.resolve(d).then(function(A){r.value=A;v(r)},function(A){return c("throw",A,v,x)})}}var m;this._invoke=function(d,q){function v(){return new b(function(x,r){c(d,q,x,r)})}return m=m?m.then(v,v):v()}}function L(a,b,c){var m=l;return function(d,q){if(m===u)throw Error("Generator is already running");if(m===e){if("throw"===d)throw q;return P()}c.method=d;for(c.arg= 5 q;;){if(d=c.delegate)if(d=Q(d,c)){if(d===h)continue;return d}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(m===l)throw m=e,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);m=u;d=J(a,b,c);if("normal"===d.type){m=c.done?e:g;if(d.arg===h)continue;return{value:d.arg,done:c.done}}"throw"===d.type&&(m=e,c.method="throw",c.arg=d.arg)}}}function Q(a,b){var c=a.iterator[b.method];if(c===F){b.delegate=null;if("throw"===b.method){if(a.iterator["return"]&& 6 (b.method="return",b.arg=F,Q(a,b),"throw"===b.method))return h;b.method="throw";b.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}c=J(c,a.iterator,b.arg);if("throw"===c.type)return b.method="throw",b.arg=c.arg,b.delegate=null,h;c=c.arg;if(!c)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,h;if(c.done)b[a.resultName]=c.value,b.next=a.nextLoc,"return"!==b.method&&(b.method="next",b.arg=F);else return c;b.delegate=null;return h} 7 function R(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]);2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]);this.tryEntries.push(b)}function N(a){var b=a.completion||{};b.type="normal";delete b.arg;a.completion=b}function M(a){this.tryEntries=[{tryLoc:"root"}];a.forEach(R,this);this.reset(!0)}function O(a){if(a){var b=a[n];if(b)return b.call(a);if("function"===typeof a.next)return a;if(!isNaN(a.length)){var c=-1;b=function d(){for(;++c<a.length;)if(D.call(a,c))return d.value=a[c],d.done=!1,d;d.value= 8 F;d.done=!0;return d};return b.next=b}}return{next:P}}function P(){return{value:F,done:!0}}var S=Object.prototype,D=S.hasOwnProperty,F,w="function"===typeof Symbol?Symbol:{},n=w.iterator||"@@iterator",t=w.asyncIterator||"@@asyncIterator",k=w.toStringTag||"@@toStringTag";y.wrap=K;var l="suspendedStart",g="suspendedYield",u="executing",e="completed",h={};w={};w[n]=function(){return this};var f=Object.getPrototypeOf;(f=f&&f(f(O([]))))&&f!==S&&D.call(f,n)&&(w=f);var p=B.prototype=G.prototype=Object.create(w); 9 E.prototype=p.constructor=B;B.constructor=E;B[k]=E.displayName="GeneratorFunction";y.isGeneratorFunction=function(a){return(a="function"===typeof a&&a.constructor)?a===E||"GeneratorFunction"===(a.displayName||a.name):!1};y.mark=function(a){Object.setPrototypeOf?Object.setPrototypeOf(a,B):(a.__proto__=B,k in a||(a[k]="GeneratorFunction"));a.prototype=Object.create(p);return a};y.awrap=function(a){return{__await:a}};H(C.prototype);C.prototype[t]=function(){return this};y.AsyncIterator=C;y.async=function(a, 10 b,c,m,d){void 0===d&&(d=Promise);var q=new C(K(a,b,c,m),d);return y.isGeneratorFunction(b)?q:q.next().then(function(v){return v.done?v.value:q.next()})};H(p);p[k]="Generator";p[n]=function(){return this};p.toString=function(){return"[object Generator]"};y.keys=function(a){var b=[],c;for(c in a)b.push(c);b.reverse();return function d(){for(;b.length;){var q=b.pop();if(q in a)return d.value=q,d.done=!1,d}d.done=!0;return d}};y.values=O;M.prototype={constructor:M,reset:function(a){this.next=this.prev= 11 0;this.sent=this._sent=F;this.done=!1;this.delegate=null;this.method="next";this.arg=F;this.tryEntries.forEach(N);if(!a)for(var b in this)"t"===b.charAt(0)&&D.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=F)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(r,A){q.type="throw";q.arg=a;c.next=r;A&&(c.method="next",c.arg=F);return!!A}if(this.done)throw a;for(var c=this,m=this.tryEntries.length-1;0<= 12 m;--m){var d=this.tryEntries[m],q=d.completion;if("root"===d.tryLoc)return b("end");if(d.tryLoc<=this.prev){var v=D.call(d,"catchLoc"),x=D.call(d,"finallyLoc");if(v&&x){if(this.prev<d.catchLoc)return b(d.catchLoc,!0);if(this.prev<d.finallyLoc)return b(d.finallyLoc)}else if(v){if(this.prev<d.catchLoc)return b(d.catchLoc,!0)}else if(x){if(this.prev<d.finallyLoc)return b(d.finallyLoc)}else throw Error("try statement without catch or finally");}}},abrupt:function(a,b){for(var c=this.tryEntries.length- 13 1;0<=c;--c){var m=this.tryEntries[c];if(m.tryLoc<=this.prev&&D.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var d=m;break}}d&&("break"===a||"continue"===a)&&d.tryLoc<=b&&b<=d.finallyLoc&&(d=null);c=d?d.completion:{};c.type=a;c.arg=b;return d?(this.method="next",this.next=d.finallyLoc,h):this.complete(c)},complete:function(a,b){if("throw"===a.type)throw a.arg;"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"=== 14 a.type&&b&&(this.next=b);return h},finish:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,c.afterLoc),N(c),h}},"catch":function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.tryLoc===a){a=c.completion;if("throw"===a.type){var m=a.arg;N(c)}return m}}throw Error("illegal catch attempt");},delegateYield:function(a,b,c){this.delegate={iterator:O(a),resultName:b,nextLoc:c};"next"===this.method&& 15 (this.arg=F);return h}};return y}("object"===("undefined"===typeof module?"undefined":_typeof(module))?module.exports:{});try{_regenerator=z}catch(y){Function("r","_regenerator = r")(z)}})(); 16 (function(){function z(w){var n=null;w==seraph_accel.Gen.hr.E_CONTEXT_EXPIRED?n=D("OpSrvCtxExpired","admin.Manage","seraphinite-accelerator"):seraph_accel.Gen.hr.Fail(w)&&(n=F(D("OpSrvErr_%1$08X","admin.Manage","seraphinite-accelerator"),w));return n}function y(){y=_asyncToGenerator(_regenerator.mark(function t(n){return _regenerator.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return jQuery(n).attr("disabled",!0),k.prev=1,k.next=4,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 17 "LogClear",{}),type:"POST",data:"",dataType:"json",cache:!1});case 4:k.next=8;break;case 6:k.prev=6,k.t0=k["catch"](1);case 8:jQuery(n).attr("disabled",!1);case 9:case "end":return k.stop()}},t,this,[[1,6]])}));return y.apply(this,arguments)}function K(){K=_asyncToGenerator(_regenerator.mark(function k(n,t){var l,g,u,e,h,f;return _regenerator.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:l=jQuery(n.parentNode).closest(".blck").first();g=l.find(".seraph_accel_spinner");l.find(".content");u= 18 l.find('input[type="button"]:not(.cancel)');e=l.find('input[type="button"].cancel');if(!t){p.next=23;break}u.prop("disabled",!0);g.show();seraph_accel.Manager._int.notRefreshStat=!0;h=null;p.prev=10;p.next=13;return jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"UpdateStatBegin",{}),cache:!1,dataType:"json"});case 13:f=p.sent;seraph_accel.Gen.hr.Fail(f)&&(h=F(D("OpSrvErr_%1$08X","admin.Manage","seraphinite-accelerator"),f));p.next=20;break;case 17:p.prev=17, 19 p.t0=p["catch"](10),h="HTTP "+p.t0.status;case 20:return h&&(alert(h),u.prop("disabled",!1),g.hide()),delete seraph_accel.Manager._int.notRefreshStat,p.abrupt("return");case 23:return e.prop("disabled",!0),seraph_accel.Manager._int.notRefreshStat=!0,h=null,p.prev=26,p.next=29,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"UpdateStatCancel",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 29:f=p.sent;h=z(f);p.next=37;break;case 33:p.prev=33,p.t1=p["catch"](26), 20 h="HTTP "+p.t1.status,e.prop("disabled",!1);case 37:h&&alert(h),delete seraph_accel.Manager._int.notRefreshStat;case 39:case "end":return p.stop()}},k,this,[[10,17],[26,33]])}));return K.apply(this,arguments)}function J(w){switch(w){case 0:return D("OpDescr_Invalidate","admin.Manage","seraphinite-accelerator");case 3:return D("OpDescr_CheckInvalidate","admin.Manage","seraphinite-accelerator");case 2:return D("OpDescr_Delete","admin.Manage","seraphinite-accelerator");case 10:return D("OpDescr_SrvDel", 21 "admin.Manage","seraphinite-accelerator")}return""+w}function G(){G=_asyncToGenerator(_regenerator.mark(function t(n){var k,l,g,u;return _regenerator.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find('input[type="button"].cancel'),l.prop("disabled",!0),g=null,e.prev=4,e.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"PostUpdCancel",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 7:u= 22 e.sent;g=z(u);e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](4),g="HTTP "+e.t0.status;case 14:g&&alert(g);case 15:case "end":return e.stop()}},t,this,[[4,11]])}));return G.apply(this,arguments)}function E(){E=_asyncToGenerator(_regenerator.mark(function t(n){var k,l,g,u;return _regenerator.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find('input[type="button"].cancel'),l.prop("disabled",!0),g=null,e.prev=4,e.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+ 23 "ScheUpdCancel",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 7:u=e.sent;g=z(u);e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](4),g="HTTP "+e.t0.status;case 14:g&&alert(g);case 15:case "end":return e.stop()}},t,this,[[4,11]])}));return E.apply(this,arguments)}function B(){B=_asyncToGenerator(_regenerator.mark(function t(n){var k,l,g,u,e,h;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find(".seraph_accel_spinner"), 24 g=k.find('input[type="button"]:not(.cancel)'),u=k.find('input[type="button"].cancel'),l.show(),g.prop("disabled",!0),u.prop("disabled",!1),seraph_accel.Manager._int.notRefreshExtDp=!0,e=null,f.prev=9,f.next=12,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"ExtDbUpdBegin",{}),type:"POST",data:"",cache:!1,dataType:"json"});case 12:h=f.sent;e=z(h);f.next=19;break;case 16:f.prev=16,f.t0=f["catch"](9),e="HTTP "+f.t0.status;case 19:e&&alert(e),delete seraph_accel.Manager._int.notRefreshExtDp; 25 case 21:case "end":return f.stop()}},t,this,[[9,16]])}));return B.apply(this,arguments)}function H(){H=_asyncToGenerator(_regenerator.mark(function t(n){var k,l,g,u;return _regenerator.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find('input[type="button"].cancel'),l.prop("disabled",!0),g=null,e.prev=4,e.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"ExtDbUpdCancel",{}),type:"POST",data:"", 26 cache:!1,dataType:"json"});case 7:u=e.sent;g=z(u);e.next=14;break;case 11:e.prev=11,e.t0=e["catch"](4),g="HTTP "+e.t0.status;case 14:g&&alert(g);case 15:case "end":return e.stop()}},t,this,[[4,11]])}));return H.apply(this,arguments)}function C(){C=_asyncToGenerator(_regenerator.mark(function l(n,t,k){var g,u,e,h,f,p,a,b,c,m,d,q,v,x;return _regenerator.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),u=g.find(".seraph_accel_spinner"),e=g.find(".descr"), 27 h=g.find('input[type="button"]:not(.cancel)'),f=g.find('input[type="button"].cancel'),p=g.find("#seraph_accel_views"),a=g.find("#seraph_accel_geos"),b=[],p.get()&&(seraph_accel.Ui.TokensMetaTree.Apply(p.get()),b=seraph_accel.Ui.TokensList.GetVal(p.get())),c=[],a.get()&&(seraph_accel.Ui.TokensMetaTree.Apply(a.get()),c=seraph_accel.Ui.TokensList.GetVal(a.get()).filter(function(A){return"_"!==A})),d=String(g.find(".type").val()),"uri"===d?m=g.find(".uri").val():0===d.indexOf("uri:")&&(m=d.substr(4), 28 d="uri"),m=seraph_accel.Gen.StrReplaceAll(String(m),["\r","\n","*"],["",";","{ASTRSK}"]),u.show(),e.show(),e.text(J(t)),h.prop("disabled",!0),f.prop("disabled",!1),seraph_accel.Manager._int.notRefreshOp=!0,q={cache:!1,dataType:"json"},512>m.length?q.url=seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"CacheOpBegin",{type:d,op:t,uri:m,v:b.join(),g:c.length?c.join():void 0,_wpnonce:k}):(q.url=seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"CacheOpBegin", 29 {type:d,op:t,v:b.join(),g:c.length?c.join():void 0,_wpnonce:k}),q.type="POST",q.contentType="application/x-www-form-urlencoded",q.data="uri="+encodeURIComponent(m)),v=null,r.prev=23,r.next=26,jQuery.ajax(q);case 26:x=r.sent;v=z(x);r.next=33;break;case 30:r.prev=30,r.t0=r["catch"](23),v="HTTP "+r.t0.status;case 33:v&&alert(v),delete seraph_accel.Manager._int.notRefreshOp;case 35:case "end":return r.stop()}},l,this,[[23,30]])}));return C.apply(this,arguments)}function L(){L=_asyncToGenerator(_regenerator.mark(function l(n, 30 t,k){var g,u,e,h;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return g=jQuery(n.parentNode).closest(".blck").first(),u=g.find('input[type="button"].cancel'),u.prop("disabled",!0),e=null,f.prev=4,f.next=7,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"CacheOpCancel",{op:t,_wpnonce:k}),type:"POST",data:"",cache:!1,dataType:"json"});case 7:h=f.sent;e=z(h);f.next=14;break;case 11:f.prev=11,f.t0=f["catch"](4),e="HTTP "+f.t0.status;case 14:e&& 31 alert(e);case 15:case "end":return f.stop()}},l,this,[[4,11]])}));return L.apply(this,arguments)}function Q(){Q=_asyncToGenerator(_regenerator.mark(function l(n,t,k){return _regenerator.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:case "end":return g.stop()}},l,this)}));return Q.apply(this,arguments)}function R(){R=_asyncToGenerator(_regenerator.mark(function l(n,t,k){return _regenerator.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:case "end":return g.stop()}},l,this)}));return R.apply(this, 32 arguments)}function N(){N=_asyncToGenerator(_regenerator.mark(function l(n,t,k){return _regenerator.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:case "end":return g.stop()}},l,this)}));return N.apply(this,arguments)}function M(){M=_asyncToGenerator(_regenerator.mark(function k(n,t){var l,g,u,e;return _regenerator.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:e=function(){e=_asyncToGenerator(_regenerator.mark(function p(){return _regenerator.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next= 33 2,seraph_accel.Manager._int.OnDataRefresh(n,t);case 2:g();case 3:case "end":return a.stop()}},p,this)}));return e.apply(this,arguments)},u=function(){return e.apply(this,arguments)},g=function(){var f=1E3*parseInt(l.val(),10);100>f&&(f=100);clearTimeout(seraph_accel.Manager._int.refreshTimer);seraph_accel.Manager._int.refreshTimer=setTimeout(u,f)},l=jQuery(n).find("#operate .tmDataRefresh"),l.on("change",g),u();case 6:case "end":return h.stop()}},k,this)}));return M.apply(this,arguments)}function O(){O= 34 _asyncToGenerator(_regenerator.mark(function k(n,t){var l,g,u,e,h,f,p,a,b,c,m,d,q,v,x,r,A;return _regenerator.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return l=jQuery(n).find("#status").first(),g=jQuery(n).find("#stat").first(),u=g.find(".seraph_accel_spinner"),e=g.find('input[type="button"]:not(.cancel)'),h=g.find('input[type="button"].cancel'),f=jQuery(n).find("#operate").first(),p=f.find(".seraph_accel_spinner"),a=f.find(".descr"),b=f.find('input[type="button"]:not(.cancel)'),c=f.find('input[type="button"].cancel'), 35 m=jQuery(n).find("#queue").first(),m.find(".content"),d=m.find(".maxItems"),m.find(".seraph_accel_spinner"),m.find('input[type="button"]'),m.find(".descrNums"),I.prev=16,I.next=19,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"GetData",{nMaxQueueItems:d.val(),allSites:t?!0:void 0}),type:"GET",cache:!1,dataType:"json"});case 19:r=I.sent;I.next=24;break;case 22:I.prev=22,I.t0=I["catch"](16);case 24:if(r){I.next=26;break}return I.abrupt("return");case 26:if(!t){for(A in r.status.cont)l.find('[data-id-cont="'+ 36 A+'"]').html(r.status.cont[A]);seraph_accel.Manager._int.notRefreshPostUpd||(q=l.find(".blck.postupd .seraph_accel_spinner"),v=l.find('.blck.postupd input[type="button"]:not(.cancel)'),x=l.find('.blck.postupd input[type="button"].cancel'),r.status.postUpd?(q.show(),v.prop("disabled",!0),x.prop("disabled",!1)):(q.hide(),v.prop("disabled",!1),x.prop("disabled",!0)));seraph_accel.Manager._int.notRefreshScheUpd||(q=l.find(".blck.scheupd .seraph_accel_spinner"),v=l.find('.blck.scheupd input[type="button"]:not(.cancel)'), 37 x=l.find('.blck.scheupd input[type="button"].cancel'),r.status.scheUpd?(q.show(),v.prop("disabled",!0),x.prop("disabled",!1)):(q.hide(),v.prop("disabled",!1),x.prop("disabled",!0)));seraph_accel.Manager._int.notRefreshCleanup||(q=l.find(".blck.cleanup .seraph_accel_spinner"),v=l.find('.blck.cleanup input[type="button"]:not(.cancel)'),x=l.find('.blck.cleanup input[type="button"].cancel'),r.status.cleanUp?(q.show(),v.prop("disabled",!0),x.prop("disabled",!1)):(q.hide(),v.prop("disabled",!1),x.prop("disabled", 38 !0)))}t||seraph_accel.Manager._int.notRefreshExtDp||(q=l.find(".blck.extdb .seraph_accel_spinner"),v=l.find('.blck.extdb input[type="button"]:not(.cancel)'),x=l.find('.blck.extdb input[type="button"].cancel'),r.extDb.isUpdating?(q.show(),v.prop("disabled",!0),x.prop("disabled",!1)):(q.hide(),v.prop("disabled",!1),x.prop("disabled",!0)));t||seraph_accel.Manager._int.notRefreshStat||(r.stat.isUpdating?(u.show(),e.prop("disabled",!0),h.prop("disabled",!1)):(u.hide(),e.prop("disabled",!1),h.prop("disabled", 39 !0)),g.find('[data-id-cont="stat"]').html(r.stat.cont));t||seraph_accel.Manager._int.notRefreshOp||(null===r.curOp&&(r.curOp=void 0),void 0!==r.curOp?(p.show(),a.show(),a.text(J(r.curOp)),b.prop("disabled",!0),c.prop("disabled",!1)):(p.hide(),a.hide(),b.prop("disabled",!1),c.prop("disabled",!0),a.text("")));case 30:case "end":return I.stop()}},k,this,[[16,22]])}));return O.apply(this,arguments)}function P(){P=_asyncToGenerator(_regenerator.mark(function t(n){var k,l,g,u,e,h,f,p;return _regenerator.wrap(function(a){for(;;)switch(a.prev= 40 a.next){case 0:return k=jQuery(n.parentNode).closest(".blck").first(),l=k.find(".url"),g=k.find(".messages"),u=k.find(".seraph_accel_spinner"),e=k.find('input[type="button"]'),h=0,k.find(".liteChk").prop("checked")&&(h|=1),k.find(".medChk").prop("checked")&&(h|=2),k.find(".tidyChk").prop("checked")&&(h|=524288),g.empty(),u.show(),e.prop("disabled",!0),a.prev=12,a.next=15,jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"HtmlCheck",{url:l.val(),norm:h}),type:"POST", 41 data:"",dataType:"json",cache:!1});case 15:f=a.sent;a.next=21;break;case 18:a.prev=18,a.t0=a["catch"](12),f={err:a.t0.statusText};case 21:u.hide();e.prop("disabled",!1);if(!f.err){a.next=26;break}g.append(seraph_accel.Ui.LogItem("error",f.err));return a.abrupt("return");case 26:for(p in f.list)p=f.list[p],g.append(seraph_accel.Ui.LogItem(p.severity,p.text));case 27:case "end":return a.stop()}},t,this,[[12,18]])}));return P.apply(this,arguments)}var S=seraph_accel.Wp.Loc.GetApi(),D=S._x,F=S.sprintf; 42 seraph_accel.Settings={_int:{OnUpdateCssAuto:function(w){seraph_accel.Ui.ComboShowDependedItems(w,jQuery(w.parentNode).closest(".blck").first().get(0))},OnLogClear:function(w){return y.apply(this,arguments)}}};seraph_accel.Manager={_int:{OnStatOp:function(w,n){return K.apply(this,arguments)},OnCacheOp:function(w,n,t){return C.apply(this,arguments)},OnCacheOpCancel:function(w,n,t){return L.apply(this,arguments)},OnPostUpdCancel:function(w){return G.apply(this,arguments)},OnScheUpdCancel:function(w){return E.apply(this, 43 arguments)},OnExtDbUpdBegin:function(w){return B.apply(this,arguments)},OnExtDbUpdCancel:function(w){return H.apply(this,arguments)},OnQueueDel:function(w,n,t){return Q.apply(this,arguments)},OnQueuePause:function(w,n,t){return R.apply(this,arguments)},OnQueueItemCancel:function(w,n,t){return N.apply(this,arguments)},OnDataRefreshInit:function(w,n){return M.apply(this,arguments)},OnDataRefresh:function(w,n){return O.apply(this,arguments)},OnHtmlCheck:function(w){return P.apply(this,arguments)}}}; 44 (function(){function w(l){return n.apply(this,arguments)}function n(){n=_asyncToGenerator(_regenerator.mark(function u(g){var e,h;return _regenerator.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return e={},f.prev=1,seraph_accel.SelfDiag._int.curAjax=jQuery.ajax({url:seraph_accel.Net.UpdateQueryArgs(seraph_accel.Plugin.GetAdminApiUrl()+"SelfDiag_"+g,{}),cache:!1,dataType:"json"}),f.next=5,seraph_accel.SelfDiag._int.curAjax;case 5:e=f.sent;delete seraph_accel.SelfDiag._int.curAjax;f.next=14; 45 break;case 9:f.prev=9,f.t0=f["catch"](1),delete seraph_accel.SelfDiag._int.curAjax,0===f.t0.status?e.hr=seraph_accel.Gen.hr.S_ABORTED:(e.hr=seraph_accel.Gen.hr.E_FAIL,e.descr="HTTP "+f.t0.status),500==f.t0.status&&(h=document.implementation.createHTMLDocument(""),h.documentElement.innerHTML=f.t0.responseText,h=h.body.textContent,h=seraph_accel.Gen.StrReplaceAll(h,"\r",""),h=seraph_accel.Gen.StrReplaceAll(h,["\t","\v"]," "),h=seraph_accel.Gen.StrReplaceAll(h,"\n",". "),(h=seraph_accel.Gen.StrReplaceAllWhileChanging(h, 46 [" ",". . "],[" ",". "]).trim())&&"."!=h&&(e.descr+="<br>"+h));case 14:return f.abrupt("return",e);case 15:case "end":return f.stop()}},u,this,[[1,9]])}));return n.apply(this,arguments)}function t(){t=_asyncToGenerator(_regenerator.mark(function u(g){var e,h,f,p,a,b,c,m,d,q,v,x=arguments;return _regenerator.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:e=1<x.length&&void 0!==x[1]?x[1]:!1;h=jQuery(g.parentNode).closest(".blck").first();f=h.find(".seraph_accel_spinner");p=h.find('input[type="button"]:not(.cancel)'); 47 a=h.find('input[type="button"].cancel');b=h.find(".log");c=[{id:"3rdPartySettCompat",name:k("TestName_3rdPartySettCompat","admin.SelfDiag","seraphinite-accelerator")},{id:"AsyncRequest",name:k("TestName_AsyncRequest","admin.SelfDiag","seraphinite-accelerator")},{id:"SetMaxExecTime",name:k("TestName_SetMaxExecTime","admin.SelfDiag","seraphinite-accelerator")},{id:"PageOptimize",name:k("TestName_PageOptimize","admin.SelfDiag","seraphinite-accelerator")},{id:"VendorSrv",name:k("TestName_VendorSrv","admin.SelfDiag", 48 "seraphinite-accelerator")},{id:"ExtCache",name:k("TestName_ExtCache","admin.SelfDiag","seraphinite-accelerator")}];b.empty();for(m=0;m<c.length;m++)d=c[m],b.append(seraph_accel.Ui.LogItem("none",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id),!1));if(!e){r.next=11;break}return r.abrupt("return");case 11:f.show(),p.prop("disabled",!0),a.prop("disabled",!1),seraph_accel.SelfDiag._int.inProgress=!0,m=0;case 16:if(!(m<c.length)){r.next=31;break}d=c[m];jQuery(b.children().get(m)).replaceWith(seraph_accel.Ui.LogItem("info", 49 seraph_accel.Ui.Tag("strong",d.name?d.name:d.id)+k("TestRunning","admin.SelfDiag","seraphinite-accelerator"),!1));r.next=21;return w(d.id);case 21:q=r.sent;v=k("TestSucc","admin.SelfDiag","seraphinite-accelerator");q.hr!=seraph_accel.Gen.hr.S_OK&&(v=seraph_accel.Gen.hr.Succ(q.hr)?q.hr==seraph_accel.Gen.hr.S_ABORTED?k("TestAbort","admin.SelfDiag","seraphinite-accelerator"):q.hr==seraph_accel.Gen.hr.S_FALSE?k("TestNotice","admin.SelfDiag","seraphinite-accelerator"):k("TestWarn","admin.SelfDiag","seraphinite-accelerator"): 50 k("TestError","admin.SelfDiag","seraphinite-accelerator"));q.descr&&(v+="<br>"+q.descr);jQuery(b.children().get(m)).replaceWith(seraph_accel.Ui.LogItem(q.hr==seraph_accel.Gen.hr.S_OK?"success":seraph_accel.Gen.hr.Succ(q.hr)?q.hr==seraph_accel.Gen.hr.S_FALSE?"normal":"warning":"error",seraph_accel.Ui.Tag("strong",d.name?d.name:d.id)+v,!1));if(seraph_accel.SelfDiag._int.inProgress){r.next=28;break}return r.abrupt("break",31);case 28:m++;r.next=16;break;case 31:f.hide(),p.prop("disabled",!1),a.prop("disabled", 51 !0);case 34:case "end":return r.stop()}},u,this)}));return t.apply(this,arguments)}var k=seraph_accel.Wp.Loc.GetApi()._x;seraph_accel.SelfDiag={_int:{OnStart:function(l){return t.apply(this,arguments)},OnCancel:function(l){l=jQuery(l.parentNode).closest(".blck").first();l.find(".seraph_accel_spinner");l.find('input[type="button"]:not(.cancel)');l.find('input[type="button"].cancel').prop("disabled",!0);seraph_accel.SelfDiag._int.inProgress=!1;seraph_accel.SelfDiag._int.curAjax&&seraph_accel.SelfDiag._int.curAjax.abort()}, 52 inProgress:!1}}})()})(); -
seraphinite-accelerator/trunk/Cmn/Gen.php
r3341735 r3348666 3625 3625 $args[ 'provider' ] = 'CURL'; 3626 3626 if( !isset( $args[ 'user-agent' ] ) ) 3627 $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.4 0';3627 $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.41'; 3628 3628 if( !isset( $args[ 'timeout' ] ) ) 3629 3629 $args[ 'timeout' ] = 5; -
seraphinite-accelerator/trunk/Cmn/Plugin.php
r3341735 r3348666 307 307 $args[ 'id' ] = 'wordpress-accelerator'; 308 308 $args[ 'name' ] = 'Accelerator'; 309 $args[ 'v' ] = '2.27.4 0';309 $args[ 'v' ] = '2.27.41'; 310 310 $args[ 'pk' ] = 'Base'; 311 311 $args[ 'cfg' ] = ''; … … 329 329 $lastCheckPackage = 'Base'; 330 330 331 if( $lastCheckVer !== '2.27.4 0' || $lastCheckPackage !== 'Base' )331 if( $lastCheckVer !== '2.27.41' || $lastCheckPackage !== 'Base' ) 332 332 { 333 333 $state = Plugin::StateGet(); 334 334 335 if( $lastCheckVer !== '2.27.4 0' && !isset( $state[ 'changeVerCheck' ] ) )335 if( $lastCheckVer !== '2.27.41' && !isset( $state[ 'changeVerCheck' ] ) ) 336 336 { 337 337 $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : ''; … … 350 350 if( !$bForce ) 351 351 { 352 if( $bFirstTimeOnly && $lastCheckVer == '2.27.4 0' )352 if( $bFirstTimeOnly && $lastCheckVer == '2.27.41' ) 353 353 return( Gen::S_FALSE ); 354 354 … … 369 369 $args[ 'id' ] = 'wordpress-accelerator'; 370 370 $args[ 'name' ] = 'Accelerator'; 371 $args[ 'v' ] = '2.27.4 0';371 $args[ 'v' ] = '2.27.41'; 372 372 $args[ 'pk' ] = 'Base'; 373 373 $args[ 'cfg' ] = ''; … … 386 386 { 387 387 $data[ 'updTime' ] = $curUpdTime; 388 $data[ 'plgVer' ] = '2.27.4 0';388 $data[ 'plgVer' ] = '2.27.41'; 389 389 $data[ 'plgPk' ] = 'Base'; 390 390 … … 403 403 $data[ 'mdfTime' ] = $timeMdf; 404 404 $data[ 'updTime' ] = $curUpdTime; 405 $data[ 'plgVer' ] = '2.27.4 0';405 $data[ 'plgVer' ] = '2.27.41'; 406 406 $data[ 'plgPk' ] = 'Base'; 407 407 … … 1449 1449 1450 1450 $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' ); 1451 $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.4 0' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;1451 $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.41' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null; 1452 1452 $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' ); 1453 1453 $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' ); 1454 $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.4 0' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;1454 $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.41' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null; 1455 1455 1456 1456 $urlEula = null; … … 1461 1461 1462 1462 { 1463 $version = esc_html( '2.27.4 0' );1463 $version = esc_html( '2.27.41' ); 1464 1464 1465 1465 $res .= Ui::TagOpen( 'div' ); … … 1510 1510 $rmtCfg = PluginRmtCfg::Get(); 1511 1511 1512 $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.4 0' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;1512 $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.41' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null; 1513 1513 $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' ); 1514 1514 $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' ); … … 2037 2037 2038 2038 $verFrom = self::_PrevVer_GetInt( $plgVerPrev ); 2039 $verTo = self::_PrevVer_GetInt( '2.27.4 0' );2039 $verTo = self::_PrevVer_GetInt( '2.27.41' ); 2040 2040 if( $verTo < $verFrom ) 2041 2041 list( $verTo, $verFrom ) = array( $verFrom, $verTo ); … … 2162 2162 continue; 2163 2163 2164 wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.4 0' );2164 wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.41' ); 2165 2165 2166 2166 self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true; … … 2229 2229 $scrHndId = Plugin::CmnScriptId( $id ); 2230 2230 2231 wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.4 0' );2231 wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.41' ); 2232 2232 if( $id == 'Gen' ) 2233 2233 Plugin::Loc_ScriptLoad( $scrHndId ); … … 2674 2674 var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>"; 2675 2675 sendDataUrl = sendDataUrl.replace( "{EndPointId}", encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) ); 2676 sendDataUrl = sendDataUrl.replace( "{PluginVersion}", encodeURI( "2.27.4 0" ) );2676 sendDataUrl = sendDataUrl.replace( "{PluginVersion}", encodeURI( "2.27.41" ) ); 2677 2677 sendDataUrl = sendDataUrl.replace( "{PluginMode}", encodeURI( "base" ) ); 2678 2678 sendDataUrl = sendDataUrl.replace( "{PluginPackage}", encodeURI( "Base" ) ); -
seraphinite-accelerator/trunk/Cmn/Ui.php
r3264147 r3348666 985 985 } 986 986 987 static function PostBoxes( $title, $metaBoxes = array( 'body' => null ), array$callbacks = null, $callbacks_args = null, $blocksAttrs = null )987 static function PostBoxes( $title, $metaBoxes = array( 'body' => null ), $callbacks = null, $callbacks_args = null, $blocksAttrs = null ) 988 988 { 989 989 wp_enqueue_script( 'postbox' ); -
seraphinite-accelerator/trunk/cache.php
r3341735 r3348666 645 645 646 646 if( $bHdr ) 647 @header( 'X-Seraph-Accel-Cache: 2.27.4 0;' . $debugInfo );647 @header( 'X-Seraph-Accel-Cache: 2.27.41;' . $debugInfo ); 648 648 649 649 if( $bLog ) … … 1551 1551 { 1552 1552 $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??''); 1553 $_SERVER[ 'HTTP_USER_AGENT' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.4 0';1553 $_SERVER[ 'HTTP_USER_AGENT' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.41'; 1554 1554 } 1555 1555 -
seraphinite-accelerator/trunk/common.php
r3341735 r3348666 1338 1338 1339 1339 'tblPrss' => array( 1340 'enable' => false, 1341 ), 1342 1343 'flntFrm' => array( 1340 1344 'enable' => false, 1341 1345 ), … … 2166 2170 'body:@\\Wdocument\\s*\\.\\s*querySelector\\s*\\(\\s*"\\.jdgm-rev-widg"\\s*\\)@', 2167 2171 2168 'id:@^uagb-@',2169 2170 2172 'src:@fareharbor\.com@', 2171 2173 … … 4050 4052 function GetViewTypeUserAgent( $viewsDeviceGrp ) 4051 4053 { 4052 return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.4 0' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );4054 return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.41 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) ); 4053 4055 } 4054 4056 … … 5354 5356 $args = array( 'sslverify' => false, 'timeout' => $timeout ); 5355 5357 if( $userAgentCmn ) 5356 $args[ 'user-agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.4 0';5358 $args[ 'user-agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.41'; 5357 5359 5358 5360 global $seraph_accel_g_aGetExtContentsFailedSrvs; … … 5804 5806 { 5805 5807 if( !isset( $headers[ 'User-Agent' ] ) ) 5806 $headers[ 'User-Agent' ] = ($headers[ 'X-Seraph-Accel-Postpone-User-Agent' ]??'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.4 0');5808 $headers[ 'User-Agent' ] = ($headers[ 'X-Seraph-Accel-Postpone-User-Agent' ]??'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.41'); 5807 5809 $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] ); 5808 5810 -
seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot
r3341735 r3348666 7 7 msgid "" 8 8 msgstr "" 9 "#-#-#-#-# cmn.admin.pot (seraphinite-accelerator 2.27.4 0) #-#-#-#-#\n"10 "Project-Id-Version: seraphinite-accelerator 2.27.4 0\n"9 "#-#-#-#-# cmn.admin.pot (seraphinite-accelerator 2.27.41) #-#-#-#-#\n" 10 "Project-Id-Version: seraphinite-accelerator 2.27.41\n" 11 11 "Report-Msgid-Bugs-To: support@s-sols.com\n" 12 12 "MIME-Version: 1.0\n" 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "#-#-#-#-# main.admin.pot (seraphinite-accelerator 2.27.4 0) #-#-#-#-#\n"16 "Project-Id-Version: seraphinite-accelerator 2.27.4 0\n"15 "#-#-#-#-# main.admin.pot (seraphinite-accelerator 2.27.41) #-#-#-#-#\n" 16 "Project-Id-Version: seraphinite-accelerator 2.27.41\n" 17 17 "Report-Msgid-Bugs-To: support@s-sols.com\n" 18 18 "MIME-Version: 1.0\n" … … 1280 1280 msgstr "" 1281 1281 1282 msgctxt "admin.Settings_Cache_Revalidate_UpdGlobs" 1283 msgid "FlntFrmChk" 1284 msgstr "" 1285 1282 1286 # All update dependencies 1283 1287 msgctxt "admin.Settings_Cache_Revalidate_UpdAll" … … 3099 3103 msgstr "" 3100 3104 3105 # Unavailable 3101 3106 msgctxt "admin.Settings_Scripts_Skip" 3102 3107 msgid "BadChk" … … 3248 3253 msgstr "" 3249 3254 3255 # Unavailable 3250 3256 msgctxt "admin.Settings_Styles_Skip" 3251 3257 msgid "BadChk" -
seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot
r3341735 r3348666 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: seraphinite-accelerator 2.27.4 0\n"9 "Project-Id-Version: seraphinite-accelerator 2.27.41\n" 10 10 "Report-Msgid-Bugs-To: support@s-sols.com\n" 11 11 "MIME-Version: 1.0\n" -
seraphinite-accelerator/trunk/main.php
r3341735 r3348666 42 42 function _AddMenus( $accepted = false ) 43 43 { 44 add_menu_page( Plugin::GetPluginString( 'TitleLong' ), Plugin::GetNavMenuTitle(), 'manage_options', 'seraph_accel_manage', $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent', Plugin::FileUri( 'icon.png?v=2.27.4 0', __FILE__ ) );44 add_menu_page( Plugin::GetPluginString( 'TitleLong' ), Plugin::GetNavMenuTitle(), 'manage_options', 'seraph_accel_manage', $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent', Plugin::FileUri( 'icon.png?v=2.27.41', __FILE__ ) ); 45 45 add_submenu_page( 'seraph_accel_manage', esc_html_x( 'Title', 'admin.Manage', 'seraphinite-accelerator' ), esc_html_x( 'Title', 'admin.Manage', 'seraphinite-accelerator' ), 'manage_options', 'seraph_accel_manage', $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent' ); 46 46 add_submenu_page( 'seraph_accel_manage', Wp::GetLocString( 'Settings' ), Wp::GetLocString( 'Settings' ), 'manage_options', 'seraph_accel_settings', $accepted ? 'seraph_accel\\_SettingsPage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent' ); … … 1000 1000 function( $v ) 1001 1001 { 1002 static $g_aReason = array( 'term' => 'taxonomie(s)', 'menu' => 'menu(s)', 'elmntrTpl' => 'Elementor template(s)', 'tblPrss' => 'TablePress table(s)' );1002 static $g_aReason = array( 'term' => 'taxonomie(s)', 'menu' => 'menu(s)', 'elmntrTpl' => 'Elementor template(s)', 'tblPrss' => 'TablePress table(s)', 'flntFrm' => 'Fluent form(s)' ); 1003 1003 return( ($g_aReason[ $v ]??'UNK') ); 1004 1004 } … … 1282 1282 { 1283 1283 Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) ); 1284 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.4 0' );1284 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.41' ); 1285 1285 Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) ); 1286 1286 wp_enqueue_script( Plugin::ScriptId( 'Admin' ) ); … … 1445 1445 Ui::Button( Wp::safe_html_x( 'SrvDel', 'admin.Manage_Operate', 'seraphinite-accelerator' ), false, null, null, 'button', array( 'class' => array( 'ctlSpaceAfter', 'ctlSpaceVBefore', 'ctlVaMiddle' ), 'style' => array( 'min-width' => '7em' ), 'onclick' => 'seraph_accel.Manager._int.OnCacheOp(this,10,"' . wp_create_nonce( 'op-10' ) . '");return false;' ) ) . 1446 1446 Ui::Button( Wp::GetLocString( 'Cancel' ), false, null, null, 'button', array( 'class' => array( 'ctlSpaceAfter', 'ctlSpaceVBefore', 'ctlVaMiddle', 'cancel' ), 'style' => array( 'min-width' => '7em' ), 'disabled' => true, 'onclick' => 'seraph_accel.Manager._int.OnCacheOpCancel(this,undefined,"' . wp_create_nonce( 'op-cancel' ) . '");return false;' ) ) . 1447 Ui::NumberBox( null, 5, array( 'min' => 1, 'class' => array( 'ctlSpaceAfter', 'ctlSpaceVBefore', 'ctlVaMiddle', 'tmDataRefresh' ), 'style' => array( 'width' => '4em', 'display' => 'none' ) ) ) . 1447 1448 Ui::Spinner( false, array( 'class' => 'ctlSpaceAfter ctlSpaceVBefore ctlVaMiddle', 'style' => array( 'display' => 'none' ) ) ) . 1448 Ui::Tag( 'span', null, array( 'class' => 'ctlSpaceAfter ctlSpaceVBefore ctlVaMiddle ctlInlineBlock descr', 'style' => array( 'display' => 'none' ) ) ) 1449 Ui::Tag( 'span', null, array( 'class' => 'ctlSpaceAfter ctlSpaceVBefore ctlVaMiddle ctlInlineBlock descr', 'style' => array( 'display' => 'none' ) ) ) . 1450 '' 1449 1451 ) ); 1450 1452 } … … 1518 1520 $rmtCfg = PluginRmtCfg::Get(); 1519 1521 1520 $urlLogoImg = add_query_arg( array( 'v' => '2.27.4 0' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );1522 $urlLogoImg = add_query_arg( array( 'v' => '2.27.41' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) ); 1521 1523 $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' ); 1522 1524 … … 2247 2249 } 2248 2250 2251 function OnAdminApi_GetData( $args ) 2252 { 2253 2254 $siteId = !($args[ 'allSites' ]??null) ? GetSiteId() : null; 2255 2256 $res = array(); 2257 2258 if( $siteId ) 2259 { 2260 $res[ 'status' ] = GetStatusData( $siteId ); 2261 2262 $res[ 'stat' ] = array( 2263 'isUpdating' => !!PluginFileValues::Get( 'su' ), 2264 'cont' => $siteId ? GetStatCont( $siteId, get_option( 'seraph_accel_status' ) ) : '', 2265 ); 2266 2267 $res[ 'curOp' ] = CacheGetCurOp( 0 ); 2268 } 2269 2270 $res[ 'extDb' ] = array( 2271 'isUpdating' => !!PluginFileValues::GetEx( PluginFileValues::GetDirVar( 'm' ), 'edbu' ), 2272 ); 2273 2274 return( $res ); 2275 } 2276 2249 2277 function OnAsyncTask_CacheRevalidateAll( $args ) 2250 2278 { -
seraphinite-accelerator/trunk/oper.php
r3341735 r3348666 1208 1208 foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI ) 1209 1209 if( CacheOpViewsHeadersGetViewId( $viewIdI ) == 'cmn' ) 1210 $res[ $viewIdI ] = array( 'User-Agent' => 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.4 0' );1210 $res[ $viewIdI ] = array( 'User-Agent' => 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.41' ); 1211 1211 1212 1212 if( ($settCache[ 'views' ]??null) ) -
seraphinite-accelerator/trunk/options.php
r3341735 r3348666 142 142 143 143 Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) ); 144 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.4 0' );144 wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.41' ); 145 145 Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) ); 146 146 wp_enqueue_script( Plugin::ScriptId( 'Admin' ) ); … … 708 708 $fldId = 'cache/updGlobs/tblPrss/enable'; 709 709 $o .= ( Ui::CheckBox( esc_html_x( 'TblPrssChk', 'admin.Settings_Cache_Revalidate_UpdGlobs', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, null, '/' ), true ) ); 710 } 711 $o .= ( Ui::TagClose( 'td' ) ); 712 } 713 $o .= ( Ui::TagClose( 'tr' ) ); 714 715 $o .= ( Ui::TagOpen( 'tr' ) ); 716 { 717 $o .= ( Ui::TagOpen( 'td' ) ); 718 { 719 $fldId = 'cache/updGlobs/flntFrm/enable'; 720 $o .= ( Ui::CheckBox( esc_html_x( 'FlntFrmChk', 'admin.Settings_Cache_Revalidate_UpdGlobs', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, null, '/' ), true ) ); 710 721 } 711 722 $o .= ( Ui::TagClose( 'td' ) ); … … 5647 5658 { $fldId = 'cache/updGlobs/elmntrTpl/enable'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5648 5659 { $fldId = 'cache/updGlobs/tblPrss/enable'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5660 { $fldId = 'cache/updGlobs/flntFrm/enable'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5649 5661 { $fldId = 'cache/updAllDeps'; Gen::SetArrField( $sett, $fldId, Ui::TokensList_GetVal( ($args[ 'seraph_accel/' . $fldId ]??null), null, true ), '/' ); } 5650 5662 -
seraphinite-accelerator/trunk/plugin_root.php
r3341735 r3348666 6 6 Text Domain: seraphinite-accelerator 7 7 Domain Path: /languages 8 Version: 2.27.4 08 Version: 2.27.41 9 9 Author: Seraphinite Solutions 10 10 Author URI: https://www.s-sols.com -
seraphinite-accelerator/trunk/readme.txt
r3341735 r3348666 6 6 Requires at least: 4.5 7 7 Tested up to: 6.8 8 Stable tag: 2.27.4 08 Stable tag: 2.27.41 9 9 License: GPLv2 or later (if another license is not provided) 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 163 163 == Changelog == 164 164 165 = 2.27.41 = 166 167 Improvements: 168 169 * Updating all cache after global changes (e.g. menus, Elementor template etc.). 170 171 Fixes: 172 173 * Deinlining fonts in external CSS produces wrong URL. 174 * Infinite operation progress in base version. 175 * Styles parser: URLs in 'background-image' in functions are not processed. 176 165 177 = 2.27.40 = 166 178
Note: See TracChangeset
for help on using the changeset viewer.