Repository: HackerBar-Sec/HackerBar Branch: master Commit: 286cdb98d28b Files: 6 Total size: 3.1 MB Directory structure: gitextract_y12khhjd/ ├── README.md ├── README_EN.md ├── index.html ├── manifest.json ├── umi.css └── umi.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: README.md ================================================
一款匿名的资产查询工具
> HackerBar是一款匿名资产查询插件,目前主要上架于[Chrome](https://www.google.com/chrome/)。 项目地址:https://github.com/HackerBar-Sec/HackerBar ## 安装 ### 手动安装 下载版本:https://github.com/HackerBar-Sec/HackerBar/releases 1.下载并解压 2.打开 chrome://extensions/ 并且开启开发者模式 3.点击 `加载已解压的扩展程序` 选择该插件目录加载  ### 商城安装 1.打开https://chrome.google.com/webstore/category/extensions谷歌商城 2.搜索`hackerbar` 3.下载到浏览器  ## 功能 ### 基本信息  ### 端口服务  ### 公司信息  ### 资产测绘  ================================================ FILE: README_EN.md ================================================
An anonymous asset query tool
> HackerBar is an anonymous asset query tool, currently mainly listed on [Chrome](https://www.google.com/chrome/)。 Project Location:https://github.com/HackerBar-Sec/HackerBar ## Install ### Manual Releases:https://github.com/HackerBar-Sec/HackerBar/releases 1.Download and Unzip 2.Open `chrome://extensions/` and Enable developer mode 3.Click `Load unpacked` select the plugin directory to load  ### Chrome Web Store 1.Open the `https://chrome.google.com/webstore/category/extensions` to Chrome Web Store 2.Search `hackerbar` 3.Add to Chrome  ## Feature ### Basic Information  ### Ports  ### Company  ### Cyberspace  ================================================ FILE: index.html ================================================ ================================================ FILE: manifest.json ================================================ { "manifest_version": 3, "name": "HackerBar", "version": "1.1.0", "description": "安全工具", "icons": { "16": "./img/icon.png", "128": "./img/icon.png", "48": "./img/icon.png" }, "host_permissions": [ "*://*/*" ], "action": { "default_title": "HackerBar", "default_icon": "./img/icon.png", "default_popup": "index.html" }, "update_url": "https://hackerbar.org/extension/version_update", "permissions": [ "tabs" ], "content_scripts": [ { "js": [ "./umi.js" ], "matches": [ "http://*/*", "https://*/*", "-1}e.exports=o},"+M1K":function(e,t,n){var r=n("ppGB");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},"+QRC":function(e,t,n){"use strict";var r=n("E9nw"),o={"text/plain":"Text","text/html":"Url",default:"Text"},i="Copy to clipboard: #{key}, Enter";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function c(e,t){var n,c,u,s,l,f,d=!1;t||(t={}),n=t.debug||!1;try{u=r(),s=document.createRange(),l=document.getSelection(),f=document.createElement("span"),f.textContent=e,f.ariaHidden="true",f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o["default"];window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(f),s.selectNodeContents(f),l.addRange(s);var h=document.execCommand("copy");if(!h)throw new Error("copy command was unsuccessful");d=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),c=a("message"in t?t.message:i),window.prompt(c,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),f&&document.body.removeChild(f),u()}return d}e.exports=c},"+pfl":function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.FruchtermanLayout=void 0;var o=n("W8mN"),i=n("8nGZ"),a=800,c=function(e){function t(t){var n=e.call(this)||this;return n.maxIteration=1e3,n.workerEnabled=!1,n.gravity=10,n.speed=5,n.clustering=!1,n.clusterGravity=10,n.nodes=[],n.edges=[],n.width=300,n.height=300,n.nodeMap={},n.nodeIdxMap={},n.onLayoutEnd=function(){},n.tick=function(){},n.animate=!0,n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10,animate:!0}},t.prototype.execute=function(){var e,t,n=this,r=this,o=r.nodes;if(void 0!==r.timeInterval&&"undefined"!==typeof window&&window.clearInterval(r.timeInterval),o&&0!==o.length){r.width||"undefined"===typeof window||(r.width=window.innerWidth),r.height||"undefined"===typeof window||(r.height=window.innerHeight),r.center||(r.center=[r.width/2,r.height/2]);var a=r.center;if(1===o.length)return o[0].x=a[0],o[0].y=a[1],void(null===(t=r.onLayoutEnd)||void 0===t||t.call(r));var c={},u={};return o.forEach((function(e,t){(0,i.isNumber)(e.x)||(e.x=Math.random()*n.width),(0,i.isNumber)(e.y)||(e.y=Math.random()*n.height),c[e.id]=e,u[e.id]=t})),r.nodeMap=c,r.nodeIdxMap=u,r.run()}null===(e=r.onLayoutEnd)||void 0===e||e.call(r)},t.prototype.run=function(){var e,t=this,n=t.nodes;if(n){var r=t.edges,o=t.maxIteration,i=t.workerEnabled,a=t.clustering,c=t.animate,u={};if(a&&n.forEach((function(e){void 0===u[e.cluster]&&(u[e.cluster]={name:e.cluster,cx:0,cy:0,count:0})})),i||!c){for(var s=0;s >>0?1:0),x=a.low=x+D,a.high=b+L+(x>>>0 -1)o&&o.push(i);else if(s=fe(i),a=Oe(f.appendChild(i),"script"),s&&Ee(a),n){l=0;while(i=a[l++])xe.test(i.type||"")&&n.push(i)}return f}var ke=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function Ce(){return!1}function Me(e,t){return e===Ae()===("focus"===t)}function Ae(){try{return x.activeElement}catch(e){}}function Ne(e,t,n,r,o,i){var a,c;if("object"===typeof t){for(c in"string"!==typeof n&&(r=r||n,n=void 0),t)Ne(e,c,n,r,t[c],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"===typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===i&&(a=o,o=function(e){return j().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=j.guid++)),e.each((function(){j.event.add(this,t,o,r,n)}))}function Te(e,t,n){n?(te.set(e,t,!1),j.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=te.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(j.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=u.call(arguments),te.set(this,t,i),r=n(this,t),this[t](),o=te.get(this,t),i!==o||r?te.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(te.set(this,t,{value:j.event.trigger(j.extend(i[0],j.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&j.event.add(e,t,_e)}j.event={global:{},add:function(e,t,n,r,o){var i,a,c,u,s,l,f,d,h,p,v,g=te.get(e);if(J(e)){n.handler&&(i=n,n=i.handler,o=i.selector),o&&j.find.matchesSelector(le,o),n.guid||(n.guid=j.guid++),(u=g.events)||(u=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return"undefined"!==typeof j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(z)||[""],s=t.length;while(s--)c=ke.exec(t[s])||[],h=v=c[1],p=(c[2]||"").split(".").sort(),h&&(f=j.event.special[h]||{},h=(o?f.delegateType:f.bindType)||h,f=j.event.special[h]||{},l=j.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&j.expr.match.needsContext.test(o),namespace:p.join(".")},i),(d=u[h])||(d=u[h]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),j.event.global[h]=!0)}},remove:function(e,t,n,r,o){var i,a,c,u,s,l,f,d,h,p,v,g=te.hasData(e)&&te.get(e);if(g&&(u=g.events)){t=(t||"").match(z)||[""],s=t.length;while(s--)if(c=ke.exec(t[s])||[],h=v=c[1],p=(c[2]||"").split(".").sort(),h){f=j.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,d=u[h]||[],c=c[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;while(i--)l=d[i],!o&&v!==l.origType||n&&n.guid!==l.guid||c&&!c.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||j.removeEvent(e,h,g.handle),delete u[h])}else for(h in u)j.event.remove(e,h+t[s],n,r,!0);j.isEmptyObject(u)&&te.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,c=new Array(arguments.length),u=j.event.fix(e),s=(te.get(this,"events")||Object.create(null))[u.type]||[],l=j.event.special[u.type]||{};for(c[0]=u,t=1;tu&&(s=s.slice(0,u)),e?l+s:s+l)}};e.exports={start:c(!1),end:c(!0)}},DPsx:function(e,t,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},DSFK:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i,u=c?r.Buffer:void 0,s=u?u.isBuffer:void 0,l=s||o;e.exports=l}).call(this,n("hOG+")(e))},DTth:function(e,t,n){var r=n("0Dky"),o=n("tiKp"),i=n("xDBR"),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},DhMN:function(e,t,n){n("ofBz")},DrvE:function(e,t,n){"use strict";var r=n("I+eb"),o=n("HAuM"),i=n("0GbY"),a=n("8GlL"),c=n("5mdu"),u=n("ImZN"),s="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,f=c((function(){var n=o(t.resolve),a=[],c=0,f=1,d=!1;u(e,(function(e){var o=c++,u=!1;a.push(void 0),f++,n.call(t,e).then((function(e){u||d||(d=!0,r(e))}),(function(e){u||d||(u=!0,a[o]=e,--f||l(new(i("AggregateError"))(a,s)))}))})),--f||l(new(i("AggregateError"))(a,s))}));return f.error&&l(f.value),n.promise}})},DzJC:function(e,t,n){var r=n("sEfC"),o=n("GoyQ"),i="Expected a function";function a(e,t,n){var a=!0,c=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,c="trailing"in n?!!n.trailing:c),r(e,t,{leading:a,maxWait:t,trailing:c})}e.exports=a},E2jh:function(e,t,n){var r=n("2gN3"),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function i(e){return!!o&&o in e}e.exports=i},E4JC:function(e,t,n){(function(t,r,o){e.exports=r(n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,o=t.algo,i=[],a=[],c=[],u=o.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)s.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,a=i[0],c=i[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;o[0]^=u,o[1]^=f,o[2]^=l,o[3]^=d,o[4]^=u,o[5]^=f,o[6]^=l,o[7]^=d;for(n=0;n<4;n++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,i=r>>>16,u=((o*o>>>17)+o*i>>>15)+i*i,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=u^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},E9Ls:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DagreLayout=void 0;var i=o(n("NIaI")),a=n("8nGZ"),c=n("W8mN"),u=n("OXnU"),s=function(e){function t(t){var n=e.call(this)||this;return n.rankdir="TB",n.nodesep=50,n.ranksep=50,n.controlPoints=!1,n.sortByCombo=!1,n.edgeLabelSpace=!0,n.radial=!1,n.nodes=[],n.edges=[],n.onLayoutEnd=function(){},n.layoutNode=function(e){var t=n,r=t.nodes,o=r.find((function(t){return t.id===e}));if(o){var i=!1!==o.layout;return i}return!0},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{rankdir:"TB",align:void 0,nodeSize:void 0,nodesepFunc:void 0,ranksepFunc:void 0,nodesep:50,ranksep:50,controlPoints:!1,radial:!1,focusNode:null}},t.prototype.execute=function(){var e,t,n,r=this,o=this,c=o.nodes,s=o.nodeSize,l=o.rankdir,f=o.combos,d=o.begin,h=o.radial,p=o.comboEdges,v=void 0===p?[]:p,g=o.vedges,m=void 0===g?[]:g;if(c){var y,b=o.edges||[],x=new u.Graph({multigraph:!0,compound:!0}),w={};c.forEach((function(e){e.comboId&&(w[e.comboId]=w[e.comboId]||[],w[e.comboId].push(e.id))})),y=s?(0,a.isArray)(s)?function(){return s}:function(){return[s,s]}:function(e){return e.size?(0,a.isArray)(e.size)?e.size:(0,a.isObject)(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40]};var O=(0,a.getFunc)(o.ranksep,50,o.ranksepFunc),E=(0,a.getFunc)(o.nodesep,50,o.nodesepFunc),S=E,j=O;"LR"!==l&&"RL"!==l||(S=O,j=E),x.setDefaultEdgeLabel((function(){return{}})),x.setGraph(o);var k={};this.sortByCombo&&f&&f.forEach((function(e){if(k[e.id]=e,e.collapsed){var t=y(e),n=j(e),r=S(e),o=t[0]+2*r,i=t[1]+2*n;x.setNode(e.id,{width:o,height:i})}e.parentId&&(k[e.parentId]||x.setNode(e.parentId,{}),x.setParent(e.id,e.parentId))})),c.filter((function(e){return!1!==e.layout})).forEach((function(e){var t=y(e),n=j(e),o=S(e),i=t[0]+2*o,c=t[1]+2*n,u=e.layer;(0,a.isNumber)(u)?x.setNode(e.id,{width:i,height:c,layer:u}):x.setNode(e.id,{width:i,height:c}),r.sortByCombo&&e.comboId&&(k[e.comboId]||(k[e.comboId]={id:e.comboId},x.setNode(e.comboId,{})),x.setParent(e.id,e.comboId))})),b.forEach((function(e){var t=(0,a.getEdgeTerminal)(e,"source"),n=(0,a.getEdgeTerminal)(e,"target");r.layoutNode(t)&&r.layoutNode(n)&&x.setEdge(t,n,{weight:e.weight||1})})),null===(e=null===v||void 0===v?void 0:v.concat(m||[]))||void 0===e||e.forEach((function(e){var t,n,r=e.source,o=e.target,i=(null===(t=k[r])||void 0===t?void 0:t.collapsed)?[r]:w[r]||[r],a=(null===(n=k[o])||void 0===n?void 0:n.collapsed)?[o]:w[o]||[o];i.forEach((function(t){a.forEach((function(n){x.setEdge(t,n,{weight:e.weight||1})}))}))}));var _=void 0;(null===(t=o.preset)||void 0===t?void 0:t.nodes)&&(_=new u.Graph({multigraph:!0,compound:!0}),o.preset.nodes.forEach((function(e){null===_||void 0===_||_.setNode(e.id,e)}))),i.default.layout(x,{prevGraph:_,edgeLabelSpace:o.edgeLabelSpace,keepNodeOrder:Boolean(!!o.nodeOrder),nodeOrder:o.nodeOrder});var C=[0,0];if(d){var M=1/0,A=1/0;x.nodes().forEach((function(e){var t=x.node(e);M>t.x&&(M=t.x),A>t.y&&(A=t.y)})),x.edges().forEach((function(e){var t,n=x.edge(e);null===(t=n.points)||void 0===t||t.forEach((function(e){M>e.x&&(M=e.x),A>e.y&&(A=e.y)}))})),C[0]=d[0]-M,C[1]=d[1]-A}if(h){var N=this,T=N.focusNode,I=N.ranksep,P=N.getRadialPos,L=(0,a.isString)(T)?T:null===T||void 0===T?void 0:T.id,D=L?null===(n=x.node(L))||void 0===n?void 0:n._rank:0,R=[],F="LR"===l||"RL"===l,B=F?"y":"x",z=F?"height":"width",U=1/0,G=-1/0;x.nodes().forEach((function(e){var t=x.node(e),n=c.findIndex((function(t){return t.id===e}));if(c[n]){var r=E(c[n]);if(0===D)R[t._rank]||(R[t._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),R[t._rank].nodes.push(e),R[t._rank].totalWidth+=2*r+t[z],R[t._rank].maxSize","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};function Oe(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?j.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n","