crappy-reverie/assets/js/darkreader.min.js

8 lines
87 KiB
JavaScript
Raw Normal View History

2023-04-18 10:18:15 +00:00
/**
* Minified by jsDelivr using Terser v5.15.0.
* Original file: /npm/darkreader@4.9.58/darkreader.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).DarkReader={})}(this,(function(e){"use strict";var t,r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)};function n(e,t,r,n){return new(r||(r=Promise))((function(a,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function u(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,u)}c((n=n.apply(e,t||[])).next())}))}function a(e,t){var r,n,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(a=2&o[0]?n.return:o[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;switch(n=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,n=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],n=0}finally{r=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function o(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,o=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return i}function u(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}!function(e){e.UI_GET_DATA="ui-get-data",e.UI_SUBSCRIBE_TO_CHANGES="ui-subscribe-to-changes",e.UI_UNSUBSCRIBE_FROM_CHANGES="ui-unsubscribe-from-changes",e.UI_CHANGE_SETTINGS="ui-change-settings",e.UI_SET_THEME="ui-set-theme",e.UI_SET_SHORTCUT="ui-set-shortcut",e.UI_TOGGLE_ACTIVE_TAB="ui-toggle-active-tab",e.UI_MARK_NEWS_AS_READ="ui-mark-news-as-read",e.UI_MARK_NEWS_AS_DISPLAYED="ui-mark-news-as-displayed",e.UI_LOAD_CONFIG="ui-load-config",e.UI_APPLY_DEV_DYNAMIC_THEME_FIXES="ui-apply-dev-dynamic-theme-fixes",e.UI_RESET_DEV_DYNAMIC_THEME_FIXES="ui-reset-dev-dynamic-theme-fixes",e.UI_APPLY_DEV_INVERSION_FIXES="ui-apply-dev-inversion-fixes",e.UI_RESET_DEV_INVERSION_FIXES="ui-reset-dev-inversion-fixes",e.UI_APPLY_DEV_STATIC_THEMES="ui-apply-dev-static-themes",e.UI_RESET_DEV_STATIC_THEMES="ui-reset-dev-static-themes",e.UI_SAVE_FILE="ui-save-file",e.UI_REQUEST_EXPORT_CSS="ui-request-export-css",e.UI_COLOR_SCHEME_CHANGE="ui-color-scheme-change",e.BG_CHANGES="bg-changes",e.BG_ADD_CSS_FILTER="bg-add-css-filter",e.BG_ADD_STATIC_THEME="bg-add-static-theme",e.BG_ADD_SVG_FILTER="bg-add-svg-filter",e.BG_ADD_DYNAMIC_THEME="bg-add-dynamic-theme",e.BG_EXPORT_CSS="bg-export-css",e.BG_UNSUPPORTED_SENDER="bg-unsupported-sender",e.BG_CLEAN_UP="bg-clean-up",e.BG_RELOAD="bg-reload",e.BG_FETCH_RESPONSE="bg-fetch-response",e.BG_UI_UPDATE="bg-ui-update",e.BG_CSS_UPDATE="bg-css-update",e.CS_COLOR_SCHEME_CHANGE="cs-color-scheme-change",e.CS_FRAME_CONNECT="cs-frame-connect",e.CS_FRAME_FORGET="cs-frame-forget",e.CS_F
//# sourceMappingURL=/sm/4377abaf3b88f52af0bf84c492d3b422908537e18a85eca05a6cb79c885a60b9.map