1"use strict";(self.webpackChunkm2o_ts=self.webpackChunkm2o_ts||[]).push([[6504],{66708:(e,i,l)=>{l.d(i,{c:()=>C});var n=l(99584),t=l(78816),a=l(56472),o=l.n(a),s=l(64424),r=l(81328),c=l(21912),d=l(23520),u=l(89554),v=l(75500),A=l(97884);const I=e=>{const{label:i,text:l,icon:n,iconClassName:t,ribbon:a,value:s,isActive:I,readOnly:C,hasWarning:_,hasError:p,disabled:N,tip:m,changeCallback:F}=e;return(0,A.jsx)(u.c,{title:m,overlayClassName:r.c.cardTooltip,placement:"top",children:(0,A.jsx)("div",{className:o()(r.c.tileWrapper,I&&r.c.tileWrapperActive,!a&&r.c.tileWrapperNoRibbon),children:(0,A.jsx)(v.c.Ribbon,{className:o()(r.c.tileRibbon),text:a,children:(0,A.jsxs)("div",{className:o()(r.c.tile,I&&r.c.active,_&&r.c.warning,(C||N)&&!I&&r.c.readOnly),onClick:C||N?void 0:()=>F(s),children:[_&&!p&&(0,A.jsx)(c.us,{icon:d.Y.faTriangleExclamation,style:d.O.solid,className:o()(r.c.warningIcon,r.c.warningIconBlocked)}),p&&(0,A.jsx)(c.us,{icon:d.Y.faCircleXmark,style:d.O.solid,className:o()(r.c.warningIcon,r.c.warningIconError)}),(0,A.jsx)(c.us,{icon:n,style:d.O.light,className:o()(r.c.tileIcon,t)}),(0,A.jsx)("p",{className:r.c.tileLabel,children:i}),(0,A.jsx)("p",{className:r.c.tileText,children:l})]},s)})})})},C=e=>{let{name:i,label:l,options:a,readOnly:c,onChange:d,value:u}=e;const{submitCount:v,errors:C,touched:_,setFieldValue:p,values:N}=(0,s.Sq)(),m=!!((0,t.get)(_,i)||v>0)&&(0,t.get)(C,i),F=u||(0,t.get)(N,i),g=(0,n.useCallback)((e=>{d?d(e):p(i,e)}),[i,d,p]);return(0,A.jsxs)("div",{className:r.c.container,children:[l,(0,A.jsx)("div",{className:o()(r.c.tiles,m&&r.c.tilesError),children:a.map((e=>(0,A.jsx)(I,{...e,hasError:!!m,isActive:e.value===F,readOnly:!!c,changeCallback:g},"card-tile-".concat(e.value))))})]})}},17768:(e,i,l)=>{l.r(i),l.d(i,{default:()=>ae});var n=l(99584),t=l(84892),a=l(21912),o=l(1916),s=l(85400),r=l(32376);const c="NameField_fieldInput__Vabo+";var d=l(97884);const u=e=>{let{form:i,field:l}=e;const[t,a]=(0,n.useState)(""),{setFieldValue:s}=i;return(0,n.useEffect)((()=>{a(l.value)}),[l.value]),(0,d.jsx)(r.default,{id:"campaign-editor-name_input",name:l.name,className:c,onBlur:()=>s(l.name,t,!0),value:t||"",placeholder:(0,o.t)("CAMPAIGN.FIELDS.NAME.PLACEHOLDER"),onChange:e=>a(e.target.value),role:"textbox"})};var v=l(2664),A=l(57610),I=l(89554),C=l(56472),_=l.n(C),p=l(50208),N=l(21808),m=l(34428),F=l(90800),g=l(23520),E=l(70920);const T="GroupField_wrapper__FnmCX",L="GroupField_accountsSelect__AaiNv",P="GroupField_divider__eXem4",b="GroupField_optionAdd__gAhoY",O="GroupField_optionAddIcon__8iM4X",G="GroupField_popup__I-LhT";var M=l(23424);const h=e=>{var i;let{form:{setFieldValue:l,values:t},field:s}=e;
1const r=(0,p.OY)(),[c,u]=(0,n.useState)(""),[C,h,D]=(0,E.c)(!1),{brandId:S}=(0,M.W4)(),x=(0,p.w1)(N.e8),k=(0,p.w1)(F.gX),R=(0,n.useCallback)((async()=>{k&&S&&await r((0,m.iM)({status:"active",sortBy:"name",sortAsc:!0,from:0,limit:1e3,accountId:[k],clientBrandId:Number(S)}))}),[k,S,r]),f=(0,n.useCallback)((e=>{if(null!==e&&void 0!==e&&e.value&&null!==e&&void 0!==e&&e.label)return l(s.name,e.value,!1),void r((0,m.IL)({groupId:Number(e.value),groupName:e.label}));l(s.name,null,!1),r((0,m.M3)())}),[r,s.name,l]),j=(0,n.useCallback)((async e=>{const i=await r((0,m.Gs)({name:e,accountId:k,clientBrandId:Number(S)}));f({value:i.id,label:i.name}),D(),await R()}),[k,S,D,r,R,f]),B=(0,n.useMemo)((()=>({showSearch:!0,searchValue:c,onSearch:e=>u(e),optionFilterProp:"label"})),[c]);return(0,n.useEffect)((()=>{R()}),[R]),(0,d.jsxs)("div",{className:T,children:[(0,d.jsx)(v.default,{id:"campaign-editor-group-select",placeholder:(0,o.t)("CAMPAIGN.FIELDS.GROUP.PLACEHOLDER"),allowClear:!0,onClear:()=>{f({})},...B,value:null===(i=t.setup)||void 0===i?void 0:i.groupId,onChange:(e,i)=>f(i),onDropdownVisibleChange:e=>!e&&u(""),className:L,popupClassName:G,dropdownRender:e=>(0,d.jsxs)("div",{children:[e,(0,d.jsx)(A.c,{className:P}),(0,d.jsxs)("div",{className:_()("ant-select-item",b),onClick:()=>{h()},children:[(0,d.jsx)(a.us,{icon:g.Y.faPlusCircle,style:g.O.solid,className:O}),(0,o.t)("CAMPAIGN.FIELDS.GROUP.ADD_GROUP")]})]}),children:x.map((e=>(0,d.jsx)(v.default.Option,{value:e.groupId,label:e.name,children:(0,d.jsx)(I.c,{placement:"right",title:(0,o.wh)(e.name)>450?e.name:"",children:(0,d.jsx)(a.SE,{text:e.name,highlightText:c})})},e.name)))}),(0,d.jsx)(a.ek,{title:(0,o.t)("M_CAMPAIGN.GROUPS.NAME_TITLE"),onSubmit:j,show:C,onClose:D})]})};var D=l(30140),S=l(96952);const x="OptimizationStrategyField_label__7WJZs";var k=l(81328),R=l(66708),f=l(68276),j=l(7564),B=l(33832);const y=[s.Uv.CPA,s.Uv.ROAS],U=e=>{var i,l,t,r,c,u,v,A,I,C,_,N;let{field:m,form:F}=e;const E=(0,p.OY)(),{mode:T}=(0,f.eQ)(),L=F.submitCount>0,P=(0,n.useMemo)((()=>T.isEdit),[T]),b=(0,n.useMemo)((()=>{var e;return(null===(e=F.values.setup)||void 0===e?void 0:e.channel)===B.W2.CTV}),[null===(i=F.values.setup)||void 0===i?void 0:i.channel]),O=(0,n.useMemo)((()=>{var e;return(null===(e=F.values.setup)||void 0===e?void 0:e.channel)===B.W2.IN_APP}),[null===(l=F.values.setup)||void 0===l?void 0:l.channel]),G=(0,n.useCallback)(((e,i)=>{e===s.Uv.CPA||s.Uv.ROAS;return!i&&P?(0,o.t)("CAMPAIGN.FIELDS.GOAL.TIP_CAMPAIGN"):""}),[false,P]),M=(0,n.useCallback)((e=>!m.value||y.includes(e)&&!y.includes(m.value)||!y.includes(e)&&y.includes(m.value)?(E(S.cp.resetGoalForecast()),{"settings.conversionTracking.conversionEvent.conversionPixel":void 0,"settings.conversionTracking.conversionEvent.additionalConversionPixels":[],"settings.budget.optimizationMode.avgOrderValueUsd":void 0}):{}),[E,m.value]),h=(0,n.useCallback)((e=>{var i,l,n,t,a,o,r,c,d,u,v;const A=m.value===s.Uv.ROAS&&!(null===(i=F.values.settings)||void 0===i||null===(l=i.budget)||void 0===l||null===(n=l.optimizationMode)||void 0===n||!n.avgOrderValueUsd),I=!m.value||y.includes(e)&&!y.includes(m.value)||!y.includes(e)&&y.includes(m.value),C=!(null===(t=F.values.settings)||void 0===t||null===(a=t.conversionTracking)||void 0===a||null===(o=a.conversionEvent)||void 0===o||!o.conversionPixel)||(null!==(r=null===(c=F.values.settings)||void 0===c||null===(d=c.conversionTracking)||void 0===d||null===(u=d.conversionEvent)||void 0===u||null===(v=u.additionalConversionPixels)||void 0===v?void 0:v.length)&&void 0!==r?r:0)>0;return A||I&&C}),[m.value,null===(t=F.values.settings)||void 0===t||null===(r=t.budget)||void 0===r||null===(c=r.optimizationMode)||void 0===c?void 0:c.avgOrderValueUsd,null===(u=F.values.settings)||void 0===u||null===(v=u.conversionTracking)||void 0===v||null===(A=v.conversionEvent)||void 0===A||null===(I=A.additionalConversionPixels)||void 0===I?void 0:I.length,null===(C=F.values.settings)||void 0===C||null===(_=C.conversionTracking)||void 0===_||null===(N=_.conversionEvent)||void 0===N?void 0:N.conversionPixel]),U=(0,n.useCallback)((async e=>{if(h(e))try{await E((0,j.GC)((0,o.t)("CAMPAIGN.FIELDS.OPTIMISATION.WARNING_HEADER"),(0,o.t)("CAMPAIGN.FIELDS.OPTIMISATION.WARNING_CONTENT"),(0,o.t)("CAMPAIGN.FIELDS.OPTIMISATION.SWITCH_BUTTON"),(0,o.t)("BUTTON.CANCEL"),"warning")),await F.setMultiFieldValues({"setup.campaignObjective":e,...M(e)},!1),L&&F.validateField("creatives.creatives")}catch(i){}else F.setFieldValue("setup.campaignObjective",e)}),[E,F,h,L,M]),w=(0,n.useMemo)((()=>{const e=[{value:s.Uv.CPM,icon:g.Y.faBullhorn,iconClassName:k.c.tileIconBlueGreen,label:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPM,".LABEL")),text:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPM,".TEXT")),ribbon:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPM,".RIBBON")),tip:G(s.Uv.CPM,m.value===s.Uv.CPM)}];return O||b||e.push({value:s.Uv.CPC,icon:g.Y.faUsersRectangle,iconClassName:k.c.tileIconViolet,label:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPC,".LABEL")),text:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPC,".TEXT")),ribbon:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPC,".RIBBON")),tip:G(s.Uv.CPC,m.value===s.Uv.CPC)},{value:s.Uv.CPA,icon:g.Y.faBagShopping,iconClassName:k.c.tileIconBlue,label:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPA,".LABEL")),text:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPA,".TEXT")),ribbon:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.CPA,".RIBBON")),tip:G(s.Uv.CPA,m.value===s.Uv.CPA)},{value:s.Uv.ROAS,icon:g.Y.faSackDollar,iconClassName:k.c.tileIconGreen,label:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.ROAS,".LABEL")),text:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.ROAS,".TEXT")),ribbon:(0,o.t)("CAMPAIGN.FIELDS.GOAL.".concat(s.Uv.ROAS,".RIBBON")),tip:G(s.Uv.ROAS,m.value===s.Uv.ROAS)}),e}),[m.value,G,b,O]);return(0,d.jsx)("div",{id:s.K2.optimizationStrategy.id,children:(0,d.jsx)(R.c,{name:m.name,label:(0,d.jsxs)("h3",{className:x,children:[(0,o.t)("CAMPAIGN.FIELDS.GOAL.LABEL"),(0,d.jsx)(a.OK,{tip:(0,o.t)("CAMPAIGN.FIELDS.OPTIMISATION.TIP"),tipLink:D.iu.OPTIMISATION,id:"optimisation"})]}),onChange:U,options:w,readOnly:P})})};var w=l(99784),V=l(18572),W=l(31720),Y=l(99248),H=l(86792),X=l(78816),K=l(51588);const z={"setup.campaignObjective":s.Uv.CPM,"setup.adFormat":B.iy.DISPLAY,"settings.conversionTracking.defaultConversionCurrency":void 0,"settings.audience.excludeAudience":[],"settings.audience.includeAudience":[],"settings.conversionTracking.conversionEvent.conversionPixel":void 0,"settings.conversionTracking.conversionEvent.additionalConversionPixels":void 0,"settings.inventory.domains":{flag:B.ug.auto,list:[]},"settings.inventory.appLists":{flag:B.ug.auto,list:[]},"settings.inventory.appBundleLists":{flag:B.ug.auto,list:[]},"settings.targeting.browsers":[]},q={"setup.campaignObjective":s.Uv.CPM,"setup.adFormat":B.iy.VIDEO,"settings.budget.optimizationMode.goalValueStrategy":K.IB.target,"settings.conversionTracking.defaultConversionCurrency":void 0,"settings.audience.excludeAudience":[],"settings.audience.includeAudience":[],"settings.budget.frequencyCap":5,"settings.conversionTracking.conversionEvent.conversionPixel":void 0,"settings.conversionTracking.conversionEvent.additionalConversionPixels":void 0,"settings.inventory.domains":{flag:B.ug.auto,list:[]},"settings.inventory.appLists":{flag:B.ug.auto,list:[]},"settings.targeting.locations.countries":[],"settings.targeting.locations.includeRegions":[],"settings.targeting.locations.excludeRegions":[],"settings.targeting.locations.includeCities":[],"settings.targeting.locations.zipCodes":void 0,"settings.targeting.browsers":[]},Q=e=>{var i,l;let{form:t,field:a}=e;const s=(0,p.OY)(),{mode:r}=(0,f.eQ)(),{setMultiFieldValues:c,values:u,errors:v}=t,A=(0,p.w1)(V.o9),I=(0,p.w1)(V.eu),C=(0,p.w1)(Y.CU);(0,n.useEffect)((()=>{s((0,W.ek)(B.e0.deviceType))}),[s]);const _=(0,n.useCallback)((e=>{const i=(C||[]).filter((i=>{let{availableChannels:l}=i;return!l||l.includes(e)})).map((e=>{let{id:i}=e;return i}));return i.length?i:e===B.W2.IN_APP?H.Il.filter((e=>H.QD[e]!==H.aG.desktop)):H.Il}),[C]),N=(0,n.useMemo)((()=>(0,X.has)(v.setup,"channel")),[v.setup]),m=(0,n.useMemo)((()=>(0,X.has)(!v.setup,"adFormat")||(0,X.has)(v.setup,"campaignObjective")),[v.setup]),F=(0,n.useCallback)((e=>{var i;return(null===(i=u.setup)||void 0===i?void 0:i.channel)!==e&&r.isEdit?(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.DISABLED_TIP"):""}),[null===(i=u.setup)||void 0===i?void 0:i.channel,r]),E=(0,n.useCallback)((()=>{}),[]),T=(0,n.useCallback)((e=>{E(),c({"setup.channel":e,"settings.inventory.categories":[],"settings.targeting.deviceType":_(e),...e===B.W2.IN_APP?z:{},...e===B.W2.CTV?q:{}},N||m),s((0,w.Ap)())}),[E,c,N,m,s,_]),L=(0,n.useCallback)((async e=>{var i,l;if(null!==(i=u.setup)&&void 0!==i&&i.channel){if(e!==(null===(l=u.setup)||void 0===l?void 0:l.channel)){try{await s((0,j.GC)((0,o.t)("CAMPAIGN.FIELDS.CHANNEL.WARNING_HEADER"),(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.WARNING_CONTENT"),(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.SWITCH_BUTTON"),(0,o.t)("BUTTON.CANCEL"),"warning"))}catch{return}T(e)}}else T(e)}),[null===(l=u.setup)||void 0===l?void 0:l.channel,T,s]),P=(0,n.useMemo)((()=>[{value:B.W2.WEB,icon:g.Y.faBrowser,iconClassName:k.c.tileIconDarkViolet,label:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.WEB.TITLE"),text:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.WEB.TEXT"),tip:F(B.W2.WEB),isVisible:!0},{value:B.W2.IN_APP,icon:g.Y.faGridRound2,iconClassName:k.c.tileIconPink,label:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.IN_APP.TIT
1LE"),text:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.IN_APP.TEXT"),tip:F(B.W2.IN_APP),isVisible:A},{value:B.W2.CTV,icon:g.Y.faTv,iconClassName:k.c.tileIconDarkGreen,label:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.CTV.TITLE"),text:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.CTV.TEXT"),tip:F(B.W2.CTV),isVisible:I}].filter((e=>e.isVisible)).map((e=>{let{isVisible:i,...l}=e;return l}))),[F,A,I]);return(0,d.jsx)(R.c,{readOnly:r.isEdit,name:a.name,options:P,onChange:L})};l(71020);var J=l(74928),Z=l(57048);const $={label:"AdFormatField_label__PaLC2",error:"AdFormatField_error__3fYNn",tiles:"AdFormatField_tiles__T8dQc",tilesError:"AdFormatField_tilesError__IzpbX",tile:"AdFormatField_tile__qV8zO",readOnly:"AdFormatField_readOnly__bKH6m",active:"AdFormatField_active__2LqG2",tileTitle:"AdFormatField_tileTitle__hoyT3",tileText:"AdFormatField_tileText__67xDL",tileError:"AdFormatField_tileError__ro85J",tileIcon:"AdFormatField_tileIcon__diGz1",blockedIcon:"AdFormatField_blockedIcon__PdCQp",tileLabel:"AdFormatField_tileLabel__BRKWW",cloneButton:"AdFormatField_cloneButton__kqRUY",displayIcon:"AdFormatField_displayIcon__4iWYF",nativeIcon:"AdFormatField_nativeIcon__uLvQW"},ee=e=>{let{onClose:i,show:l,onChangeAdFormat:n}=e;return(0,d.jsxs)(a.w5,{show:l,onClose:i,children:[(0,d.jsx)(a.kP,{children:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.WARNING_HEADER")}),(0,d.jsx)(a.EX,{children:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.WARNING_CONTENT")}),(0,d.jsxs)(a.kl,{children:[(0,d.jsx)(a.q,{id:"cancel",onClick:i,color:a.q.COLOR.LIGHT_GRAY,bordered:!0,className:$.popupButton,children:(0,o.t)("BUTTON.CANCEL")}),(0,d.jsx)(a.q,{id:"switch-adFormat",onClick:n,color:a.q.COLOR.SECONDARY,className:$.popupButton,children:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.SWITCH_BUTTON")})]})]})},ie=e=>{var i,l,t,r,c,u;let{form:v,field:A}=e;const I=(0,p.OY)(),[C,_,N]=(0,E.c)(),{mode:m}=(0,f.eQ)(),{values:F,setFieldValue:T,submitCount:L}=v,P=!(null===(i=F.creatives)||void 0===i||null===(l=i.creatives)||void 0===l||!l.length),b=L>0,O=(0,n.useMemo)((()=>{var e;return(null===(e=F.setup)||void 0===e?void 0:e.channel)===B.W2.IN_APP}),[null===(t=F.setup)||void 0===t?void 0:t.channel]),G=(0,n.useMemo)((()=>{var e;return(null===(e=F.setup)||void 0===e?void 0:e.channel)===B.W2.CTV}),[null===(r=F.setup)||void 0===r?void 0:r.channel]),M=(0,n.useCallback)((async()=>{await T("creatives.creatives",[],b),I((0,Z.KA)()),I((0,J.is)())}),[T,b,I]),h=(0,n.useCallback)((()=>{var e;M(),T(A.name,(null===(e=F.setup)||void 0===e?void 0:e.adFormat)===B.iy.NATIVE?B.iy.DISPLAY:B.iy.NATIVE),N()}),[M,T,A.name,null===(c=F.setup)||void 0===c?void 0:c.adFormat,N]),S=(0,n.useCallback)((e=>{m.isEdit||(P?_():(T(A.name,e),I((0,J.Cs)({adFormat:[e]}))))}),[m,P,T,A.name,I,_]),x=(0,n.useCallback)((e=>{var i;return e!==(null===(i=F.setup)||void 0===i?void 0:i.adFormat)&&m.isEdit?(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.TIP_CAMPAIGN"):""}),[null===(u=F.setup)||void 0===u?void 0:u.adFormat,m]),j=(0,n.useMemo)((()=>G?[{value:B.iy.VIDEO,icon:g.Y.faVideo,iconClassName:k.c.tileIconViolet,label:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.video.TITLE"),text:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.video.TEXT"),tip:x(B.iy.VIDEO)}]:[{value:B.iy.DISPLAY,icon:g.Y.faImage,iconClassName:k.c.tileIconOrange,label:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.display.TITLE"),text:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.display.TEXT"),tip:x(B.iy.DISPLAY)},...O?[]:[{value:B.iy.NATIVE,icon:g.Y.faRectangleAd,iconClassName:k.c.tileIconDarkBlue,label:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.native.TITLE"),text:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.native.TEXT"),tip:x(B.iy.NATIVE)}]]),[x,O,G]);return(0,d.jsxs)("div",{id:s.K2.adFormat.id,children:[(0,d.jsx)(R.c,{name:A.name,label:(0,d.jsxs)("h3",{className:$.label,children:[(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.LABEL"),(0,d.jsx)(a.OK,{tip:(0,o.t)("CAMPAIGN.FIELDS.AD_FORMAT.TIP"),tipLink:D.iu.AD_FORMAT,id:"ad-format"})]}),options:j,onChange:S,readOnly:m.isEdit}),(0,d.jsx)(ee,{onClose:N,onChangeAdFormat:h,show:C})]})};var le=l(87076),ne=l(45380),te=l(10555);const ae=()=>{const{id:e}=(0,M.W4)(),{goToStep:i}=(0,f.eQ)(),l=(0,p.w1)(V.o9),r=(0,p.w1)(V.eu),c=(0,p.w1)(V.p3),v=(0,n.useMemo)((()=>(0,ne.c)(c,e)),[e,c]);return(0,d.jsx)(t.c,{validationSchema:v,onSubmit:()=>i(f.Ku.settings),children:e=>{var i;let{values:n}=e;return(0,d.jsx)(a.sF,{title:(0,o.t)("CAMPAIGN.TABS.SETUP.TITLE"),separated:!0,className:te.c.panel,children:(0,d.jsxs)(le.c,{vertical:!0,gap:24,children:[(l||r)&&(0,d.jsx)(a.kV,{name:"setup.channel",id:s.K2.channel.i
1d,label:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.LABEL"),labelTip:(0,o.t)("CAMPAIGN.FIELDS.CHANNEL.TIP"),component:Q}),(null===n||void 0===n||null===(i=n.setup)||void 0===i?void 0:i.channel)&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(a.kV,{id:"campaign-editor-optimization-strategy",name:"setup.campaignObjective",component:U}),(0,d.jsx)(a.kV,{name:"setup.name",id:s.K2.name.id,label:(0,o.t)("CAMPAIGN.FIELDS.NAME.LABEL"),component:u}),(0,d.jsx)(a.kV,{name:"setup.groupId",id:s.K2.group.id,label:(0,o.t)("CAMPAIGN.FIELDS.GROUP.LABEL"),component:h}),c&&(0,d.jsx)(a.kV,{id:s.K2.adFormat.id,name:"setup.adFormat",component:ie})]})]})})}})}},81328:(e,i,l)=>{l.d(i,{c:()=>n});const n={label:"CardsField_label__3Cwvg",error:"CardsField_error__flokA",tiles:"CardsField_tiles__AWhai",tilesError:"CardsField_tilesError__9JEdj",tile:"CardsField_tile__XQtF-",readOnly:"CardsField_readOnly__GMksM",cardTooltip:"CardsField_cardTooltip__fNz3i",tileWrapper:"CardsField_tileWrapper__jEr97",tileRibbon:"CardsField_tileRibbon__VHAPo",tileWrapperNoRibbon:"CardsField_tileWrapperNoRibbon__fF9nw",tileWrapperActive:"CardsField_tileWrapperActive__0aV6c",active:"CardsField_active__Df64H",tileTitle:"CardsField_tileTitle__Eiqlj",tileText:"CardsField_tileText__WFk8h",warning:"CardsField_warning__iRLOt",tileError:"CardsField_tileError__osrG9",tileIcon:"CardsField_tileIcon__3OTLs",tileIconGreen:"CardsField_tileIconGreen__4mgdQ",tileIconDarkGreen:"CardsField_tileIconDarkGreen__MFA-5",tileIconBlue:"CardsField_tileIconBlue__+icyl",tileIconViolet:"CardsField_tileIconViolet__iEQ0T",tileIconDarkViolet:"CardsField_tileIconDarkViolet__fsR8A",tileIconPink:"CardsField_tileIconPink__hGDup",tileIconBlueGreen:"CardsField_tileIconBlueGreen__uus1G",tileIconDarkBlue:"CardsField_tileIconDarkBlue__dpkdN",tileIconOrange:"CardsField_tileIconOrange__qtWY0",warningIcon:"CardsField_warningIcon__pbXUm",warningIconBlocked:"CardsField_warningIconBlocked__FYWTI",warningIconError:"CardsField_warningIconError__Cpgx5",tileLabel:"CardsField_tileLabel__8Kbre",cloneButton:"CardsField_cloneButton__YxN30",tileInfo:"CardsField_tileInfo__bARKL"}}}]);
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.