1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6282],{32903:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/myevent/general/settings",function(){return a(2351)}])},78969:function(e,t,a){"use strict";a.d(t,{m:function(){return useGetCompetitions}});var l=a(23405),n=a(11333),i=a.n(n),r=a(17252),o=a(50951);let fetchCompetitions=async e=>{let{pageParam:t,queryKey:a}=e,{current_page:l=1}=t||{},[n,i,s,d,c,u,m,_,p,h,g,f,x,v,y,b,j,S,C,Z,w,A,M,R,E,N,I,k,L]=a,P={published:"true"===c?1:0,page:l,public:"true"===u?1:0,type:"true"===m?"workshop":b||void 0,per_page:_||5,organiser_id:d||i,staff_id:s,keyword:p||void 0,organization_id:h,global_organization_id:g,exclude_grouped:"true"===f?1:void 0,country:v||void 0,onsite:y?"onsite"===y?1:0:void 0,date_from:j||void 0,date_to:S||void 0,sort:C||void 0,order:Z||void 0,upcoming:"true"===w?1:void 0,announced:"true"===A?1:void 0,closing_soon:"true"===M?1:void 0,myevents:R?1:void 0,club_id:E||void 0,include_clubs:N?1:void 0,"club_ids[]":"string"==typeof I&&I?I.split(","):void 0,group_id:k||void 0,include_grouped:L?1:void 0};"upcoming"===x?P.upcoming=1:"live"===x?P.live=1:"finished"===x&&(P.finished=1);let F=r.Z.stringify(P),{data:V}=await o.x1.get("/api/competition?".concat(F));return V},useGetCompetitions=function(e){var t,a,n,r,o,s,d,c,u,m,_,p,h,g,f,x,v,y,b,j,S,C,Z,w,A,M,R,E,N;let I=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,l.N)(["competitions",null!==(r=e.user_id)&&void 0!==r?r:null,null!==(o=e.staff_id)&&void 0!==o?o:null,null!==(s=e.organiser_id)&&void 0!==s?s:null,null!==(d=e.isPublished)&&void 0!==d?d:void 0,null!==(c=e.onlyPublic)&&void 0!==c?c:void 0,null!==(u=e.workshop)&&void 0!==u?u:"false",null!==(m=null===(t=e.perPage)||void 0===t?void 0:t.toString())&&void 0!==m?m:null,null!==(_=e.keyword)&&void 0!==_?_:null,null!==(p=e.organization_id)&&void 0!==p?p:null,null!==(h=e.global_organization_id)&&void 0!==h?h:null,null!==(g=e.exclude_grouped)&&void 0!==g?g:null,null!==(f=e.status)&&void 0!==f?f:null,null!==(x=e.country)&&void 0!==x?x:null,null!==(v=e.onsite)&&void 0!==v?v:null,null!==(y=e.label)&&void 0!==y?y:null,null!==(b=e.date_from)&&void 0!==b?b:void 0,null!==(j=e.date_to)&&void 0!==j?j:void 0,null!==(S=e.sort)&&void 0!==S?S:null,null!==(C=e.order)&&void 0!==C?C:null,null!==(Z=e.upcoming)&&void 0!==Z?Z:null,null!==(w=e.announced)&&void 0!==w?w:null,null!==(A=e.closing_soon)&&void 0!==A?A:null,e.myevents?"1":void 0,null!==(M=null===(a=e.club_id)||void 0===a?void 0:a.toString())&&void 0!==M?M:null,e.include_clubs?"1":void 0,null!==(R=null===(n=e.club_ids)||void 0===n?void 0:n.join(","))&&void 0!==R?R:null,null!==(E=null==e?void 0:e.group_id)&&void 0!==E?E:null,null!==(N=null==e?void 0:e.include_grouped)&&void 0!==N?N:null],fetchCompetitions,{getNextPageParam:e=>{let t=i()(e.registration_open_until).diff(i()(),"seconds")>0?"open":"closed";return e.current_page<e.last_page?{current_page:e.current_page+1,status:"open"}:"open"===t?{current_page:1,status:"closed"}:void 0},enabled:I})}},65985:function(e,t,a){"use strict";a.d(t,{Z:function(){return LayoutContentHeader}});var l=a(11527),n=a(6043),i=a.n(n),r=a(11917),o=a.n(r),s=a(82187),d=a.n(s),c=a(92989),u=a(75821);function LayoutContentHeader(e){let{loading:t,children:a,actions:n,title:r,info:s,bar:m,keepTitle:_=!1,className:p}=e;return(0,l.jsxs)("div",{className:d()(o().header,{[o().noActions]:null===n,[p]:!!p}),children:[(0,l.jsx)("div",{className:o().header__loader,children:t&&(0,l.jsx)(i(),{className:o().header__loader__element,color:"#f89521"})}),m?(0,l.jsx)("div",{className:o().header__bar,children:m}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:_?o().header__title_visible:o().header__title,children:[r,s&&(0,l.jsx)(c.Z,{title:(0,l.jsx)("span",{className:"whitespace-pre-wrap text-xs",children:s}),placement:"right",children:(0,l.jsx)("span",{className:o().header__info,children:(0,l.jsx)(u.k,{size:14})})})]}),(0,l.jsx)("div",{className:d()(o().header__content,{[o().fullWidth]:!!p&&!_}),children:a}),null!==n&&(0,l.jsx)("div",{className:o().header__actions,children:n})]})]})}},2351:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return EventSettingsPage}});var l=a(11527),n=a(96600),i=a(71532),r=a(89546),o=a(18302),s=a(65985),d=a(88027),c=a(9710),u=a(78153),m=a(92179),_=a(82047),p=a(6896);function CountVisibility(e){let{item:t}=e,{mutate:a,isLoading:n}=(0,_.o)({competitionId:t.id}),handeChange=e=>{a({registration_count_visibility:e},{onSuccess(){p.Am.success("Registration count visibility updated successfully")}})};return(0,l.jsx)(u.Z,{title:"Count Visibility",description:(0,l.jsx)("p",{children:"This gives you the visibility control of the registration count on the event page."}),children:(0,l.jsx)(m.Z,{theme:"dark",variant:"outlined",placeholder:"Registration Count Visibility",name:"registration_count_visibility",value:t.registration_count_visibility,onChange:e=>handeChange(e.target.value),loading:n,options:[{value:"athletes",label:"Total Athletes registered"},{value:"teams",label:"Teams registered"},{value:"none",label:"Donât Show number of registration"}]})})}var h=a(65610),g=a(61247),f=a(41224);function AthletesVisibility(e){let{item:t}=e,{mutate:a,isLoading:n}=(0,_.o)({competitionId:t.id}),handeChange=e=>{a({athletes_page_hide:e?1:0},{onSuccess(){p.Am.success("Athletes tab visibility updated successfully")}})};return(0,l.jsx)(u.Z,{title:"Hide Athletes tab",description:null,children:(0,l.jsx)(g.Z,{sx:{margin:0,gap:1},checked:!!t.athletes_page_hide,disabled:n,label:n?(0,l.jsx)(f.Z,{size:12,style:{color:"var(--color-brand-orange)"}}):"Hide",onChange:(e,t)=>
1handeChange(t),control:(0,l.jsx)(h.Z,{})})})}var x=a(62585),v=a(50455),y=a(55911),b=a(18677),j=a(50959),S=a(1122),C=a(55957),Z=a(55419),w=a(38766);function SensitivePoliticalTopics(e){let{item:t}=e,{mutate:a,isLoading:n}=(0,_.o)({competitionId:t.id}),{data:i}=(0,b.R)(),r=(0,C.cI)({defaultValues:{countries:t.flag_settings?JSON.parse(t.flag_settings):[]}}),o=(0,j.useMemo)(()=>Object.entries(i||[]).map(e=>{let[t,a]=e;return{value:t,label:a}}),[i]),s=(0,j.useMemo)(()=>r.formState.isDirty,[r.formState.isDirty]),onSubmit=async e=>{a({flag_settings:JSON.stringify(e.countries)},{onSuccess(){p.Am.success("INA settings updated successfully")}}),r.reset(e)};return(0,l.jsx)(u.Z,{title:"Sensitive Political Topics",description:"Athletes from the selected countries will be represented as Individual Neutral Athletes (INA) during the event. The INA flag will be used in place of their national flag to symbolize their independent and neutral representation.",children:(0,l.jsx)(C.RV,{...r,children:(0,l.jsxs)(x.Z,{component:"form",onSubmit:r.handleSubmit(onSubmit),display:"flex",gap:2,children:[(0,l.jsx)(C.Qr,{control:r.control,name:"countries",render:e=>{let{field:{onChange:t,value:a,ref:n}}=e;return(0,l.jsx)(y.Z,{sx:{flex:1},value:a,inputRef:n,onChange:(e,a)=>t(a),options:o,ChipProps:{size:"small",sx:{color:"white",fontWeight:900,bgcolor:"var(--color-neutral700)",height:22,".MuiChip-deleteIcon":{color:"white"},".MuiChip-deleteIcon:hover":{color:"#dadada"}}},getOptionKey:e=>e.value,multiple:!0,renderOption:(e,t)=>(0,l.jsxs)(x.Z,{component:"li",...e,display:"flex",alignItems:"center",gap:2,p:2,children:[(0,l.jsx)(S.Z,{country:t.value,keepOriginal:!0}),(0,l.jsx)(v.Z,{children:t.label})]}),getOptionLabel:e=>e.label,theme:"light",variant:"outlined"})}}),(0,l.jsx)(Z.Z,{loading:n,disabled:!s,variant:s?"contained":"outlined",theme:"dark",type:"submit",size:"large",children:(0,l.jsx)(w.J,{size:14})})]})})})}var A=a(48691),M=a(74995),R=a(22748),E=a(59369),N=a(92989),I=a(76490);function Appeal(e){let{item:t}=e,{mutateAsync:a,isLoading:n}=(0,_.o)({competitionId:t.id}),i=(0,C.cI)({defaultValues:{appeal_enabled:!!t.appeal_enabled,appeal_email:t.appeal_email,appeal_deadline:t.appeal_deadline,appeal_how_many:t.appeal_how_many,appeal_price:t.appeal_price||void 0,appeal_description:t.appeal_description||""}}),r=i.watch("appeal_enabled"),onSubmit=async e=>{await a({appeal_enabled:e.appeal_enabled?1:0,appeal_email:e.appeal_email,appeal_deadline:e.appeal_deadline,appeal_how_many:e.appeal_how_many,appeal_price:e.appeal_price,appeal_description:e.appeal_description}),p.Am.success("Appeal settings updated successfully"),i.reset(e)};return(0,l.jsx)(u.Z,{title:"Appeals submission settings",description:"Configure options for allowing users to submit appeals.",children:(0,l.jsx)(C.RV,{...i,children:(0,l.jsxs)("form",{onSubmit:i.handleSubmit(onSubmit),children:[(0,l.jsxs)(x.Z,{display:"flex",gap:2,flexDirection:"column",children:[(0,l.jsx)(C.Qr,{control:i.control,name:"appeal_enabled",render:e=>{let{field:t}=e;return(0,l.jsx)(g.Z,{sx:{margin:0,gap:1},checked:t.value,label:"Enable Appeal Submission",onChange:(e,a)=>t.onChange(a),control:(0,l.jsx)(h.Z,{})})}}),(0,l.jsx)(C.Qr,{control:i.control,name:"appeal_email",rules:{required:"Email is required",pattern:I.$O},render:e=>{var t;let{field:a,fieldState:n}=e;return(0,l.jsx)(A.Z,{theme:"dark",variant:"outlined",...a,type:"email",disabled:!r,error:null===(t=n.error)||void 0===t?void 0:t.message,placeholder:"Set the email address to receive all submitted appeals."})}}),(0,l.jsx)(C.Qr,{control:i.control,name:"appeal_how_many",render:e=>{let{field:t}=e;return(0,l.jsx)(A.Z,{theme:"dark",variant:"outlined",keepPlaceholder:!0,...t,disabled:!r,placeholder:"Maximum number of appeals allowed",type:"number"})}}),(0,l.jsx)(C.Qr,{control:i.control,name:"appeal_deadline",render:e=>{let{field:t}=e;return(0,l.jsx)(N.Z,{title:"HH:mm",children:(0,l.jsx)(E.Z,{theme:"dark",format:"HH:mm",variant:"outlined",...t,value:isNaN(Number(t.value))?0:Number(t.value),disabled:!r,placeholder:"Minutes allowed for appeals"})})}}),(0,l.jsx)(C.Qr,{control:i.control,name:"appeal_price",render:e=>
1{let{field:{onChange:a,value:n}}=e;return(0,l.jsx)(A.Z,{theme:"dark",variant:"outlined",type:"number",style:{width:"100%"},value:n,onChange:e=>a(e.target.value),placeholder:"Price",disabled:!r,unit:t.entry_fee_currency,keepPlaceholder:!0})}}),(0,l.jsx)(C.Qr,{control:i.control,name:"appeal_description",render:e=>{let{field:{ref:t,value:a,onChange:n,...i}}=e;return(0,l.jsx)(R.sO,{...i,placeholder:"Description...",value:a,onChange:n,disabled:!r})}})]}),(0,l.jsx)(x.Z,{textAlign:"right",mt:2,children:(0,l.jsx)(M.Z,{variant:i.formState.isDirty?"contained":"outlined",type:"submit",disabled:!i.formState.isValid||n,loading:n,children:"Save"})})]})})})}function MaxParticipants_SensitivePoliticalTopics(e){let{item:t}=e,{mutate:a,isPending:n}=(0,_.o)({competitionId:t.id}),{mutate:i,isPending:r}=(0,_.o)({competitionId:t.id}),o=(0,C.cI)({defaultValues:{max_participant:t.max_participant}}),s=(0,C.cI)({defaultValues:{max_teams:t.max_teams}}),d=(0,j.useMemo)(()=>o.formState.isDirty,[o.formState.isDirty]),c=(0,j.useMemo)(()=>s.formState.isDirty,[s.formState.isDirty]),onSubmitIndy=async e=>{a({max_participant:Number(e.max_participant)||null},{onSuccess(){p.Am.success("Max participants updated successfully")}}),o.reset(e)},onSubmitTeams=async e=>
1{i({max_teams:Number(e.max_teams)||null},{onSuccess(){p.Am.success("Max teams updated successfully")}}),s.reset(e)};return(0,l.jsx)(u.Z,{title:"Max Participants",description:"Set the maximum number of participants for the event.",children:(0,l.jsxs)("div",{className:"grid grid-cols-[1fr_auto_auto] items-center gap-2 max-w-[300px]",children:[(0,l.jsx)(C.RV,{...o,children:(0,l.jsxs)(x.Z,{component:"form",onSubmit:o.handleSubmit(onSubmitIndy),display:"contents",gap:2,children:[(0,l.jsx)("span",{children:"Max Individuals:"}),(0,l.jsx)(C.Qr,{control:o.control,name:"max_participant",render:e=>{let{field:{onChange:t,value:a,ref:n}}=e;return(0,l.jsx)(A.Z,{ref:n,value:a||"",theme:"dark",type:"number",variant:"outlined",className:"max-w-[100px]",placeholder:"Set number",onChange:t})}}),(0,l.jsx)(Z.Z,{loading:n,disabled:!d,variant:d?"contained":"outlined",theme:"dark",type:"submit",size:"large",children:(0,l.jsx)(w.n,{size:14})})]})}),(0,l.jsx)(C.RV,{...s,children:(0,l.jsxs)(x.Z,{component:"form",onSubmit:s.handleSubmit(onSubmitTeams),display:"contents",gap:2,children:[(0,l.jsx)("span",{children:"Max Teams:"}),(0,l.jsx)(C.Qr,{control:s.control,name:"max_teams",render:e=>{let{field:{onChange:t,value:a,ref:n}}=e;return(0,l.jsx)(A.Z,{ref:n,value:a||"",theme:"dark",type:"number",variant:"outlined",className:"max-w-[100px]",placeholder:"Set number",onChange:t})}}),(0,l.jsx)(Z.Z,{loading:r,disabled:!c,variant:c?"contained":"outlined",theme:"dark",type:"submit",size:"large",children:(0,l.jsx)(w.n,{size:14})})]})})]})})}var k=a(90525);let L={color_primary:"#2D5BC9",color_secondary:"#808080",color_font_primary:"#FFFFFF"},P={color_primary:"Primary Color",color_secondary:"Secondary Color",color_font_primary:"Font Color"},F=["color_primary","color_secondary","color_font_primary"];function ColorPickerField(e){let{label:t,field:a,initialColor:n,competitionId:i}=e,{mutate:r,isPending:o}=(0,_.o)({competitionId:i}
1),[s,d]=(0,j.useState)(n),[c,u]=(0,j.useState)(!1),[m,h]=(0,j.useState)(n),g=(0,j.useRef)(n),f=s!==g.current,rgbaToHex=e=>{let t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/);if(!t)return e;let[,a,l,n,i]=t,toHex=e=>e.toString(16).padStart(2,"0"),r=void 0===i?1:parseFloat(i);return"#"+[a,l,n].map(e=>toHex(parseInt(e))).join("")+(r<1?toHex(Math.round(255*r)):"")},handlePaletteCancel=()=>{u(!1)},x=window.matchMedia("(prefers-color-scheme: dark)").matches;return(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsxs)("span",{className:"min-w-[130px]",children:[t,":"]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("button",{type:"button",className:"w-[140px] h-[40px] rounded border border-solid border-gray-500 cursor-pointer",style:{background:s},onClick:()=>{h(s),u(!0)}}),c&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"fixed inset-0 z-40",onClick:handlePaletteCancel}),(0,l.jsxs)("div",{className:"absolute z-50 bottom-[46px] left-0 rounded-lg p-4 shadow-lg border border-solid border-gray-600",style:{backgroundColor:x?"#202020":"#ffffff"},children:[(0,l.jsx)(k.Z,{value:m,onChange:h,width:280}),(0,l.jsxs)("div",{className:"mt-4 flex justify-between gap-2",children:[(0,l.jsx)("button",{type:"button",onClick:handlePaletteCancel,className:"px-4 py-2 rounded-md text-sm font-medium transition-all duration-200 active:scale-[0.98]",style:{backgroundColor:"transparent",color:"#d1d5db",border:"1px solid #3a3a3a"},children:"Cancel"}),(0,l.jsx)("button",{type:"button",onClick:()=>{let e=m.startsWith("linear-gradient")||m.startsWith("radial-gradient");d(e?m:rgbaToHex(m)),u(!1)},className:"px-4 py-2 rounded-md text-sm font-medium transition-all duration-200 active:scale-[0.98]",style:{backgroundColor:"#2d2d2d",color:"#ffffff",border:"1px solid #3a3a3a"},children:"Save color"})]})]})]})]}),(0,l.jsx)(Z.Z,{loading:o,disabled:!f,variant:f?"contained":"outlined",theme:"dark",type:"button",size:"large",onClick:()=>{r({[a]:s||null},{onSuccess(){g.current=s,p.Am.success("".concat(t," updated successfully"))}})},children:(0,l.jsx)(w.n,{size:14})})]})}function BrandColors(e){let{item:t}=e;return(0,l.jsx)(u.Z,{title:"Brand Colors",description:(0,l.jsx)("p",{children:"Define your brand colors to maintain a consistent and personalized visual identity throughout your event experience."}),children:(0,l.jsx)("div",{className:"flex flex-col gap-3 max-w-[420px]",children:F.map(e=>(0,l.jsx)(ColorPickerField,{label:P[e],field:e,initialColor:t[e]||L[e],competitionId:t.id},e))})})}var V=a(67844),H=a.n(V);function UIFormCardDivider(){return(0,l.jsx)("div",{className:H().formCard__divider})}var T=a(82187),B=a.n(T),D=a(67109),z=a(29348),O=a(86465),Q=a(29256),G=a(80106),X=a(21583);function InviteFormSidemenuReduced(e){let{onComplete:t,competitionId:a,file:n,setLoader:i}=e,r=(0,X.q)(),o=(0,C.cI)({defaultValues:{subject:"",message:""}}),onSubmit=async e=>{let l=n&&n instanceof File;if(!e.subject||(0,R.JK)(e.message)){p.Am.error("Please provide email subject and message");return}try{let i=0,o=e.subject,s=e.message;if(l){let e=new FormData;e.append("competition_id",a),e.append("file",n),e.append("subject",o),e.append("message",s);let t=await r.mutateAsync(e);i+=t.data.count}0===i?p.Am.warning("No invitations were sent. Please check your CSV file or email list."):p.Am.success("Invitations sent successfully to ".concat(i," email ").concat(1===i?"address":"addresses")),t()}catch(e){p.Am.error("Failed to send invitations")}};return(0,j.useEffect)(()=>(i(r.isLoading),()=>{i(!1)}),[r.isLoading,i]),(0,l.jsx)(C.RV,{...o,children:(0,l.jsx)("form",{id:"invite-form",onSubmit:o.handleSubmit(onSubmit),children:(0,l.jsx)(c.F,{gap:"36px",children:(0,l.jsxs)(c.F,{children:[(0,l.jsx)(G.Z,{title:"Email content",line:!0}),(0,l.jsx)(C.Qr,{name:"subject",rules:{required:"This field is required"},render:e=>{var t;let{field:{onChange:a,value:n,ref:i}}=e;return(0,l.jsx)(A.Z,{value:n||"",onChange:a,ref:i,placeholder:"Email Subject",theme:"light",variant:"outlined",error:null===(t=o.formState.errors.subject)||void 0===t?void 0:t.message})}}),(0,l.jsx)(c.F,{margin:"4px"}),(0,l.jsx)(C.Qr,{name:"message",rules:{required:"This field is required",validate:e=>!(0,R.JK)(e)||"Message is required"},render:e=>
1{let{field:{onChange:t,value:a}}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(R.sO,{theme:"light",placeholder:"Type message here...",value:a,onChange:t}),o.formState.errors.message&&(0,l.jsx)(v.Z,{fontSize:12,color:"red",mt:.5,children:o.formState.errors.message.message})]})}})]})})})})}function UIFormCard(e){let{title:t,description:a,children:i,id:r,showMandatoryForPublish:o=!1,showImportButton:s=!1}=e,d=(0,n.useRouter)(),[c,u]=(0,j.useState)(!1),m=d.asPath.split("#")[1],_=r&&m===r,p=d.query.competitionId,[h,g]=(0,j.useState)(null),f=(0,j.useRef)(null),[v,y]=(0,j.useState)(!1);return _&&r&&setTimeout(()=>{let e=document.getElementById(r);e&&e.scrollIntoView({behavior:"smooth",block:"end"})},100),(0,j.useEffect)(()=>{console.log(h)},[h]),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:B()(H().formCard,{[H().animate]:_}),id:r,children:[(0,l.jsxs)("div",{className:H().formCard__formGroup,children:[(0,l.jsx)("div",{className:H().formCard__formGroup__info,children:(0,l.jsx)("div",{className:H().formCard__formGroup__info__container,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:H().formCard__formGroup__info__title,children:t}),a,o&&(0,l.jsx)("div",{style:{marginTop:"5px"},children:(0,l.jsxs)("span",{className:H().formCard__formGroup__info__mandatory,children:["(",(0,l.jsx)("span",{style:{marginLeft:0,color:"var(--color-brand-orange)"},children:" * "}),"Mandatory before publishing)"]})})]})})}),i&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(UIFormCardDivider,{}),(0,l.jsxs)("div",{className:H().formCard__footer,style:{display:"flex",flexWrap:"wrap",gap:"20px"},children:[i,s&&(0,l.jsx)("div",{style:{display:"flex",alignItems:"center",flexDirection:"column"},children:h?(0,l.jsx)(x.Z,{sx:{marginLeft:"30px",position:"relative"},children:(0,l.jsx)(O.N,{src:h,hideDescription:!0,onChange:g,buttonText:"Drop CSV file here or click to upload",acceptedFileTypes:["csv"],theme:"dark",fileClassName:H().formCard__fileShowMin})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("input",{ref:f,type:"file",accept:".csv",style:{display:"none"},onChange:e=>{var t;let a=null===(t=e.target.files)||void 0===t?void 0:t[0];a&&g(a)}}),(0,l.jsx)(M.Z,{type:"button",variant:"outlined",size:"small",onClick:()=>{var e;null===(e=f.current)||void 0===e||e.click()},startIcon:(0,l.jsx)(D.j,{size:16}),children:"Import Emails (CSV)"})]})}),(0,l.jsx)(Q.n,{isOpen:c,showBtn:!0,submitLabel:"Invite",loading:v,setIsOpen:u,title:"Invite Users to Event",formId:"invite-form",onClickCancel:()=>u(!1),children:(0,l.jsx)(InviteFormSidemenuReduced,{onComplete:()=>u(!1),competitionId:p,file:null!=h?h:void 0,setLoader:y})})]})]})]}),h&&(0,l.jsx)(M.Z,{loading:v,startIcon:(0,l.jsx)(z.g,{size:16}),onClick:()=>{u(!0)},variant:"outlined",sx:{width:"200px",mt:2},children:"Send Invite"})]})})}function RegistrationAccess(e){let{item:t}=e,[a,n]=(0,j.useState)(!!t.registration_only_invited),{mutate:i,isLoading:r}=(0,_.o)({competitionId:t.id}),handeChange=e=>{n(e),i({registration_only_invited:e?1:0},{onSuccess(){p.Am.success("Registration access updated successfully")}})};return(0,l.jsx)(x.Z,{sx:{mb:2,mt:2},children:(0,l.jsx)(UIFormCard,{title:"Import Email List to Invite Athletes",description:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{children:"Upload or import a list of athlete email addresses."}),(0,l.jsx)("p",{children:"Only athletes from this list will be able to register for the event."})]}),showImportButton:!r&&a,children:(0,l.jsx)(g.Z,{sx:{margin:0,gap:1,width:"auto",whiteSpace:"nowrap"},checked:!!t.registration_only_invited,disabled:r,label:r?(0,l.jsx)(f.Z,{size:12,style:{color:"var(--color-brand-orange)"}}):"Restrict registration to imported email list",onChange:(e,t)=>
1handeChange(t),control:(0,l.jsx)(h.Z,{})})})})}UIFormCard.displayName="UIFormCard";var Settings_CustomRegistrationText=e=>{let{item:t}=e,{mutateAsync:a,isLoading:n}=(0,_.o)({competitionId:t.id}),i=(0,C.cI)({defaultValues:{registration_custom_message:t.registration_custom_message||""}}),onSubmit=async e=>{let t=(0,R.AE)(e.registration_custom_message),l=!t||""===t.replace(/<[^>]*>/g,"").replace(/ /g,"").trim();await a({registration_custom_message:l?null:t}),p.Am.success("Custom registration message updated successfully"),i.reset(e)};return(0,l.jsx)(u.Z,{title:"Custom Confirmation Email Text",description:"Add a custom message to the email athletes receive after registering for your event.",children:(0,l.jsx)(C.RV,{...i,children:(0,l.jsxs)("form",{onSubmit:i.handleSubmit(onSubmit),children:[(0,l.jsx)(x.Z,{display:"flex",gap:2,flexDirection:"column",children:(0,l.jsx)(C.Qr,{control:i.control,name:"registration_custom_message",render:e=>{let{field:{ref:t,value:a,onChange:n,...i}}=e;return(0,l.jsx)(R.sO,{...i,placeholder:"Custom message...",value:a,onChange:n})}})}),(0,l.jsx)(x.Z,{textAlign:"right",mt:2,children:(0,l.jsx)(M.Z,{variant:i.formState.isDirty?"contained":"outlined",type:"submit",disabled:!i.formState.isValid||n,loading:n,children:"Save"})})]})})})},Settings_EmailNotifOnAthleteRegister=e=>{let{item:t}=e,{mutate:a,isLoading:n}=(0,_.o)({competitionId:t.id}),handeChange=e=>{a({notify_registration:e?1:0},{onSuccess(){p.Am.success("Notification settings updated successfully")}})};return(0,l.jsx)(u.Z,{title:"Registration Email Notifications",description:"Receive an email notification every time a new athlete or team registers for your event. By default, we already send an app notification.",children:(0,l.jsx)(g.Z,{sx:{margin:0,gap:1},checked:!!t.notify_registration,disabled:n,label:n?(0,l.jsx)(f.Z,{size:12,style:{color:"var(--color-brand-orange)"}}):"Receive email notifications",onChange:(e,t)=>
1handeChange(t),control:(0,l.jsx)(h.Z,{})})})},q=a(58607),U=a(59342),J=a(78969);function EventPartnershipRewards(e){var t;let{item:a}=e,{data:n}=(0,U.HP)(e=>e),{mutateAsync:i,isLoading:r}=(0,_.o)({competitionId:a.id}),{data:o,fetchNextPage:s,hasNextPage:d}=(0,J.m)({user_id:null==n?void 0:n.id,isPublished:"false",onlyPublic:"false",myevents:1,include_grouped:1}),c=(0,C.cI)({mode:"onChange",defaultValues:{enabled:!!a.promo_connected_event_id,promo_connected_event:a.promo_connected_event?{id:a.promo_connected_event.id,name:a.promo_connected_event.name}:{id:"",name:""},promo_discount:null!==(t=a.promo_discount)&&void 0!==t?t:"",promo_percentage:null==a.promo_percentage?"1":String(Number(a.promo_percentage))}}),f=c.watch("enabled"),v=c.watch("promo_percentage");(0,j.useEffect)(()=>{var e;c.setValue("enabled",!!a.promo_connected_event_id),c.setValue("promo_discount",null!==(e=a.promo_discount)&&void 0!==e?e:""),c.setValue("promo_percentage",null==a.promo_percentage?"1":String(Number(a.promo_percentage)))},[a.promo_connected_event_id,a.promo_discount,a.promo_percentage,c]);let b=(0,j.useMemo)(()=>o?o.pages.flatMap(e=>e.data).filter(Boolean).filter(e=>e.id!==a.id).map(e=>({name:e.name,id:e.id})).filter((e,t,a)=>t===a.findIndex(t=>t.id===e.id)):[],[o,a.id]);(0,j.useEffect)(()=>{d&&s()},[s,d,b]),(0,j.useEffect)(()=>{if(a.promo_connected_event||!a.promo_connected_event_id||d)return;let e=b.find(e=>e.id===a.promo_connected_event_id);e&&c.setValue("promo_connected_event",e)},[a.promo_connected_event,a.promo_connected_event_id,d,b,c]),(0,j.useEffect)(()=>{""!==c.getValues("promo_discount")&&c.trigger("promo_discount")},[v,c]);let handleEnabledChange=async e=>{if(c.setValue("enabled",e,{shouldValidate:!0}),!e)try{await i({disabled:!0}),p.Am.success("Event Partnership Rewards disabled")}catch(e){c.setValue("enabled",!0,{shouldValidate:!0}),p.Am.error("Failed to disable Event Partnership Rewards")}},onSubmit=async e=>{var t;await i({promo_connected_event_id:(null===(t=e.promo_connected_event)||void 0===t?void 0:t.id)||null,promo_discount:Number(e.promo_discount),promo_percentage:Number(e.promo_percentage)}),p.Am.success("Event Partnership Rewards updated successfully"),c.reset(e)};return(0,l.jsx)(u.Z,{title:"Event Partnership Rewards",description:"Connect two of your events and offer athletes an exclusive discount for participating in both. Choose the events, define the discount, and CIRCLE21 will automatically send eligible athletes a promo code they can use during their next registration.",children:(0,l.jsx)(C.RV,{...c,children:(0,l.jsxs)("form",{onSubmit:c.handleSubmit(onSubmit),children:[(0,l.jsxs)(x.Z,{display:"flex",gap:2,flexDirection:"column",children:[(0,l.jsx)(C.Qr,{control:c.control,name:"enabled",render:e=>{let{field:t}=e;return(0,l.jsx)(g.Z,{sx:{margin:0,gap:1},checked:t.value,label:"Enable Event Partnership Rewards",onChange:(e,t)=>
1handleEnabledChange(t),control:(0,l.jsx)(h.Z,{})})}}),f&&(0,l.jsxs)(x.Z,{display:"flex",flexDirection:"column",children:[(0,l.jsx)(C.Qr,{control:c.control,name:"promo_connected_event",rules:{validate:e=>!!(null==e?void 0:e.id)||"Please select an event"},render:e=>{var t;let{field:{ref:a,value:n,onChange:i}}=e;return(0,l.jsx)(y.Z,{onChange:(e,t)=>i(t),placeholder:"Select event",options:b,value:n,getOptionLabel:e=>(null==e?void 0:e.name)||"",inputRef:a,form:!0,theme:"light",error:null===(t=c.formState.errors.promo_connected_event)||void 0===t?void 0:t.message,sx:{"& .MuiInputBase-root":{backgroundColor:"var(--color-neutral700) !important",border:"1px solid var(--color-neutral650) !important","&:focus-within":{border:"1px solid var(--color-neutral100) !important"},input:{backgroundColor:"var(--color-neutral700)"}}}})}}),(0,l.jsx)(q.ZP,{container:!0,spacing:1,mt:1,children:(0,l.jsx)(q.ZP,{item:!0,xs:12,children:(0,l.jsxs)(q.ZP,{container:!0,spacing:1,children:[(0,l.jsx)(q.ZP,{item:!0,xs:7,children:(0,l.jsx)(C.Qr,{control:c.control,name:"promo_discount",rules:{validate:e=>{let t="0"===v,a=Number(e);return e||0===e?a<1?"Discount must be greater than 0":!!t||!(a>100)||"Discount must be less than 100":"This field is required"}},render:e=>{var t;let{field:n}=e;return(0,l.jsx)(A.Z,{...n,theme:"dark",type:"number",unit:"0"===v?a.entry_fee_currency:void 0,keepPlaceholder:!0,placeholder:"Discount",variant:"outlined",error:null===(t=c.formState.errors.promo_discount)||void 0===t?void 0:t.message})}})}),(0,l.jsx)(q.ZP,{item:!0,xs:5,children:(0,l.jsx)(C.Qr,{name:"promo_percentage",control:c.control,render:e=>{let{field:{onChange:t,value:a}}=e;return(0,l.jsx)(m.Z,{placeholder:"Select type",value:null==a?void 0:a.toString(),onChange:t,theme:"dark",form:!0,options:[{value:"1",label:"%"},{value:"0",label:"Fixed"}],style:{backgroundColor:"var(--color-neutral700)"}})}})})]})})})]})]}),f&&(0,l.jsx)(x.Z,{textAlign:"right",mt:2,children:(0,l.jsx)(M.Z,{variant:"contained",type:"submit",loading:r,disabled:r,children:"Save"})})]})})})}var Y=a(79205),W=a(81336);let K=[{value:"coach",label:"Coach"},{value:"team_manager",label:"Team Manager"}];function CoachSettings(e){var t;let{item:a}=e,{mutate:n,isLoading:i}=(0,_.o)({competitionId:a.id}),{dayjs:r,timezone:o,eventDate:s}=(0,W.Z)(a.id),d=(0,C.cI)({defaultValues:{coach_label:null!==(t=a.coach_label)&&void 0!==t?t:"coach",coach_description:a.coach_description||"",coach_deadline:a.coach_deadline?s(a.coach_deadline).format("YYYY-MM-DDTHH:mm"):""}}),c=(0,j.useMemo)(()=>d.formState.isDirty,[d.formState.isDirty]),handleToggle=e=>{n({allow_coach_access:e?1:0},{onSuccess(){p.Am.success("Coach assignment setting updated successfully")}})},onSubmit=async e=>{n({coach_label:e.coach_label,coach_description:e.coach_description,coach_deadline:e.coach_deadline?r.tz(e.coach_deadline,o).utc().format("YYYY-MM-DD HH:mm:ss"):null},{onSuccess(){p.Am.success("Coach settings updated successfully")}}),d.reset(e)};return(0,l.jsx)(u.Z,{title:"Coach Assignment",description:null,children:(0,l.jsxs)(x.Z,{display:"flex",flexDirection:"column",alignItems:"flex-start",gap:1,mb:1,children:[(0,l.jsx)(g.Z,{sx:{margin:0,gap:1},checked:!!a.allow_coach_access,disabled:i,label:i?(0,l.jsx)(f.Z,{size:12,style:{color:"var(--color-brand-orange)"}}):"Allow",onChange:(e,t)=>
1handleToggle(t),control:(0,l.jsx)(h.Z,{})}),!!a.allow_coach_access&&(0,l.jsx)(C.RV,{...d,children:(0,l.jsxs)(x.Z,{component:"form",onSubmit:d.handleSubmit(onSubmit),display:"flex",flexDirection:"column",gap:2,width:"100%",children:[(0,l.jsxs)("div",{className:"grid grid-cols-[auto_1fr] items-center gap-2",children:[(0,l.jsx)("span",{children:"Label:"}),(0,l.jsx)(C.Qr,{control:d.control,name:"coach_label",render:e=>{let{field:{onChange:t,value:a}}=e;return(0,l.jsx)(m.Z,{style:{width:"150px"},theme:"dark",value:a,onChange:t,options:K,disabled:i})}})]}),(0,l.jsxs)("div",{className:"grid grid-cols-[auto_1fr] items-center gap-2",children:[(0,l.jsx)("span",{children:"Assignment deadline:"}),(0,l.jsx)(C.Qr,{control:d.control,name:"coach_deadline",render:e=>{let{field:{onChange:t,value:a,ref:n}}=e;return(0,l.jsx)(A.Z,{ref:n,theme:"light",size:"small",type:"datetime-local",value:null!=a?a:"",style:{width:"220px"},onChange:e=>t(e.target.value)})}})]}),(0,l.jsx)(C.Qr,{control:d.control,name:"coach_description",render:e=>{let{field:{ref:t,value:a,onChange:n,...r}}=e;return(0,l.jsx)(R.sO,{...r,placeholder:"Coach description...",value:a,onChange:n,disabled:i})}}),(0,l.jsx)(x.Z,{textAlign:"right",children:(0,l.jsx)(M.Z,{variant:c?"contained":"outlined",type:"submit",disabled:i,loading:i,children:"Save"})})]})})]})})}function EventSettings(e){let{item:t}=e;return t?(0,l.jsxs)(c.F,{children:[(0,l.jsx)(CountVisibility,{item:t}),(0,l.jsx)(MaxParticipants_SensitivePoliticalTopics,{item:t}),(0,l.jsx)(AthletesVisibility,{item:t}),(0,l.jsx)(CoachSettings,{item:t}),(0,l.jsx)(RegistrationAccess,{item:t}),(0,l.jsx)(Settings_CustomRegistrationText,{item:t}),(0,l.jsx)(Settings_EmailNotifOnAthleteRegister,{item:t}),(0,l.jsx)(EventPartnershipRewards,{item:t}),(0,l.jsx)(SensitivePoliticalTopics,{item:t}),(0,l.jsx)(Appeal,{item:t}),(0,l.jsx)(BrandColors,{item:t}),(0,l.jsx)(Y.default,{})]}):null}function EventSettingsPage(){let{query:e}=(0,n.useRouter)(),t=e.competitionId,{data:a}=(0,o.e)({competitionId:t});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.Z,{title:"Event Settings",actions:null}),(0,l.jsx)(EventSettings,{item:a})]})}EventSettingsPage.getLayout=e=>(0,l.jsx)(r.Z,{SubLayout:i.Z,restrictedTo:[d.u.admin,d.u.organiser],redirectTo:"/myevent/scoring/leaderboard",children:e})},67844:function(e){e.exports={formCard:"style_formCard__M7ucP",animate:"style_animate__F3lj8",shadowHighlight:"style_shadowHighlight__OiCi5",formCard__divider:"style_formCard__divider__yThxa",formCard__formGroup__info:"style_formCard__formGroup__info__UR9FC",formCard__formGroup__info__title:"style_formCard__formGroup__info__title__RbPQE",formCard__formGroup__info__mandatory:"style_formCard__formGroup__info__mandatory__zb1FS",formCard__formGroup__info__container:"style_formCard__formGroup__info__container__e6GGt",formCard__formGroup__formField:"style_formCard__formGroup__formField__3tovc",formCard__fileShowMin:"style_formCard__fileShowMin__8TpKB"}},11917:function(e){e.exports={displaySmallRegular:"style_displaySmallRegular__fjPKZ",displaySmallBold:"style_displaySmallBold__628Ny",displayXSmallBold:"style_displayXSmallBold__eJZk2",displayXSmallRegular:"style_displayXSmallRegular__Z9CSl",displayMediumRegular:"style_displayMediumRegular__gyct0",bodyLargeRegular:"style_bodyLargeRegular__B6yaY",bodyLargeBold:"style_bodyLargeBold__vJujx",bodyMediumRegular:"style_bodyMediumRegular__iLabx",bodyMediumBold:"style_bodyMediumBold__QHlh4",bodySmallRegular:"style_bodySmallRegular__XRoPX",bodySmallBold:"style_bodySmallBold__hSPCW",header__title:"style_header__title__f2ORe",header__title_visible:"style_header__title_visible__8g_UM",bodyXSmallBold:"style_bodyXSmallBold__A3suw",bodyXSmallRegular:"style_bodyXSmallRegular__A_MB9",actionLargeBold:"style_actionLargeBold__tfUaV",actionLargeMedium:"style_actionLargeMedium__TIecf",actionMediumMedium:"style_actionMediumMedium__Rwrdd",actionMediumBold:"style_actionMediumBold__my8Z1",actionMediumRegular:"style_actionMediumRegular___dyAH",actionSmallRegular:"style_actionSmallRegular__e8w0j",headerH1:"style_headerH1__z4e6J",headerRegular:"style_headerRegular__xpYs_",actionXSmallRegular:"style_actionXSmallRegular__T9X5n",actionSmallMedium:"style_actionSmallMedium__Zak4r",headingH1Bold:"style_headingH1Bold__GQLqG",headingH1Regular:"style_headingH1Regular__3Mfys",headingH2Bold:"style_headingH2Bold__DjJHE",headingH3Bold:"style_headingH3Bold___3E6f",headingH3Regular:"style_headingH3Regular__7NHyD",captionRegular:"style_captionRegular__3d9IV",header:"style_header__2CUoB",noActions:"style_noActions__7FQLL",header__content:"style_header__content__JoaLh",header__loader:"style_header__loader__2HtvV",header__loader__element:"style_header__loader__element__zadW5",header__info:"style_header__info__W_IA8",header__actions:"style_header__actions__1P1cY",header__bar:"style_header__bar__XFbo1",fullWidth:"style_fullWidth__O7oKd"}},38766:function(e,t,a){"use strict";a.d(t,{J:function(){return o},n:function(){return r}});var l=a(50959),n=a(18329);let i=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",o
1pacity:"0.2"}),l.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),r=l.forwardRef((e,t)=>l.createElement(n.Z,{ref:t,...e,weights:i}));r.displayName="CheckIcon";let o=r},29348:function(e,t,a){"use strict";a.d(t,{g:function(){return o},x:function(){return r}});var l=a(50959),n=a(18329);let i=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z",opacity:"0.2"}),l.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z"}))]]),r=l.forwardRef((e,t)=>l.createElement(n.Z,{ref:t,...e,weights:i}));r.displayName="PaperPlaneTiltIcon";let o=r}},function(e){e.O(0,[2706,8217,9714,7458,6750,708,525,5372,338,6446,381,9774,2888,179],function(){return e(e.s=32903)}),_N_E=e.O()}]);
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.