{{ help.header_sort.replace(':', '') }} | +{{ help.header_show_hide.replace(':', '') }} | +{{ help.header_toggle.replace(':', '') }} | +{{ help.header_miscellaneous.replace(':', '') }} | +
---|---|---|---|
{{ help.sort_auto }} | +{{ help.show_hide_application_monitoring }} | +{{ help.toggle_bits_bytes }} | +{{ help.misc_erase_process_filter }} | +
{{ help.sort_cpu }} | +{{ help.show_hide_diskio }} | +{{ help.toggle_count_rate }} | +{{ help.misc_generate_history_graphs }} | +
{{ help.sort_io_rate }} | +{{ help.show_hide_containers }} | +{{ help.toggle_used_free }} | +{{ help.misc_help }} | +
{{ help.sort_mem }} | +{{ help.show_hide_top_extended_stats }} | +{{ help.toggle_bar_sparkline }} | +{{ help.misc_accumulate_processes_by_program }} | +
{{ help.sort_process_name }} | +{{ help.show_hide_filesystem }} | +{{ help.toggle_separate_combined }} | ++ |
{{ help.sort_cpu_times }} | +{{ help.show_hide_gpu }} | +{{ help.toggle_live_cumulative }} | +{{ help.misc_reset_processes_summary_min_max }} | +
{{ help.sort_user }} | +{{ help.show_hide_ip }} | +{{ help.toggle_linux_percentage }} | +{{ help.misc_quit }} | +
+ | {{ help.show_hide_tcp_connection }} | +{{ help.toggle_cpu_individual_combined }} | +{{ help.misc_reset_history }} | +
+ | {{ help.show_hide_alert }} | +{{ help.toggle_gpu_individual_combined }} | +{{ help.misc_delete_warning_alerts }} | +
+ | {{ help.show_hide_network }} | +{{ help.toggle_short_full }} | +{{ help.misc_delete_warning_and_critical_alerts }} | +
+ | {{ help.sort_cpu_times }} | ++ | + |
+ | {{ help.show_hide_irq }} | ++ | + |
+ | {{ help.show_hide_raid_plugin }} | ++ | + |
+ | {{ help.show_hide_sensors }} | ++ | + |
+ | {{ help.show_hide_wifi_module }} | ++ | + |
+ | {{ help.show_hide_processes }} | ++ | + |
+ | {{ help.show_hide_left_sidebar }} | ++ | + |
+ | {{ help.show_hide_quick_look }} | ++ | + |
+ | {{ help.show_hide_cpu_mem_swap }} | ++ | + |
+ | {{ help.show_hide_all }} | ++ | + |
For an exhaustive list of key bindings,
diff --git a/glances/outputs/static/js/components/plugin-alert.vue b/glances/outputs/static/js/components/plugin-alert.vue
index 5c109f040f..7d329ec529 100644
--- a/glances/outputs/static/js/components/plugin-alert.vue
+++ b/glances/outputs/static/js/components/plugin-alert.vue
@@ -1,28 +1,27 @@
-
+
+
+
+
+
+
+ {{ formatDate(alert.begin) }}
+ ({{ alert.ongoing ? 'ongoing' : alert.duration }})
+
+
+
{{ alert.state }} on
-
- {{ alert.type }}
-
- ({{ $filters.number(alert.max, 1) }})
- {{ alert.top }}
-
-
-
-
-
+ {{ alert.type }}
+ ({{ $filters.number(alert.max, 1) }})
+ : {{ alert.top }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MEM
+ {{ percent }}%
+
+
+ total:
+ {{ $filters.bytes(total) }}
+
+
+ used:
+ {{ $filters.bytes(used, 2) }}
+
+
+
+ free:
+ {{ $filters.bytes(free, 2) }}
+
+
+
+
+
+
+
+
+
+
+ active:
+
+
+ {{ $filters.bytes(active) }}
+
+
+
+
+ inactive:
+
+
+ {{ $filters.bytes(inactive) }}
+
+
+
+
+ buffers:
+
+
+ {{ $filters.bytes(buffers) }}
+
+
+
+
+
+ cached:
+
+
+ {{ $filters.bytes(cached) }}
+
+
+
+
+
+
+
+ SWAP
+ {{ percent }}%
+
+
+ total:
+ {{ $filters.bytes(total) }}
+
+
+ used:
+ {{ $filters.bytes(used, 2) }}
+
+
+
+ free:
+ {{ $filters.bytes(free, 2) }}
+
+
+
+
+
+
+ NETWORK
+ Rx/s
+ Tx/s
+
+ Rx+Tx/s
+ Rx
+ Tx
+
+ Rx+Tx
+
+
+
+
+ {{ network.ifname }}
+
+
+ {{ args.byte ? $filters.bytes(network.bytes_recv_rate_per_sec) : $filters.bits(network.bytes_recv_rate_per_sec) }}
+
+
+ {{ args.byte ? $filters.bytes(network.bytes_sent_rate_per_sec) : $filters.bits(network.bytes_sent_rate_per_sec) }}
+
+
+
+ {{ args.byte ? $filters.bytes(network.bytes_all_rate_per_sec) : $filters.bits(network.bytes_all_rate_per_sec) }}
+
+
+ {{ args.byte ? $filters.bytes(network.bytes_recv) : $filters.bits(network.bytes_recv) }}
+
+
+ {{ args.byte ? $filters.bytes(network.bytes_sent) : $filters.bits(network.bytes_sent) }}
+
+
+
+ {{ args.byte ? $filters.bytes(network.bytes_all) : $filters.bits(network.bytes_all) }}
+
+
+
+
+
+
+
+ CPU
+ total
+ user
+ system
+ idle
+ iowait
+ steel
+
+
+
+ CPU{{ percpu.cpu_number }}
+ {{ percpu.total }}%
+ {{ percpu.user }}%
+ {{ percpu.system }}%
+ {{ percpu.idle }}%
+ {{ percpu.iowait }}%
+ {{ percpu.steal }}%
+
+
+
+
+
+
+
+ {{ $filters.minSize(port.description ? port.description : port.host + ' ' + port.port, 20) }}
+
+
+
+ Scanning
+ Timeout
+ Open
+ {{ $filters.number(port.status * 1000.0, 0) }}ms
+
+
+
+
+ Scanning
+ Error
+ Code {{ port.status }}
+
+
+
+
+
+
+
+
+
+ CPU%
+
+
+ MEM%
+
+
+ VIRT
+
+
+ RES
+
+
+ PID
+
+
+ USER
+
+
+ TIME+
+
+
+ THR
+
+ NI
+ S
+
+ IOR/s
+
+
+ IOW/s
+
+
+ Command
+
+
+
+
+
+ {{ process.cpu_percent == -1 ? '?' : $filters.number(process.cpu_percent, 1) }}
+
+
+ {{ process.memory_percent == -1 ? '?' : $filters.number(process.memory_percent, 1) }}
+
+
+ {{ $filters.bytes(process.memvirt) }}
+
+
+ {{ $filters.bytes(process.memres) }}
+
+
+ {{ process.pid }}
+
+
+ {{ process.username }}
+
+
+ {{ process.timeplus.hours }}h
+ {{ $filters.leftPad(process.timeplus.minutes, 2, '0') }}:{{ $filters.leftPad(process.timeplus.seconds,
+ 2, '0') }}
+ .{{ $filters.leftPad(process.timeplus.milliseconds, 2, '0')
+ }}
+
+ ?
+
+ {{ process.num_threads == -1 ? '?' : process.num_threads }}
+
+
+ {{ $filters.exclamation(process.nice) }}
+
+
+ {{ process.status }}
+
+
+ {{ $filters.bytes(process.io_read) }}
+
+
+ {{ $filters.bytes(process.io_write) }}
+
+
+ {{ process.name }}
+
+
+ {{ process.cmdline }}
+
+
+
+
+ CPU
+
+ {{ cpu }}%
+
+
+ CPU{{ percpu.number }}
+
+
+ {{ percpu.total }}%
+
+
+ {{ key.toUpperCase() }}
+
+ {{ stats[key] }}%
+
+
+
+
+
+
+ RAID disks {{ disks.length }}
+ Used
+ Total
+
+
+
+
+ {{ disk.type.toUpperCase() }} {{ disk.name }}
+
+
+ {{ disk.used }}
+
+
+ {{ disk.available }}
+
+
+
+
+
+
+
+ SENSORS
+
+
+
+
+
+ {{ sensor.label }}
+
+
+ {{ sensor.value }}{{ sensor.unit }}
+
+
+
+
+
+
+
+
+ SMART DISKS
+
+
+
+ {{ drive.name }}
+
+
+
+
+
+ {{ metric.name }}
+ {{ metric.raw }}
+
+
+
+
+
+
+ Engine
+
+ Name
+
+ Status
+ Core
+
+ MEM
+
+ / MAX
+
+ LOAD 1/5/15min
+
+ Release
+
+
+
+ {{ vm.engine }}
+ {{ vm.name }}
+
+ {{ vm.status }}
+
+
+ {{ $filters.number(vm.cpu_count, 1) }}
+
+
+ {{ $filters.bytes(vm.memory_usage) }}
+
+
+ / {{ $filters.bytes(vm.memory_total) }}
+
+
+ {{ $filters.number(vm.load_1min) }}/{{ $filters.number(vm.load_5min) }}/{{
+ $filters.number(vm.load_15min) }}
+
+
+ {{ vm.release }}
+
+
+
+
+
+
+
+ WIFI
+ dBm
+
+
+
+ {{ $filters.limitTo(hotspot.ssid, 20) }}
+
+ {{ hotspot.quality_level }}
+
+ -1}function Dt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&$t(t,e[n],0)>-1;);return n}var sn=Kt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),on=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+ut[e]}function ln(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,i=0,s=[];++n0&&n(a)?t>1?vr(a,t-1,n,r,i):jt(i,a):r||(i[i.length]=a)}return i}var yr=Mi(),wr=Mi(!0);function xr(e,t){return e&&yr(e,t,Na)}function _r(e,t){return e&&wr(e,t,Na)}function kr(e,t){return Nt(t,(function(t){return Jo(e[t])}))}function Sr(e,t){for(var n=0,r=(t=wi(t,e)).length;null!=e&&n>>1,o=e[s];null!==o&&!ca(o)&&(n?o<=t:o=r?e:ii(e,t,n)}var ki=it||function(e){return gt.clearTimeout(e)};function Si(e,t){if(t)return e.slice();var n=e.length,r=Ge?Ge(n):new e.constructor(n);return e.copy(r),r}function Ci(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function Ti(e,t){var n=t?Ci(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var n=e!==i,r=null===e,s=e==e,o=ca(e),a=t!==i,l=null===t,c=t==t,u=ca(t);if(!l&&!u&&!o&&e>t||o&&a&&c&&!l&&!u||r&&a&&c||!n&&c||!s)return 1;if(!r&&!o&&!u&&e-1?s[o?t[a]:a]:i}}function Ui(e){return rs((function(t){var n=t.length,r=n,o=Hn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ie(s);if(o&&!l&&"wrapper"==as(a))var l=new Hn([],!0)}for(r=l?r:n;++r=t})),Ho=Nr(function(){return arguments}())?Nr:function(e){return na(e)&&je.call(e,"callee")&&!Ze.call(e,"callee")},Vo=r.isArray,Go=xt?Yt(xt):function(e){return na(e)&&Tr(e)==D};function Wo(e){return null!=e&&ea(e.length)&&!Jo(e)}function Ko(e){return na(e)&&Wo(e)}var Zo=yt||bl,Xo=_t?Yt(_t):function(e){return na(e)&&Tr(e)==x};function Qo(e){if(!na(e))return!1;var t=Tr(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!sa(e)}function Jo(e){if(!ta(e))return!1;var t=Tr(e);return t==k||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(e){return"number"==typeof e&&e==ga(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ra=kt?Yt(kt):function(e){return na(e)&&gs(e)==C};function ia(e){return"number"==typeof e||na(e)&&Tr(e)==T}function sa(e){if(!na(e)||Tr(e)!=A)return!1;var t=We(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Ue}var oa=St?Yt(St):function(e){return na(e)&&Tr(e)==O};var aa=Ct?Yt(Ct):function(e){return na(e)&&gs(e)==I};function la(e){return"string"==typeof e||!Vo(e)&&na(e)&&Tr(e)==P}function ca(e){return"symbol"==typeof e||na(e)&&Tr(e)==N}var ua=Tt?Yt(Tt):function(e){return na(e)&&ea(e.length)&&!!lt[Tr(e)]};var da=Wi(Br),fa=Wi((function(e,t){return e<=t}));function pa(e){if(!e)return[];if(Wo(e))return la(e)?gn(e):Ii(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=gs(e);return(t==C?cn:t==I?fn:Fa)(e)}function ha(e){return e?(e=ba(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ga(e){var t=ha(e),n=t%1;return t==t?n?t-n:t:0}function ma(e){return e?lr(ga(e),0,m):0}function ba(e){if("number"==typeof e)return e;if(ca(e))return g;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var n=be.test(e);return n||ye.test(e)?ft(e.slice(2),n?2:8):me.test(e)?g:+e}function va(e){return Pi(e,La(e))}function ya(e){return null==e?"":ui(e)}var wa=Li((function(e,t){if(Ss(t)||Wo(t))Pi(t,Na(t),e);else for(var n in t)je.call(t,n)&&nr(e,n,t[n])})),xa=Li((function(e,t){Pi(t,La(t),e)})),_a=Li((function(e,t,n,r){Pi(t,La(t),e,r)})),ka=Li((function(e,t,n,r){Pi(t,Na(t),e,r)})),Sa=rs(ar);var Ca=Qr((function(e,t){e=Ae(e);var n=-1,r=t.length,s=r>2?t[2]:i;for(s&&ws(t[0],t[1],s)&&(r=1);++ns?0:s+n),(r=r===i||r>s?s:ga(r))<0&&(r+=s),r=n>r?0:ma(r);nh)return[];var n=m,r=wn(e,m);t=cs(t),e-=m;for(var i=Qt(r,t);++n-1},Gr.prototype.set=function(t,e){var r=this.__data__,o=ro(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this},Wr.prototype.clear=function(){this.size=0,this.__data__={hash:new Vr,map:new(Er||Gr),string:new Vr}},Wr.prototype.delete=function(t){var e=pi(this,t).delete(t);return this.size-=e?1:0,e},Wr.prototype.get=function(t){return pi(this,t).get(t)},Wr.prototype.has=function(t){return pi(this,t).has(t)},Wr.prototype.set=function(t,e){var r=pi(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this},Kr.prototype.add=Kr.prototype.push=function(t){return this.__data__.set(t,a),this},Kr.prototype.has=function(t){return this.__data__.has(t)},Xr.prototype.clear=function(){this.__data__=new Gr,this.size=0},Xr.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Xr.prototype.get=function(t){return this.__data__.get(t)},Xr.prototype.has=function(t){return this.__data__.has(t)},Xr.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Gr){var o=r.__data__;if(!Er||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new Wr(o)}return r.set(t,e),this.size=r.size,this};var mo=Dn(wo),fo=Dn(_o,!0);function bo(t,e){var r=!0;return mo(t,(function(t,o,n){return r=!!e(t,o,n)})),r}function go(t,e,r){for(var o=-1,i=t.length;++o0&&r(s)?e>1?vo(s,e-1,r,o,n):Me(n,s):o||(n[n.length]=s)}return n}var yo=Mn(),xo=Mn(!0);function wo(t,e){return t&&yo(t,e,Ls)}function _o(t,e){return t&&xo(t,e,Ls)}function ko(t,e){return Le(e,(function(e){return Za(t[e])}))}function Ao(t,e){for(var r=0,o=(e=wn(e,t)).length;null!=t&&rd.indexOf(u)?c===e?o.FOLLOWING|o.CONTAINED_BY:o.FOLLOWING:c===t?o.PRECEDING|o.CONTAINS:o.PRECEDING}e.removeSubsets=function(t){for(var e=t.length;--e>=0;){var r=t[e];if(e>0&&t.lastIndexOf(r,e-1)>=0)t.splice(e,1);else for(var o=r.parent;o;o=o.parent)if(t.includes(o)){t.splice(e,1);break}}return t},function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"}(o=e.DocumentPosition||(e.DocumentPosition={})),e.compareDocumentPosition=i,e.uniqueSort=function(t){return(t=t.filter((function(t,e,r){return!r.includes(t,e+1)}))).sort((function(t,e){var r=i(t,e);return r&o.PRECEDING?-1:r&o.FOLLOWING?1:0})),t}},1941:function(t,e,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,e,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){void 0===o&&(o=r),t[o]=e[r]}),n=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||o(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,n(r(9124),e),n(r(2851),e),n(r(568),e),n(r(1161),e),n(r(1974),e),n(r(5936),e),n(r(2772),e);var i=r(4128);Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})},1974:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getElementsByTagType=e.getElementsByTagName=e.getElementById=e.getElements=e.testElement=void 0;var o=r(4128),n=r(1161),i={tag_name:function(t){return"function"==typeof t?function(e){return(0,o.isTag)(e)&&t(e.name)}:"*"===t?o.isTag:function(e){return(0,o.isTag)(e)&&e.name===t}},tag_type:function(t){return"function"==typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"==typeof t?function(e){return(0,o.isText)(e)&&t(e.data)}:function(e){return(0,o.isText)(e)&&e.data===t}}};function a(t,e){return"function"==typeof e?function(r){return(0,o.isTag)(r)&&e(r.attribs[t])}:function(r){return(0,o.isTag)(r)&&r.attribs[t]===e}}function s(t,e){return function(r){return t(r)||e(r)}}function l(t){var e=Object.keys(t).map((function(e){var r=t[e];return Object.prototype.hasOwnProperty.call(i,e)?i[e](r):a(e,r)}));return 0===e.length?null:e.reduce(s)}e.testElement=function(t,e){var r=l(t);return!r||r(e)},e.getElements=function(t,e,r,o){void 0===o&&(o=1/0);var i=l(t);return i?(0,n.filter)(i,e,r,o):[]},e.getElementById=function(t,e,r){return void 0===r&&(r=!0),Array.isArray(e)||(e=[e]),(0,n.findOne)(a("id",t),e,r)},e.getElementsByTagName=function(t,e,r,o){return void 0===r&&(r=!0),void 0===o&&(o=1/0),(0,n.filter)(i.tag_name(t),e,r,o)},e.getElementsByTagType=function(t,e,r,o){return void 0===r&&(r=!0),void 0===o&&(o=1/0),(0,n.filter)(i.tag_type(t),e,r,o)}},568:(t,e)=>{"use strict";function r(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children,r=e.lastIndexOf(t);r>=0&&e.splice(r,1)}t.next=null,t.prev=null,t.parent=null}Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.prependChild=e.append=e.appendChild=e.replaceElement=e.removeElement=void 0,e.removeElement=r,e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var o=e.next=t.next;o&&(o.prev=e);var n=e.parent=t.parent;if(n){var i=n.children;i[i.lastIndexOf(t)]=e,t.parent=null}},e.appendChild=function(t,e){if(r(e),e.next=null,e.parent=t,t.children.push(e)>1){var o=t.children[t.children.length-2];o.next=e,e.prev=o}else e.prev=null},e.append=function(t,e){r(e);var o=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=o,n){if(n.prev=e,o){var i=o.children;i.splice(i.lastIndexOf(n),0,e)}}else o&&o.children.push(e)},e.prependChild=function(t,e){if(r(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){var o=t.children[1];o.prev=e,e.next=o}else e.next=null},e.prepend=function(t,e){r(e);var o=t.parent;if(o){var n=o.children;n.splice(n.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=o,e.prev=t.prev,e.next=t,t.prev=e}},1161:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=e.existsOne=e.findOne=e.findOneChild=e.find=e.filter=void 0;var o=r(4128);function n(t,e,r,n){for(var i=[],a=[e],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return i;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(t(l)&&(i.push(l),--n<=0))return i;r&&(0,o.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}e.filter=function(t,e,r,o){return void 0===r&&(r=!0),void 0===o&&(o=1/0),n(t,Array.isArray(e)?e:[e],r,o)},e.find=n,e.findOneChild=function(t,e){return e.find(t)},e.findOne=function t(e,r,n){void 0===n&&(n=!0);for(var i=null,a=0;a