PageSourceSearch

https://docs-website-jp.netlify.app/component---src-pages-install-…onfig-agent-name-js-2e5cbd4201756ddad970.js

js docs-website-jp.netlify.app collected 2026-10-03 10:40:03 UTC 13,663 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkdocs_website=self.webpackChunkdocs_website||[]).push([[227],{43775:function(e,t,n){n.d(t,{A:function(){return x}});n(96540);var o=n(2643),a=n(37567),r=n(58168),i=n(80045),s=n(6609),l=n(96805),d=n(36248),c=n(17586),p=n(28007),m=n(17437);const u=["fileRelativePath","onClick","instrumentation"];var g={name:"1twd3r0",styles:"font-size:1rem;margin-right:0.5rem"},v={name:"rkiwex",styles:"font-size:1rem"};var h=e=>{let{fileRelativePath:t,onClick:n,instrumentation:a}=e,h=(0,i.A)(e,u);const{t:f}=(0,c.A)(),y=(0,d.A)(n,{eventName:"editThisPageClick",category:"EditPage",component:null==a?void 0:a.component}),{site:{siteMetadata:{repository:b,branch:x}}}=(0,p.useStaticQuery)("3009400645");return(0,m.Y)(o.A,(0,r.A)({},h,{as:l.A,to:`${b}/blob/${x}/${t||""}`,onClick:y,css:v}),(0,m.Y)(s.A,{name:"fe-edit",css:g}),f("github.editPage"))},f=n(93448);var y={name:"1svhly8",styles:"width:100%;height:3rem;&:hover{color:var(--secondary-text-color);}"},b={name:"1yofo1d",styles:"margin:0;padding:0;border:none"};var x=e=>{let{className:t,fileRelativePath:n}=e;const{locale:r}=(0,f.A)();return(0,m.Y)(a.A.Section,{className:t,css:b},n&&"en"===r&&(0,m.Y)(h,{fileRelativePath:n,variant:o.A.VARIANT.OUTLINE,instrumentation:{component:"ContributingGuidelines"},css:y}))}},54572:function(e,t,n){n.d(t,{A:function(){return u}});n(96540);var o=n(27051),a=n(82519),r=n(80669),i=n(97736),s=n(17437);var l={name:"c1lcoh",styles:"position:absolute;top:0;bottom:0;left:0;right:0;padding:var(--site-content-padding);overflow:auto"},d={name:"1z03zi3",styles:"grid-area:sidebar;border-right:1px solid var(--divider-color);height:calc(100vh - var(--global-header-height));position:sticky;top:var(--global-header-height);@media screen and (max-width: 760px){display:none;}"};var c=e=>{let{children:t,className:n}=e;return(0,s.Y)("aside",{"data-swiftype-index":!1,css:d,className:n},(0,s.Y)("div",{css:l},t))};var p={name:"1lbjosz",styles:"display:grid;grid-template-columns:var(--sidebar-width) minmax(0, 1fr);grid-template-areas:'sidebar main' 'sidebar footer';grid-template-rows:1fr auto;min-height:calc(100vh - var(--global-header-height));@media screen and (max-width: 760px){grid-template-columns:minmax(0, 1fr);grid-template-areas:'main' 'footer';grid-template-rows:unset;}"};const m=e=>{let{className:t,children:n}=e;return(0,s.Y)("div",{css:p,className:t},n)};m.Content=o.A,m.Main=r.A,m.PageTools=i.A,m.Footer=a.A,m.Sidebar=c;var u=m},74093:function(e,t,n){n.d(t,{A:function(){return m}});var o=n(96540),a=n(54171),r=n(77387),i=n(96),s=n(17437);const l=(0,i.A)("div",{target:"e1izzndv0"})({name:"1axn5ie",styles:"display:flex;justify-content:center;align-items:center;border-radius:4px;background:var(--secondary-background-color);height:100%;width:calc(100vw - var(--sidebar-width) - 3rem);h3{color:var(--secondary-text-color);}"});var d=()=>(0,s.Y)(l,null,(0,s.Y)("h3",null,"Oops! Something went wrong."));let c=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return(t=e.call.apply(e,[this].concat(o))||this).state={hasError:!1},t}(0,r.A)(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}};var n=t.prototype;return n.componentDidCatch=function(e,t){this.props.addPageAction({error:e,errorInfo:t,category:"PageErrored",eventName:this.props.eventName})},n.render=function(){return this.state.hasError?(0,s.Y)(d,null):this.props.children},t}(o.Component);var p=c;var m=e=>{let{eventName:t,children:n}=e;return(0,s.Y)(p,{addPageAction:a.b,eventName:t},n)}},29658:function(e,t,n){n.r(t),n.d(t,{default:function(){return de}});var o=n(54506),a=n(64467),r=n(96540),i=n(86230),s=n(54171),l=n(54572),d=n(6746),c=n(43775),p=n(5919),m=n(81824),u=n(40906),g=n(3742),v=n(58168),h=n(9215),f=n(17437);var y=e=>(0,f.Y)(h.A,(0,v.A)({},e,{containerId:"agent-config-codeblock"})),b=n(72155),x=n(2643),A=n(28007);var w=e=>{let{className:t,name:n}=e;const{allFile:{nodes:o}}=(0,A.useStaticQuery)("3353503303"),a=o.find((e=>e.name===n));return(0,f.Y)("img",{className:t,alt:a.name,src:a.publicURL})};var Y={name:"ol9ofu",styles:"font-size:0.875rem"},C={name:"1r15max",styles:"margin-bottom:0;max-height:3rem;max-width:80%"};var O=e=>{let{displayName:t,value:n,logo:o,onChange:a,isSelected:r}=e;return(0,f.Y)(x.A,{role:"option","aria-selected":r,onClick:()=>a(n),variant:x.A.VARIANT.OUTLINE,css:(0,f.AH)("display:flex;flex-direction:column;align-items:center;text-align:center;padding:0.5rem;color:var(--system-text-primary-light);border:",r?"1.25px solid var(--attention-notification-info)":" 1px solid #3a444b",";background:var(--system-background-app-light);.light-mode &{border:",r?"1.25px solid var(--attention-notification-info)":"1px solid var(--system-border-strong-light)",";}div{white-space:normal;line-height:1.2;}","")},o&&(0,f.Y)(w,{name:o,css:C}),(0,f.Y)("div",{css:Y},t))},k=n(96805),N=n(6609),T=n(60404);var P=n(2739).Bd?r.useLayoutEffect:r.useEffect,S=n(80045),j=n(14212);const E=["name","size","style"],z=e=>{let{name:t,size:n,style:o}=e,a=(0,S.A)(e,E);const r=j.A[t.split("fe-").pop()];return(0,f.Y)(T.animated.svg,(0,v.A)({},a,{style:o,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",css:(0,f.AH)("fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;width:",n,";height:",n,";","")}),r)};z.defaultProps={size:"1em"};var I=z;const $=n.g.ResizeObserver||function(){};var R={name:"1dvcxr3",styles:"padding:1rem"},G={name:"d3v9zr",styles:"overflow:hidden"},D={name:"1o9hz83",styles:"display:block;color:inherit!important"},F={name:"uaob3j",styles:"margin-left:0.5rem"},L={name:"1j6h5xb",styles:"display:flex;align-items:center;flex:1;position:relative;font-size:1rem;margin-top:0;margin-bottom:0;text-align:left;font-weight:400"},M={name:"1opn34h",styles:"--color-transition-duration:0.3s;--color-transition-easing:ease-out;cursor:pointer;padding:0.75rem;display:flex;align-items:center;transition:background var(--color-transition-duration) var(--color-transition-easing);border:none;background:transparent;code{transition:background var(--color-transition-duration) var(--color-transition-easing);}&:hover,&:focus{background:var(--primary-hover-color);outline:none;.anchor svg{opacity:1;}}"},U={name:"1iqeurl",styles:"display:flex;flex-direction:column;border-radius:3px;border:1px solid var(--border-color);box-shadow:var(--shadow-1);.dark-mode &{box-shadow:var(--shadow-2);}"};const Q=e=>{let{label:t,id:n,children:o,isOpen:a,onClick:i,placeholder:s}=e;const{0:l,1:d}=(0,r.useState)(),{0:c,1:p}=(0,r.useState)(0),{height:m}=(0,T.useSpring)({height:a?c:0}
1),u=(0,T.useSpring)({transform:a?"rotate(90deg)":"rotate(0deg)",color:"var(--primary-text-color)"}),g=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e})),t.current}(a),v=(0,r.useMemo)((()=>new $((e=>{let[t]=e;const{height:n}=t.target.getBoundingClientRect();p(n)}))),[]);return P((()=>(l&&v.observe(l),()=>v.disconnect())),[l]),(0,f.Y)("div",{css:U},(0,f.Y)("button",{onClick:i,type:"button",css:M},(0,f.Y)("h5",{id:n,css:L},(0,f.Y)("span",null,null!=t?t:s),n&&(0,f.Y)(k.A,{to:`#${n}`,className:"anchor",css:F},(0,f.Y)(N.A,{name:"fe-link-2",css:D}))),(0,f.Y)(I,{style:u,name:"fe-chevron-right"})),(0,f.Y)(T.animated.div,{style:{height:a&&g?"auto":m},css:G},(0,f.Y)("div",{ref:d,"aria-hidden":!a,css:R},o)))};Q.defaultProps={isOpen:!0};var q=Q;var B={name:"jf0g0w",styles:"display:grid;grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));grid-gap:1rem"},H={name:"akdqam",styles:"margin-top:1rem"};var _=e=>{let{options:t,onChange:n,value:o,label:a,placeholder:i,defaultOpen:s=!0}=e;const{0:l,1:d}=(0,r.useState)(s),c=(0,b.A)(o);(0,r.useEffect)((()=>{l&&null!==o&&null===c&&d(!1)}),[o,l,c]);const p=o&&t.find((e=>e.value===o));return(0,f.Y)("div",{css:H},(0,f.Y)("h4",null,a),(0,f.Y)(q,{label:null==p?void 0:p.displayName,placeholder:i,onClick:()=>d(!l),isOpen:l},(0,f.Y)("div",{role:"listbox",css:B},t.map((e=>(0,f.Y)(O,(0,v.A)({key:`${a}-${e.displayName}`,onChange:e=>{n(e),d(!1)},isSelected:o===e.value},e)))))))};var V={name:"hltamm",styles:"margin-top:2rem"};var J=e=>{let{selectOptions:t,mdx:n,onChange:o,showGuided:a}=e;const{body:r}=n;return(0,f.Y)("div",null,t.map((e=>(0,f.Y)(_,{key:`${e.label}${e.optionType}`,options:e.options,onChange:t=>o(t,e),value:e.value,label:e.label,placeholder:e.placeholder,defaultOpen:!e.value}))),(0,f.Y)("div",{css:V},a&&r&&(0,f.Y)(g.A,{body:r})))};var K=e=>{let{optionType:t,selectOptions:n,mdx:o,onChange:a,showGuided:r}=e;const i=n.find((e=>e.optionType===t)),{body:s}=o;return(0,f.Y)("div",null,(0,f.Y)(_,{label:i.label,onChange:e=>a(e,i),value:i.value,options:i.options,placeholder:i.placeholder,defaultOpen:!i.value}),r&&s&&(0,f.Y)(g.A,{body:s}))};var W=e=>{let{mdx:t,className:n}=e;return(0,f.Y)("div",{className:n},(null==t?void 0:t.body)&&(0,f.Y)(g.A,{body:null==t?void 0:t.body}))},X=n(52428),Z=n(10519),ee=n(74093);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){(0,a.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const oe=e=>e.trim().toLowerCase().replace(/\s+/g,"-").replace(/-+/,"-").replace(/[^a-z0-9-]/g,"");var ae={name:"13e2c49",styles:"gap:0;@media (max-width: 1240px){display:none;}"},re={name:"8clgg4",styles:"@media (min-width: 1240px){display:none;}"},ie={name:"1yp7290",styles:"margin-bottom:2rem"},se={name:"1yp7290",styles:"margin-bottom:2rem"},le={name:"tq8wg6",styles:"display:grid;grid-template-areas:'mt-disclaimer mt-disclaimer' 'page-title page-title' 'content page-tools';grid-template-columns:minmax(0, 1fr) 12.8125rem;grid-column-gap:2rem;padding:0;@media screen and (max-width: 1240px){grid-template-areas:'mt-disclaimer' 'page-title' 'content' 'page-tools';grid-template-columns:minmax(0, 1fr);}"};var de=e=>{var t;let{data:n,location:a}=e;const{installConfig:v={}}=n,{title:h,intro:b,steps:x,appInfo:A,agentConfigFile:w,whatsNext:Y,agentName:C,metaDescription:O}=v,{queryParams:k,setQueryParam:N,deleteQueryParam:T}=(0,i.A)(),{0:P,1:S}=(0,r.useState)(!1),{0:j,1:E}=(0,r.useState)(0),{0:z,1:I}=(0,r.useState)([]),{0:$,1:R}=(0,r.useState)(!1);"undefined"!=typeof window&&"object"==typeof newrelic&&(window.newrelic.setCustomAttribute("pageType","Interactive/Install"),window.newrelic.setCustomAttribute("agentName",C));const G=A.map((e=>ne(ne({},e),{},{value:k.has(e.optionType)?k.get(e.optionType):null}))),D=e=>{let t=e.split("");return t[0]=t[0].toUpperCase(),t=t.join(""),t},F=(e,t)=>{if(null!==e||void 0!==e){N(t.optionType,e);
1const n=t.options.some((t=>t.value===e&&!0===t.recommendedGuided));S(n),(0,s.b)({eventName:"appInfoOptionSelected",category:`${D(t.optionType)}AppInfoOptionSelect`,value:e,path:a.pathname,agentName:C,recommendedGuided:n})}else T(t.optionType,e)},L=e=>{let{name:t}=e;z.includes(t)||((0,s.b)({eventName:"agentConfigFileUpdated",category:`${D(t)}AgentConfigFileUpdated`,key:t,path:a.pathname,agentName:C}),I([].concat((0,o.A)(z),[t])))},M=e=>{E(e)},U=e=>{let{optionType:t,options:n}=e;if(k.has(t)){const e=k.get(t);return n.some((t=>{let{value:n}=t;return n===e}))}return!1},Q=e=>{let{mdx:t,skip:n}=e;if(n)return null;const{frontmatter:o,body:a}=t,{componentType:r}=o;if("agentConfig"===r){var i;const{inputOptions:e,fileName:n}=o;return(0,f.Y)(y,{config:null==w||null===(i=w.internal)||void 0===i?void 0:i.content,inputOptions:e,fileName:n,tipMdx:t,onChange:L})}if("appInfoConfig"===r)return(0,f.Y)(J,{showGuided:P,onChange:F,selectOptions:G,mdx:t});if("appInfoConfigOption"===r){const{optionType:e}=o;return(0,f.Y)(K,{showGuided:P,onChange:F,selectOptions:G,optionType:e,mdx:t})}return a&&(0,f.Y)(g.A,{body:a})},q=x.reduce(((e,t,n)=>{var a,r;const{content:i,step:s}=(e=>{const{overrides:t}=e;let n=!1;if(t)for(const o of t){const{selectedOptions:t,isConditionalStep:a}=o,r=t.every(U);if(r&&a)return{content:Q(e),step:e};if(r)return{content:Q(o),step:o};a&&(n=!0)}return n?{content:null}:{content:Q(e),step:e}})(t);if(null===i)return e;const{mdx:l}=s;return[].concat((0,o.A)(e),[{content:i,step:s,stepHeadings:{id:`${oe(null==l||null===(a=l.frontmatter)||void 0===a?void 0:a.headingText)}-${n+1}`,text:null==l||null===(r=l.frontmatter)||void 0===r?void 0:r.headingText}}])}),[]),B=q.map((e=>{let{stepHeadings:t}=e;return t}));return(0,r.useEffect)((()=>{R(!0)}),[]),(0,f.Y)(ee.A,{eventName:"install"},(0,f.Y)(X.A,{location:a,title:h,description:O,type:Z.Q.INTERACTIVE_INSTALL_PAGE}),(0,f.Y)(l.A.Main,{css:le},(0,f.Y)(l.A.Content,null,(0,f.Y)(u.A,null,h),(0,f.Y)("div",{css:se},(0,f.Y)(g.A,{body:null===(t=b.mdx)||void 0===t?void 0:t.body})),(0,f.Y)("div",null,$?(0,f.Y)(d.A,null,q.map(((e,t)=>{var n;let{content:o,step:{mdx:a}}=e;const{descriptionText:r,headingText:i}=null==a?void 0:a.frontmatter;return(0,f.Y)(d.A.Step,{number:t+1,title:i,active:j===t,key:t,onMouseOver:()=>M(t),onFocus:()=>M(t),id:`${oe(null===(n=a.frontmatter)||void 0===n?void 0:n.headingText)}-${t+1}`},r&&(0,f.Y)("p",{css:ie},r),o)}))):null),(0,f.Y)(W,{mdx:Y.mdx}),(0,f.Y)(c.A,{css:re})),(0,f.Y)(l.A.PageTools,{css:ae},(0,f.Y)(c.A,null),(0,f.Y)(p.A,{headings:B}),(0,f.Y)(m.A,{pageTitle:h}))))}},2739:function(e,t,n){n.d(t,{Bd:function(){return o}});var o="undefined"!=typeof window}}]);
2//# sourceMappingURL=component---src-pages-install-install-config-agent-name-js-2e5cbd4201756ddad970.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.