PageSourceSearch

https://openreview.net/_next/static/chunks/6754.1b61c14e1cc54c18.js

js openreview.net collected 2026-10-01 08:01:40 UTC 2,127 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6754],{32323:e=>{e.exports={checkboxContainer:"CheckboxWidget_checkboxContainer__lP9fY"}},84373:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>s});var t=a(95155),n=a(12115),r=a(61927),u=a.n(r),i=a(58809),o=a(11855),v=a(32323),c=a.n(v);let s=({field:e,onChange:l,value:a,clearError:r,options:v,isEditor:s=!0,isArrayType:d,dataType:p})=>{let f,h=(0,n.useContext)(i.A)??{},{field:b,onChange:x,value:y,clearError:g,note:k}=s?h:{field:e,onChange:l,value:a,clearError:r},m=Object.keys(b??{})[0],C=b?.[m]?.value?.param?.type,j=d??C?.endsWith("[]"),[_,A]=(0,n.useState)([]);f=s?j?C?.slice(0,-2):C:p??"string";let E=e=>{g?.();let l=e.target.checked,a=(0,o.dC)(e.target.value,f);if(j){let e=l?u()([...y??[],a],e=>_.findIndex(l=>l.value===e)):y?.filter(e=>e!==a);x({fieldName:m,value:e?.length?e:void 0});return}x({fieldName:m,value:l?a:void 0})};return((0,n.useEffect)(()=>{if(!s)return void A(v);let e=b?.[m].value?.param?.enum,l=b?.[m].value?.param?.items,a=[];if(Array.isArray(e)&&e.length){if(j)a=e.map(e=>"object"==typeof e?{value:e.value,label:e.label}:{value:e,label:e});else{let l=e[0];a=[{value:"object"==typeof l?l.value:l,label:"object"==typeof l?l.description:l,optional:!0}]}A(a);let l=b[m].value?.param?.default;(!k&&l&&x({fieldName:m,value:l}),k&&y)&&x({fieldName:m,value:j?y.filter(e=>a.find(l=>l.value===e)):y===a[0].value?y:void 0});return}if(Array.isArray(l)&&l.length){let e=b[m].value?.param?.default??[],a=l.flatMap(e=>!1===e.optional?e.value:[])??[];A(l.map(e=>({value:e.value,label:e.description,optional:e.optional}))),!k&&(e?.length||a?.length)&&x({fieldName:m,value:[...new Set([...e,...a])]}),k&&y&&x({fieldName:m,value:y.filter(e=>l.find(l=>l.value===e))})}},[]),_.length)?(0,t.jsx)("div",{className:c().checkboxContainer,children:_.map(e=>(0,t.jsx)("div",{className:"checkbox",children:(0,t.jsxs)("label",{children:[(0,t.jsx)("input",{type:"checkbox",value:e.value??"",checked:j?y?.find(l=>l==e.value)??!1:y==e.value,disabled:!1===e.optional,onChange:E}),"function"==typeof e.label?(0,t.jsx)(e.label,{}):e.label]})},`${m}-${e.value}`))}):null}}}]);

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.