PageSourceSearch

https://celerochat.ai/static/js/667.2a5c16db.chunk.js

js celerochat.ai collected 2026-10-05 15:02:46 UTC 10,962 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[667],{1998:(e,t,n)=>{n.d(t,{AV:()=>i,De:()=>l,c$:()=>p,gh:()=>a,nh:()=>d});var r=n(4067),o=n(5652);function l(e,t){return!!e.children(t).length}function a(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var c=/:/g;function s(e){return e?String(e).replace(c,"\\:"):""}function i(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(o.A(n)){var l=n.transition;if(r.A(l))return l(e)}return e}},2667:(e,t,n)=>{n.d(t,{diagram:()=>s});var r=n(2998),o=n(6767);n(4833),n(232),n(1998);n(4565);n(3537),n(4899);n(9761);o.lUB;n(772),n(1820);var l=n(3287);n(446),n(3755),n(7977),n(1516);const a={},c=function(e){const t=Object.keys(e);for(const n of t)a[n]=e[n]},s={parser:r.p,db:r.f,renderer:l.f,styles:l.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,c(e.flowchart),r.f.clear(),r.f.setGen("gen-1")}}},3287:(e,t,n)=>{n.d(t,{a:()=>f,f:()=>w});var r=n(6767),o=n(4565),l=n(772),a=n(7529),c=n(1820),s=n(6471),i=n(9322);const d={},p=async function(e,t,n,r,l,a){const s=r.select('[id="'.concat(n,'"]')),i=Object.keys(e);for(const d of i){const n=e[d];let r="default";n.classes.length>0&&(r=n.classes.join(" ")),r+=" flowchart-label";const i=(0,c.k)(n.styles);let p,b=void 0!==n.text?n.text:n.id;if(c.l.info("vertex",n,n.labelType),"markdown"===n.labelType)c.l.info("vertex",n,n.labelType);else if((0,c.m)((0,c.c)().flowchart.htmlLabels)){const e={label:b};p=(0,o.H)(s,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",i.labelStyle.replace("color:","fill:"));const t=b.split(c.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let w=0,f="";switch(n.type){case"round":w=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}const h=await(0,c.r)(b,(0,c.c)());t.setNode(n.id,{labelStyle:i.labelStyle,shape:f,labelText:h,labelType:n.labelType,rx:w,ry:w,class:r,style:i.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:a.db.getTooltip(n.id)||"",domId:a.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:(0,c.c)().flowchart.padding}),c.l.info("setNode",{labelStyle:i.labelStyle,labelType:n.labelType,shape:f,labelText:h,rx:w,ry:w,class:r,style:i.style,id:n.id,domId:a.db.lookUpDomId(n.id),width:"group"===n.type?500:void 0,type:n.type,dir:n.dir,props:n.props,padding:(0,c.c)().flowchart.padding})}},b=async function(e,t,n){c.l.info("abc78 edges = ",e);let o,l,a=0,s={};if(void 0!==e.defaultStyle){const t=(0,c.k)(e.defaultStyle);o=t.style,l=t.labelStyle}for(const i of e){a++;const n="L-"+i.start+"-"+i.end;void 0===s[n]?(s[n]=0,c.l.info("abc78 new entry",n,s[n])):(s[n]++,c.l.info("abc78 new entry",n,s[n]));let p=n+"-"+s[n];c.l.info("abc78 new link id to be used is",n,p,s[n]);const b="LS-"+i.start,w="LE-"+i.end,f={style:"",labelStyle:""};switch(f.minlen=i.length||1,"arrow_open"===i.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",i.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let h="",u="";switch(i.stroke){case"normal":h="fill:none;",void 0!==o&&(h=o),void 0!==l&&(u=l),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==i.style){const e=(0,c.k)(i.style);h=e.style,u=e.labelStyle}f.style=f.style+=h,f.labelStyle=f.labelStyle+=u,void 0!==i.interpolate?f.curve=(0,c.n)(i.interpolate,r.lUB):void 0!==e.defaultInterpolate?f.curve=(0,c.n)(e.defaultInterpolate,r.lUB):f.curve=(0,c.n)(d.curve,r.lUB),void 0===i.text?void 0!==i.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=i.labelType,f.label=await(0,c.r)(i.text.replace(c.e.lineBreakRegex,"\n"),(0,c.c)()),void 0===i.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=p,f.classes="flowchart-link "+b+" "+w,t.setEdge(i.start,i.end,f,a)}},w={setConf:function(e){const t=Object.keys(e);for(const n of t)d[n]=e[n]},addVertices:p,addEdges:b,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,o){c.l.info("Drawing flowchart");let s=o.db.getDirection();void 0===s&&(s="TD");const{securityLevel:i,flowchart:d}=(0,c.c)(),w=d.nodeSpacing||50,f=d.rankSpacing||50;let h;"sandbox"===i&&(h=(0,r.Ltv)("#i"+t));const u="sandbox"===i?(0,r.Ltv)(h.nodes()[0].contentDocument.body):(0,r.Ltv)("body"),g="sandbox"===i?h.nodes()[0].contentDocument:document,y=new l.T({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:w,ranksep:f,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let k;const x=o.db.getSubGraphs();c.l.info("Subgraphs - ",x);for(let r=x.length-1;r>=0;r--)k=x[r],c.l.info("Subgraph - ",k),o.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=o.db.getVertices(),m=o.db.getEdges();c.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,r.Ubm)("cluster").append("text");for(let e=0;e<k.nodes.length;e++)c.l.info("Setting up subgraphs",k.nodes[e],k.id),y.setParent(k.nodes[e],k.id)}await p(v,y,t,u,g,o),await b(m,y);const T=u.select('[id="'.concat(t,'"]')),_=u.select("#"+t+" g");if(await(0,a.r)(_,y,["point","circle","cross"],"flowchart",t),c.u.insertTitle(T,"flowchartTitleText",d.titleTopMargin,o.db.getDiagramTitle()),(0,c.o)(y,T,d.diagramPadding,d.useMaxWidth),o.db.indexNodes("subGraph"+S),!d.htmlLabels){const e=g.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of e){const e=t.getBBox(),n=g.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",e.width),n.setAttribute("height",e.height),t.insertBefore(n,t.firstChild)}}Object.keys(v).forEach(function(e){const n=v[e];
1if(n.link){const o=(0,r.Ltv)("#"+t+' [id="'+e+'"]');if(o){const e=g.createElementNS("http://www.w3.org/2000/svg","a");e.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),e.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),e.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===i?e.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&e.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const t=o.insert(function(){return e},":first-child"),r=o.select(".label-container");r&&t.append(function(){return r.node()});const l=o.select(".label");l&&t.append(function(){return l.node()})}}})}},f=e=>".label {\n    font-family: ".concat(e.fontFamily,";\n    color: ").concat(e.nodeTextColor||e.textColor,";\n  }\n  .cluster-label text {\n    fill: ").concat(e.titleColor,";\n  }\n  .cluster-label span,p {\n    color: ").concat(e.titleColor,";\n  }\n\n  .label text,span,p {\n    fill: ").concat(e.nodeTextColor||e.textColor,";\n    color: ").concat(e.nodeTextColor||e.textColor,";\n  }\n\n  .node rect,\n  .node circle,\n  .node ellipse,\n  .node polygon,\n  .node path {\n    fill: ").concat(e.mainBkg,";\n    stroke: ").concat(e.nodeBorder,";\n    stroke-width: 1px;\n  }\n  .flowchart-label text {\n    text-anchor: middle;\n  }\n  // .flowchart-label .text-outer-tspan {\n  //   text-anchor: middle;\n  // }\n  // .flowchart-label .text-inner-tspan {\n  //   text-anchor: start;\n  // }\n\n  .node .katex path {\n    fill: #000;\n    stroke: #000;\n    stroke-width: 1px;\n  }\n\n  .node .label {\n    text-align: center;\n  }\n  .node.clickable {\n    cursor: pointer;\n  }\n\n  .arrowheadPath {\n    fill: ").concat(e.arrowheadColor,";\n  }\n\n  .edgePath .path {\n    stroke: ").concat(e.lineColor,";\n    stroke-width: 2.0px;\n  }\n\n  .flowchart-link {\n    stroke: ").concat(e.lineColor,";\n    fill: none;\n  }\n\n  .edgeLabel {\n    background-color: ").concat(e.edgeLabelBackground,";\n    rect {\n      opacity: 0.5;\n      background-color: ").concat(e.edgeLabelBackground,";\n      fill: ").concat(e.edgeLabelBackground,";\n    }\n    text-align: center;\n  }\n\n  /* For html labels only */\n  .labelBkg {\n    background-color: ").concat(((e,t)=>{const n=i.A,r=n(e,"r"),o=n(e,"g"),l=n(e,"b");return s.A(r,o,l,t)})(e.edgeLabelBackground,.5),";\n    // background-color: \n  }\n\n  .cluster rect {\n    fill: ").concat(e.clusterBkg,";\n    stroke: ").concat(e.clusterBorder,";\n    stroke-width: 1px;\n  }\n\n  .cluster text {\n    fill: ").concat(e.titleColor,";\n  }\n\n  .cluster span,p {\n    color: ").concat(e.titleColor,";\n  }\n  /* .cluster div {\n    color: ").concat(e.titleColor,";\n  } */\n\n  div.mermaidTooltip {\n    position: absolute;\n    text-align: center;\n    max-width: 200px;\n    padding: 2px;\n    font-family: ").concat(e.fontFamily,";\n    font-size: 12px;\n    background: ").concat(e.tertiaryColor,";\n    border: 1px solid ").concat(e.border2,";\n    border-radius: 2px;\n    pointer-events: none;\n    z-index: 100;\n  }\n\n  .flowchartTitleText {\n    text-anchor: middle;\n    font-size: 18px;\n    fill: ").concat(e.textColor,";\n  }\n")},4565:(e,t,n)=>{n.d(t,{H:()=>o});var r=n(1998);function o(e,t){var n=e.append("foreignObject").attr("width","100000"),o=n.append("xhtml:div");o.attr("xmlns","http://www.w3.org/1999/xhtml");var l=t.label;switch(typeof l){case"function":o.insert(l);break;case"object":o.insert(function(){return l});break;default:o.html(l)}r.AV(o,t.labelStyle),o.style("display","inline-block"),o.style("white-space","nowrap");var a=o.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},9322:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(7170),o=n(1458);const l=(e,t)=>r.A.lang.round(o.A.parse(e)[t])}}]);
2//# sourceMappingURL=667.2a5c16db.chunk.js.map

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.