1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7303],{65846:function(e,l,i){i.d(l,{W:function(){return c}});var s=i(52322);i(2784);var a=i(42670),t=i(75590),n=i(71680),r=i(21353),o=i(15644),d=i(39440);let c=()=>{let e=(0,d.A)(e=>e.pending),l=(0,d.A)(e=>e.confirm),i=(0,d.A)(e=>e.cancel),c=(null==e?void 0:e.hasAudio)!==!1,x=e=>{l(e)};return(0,s.jsxs)(o.Q,{open:!!e,onClose:i,className:"w-full max-w-md",dataTestId:"video-source-upload-choice-modal",children:[(0,s.jsx)(t.$N,{as:"h3",className:"text-base font-semibold leading-6 text-gray-900",children:(0,s.jsx)(a.Z,{id:c?"Editor.Source.VideoUploadChoice.Title":"Editor.Source.VideoUploadChoice.SilentTitle",defaultMessage:c?"How should we use this video?":"Add this video to the canvas?"})}),(null==e?void 0:e.fileName)&&(0,s.jsx)("p",{className:"mt-2 text-sm text-gray-600 truncate",title:e.fileName,children:(0,s.jsx)(a.Z,{id:"Editor.Source.VideoUploadChoice.FileLabel",values:{fileName:e.fileName}})}),(0,s.jsx)("p",{className:"mt-3 text-sm text-gray-600",children:(0,s.jsx)(a.Z,{id:c?"Editor.Source.VideoUploadChoice.Description":"Editor.Source.VideoUploadChoice.SilentDescription",defaultMessage:c?"Extract the audio for your waveform, or keep the video visible on the canvas as well.":"This clip has no audio we can extract, so it will not drive the waveform. You can still place it as a video layer."})}),(0,s.jsx)("div",{className:"mt-5 flex flex-col gap-3 sm:flex-row",children:c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.z,{theme:"blue",block:!0,icon:n.dXY,onClick:()=>x("audio-only"),"data-testid":"video-source-upload-audio-only",children:(0,s.jsx)(a.Z,{id:"Editor.Source.VideoUploadChoice.AudioOnly"})}),(0,s.jsx)(r.z,{theme:"primary",block:!0,icon:n.rHK,onClick:()=>x("audio-and-visuals"),"data-testid":"video-source-upload-with-visuals",children:(0,s.jsx)(a.Z,{id:"Editor.Source.VideoUploadChoice.AudioAndVisuals"})})]}):(0,s.jsx)(r.z,{theme:"primary",block:!0,icon:n.rHK,onClick:()=>x("audio-and-visuals"),"data-testid":"video-source-upload-visuals-only",children:(0,s.jsx)(a.Z,{id:"Editor.Source.VideoUploadChoice.VisualsOnly",defaultMessage:"Add as video layer"})})})]})}},77660:function(e,l,i){i.d(l,{S:function(){return x},i:function(){return u}});var s=i(52322),a=i(2784),t=i(42670),n=i(46979),r=i(21353),o=i(17835),d=i(94133),c=i(46620);function x(e){let{onClose:l,imageUrl:i,isUploading:n=!1,uploadProgress:o=null,onFileSelected:x,onAdjustCrop:u,onRemove:h}=e,m=(0,a.useRef)(null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{ref:m,type:"file",accept:"image/*",className:"hidden",onChange:e=>{var l;let i=null===(l=e.target.files)||void 0===l?void 0:l[0];i&&x(i),e.target.value=""}}),(0,s.jsxs)("div",{className:"relative shrink-0",style:{width:96,height:96},"aria-busy":n||void 0,children:[(0,s.jsx)("div",{className:"absolute inset-0 overflow-hidden rounded-full border border-gray-200 bg-gray-100",children:(0,s.jsx)("img",{src:i,alt:"",className:"h-full w-full object-cover pointer-events-none",draggable:!1})}),n&&(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-10 flex flex-col items-center justify-center gap-1.5 rounded-full bg-black/45 px-2",role:"status","aria-busy":"true",children:[(0,s.jsx)("span",{className:"sr-only",children:(0,s.jsx)(t.Z,{id:"Editor.CenterImage.Uploading",defaultMessage:"Uploadingâ¦"})}),(0,s.jsx)(d.p,{className:"text-white",fontSize:28}),"number"==typeof o&&(0,s.jsx)("div",{className:"w-[min(5.5rem,72%)] max-w-full",children:(0,s.jsx)(c.E,{percent:Math.min(100,Math.max(0,o)),className:"h-1.5"})})]})]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[(0,s.jsx)(r.z,{type:"button",theme:"secondary-light",className:"text-sm",disabled:n,onClick:()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.click()},children:"Replace"}),(0,s.jsx)(r.z,{type:"button",theme:"secondary-light",className:"text-sm",disabled:n,onClick:u,children:"Adjust crop"}),(0,s.jsx)(r.z,{type:"button",theme:"secondary-light",className:"text-sm",disabled:n,onClick:()=>{h(),l()},children:"Remove"})]})]})}function u(e){let{visible:l,onClose:i,imageUrl:a,isUploading:t=!1,uploadProgress:r=null,onFileSelected:d,onAdjustCrop:c,onRemove:u}=e;return(0,s.jsx)(o.dy,{open:l,onOpenChange:e=>!e&&i(),children:(0,s.jsxs)(o.sc,{className:"flex max-h-[40vh] flex-col overflow-hidden rounded-t-xl px-0",children:[(0,s.jsxs)("div",{className:"flex shrink-0 flex-row items-center justify-between gap-2 border-b border-gray-200 px-5 py-3",children:[(0,s.jsx)(o.iI,{className:"text-lg font-semibold leading-none tracking-tight",children:"Center image"}),(0,s.jsx)(o.uh,{asChild:!0,children:(0,s.jsx)("button",{type:"button",className:"-mr-1 flex h-8 w-8 shrink-0 items-center justify-center rounded text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-700","aria-label":"Close",children:(0,s.jsx)(n.Z,{className:"h-5 w-5"})})})]}),(0,s.jsx)("div",{className:"flex flex-col items-center gap-4 px-5 pb-8 pt-4","data-vaul-no-drag":!0,style:{touchAction:"pan-y"},children:(0,s.jsx)(x,{onClose:i,imageUrl:a,isUploading:t,uploadProgress:r,onFileSelected:d,onAdjustCrop:c,onRemove:u})})]})})}},72503:function(e,l,i){i.d(l,{n:function(){return r},w:function(){return n}});var s=i(52322);i(2784);var a=i(12524),t=i.n(a);
1let n="hide-scrollbar flex max-w-full min-w-0 w-full flex-nowrap items-stretch overflow-x-auto border-t border-gray-200 bg-white",r=e=>{let{icon:l,label:i,active:a=!1,disabled:n,onClick:r,"data-testid":o}=e;return(0,s.jsxs)("button",{type:"button","data-testid":o,className:t()("flex min-h-[4rem] min-w-[4.5rem] shrink-0 flex-col items-center justify-center gap-1 border-t-2 px-2 py-2 transition-colors disabled:cursor-not-allowed disabled:opacity-50",a?"-mt-[2px] border-blue-600 text-blue-600":"border-transparent text-gray-600 hover:text-gray-900"),"aria-pressed":a,disabled:n,onClick:r,children:[l,(0,s.jsx)("span",{className:"whitespace-nowrap text-[11px] font-medium leading-tight",children:i})]})}},70299:function(e,l,i){i.d(l,{w:function(){return I}});var s=i(52322),a=i(2784),t=i(85704),n=i(32415);let r=(0,n.Z)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]),o=(0,n.Z)("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]),d=(0,n.Z)("Waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]),c=(0,n.Z)("CircleDot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);var x=i(710),u=i(19458),h=i(44074),m=i(7496),g=i(51401),p=i(21571),v=i(80920),f=i(18672),j=i(42670),y=i(13699),b=i(92855);function w(e){let{visible:l,onClose:i,waveColors:a,onWaveColorsChange:t,disableAlpha:n,waveGradientDirection:r,onWaveGradientDirectionChange:o}=e;return(0,s.jsx)(y.g,{visible:l,onClose:i,title:(0,s.jsx)(j.Z,{id:"Editor.Menu.Colors.Wave",defaultMessage:"Wave Colors"}),colors:a,onColorsChange:t,disableAlpha:n,gradientDirection:r,onGradientDirectionChange:o,defaultColor:"#000000",lightArrow:!0,"data-testid":b.z.COLOR_PICKER_WAVE})}var C=i(18818),k=i(46979),N=i(17835),S=i(18204),A=i(55125);function E(e){let{visible:l,onClose:i}=e,{onChangeStyle:a,styleValue:t}=(0,S.K)({onApplied:i});return(0,s.jsx)(N.dy,{open:l,onOpenChange:e=>!e&&i(),children:(0,s.jsxs)(N.sc,{className:"flex max-h-[60vh] flex-col overflow-hidden rounded-t-xl px-0",children:[(0,s.jsxs)("div",{className:"flex shrink-0 flex-row items-center justify-between gap-2 border-b border-gray-200 px-5 py-3",children:[(0,s.jsx)(N.iI,{className:"text-lg font-semibold leading-none tracking-tight",children:"Soundwave style"}),(0,s.jsx)(N.uh,{asChild:!0,children:(0,s.jsx)("button",{type:"button",className:"-mr-1 flex h-8 w-8 shrink-0 items-center justify-center rounded text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray-700","aria-label":"Close",children:(0,s.jsx)(k.Z,{className:"h-5 w-5"})})})]}),(0,s.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto px-5 pb-8 pt-4","data-vaul-no-drag":!0,style:{touchAction:"pan-y"},children:(0,s.jsx)(A.R,{value:t,onChange:a})})]})})}var _=i(77660),R=i(94133),D=i(72503);function I(e){var l,i,n,j,y;let{activeTab:b,onTabChange:k,inlinePanels:N=!1}=e,{waveformConfig:S,updateWaveformConfig:A}=(0,m.d)(),{updateWaveformNode:I}=(0,g.O)(),Z=(0,p.g)(),z=(0,v.e1)(),{uploadCenterImage:U,removeCenterImage:T,isUploading:V,uploadProgress:F}=(0,f.d)(),[O,L]=(0,a.useState)(!1),[M,W]=(0,a.useState)(!1),[P,G]=(0,a.useState)(!1),[H,K]=(0,a.useState)(!1),q=(0,a.useRef)(null),Y=S.style||u.SoundWaveStyle.horizontal_simple,B=(0,h.isCircleSoundWaveStyle)(Y),Q=!!(null==z?void 0:null===(l=z.centerImage)||void 0===l?void 0:l.url),
1X=B&&!!(null==z?void 0:z.id),$=(null===(i=S.waveColors)||void 0===i?void 0:i.length)>0?S.waveColors:["#000000"],J=(0,a.useCallback)(e=>{L(!1),W(!1),G(!1),k(b===e?null:e)},[b,k]),ee=(0,a.useCallback)(()=>{if(N){J("style");return}W(!1),G(!1),k(null),L(e=>!e)},[N,k,J]),el=(0,a.useCallback)(()=>{if(N){J("color");return}L(!1),G(!1),k(null),W(!0)},[N,k,J]),ei=(0,a.useCallback)(()=>{if(L(!1),W(!1),!(null==z?void 0:z.id)){k(null);return}if(!Q){var e;k(null),null===(e=q.current)||void 0===e||e.click();return}if(N){J("centerImage");return}k(null),G(!0)},[Q,N,null==z?void 0:z.id,k,J]),es=(0,a.useCallback)(e=>{var l;let i=null===(l=e.target.files)||void 0===l?void 0:l[0];i&&(null==z?void 0:z.id)&&U(z.id,i),e.target.value=""},[null==z?void 0:z.id,U]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:D.w,children:[(0,s.jsx)(D.n,{icon:(0,s.jsx)(r,{className:"h-6 w-6 shrink-0"}),label:"Style",active:N?"style"===b:O,onClick:ee}),(0,s.jsx)(D.n,{icon:(0,s.jsx)("span",{className:"flex h-6 shrink-0 items-center justify-center gap-0.5 px-0.5","aria-hidden":!0,children:$.slice(0,5).map((e,l)=>(0,s.jsx)("span",{className:"h-4 w-4 shrink-0 rounded-full border border-gray-400 ring-1 ring-white",style:{backgroundColor:e}},"tab-wave-c-".concat(l)))}),label:"Color",active:N?"color"===b:M,onClick:el}),(0,s.jsx)(D.n,{icon:(0,s.jsx)(o,{className:"h-6 w-6 shrink-0"}),label:"Adjust",active:"adjust"===b,onClick:()=>J("adjust")}),B&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(D.n,{icon:(0,s.jsx)(d,{className:"h-6 w-6 shrink-0"}),label:"Bar length",active:"barLength"===b,onClick:()=>J("barLength")}),(0,s.jsx)(D.n,{icon:(0,s.jsx)(c,{className:"h-6 w-6 shrink-0"}),label:"Radius",active:"radius"===b,onClick:()=>J("radius")})]}),X&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("input",{ref:q,type:"file",accept:C.mD.join(","),className:"hidden","aria-hidden":!0,onChange:es}),(0,s.jsx)(D.n,{icon:V?(0,s.jsx)(R.p,{className:"text-blue-600",fontSize:24}):(0,s.jsx)(x.Z,{className:"h-6 w-6 shrink-0"}),label:"Center",active:N?"centerImage"===b:P,disabled:V,onClick:ei})]})]}),(0,s.jsx)(E,{visible:!N&&O,onClose:()=>L(!1)}),(0,s.jsx)(w,{visible:!N&&M,onClose:()=>W(!1),waveColors:$,onWaveColorsChange:e=>A({waveColors:e}),disableAlpha:!0,waveGradientDirection:S.waveGradientDirection,onWaveGradientDirectionChange:Z.waveGradientDirectionPicker&&S.style!==u.SoundWaveStyle.horizontal_bezier?e=>A({waveGradientDirection:e}):void 0}),!N&&X&&(null==z?void 0:z.id)&&Q&&(null===(n=z.centerImage)||void 0===n?void 0:n.url)&&(0,s.jsx)(_.i,{visible:P,onClose:()=>G(!1),imageUrl:z.centerImage.url,isUploading:V,uploadProgress:F,onFileSelected:e=>U(z.id,e),onAdjustCrop:()=>{G(!1),K(!0)},onRemove:()=>{T(z.id)}}),!N&&X&&(null==z?void 0:z.id)&&Q&&(null===(j=z.centerImage)||void 0===j?void 0:j.url)&&(0,s.jsx)(t.O,{open:H,onClose:()=>K(!1),imageUrl:z.centerImage.url,circleRadius:null!==(y=S.circleRadius)&&void 0!==y?y:0,initialCenterImage:z.centerImage,onApply:e=>{let l=z.centerImage;(null==l?void 0:l.url)&&I(z.id,{centerImage:{...l,...e}})}})]})}},68635:function(e,l,i){i.d(l,{c:function(){return q}});var s=i(52322),a=i(2784),t=i(25237),n=i.n(t),r=i(99127),o=i(12524),d=i.n(o),c=i(71680),x=i(40457),u=i(19458),h=i(46334),m=i(43034),g=i(7355),p=i(30118),v=i(16867),f=i(52522),j=i(72657),y=i(8752),b=i(78683),w=i(48201),C=i(83096),k=i(92855),N=i(97065),S=i(47389),A=i(83553),E=i(18997),_=i(75630),R=i(39097),D=i.n(R),I=i(42670);let Z=e=>{let{icon:l,onClick:i,href:a,ariaLabel:t,disabled:n=!1,className:r="",label:o,border:c=!0}=e,x=(0,s.jsxs)("button",{className:d()("flex bg-violet-600 items-center p-2 rounded-lg hover:bg-violet-500",r,{"text-white":!n,"text-violet-400 cursor-default":n,"border-white/40 border":c}),onClick:n?void 0:i,disabled:n,"aria-label":t,children:[l,o&&(0,s.jsx)("span",{className:"ml-2 text-sm",children:"string"==typeof o?o:(0,s.jsx)(I.Z,{id:o})})]});return a&&!n?(0,s.jsx)(D(),{href:a,prefetch:!1,className:"no-underline",children:x}):x};var z=i(85603),U=i(61796);let T=a.forwardRef((e,l)=>{let{className:i,...a}=e;return(0,s.jsx)("kbd",{ref:l,className:d()("pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border border-slate-200 bg-slate-100 px-1.5 font-mono text-[10px] font-medium text-slate-600 opacity-100",i),...a}
1)});T.displayName="Kbd";var V=i(38420),F=i(95747),O=i(16572),L=i(45539),M=i(78958),W=i(37690),P=i(3741);let G=n()(()=>Promise.all([i.e(4396),i.e(5647),i.e(6170),i.e(6356),i.e(3011)]).then(i.bind(i,86356)).then(e=>e.EditorAdminDialog),{loadableGenerated:{webpack:()=>[86356]},ssr:!1}),H={[S._.main]:(0,s.jsx)(w.i,{defaultValue:"Settings"}),[S._.emailVerification]:"Email verification",[S._.login]:"Login",[S._.forgotPassword]:"Forgot password",[S._.register]:"Register",[S._.share]:"Share"},K=e=>{let{keys:l}=e;return(0,s.jsx)("span",{className:"inline-flex items-center gap-1",children:l.map((e,l)=>(0,s.jsx)(T,{children:e},l))})},q=e=>{var l;let{variant:i="default"}=e,[t,n]=(0,a.useState)(!1),o=(0,p._i)(),w=(0,v.Sq)(),R="video"===i&&w?w.undo:o.undo,D="video"===i&&w?w.redo:o.redo,{editMode:I,isPaid:T}=(0,f.hl)(),[q,Y]=(0,a.useState)(S._.main),{playableURL:B}=(0,C.FI)(),{setShownTab:Q}=(0,a.useContext)(m.q5),X=(0,g.aC)(),$=I!==A.uz.Locked,J=(0,V.b)(),ee="video"!==i&&(J===u.SourceType.AUDIO||J===u.SourceType.STOCK||B&&J===u.SourceType.SAMPLE),el="video"!==i&&(J===u.SourceType.SPOTIFY||J===u.SourceType.SEARCH),ei=(0,O.mv)((null===(l=X.userDetails)||void 0===l?void 0:l.subscriptions)||[]),es=(0,L.A)(L.T.FREE_PREVIEW_DOWNLOAD),ea="video"===i?W.B.export:T||ei||P.featureFlags.freeDownloadsForReviews||"on"===es?M.e.export:M.e.digitalCheckout,et=ee||el,en=et||$,er="undefined"!=typeof navigator&&navigator.platform.toUpperCase().indexOf("MAC")>=0,eo=(0,F.Q)(e=>e.setRequestAuthWallHandler);return(0,a.useEffect)(()=>(eo(()=>{n(!0),Y(S._.register)}),()=>eo(null)),[eo]),(0,s.jsx)("header",{"data-testid":k.z.EDITOR_PAGE_HEADER,children:(0,s.jsxs)("nav",{className:d()("z-30 flex w-full align-middle shadow-md bg-violet-600 h-14"),children:[(0,s.jsxs)("div",{className:d()("flex flex-wrap items-center justify-between w-full min-w-0 px-3 lg:px-4 py-2 mt-0",null),children:[(0,s.jsxs)("div",{className:"flex items-center h-full",children:[(0,s.jsx)(Z,{icon:(0,s.jsx)(r.V9Z,{className:"text-2xl"}),href:"/my-designs",onClick:()=>(0,E.Kz)("editor_your_designs_button_clicked"),ariaLabel:"To Your Designs page",className:d()({"lg:block":!0,hidden:ee||el,block:!ee&&!el})}),en&&(0,s.jsxs)("div",{className:"ml-2 sm:ml-4 flex flex-row items-center gap-2 sm:gap-4",children:[(0,s.jsx)("div",{className:d()("h-8 w-px shrink-0 bg-white/40",et?"hidden lg:flex":"flex"),"aria-hidden":!0}),ee&&(0,s.jsx)(j.B,{}),el&&(0,s.jsx)(y.k,{}),$&&(0,s.jsx)(z.w,{})]})]}),(0,s.jsxs)("div",{className:"flex-row items-center justify-end flex-1 text-base flex lg:space-x-4",children:[(0,s.jsx)(_.Q,{className:"hidden lg:inline-flex"}),(0,s.jsx)("div",{className:"h-8 w-px lg:inline-block bg-white/40 hidden"}),(0,s.jsx)(Z,{icon:(0,s.jsx)(x.eEq,{className:"text-lg"}),onClick:()=>Q(ea),ariaLabel:"Download",label:"Download",className:"hidden lg:flex px-3"}),$&&(0,s.jsxs)("span",{className:d()("flex items-center",{}),children:[(0,s.jsx)(U.u,{content:(0,s.jsxs)("span",{className:"flex items-center gap-1 flex-col",children:["Undo ",(0,s.jsx)(K,{keys:er?["â","Z"]:["Ctrl","Z"]})]}),side:"bottom",children:(0,s.jsx)(Z,{icon:(0,s.jsx)(c.ZHP,{className:"text-lg"}),onClick:R||void 0,disabled:!R,ariaLabel:"Undo",className:"mr-2 p-2.5"})}),(0,s.jsx)(U.u,{content:(0,s.jsxs)("span",{className:"flex items-center gap-1 flex-col",children:["Redo ",(0,s.jsx)(K,{keys:er?["â","Shift","Z"]:["Ctrl","Shift","Z"]})]}),side:"bottom",children:(0,s.jsx)(Z,{icon:(0,s.jsx)(c.GVn,{className:"text-lg"}),onClick:D||void 0,disabled:!D,ariaLabel:"Redo",className:"p-2.5"})})]}),!$&&(0,s.jsx)(N.k,{theme:"primary-inverse",size:"normal",className:"py-2 ml-4 text-sm text-white hidden lg:flex rounded-lg"}),(0,s.jsx)("div",{className:"h-8 w-px lg:inline-block bg-white/40 hidden"}),(0,s.jsx)(Z,{icon:(0,s.jsx)(c.p4t,{fontSize:24,className:"text-white"}),onClick:()=>n(!t),ariaLabel:"Toggle side menu",className:"h-10 ml-4"}),X.isAdmin&&(0,s.jsx)(G,{})]})]}),(0,s.jsx)(h.U,{visible:t,hide:()=>n(!1),innerClassName:"lg:w-96 lg:h-full right-0",direction:"right",header:(0,s.jsxs)("span",{className:"flex items-center cursor-pointer touch-manipulation",onClick:()=>Y(S._.main),children:[q!==S._.main&&(0,s.jsx)(c.bUI,{className:"mr-2 text-gray-900"}),H[q]]}),children:(0,s.jsx)(b.F,{hide:()=>n(!1),content:q,setContent:Y,setShownTab:Q,variant:i})})]})})}}}]);
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.