1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9822],{59822:function(t,e,l){l.r(e),l.d(e,{NextTacoModal:function(){return u}});var a=l(27573);l(7653);var i=l(51699),c=l(93636),n=l(47488),s=l(66181),o=l(56901),d=l(86686);let u=t=>{var e;let{tabData:l,savedTacoData:u,handleNextTaco:r,tacoData:m}=t,{t:p}=(0,i.$G)(),x=(0,d.TL)(),h=null!==(e=null==m?void 0:m.length)&&void 0!==e?e:0,_=(t,e)=>{x((0,o.VG)()),r(t,e)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"tacoIconCont mb-8 flex justify-center",children:(0,a.jsx)(s.ImageWrap,{src:"/assets/images/TacoIcon.png"})}),(0,a.jsx)("h4",{className:"modalTitle max-w-60","data-testid":"txt_toco_title",children:p("pdp.productDetailsPage.tacoDuplicationModal.text",{taco:((t,e)=>{let l=e[e.length-1].title,a=null==t?void 0:t.findIndex(t=>(null==t?void 0:t.title)===l),i="";if(-1!==a){let e=a+1;if(e<(null==t?void 0:t.length)){var c;i=null===(c=t[e])||void 0===c?void 0:c.title}}return i})(m,l)})}),(0,a.jsxs)("div",{className:"modalBtnSpace",children:[(0,a.jsx)(c.z,{title:p("pdp.productDetailsPage.tacoDuplicationTitle.text"),testid:"txt_buildFromScratch",type:"submit",customClass:"signInButton",label:p("pdp.productDetailsPage.tacoDuplicationTitle.text"),onClick:()=>_("scratch")}),l.map((t,e)=>(0,a.jsx)(c.z,{title:"".concat(p("pdp.modal.taco.duplicate")," ").concat(t.title).replace(/:/gi,""),testid:"txt_toco_Dublicate_tab_".concat(e),type:"submit",customClass:"cancelButton",label:p("menu.menuheader.resetConfirmButton.text"),onClick:()=>_("duplicate",e)},t.id)),h>2&&u.length<=1&&(0,a.jsxs)("p",{className:"makeAllSame",onClick:()=>_("allsame"),"data-testid":"txt_make_all",children:[p("pdp.modal.taco.allsame"),(0,a.jsx)(n.Z,{width:"0.75rem",height:"0.75rem",id:"breadcrumbs_name_id"})]})]})]})}}}]);
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.