PageSourceSearch

https://prod-cdn.pathwright.com/static/js/async/CodeEditor.39a6b12094.js

js pathwright.com collected 2026-10-02 03:19:50 UTC 1,295 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunk_pathwright_mainclient=self.rspackChunk_pathwright_mainclient||[]).push([["la"],{j3Q(e,r,t){t.r(r),t.d(r,{default:()=>f});var s=t("r"),o=t("B"),i=t("KY"),n=t("PT"),l=t("zc"),a=t.n(l),c=t("C"),d=t.n(c),h=t("dx"),p=t("Atq"),m=t("Kf");t("WX"),t("Cx"),t("fES");class u extends h.Component{componentDidMount(){setTimeout(()=>{this.codeMirror&&this.codeMirror.editor.refresh()},500)}render(){let{value:e,limit:r,codeMirrorOptions:t}=this.props,l=a()("CodeEditor",this.props.className),c=null;return r&&(c="".concat(e&&e.length||0,"/").concat(r)),t&&"htmlmixed"===t.mode&&(t.tags={style:[[null,null,"css"]],script:[[null,null,"javascript"]]}),(0,n.jsx)(m.A,(0,o._)((0,s._)({},this.props),{className:l,counter:c,children:e=>{let{onChange:r}=e,l=(0,i._)(e,["onChange"]);return(0,n.jsx)("div",{children:(0,n.jsx)(p.xL,(0,o._)((0,s._)({},l),{ref:e=>{this.codeMirror=e},onBeforeChange:(e,t,s)=>{r&&r(s)},options:t}))})}}))}}u.displayName="CodeEditor",u.propTypes={label:d().string,value:d().string,limit:d().number,required:d().bool,codeMirrorOptions:d().shape({theme:d().string,mode:d().oneOf(["htmlmixed","css","javascript"])})},u.defaultProps={codeMirrorOptions:{theme:"material",mode:"htmlmixed"},autoFocus:!0};var f=u}}]);
2//# sourceMappingURL=CodeEditor.39a6b12094.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.