1"use strict";(self.webpackChunkgpMS_ConsoleFrontend=self.webpackChunkgpMS_ConsoleFrontend||[]).push([[5126],{17838:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var r,l=n(96540),a=n(5556),o=n.n(a),c=n(31627),i=n(20166),s=n(13112),u=n(40244);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const m=function(e){return l.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:18,height:19,fill:"none"},e),r||(r=l.createElement("path",{fill:"#027D61",d:"M15.355 3.145A8.96 8.96 0 0 0 8.995.5C4.018.5 0 4.53 0 9.506c0 4.975 4.019 9.005 8.994 9.005 4.2 0 7.7-2.87 8.702-6.754h-2.341a6.74 6.74 0 0 1-6.36 4.503A6.76 6.76 0 0 1 2.24 9.506 6.76 6.76 0 0 1 8.994 2.75c1.869 0 3.535.777 4.75 2.004L10.12 8.38H18V.5z"})))};var f=n(25214);function p(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,a,o,c=[],i=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);i=!0);}catch(e){s=!0,l=e}finally{try{if(!i&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw l}}return c}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const y=function(){var e=h((0,f.A)(i.NUU),1)[0],t=h((0,l.useState)(null!=e?e:i.FOL),2),n=t[0],r=t[1],a=n.length===i.FOL.length;return{selectedColumns:n,allItemsSelected:a,isChecked:function(e){return n.includes(e)},handleSelectAll:function(){r(i.FOL)},handleClearAll:function(){r([])},handleRadioToggle:function(e){return function(){n.includes(e)?r(n.filter((function(t){return t!==e}))):r([].concat(p(n),[e]))}}}};var v=function(e){var t=e.modalData,n=y(),r=n.selectedColumns,a=n.allItemsSelected,o=n.isChecked,d=n.handleClearAll,f=n.handleRadioToggle,p=n.handleSelectAll;return l.createElement(u.A,{width:"702px",modalData:t,resourceName:"Edit Columns",buttons:l.createElement("div",{className:"flex gap-4 w-full"},l.createElement(s.A,{saveButton:!0,disabled:0===r.length,onClick:function(){return t.onClick(r)}}))},l.createElement("div",{className:"grid grid-cols-4 border py-6 px-8 rounded-lg"},l.createElement("p",{className:"text-xs col-span-1 font-semibold text-primaryGreen"},"Include",l.createElement("br",null),"Information"),l.createElement("div",{className:"flex flex-col gap-4 col-span-3"},l.createElement("div",{className:"grid grid-cols-2 pb-4 border-b gap-4"},l.createElement(c.A,{isCalendarCheckbox:!0,size:"5",checked:a,label:"Select All",labelClassName:"text-sm text-gray-300 font-normal",onChange:p}),l.createElement("button",{className:"flex items-center gap-2 font-semibold text-primaryGreen",onClick:d,type:"button"},l.createElement(m,{alt:"clear-cols",className:"inline-block"}),"Clear")),l.createElement("div",{className:"grid grid-cols-2 gap-4"},i.FOL.map((function(e){return l.createElement(c.A,{key:e,isCalendarCheckbox:!0,size:"5",checked:o(e),label:e,className:"gap-2",labelClassName:"text-sm text-gray-300 font-normal",onChange:f(e)})}))))))};v.propTypes={modalData:o().shape({onClick:o().func})},v.defaultProps={modalData:void 0};const C=v}}]);
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.