PageSourceSearch

https://alihesari.com/_next/static/chunks/6661.825776978a3f429d.js

js alihesari.com collected 2026-10-02 00:48:02 UTC 7,298 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6661],{44436:function(e,n,t){t.d(n,{c:function(){return c}});var r=t(23031),i=t(19314),a=t(41496);function c(e){var n,t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:a.Z(e.nodes(),function(n){var t=e.node(n),i=e.parent(n),a={v:n};return r.Z(t)||(a.value=t),r.Z(i)||(a.parent=i),a}),edges:a.Z(e.edges(),function(n){var t=e.edge(n),i={v:n.v,w:n.w};return r.Z(n.name)||(i.name=n.name),r.Z(t)||(i.value=t),i})};return r.Z(e.graph())||(t.value=(n=e.graph(),(0,i.Z)(n,4))),t}t(55679)},76661:function(e,n,t){t.d(n,{$z:function(){return m},Ik:function(){return x},Jy:function(){return w},ZH:function(){return s},lT:function(){return d}});var r=t(19240),i=t(48273),a=t(76255),c=t(44436),d=new Map,o=new Map,l=new Map,s=(0,i.e)(()=>{o.clear(),l.clear(),d.clear()},"clear"),g=(0,i.e)((e,n)=>{let t=o.get(n)||[];return r.c.trace("In isDescendant",n," ",e," = ",t.includes(e)),t.includes(e)},"isDescendant"),u=(0,i.e)((e,n)=>{let t=o.get(n)||[];return r.c.info("Descendants of ",n," is ",t),r.c.info("Edge is ",e),e.v!==n&&e.w!==n&&(t?t.includes(e.v)||g(e.v,n)||g(e.w,n)||t.includes(e.w):(r.c.debug("Tilt, ",n,",not in descendants"),!1))},"edgeInCluster"),f=(0,i.e)((e,n,t,i)=>{r.c.warn("Copying children of ",e,"root",i,"data",n.node(e),i);let a=n.children(e)||[];e!==i&&a.push(e),r.c.warn("Copying (nodes) clusterId",e,"nodes",a),a.forEach(a=>{if(n.children(a).length>0)f(a,n,t,i);else{let c=n.node(a);r.c.info("cp ",a," to ",i," with parent ",e),t.setNode(a,c),i!==n.parent(a)&&(r.c.warn("Setting parent",a,n.parent(a)),t.setParent(a,n.parent(a))),e!==i&&a!==e?(r.c.debug("Setting parent",a,e),t.setParent(a,e)):(r.c.info("In copy ",e,"root",i,"data",n.node(e),i),r.c.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==i,"node!==clusterId",a!==e));let d=n.edges(a);r.c.debug("Copying Edges",d),d.forEach(a=>{r.c.info("Edge",a);let c=n.edge(a.v,a.w,a.name);r.c.info("Edge data",c,i);try{if(u(a,i)){let e=o.get(i)||[],d=e.includes(a.v)||g(a.v,i)||a.v===i,l=e.includes(a.w)||g(a.w,i)||a.w===i;if(d&&l)r.c.info("Copying as ",a.v,a.w,c,a.name),t.setEdge(a.v,a.w,c,a.name),r.c.info("newGraph edges ",t.edges(),t.edge(t.edges()[0]));else{let e=d?i:a.v,t=l?i:a.w;r.c.info("Rebinding cross-boundary edge as ",e,t,c,a.name),n.setEdge(e,t,c,a.name)}}else r.c.info("Skipping copy of edge ",a.v,"-->",a.w," rootId: ",i," clusterId:",e)}catch(e){r.c.error(e)}})}r.c.debug("Removing node",a),n.removeNode(a)})},"copy"),h=(0,i.e)((e,n)=>{let t=n.children(e),r=[...t];for(let i of t)l.set(i,e),r=[...r,...h(i,n)];return r},"extractDescendants"),p=(0,i.e)((e,n,t)=>{let r=e.edges().filter(e=>e.v===n||e.w===n),i=e.edges().filter(e=>e.v===t||e.w===t),a=r.map(e=>({v:e.v===n?t:e.v,w:e.w===n?n:e.w})),c=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>c.some(n=>e.v===n.v&&e.w===n.w))},"findCommonEdges"),w=(0,i.e)((e,n,t)=>{let i;let a=n.children(e);if(r.c.trace("Searching children of id ",e,a),a.length<1)return e;for(let e of a){let r=w(e,n,t),a=p(n,t,r);if(r){if(!(a.length>0))return r;i=r}}return i},"findNonClusterChild"),v=(0,i.e)(e=>d.has(e)&&d.get(e).externalConnections&&d.has(e)?d.get(e).id:e,"getAnchorId"),m=(0,i.e)((e,n)=>{if(!e||n>10){r.c.debug("Opting out, no graph ");return}for(let n of(r.c.debug("Opting in, graph "),e.nodes().forEach(function(n){e.children(n).length>0&&(r.c.warn("Cluster identified",n," Replacement id in edges: ",w(n,e,n)),o.set(n,h(n,e)),d.set(n,{id:w(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){let t=e.children(n),i=e.edges();t.length>0?(r.c.debug("Cluster identified",n,o),i.forEach(e=>{g(e.v,n)^g(e.w,n)&&(r.c.warn("Edge: ",e," leaves cluster ",n),r.c.warn("Descendants of XXX ",n,": ",o.get(n)),d.get(n).externalConnections=!0)})):r.c.debug("Not a cluster ",n,o)}),d.keys())){let t=d.get(n).id,r=e.parent(t);r!==n&&d.has(r)&&!d.get(r).externalConnections&&(d.get(n).id=r);let i=e.edges().some(e=>e.v===n);if(t&&d.get(n)?.externalConnections&&i&&E(e,t,n)){let r=D(e,n,e.parent(t));r&&(d.get(n).id=r)}}
1e.edges().forEach(function(n){let t=e.edge(n);r.c.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),r.c.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(r.c.warn("Fix XXX",d,"ids:",n.v,n.w,"Translating: ",d.get(n.v)," --- ",d.get(n.w)),d.get(n.v)||d.get(n.w)){if(r.c.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),i=v(n.v),a=v(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){let r=e.parent(i);d.get(r).externalConnections=!0,t.fromCluster=n.v}if(a!==n.w){let r=e.parent(a);d.get(r).externalConnections=!0,t.toCluster=n.w}r.c.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,t,n.name)}}),r.c.warn("Adjusted Graph",c.c(e)),C(e,0),r.c.trace(d)},"adjustClustersAndEdges"),C=(0,i.e)((e,n)=>{if(r.c.warn("extractor - ",n,c.c(e),e.children("D")),n>10){r.c.error("Bailing out");return}let t=e.nodes(),i=!1;for(let n of t){let t=e.children(n);i=i||t.length>0}if(!i){r.c.debug("Done, no node has children",e.nodes());return}for(let i of(r.c.debug("Nodes = ",t,n),t))if(r.c.debug("Extracting node",i,d,d.has(i)&&!d.get(i).externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",n),d.has(i)){if(d.get(i)?.clusterData?.explicitDir&&e.children(i)&&e.children(i).length>0){r.c.warn("Cluster with explicit dir, creating subgraph for children",i,n);let t=d.get(i).clusterData.dir,o=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:t,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});f(i,e,o,i);let l=e.node(i)||{};e.setNode(i,{...l,clusterNode:!0,id:i,clusterData:d.get(i).clusterData,label:d.get(i).label,graph:o}),r.c.warn("Subgraph for cluster with explicit dir created:",i,c.c(o))}else if(!d.get(i).externalConnections&&e.children(i)&&e.children(i).length>0){r.c.warn("Cluster without external connections, without a parent and with children",i,n);let t="TB"===e.graph().rankdir?"LR":"TB";d.get(i)?.clusterData?.dir&&(t=d.get(i).clusterData.dir,r.c.warn("Fixing dir",d.get(i).clusterData.dir,t));let o=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:t,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});f(i,e,o,i);let l=e.node(i)||{};e.setNode(i,{...l,clusterNode:!0,id:i,clusterData:d.get(i).clusterData,label:d.get(i).label,graph:o}),r.c.debug("Old graph after copy",c.c(e))}else r.c.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!d.get(i).externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),n),r.c.debug(d)}else r.c.debug("Not a cluster",i,n);for(let i of(t=e.nodes(),r.c.warn("New list of nodes",t),t)){let t=e.node(i);r.c.warn(" Now next level",i,t),t?.clusterNode&&C(t.graph,n+1)}},"extractor"),b=(0,i.e)((e,n)=>{if(0===n.length)return[];let t=Object.assign([],n);return n.forEach(n=>{let r=e.children(n),i=b(e,r);t=[...t,...i]}),t},"sorter"),x=(0,i.e)(e=>b(e,e.children()),"sortNodesByHierarchy"),E=(0,i.e)((e,n,t)=>{let r=e.parent(n);for(;r&&r!==t;){let n=d.get(r);if(n&&!n.externalConnections)return!0;r=e.parent(r)}return!1},"isNodeInExtractableCluster"),D=(0,i.e)((e,n,t)=>{for(let r of e.children(n)??[]){if(r===t||g(r,t))continue;let i=w(r,e,n);if(i&&!E(e,i,n))return i}return null},"findSafeAnchorNode")}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.