1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6357],{52454:function(e,t,n){"use strict";var r=n(59499),i=n(4730),o=(n(67294),n(85893)),l=["color","width","height"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.color,n=void 0===t?"currentColor":t,r=e.width,s=void 0===r?26:r,c=e.height,u=void 0===c?26:c,f=(0,i.Z)(e,l);return(0,o.jsxs)("svg",a(a({width:s,height:u},f),{},{viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("g",{filter:"url(#filter0_d_619_4407)",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.3469 3.08449C12.9321 3.51613 11.5546 4.25996 11.9158 4.93756C12.1979 5.46629 13.7195 6.0219 15.4148 6.21517C18.469 6.56344 22 5.76421 22 4.72463C22 4.18904 21.5026 3.83644 20.1878 3.43998C19.2247 3.14945 17.1265 2.85257 15.3469 3.08449ZM11.7506 6.60061C11.7506 7.62035 11.9624 7.92405 12.9801 8.36346C14.9869 9.22981 19.1082 9.2004 21.0549 8.30607L22 7.8719V6.86931C22 6.31802 21.9799 5.86689 21.955 5.86707C21.9302 5.86707 21.4962 6.02497 20.9902 6.21787C18.7599 7.06871 15.1938 7.07755 12.9925 6.2379C12.4578 6.03399 11.9597 5.86707 11.8854 5.86707C11.8112 5.86689 11.7506 6.19712 11.7506 6.60061ZM11.7829 8.96563C11.8248 9.25092 12.0604 9.42885 12.6496 9.62013C13.6917 9.95848 14.556 10.6088 14.6934 11.1579C14.7889 11.54 14.9342 11.6046 15.9293 11.7069C17.4705 11.8653 19.9111 11.5336 21.056 11.0103L22 10.5787V9.55679C22 8.65362 21.9635 8.5504 21.6853 8.66716C20.058 9.35017 19.1208 9.52052 16.9652 9.52539C14.9966 9.5299 14.544 9.47107 13.3202 9.05206C12.5516 8.78896 11.8784 8.57368 11.8241 8.57368C11.77 8.57368 11.7515 8.74999 11.7829 8.96563ZM7.34509 9.78236C5.88806 9.98045 4.89458 10.3851 4.43389 10.6879C3.89661 11.0412 3.94624 11.5768 4.55797 12.0243C6.16767 13.2021 11.9449 13.2012 13.5487 12.0229C14.1831 11.5567 14.1353 10.9299 13.434 10.5188C12.3427 9.87926 9.48435 9.52539 7.34509 9.78236ZM20.4716 11.7843C19.4035 12.1687 18.8793 12.2399 17.0101 12.2551L14.8074 12.273V13.2896V14.3061L15.9526 14.4292C17.4577 14.5909 19.8751 14.2527 21.056 13.7151L22 13.2855V12.2829C22 11.7316 21.9392 11.2918 21.8651 11.3059C21.7911 11.3198 21.1639 11.5351 20.4716 11.7843ZM4.0543 13.3741C4.09926 14.2276 4.18449 14.4573 4.55797 14.7309C6.16587 15.9084 11.9408 15.9084 13.5487 14.7309C13.9204 14.4588 14.0076 14.2265 14.0518 13.392L14.1056 12.3821L13.5442 12.6631C12.4784 13.1967 11.1146 13.4416 9.19701 13.4437C7.07591 13.4461 5.72299 13.2212 4.68366 12.6934L4 12.3464L4.0543 13.3741ZM21.2807 14.2413C20.3991 14.7112 18.8232 14.9689 16.8303 14.9693L14.8074 14.9695V15.9912V17.0129L15.9526 17.136C17.4577 17.2977 19.8751 16.9595 21.056 16.4219L22 15.9923V14.9897C22 13.9127 21.9651 13.8765 21.2807 14.2413ZM4.0543 16.0809C4.09926 16.9344 4.18449 17.1641 4.55797 17.4377C6.16587 18.6152 11.9408 18.6152 13.5487 17.4377C13.92 17.1658 14.0076 16.9333 14.0518 16.1014L14.1054 15.0943L13.4225 15.4217C12.3743 15.9241 11.0077 16.1527 9.05334 16.1527C7.06584 16.1527 5.70357 15.9181 4.68366 15.4002L4 15.0532L4.0543 16.0809ZM4.01852 18.7377C4.01852 19.8563 4.23628 20.1349 5.46603 20.5891C6.69273 21.0424 10.4483 21.1489 11.9304 20.7725C13.6616 20.3327 13.9867 20.0317 14.0518 18.8082L14.1054 17.8011L13.4225 18.1285C12.3743 18.6309 11.0077 18.8595 9.05334 18.8595C7.07124 18.8595 5.70375 18.6249 4.69283 18.1117L4.01852 17.7694V18.7377Z",fill:n})}),(0,o.jsx)("defs",{children:(0,o.jsxs)("filter",{id:"filter0_d_619_4407",x:"0",y:"0.00134277",width:"26",height:"26",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,o.jsx)("feFlood",{floodOpacity:"0",result:"Backgroun
1dImageFix"}),(0,o.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,o.jsx)("feOffset",{dy:"1"}),(0,o.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,o.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,o.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),(0,o.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_619_4407"}),(0,o.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_619_4407",result:"shape"})]})})]}))}},66641:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.Z}});var r=n(52454)},37964:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(59499),i=n(4730),o=(n(67294),n(85893)),l=["width","height","color"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){var t=e.width,n=void 0===t?24:t,r=e.height,s=void 0===r?24:r,c=e.color,u=void 0===c?"currentColor":c,f=(0,i.Z)(e,l);return(0,o.jsx)("svg",a(a({width:n,height:s},f),{},{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M19.5006 12C19.5006 11.77 19.4906 11.55 19.4706 11.32L21.3306 9.91C21.7306 9.61 21.8406 9.05 21.5906 8.61L19.7206 5.38C19.6007 5.16818 19.4068 5.00814 19.1761 4.93062C18.9454 4.8531 18.6941 4.86356 18.4706 4.96L16.3206 5.87C15.9506 5.61 15.5606 5.38 15.1506 5.19L14.8606 2.88C14.8006 2.38 14.3706 2 13.8706 2H10.1406C9.63064 2 9.20064 2.38 9.14064 2.88L8.85064 5.19C8.44064 5.38 8.05064 5.61 7.68064 5.87L5.53064 4.96C5.07064 4.76 4.53064 4.94 4.28064 5.38L2.41064 8.62C2.16064 9.06 2.27064 9.61 2.67064 9.92L4.53064 11.33C4.48919 11.779 4.48919 12.231 4.53064 12.68L2.67064 14.09C2.27064 14.39 2.16064 14.95 2.41064 15.39L4.28064 18.62C4.53064 19.06 5.07064 19.24 5.53064 19.04L7.68064 18.13C8.05064 18.39 8.44064 18.62 8.85064 18.81L9.14064 21.12C9.20064 21.62 9.63064 22 10.1306 22H13.8606C14.3606 22 14.7906 21.62 14.8506 21.12L15.1406 18.81C15.5506 18.62 15.9406 18.39 16.3106 18.13L18.4606 19.04C18.9206 19.24 19.4606 19.06 19.7106 18.62L21.5806 15.39C21.8306 14.95 21.7206 14.4 21.3206 14.09L19.4606 12.68C19.4906 12.45 19.5006 12.23 19.5006 12ZM12.0406 15.5C10.1106 15.5 8.54064 13.93 8.54064 12C8.54064 10.07 10.1106 8.5 12.0406 8.5C13.9706 8.5 15.5406 10.07 15.5406 12C15.5406 13.93 13.9706 15.5 12.0406 15.5Z",fill:u})}))}},61039:function(e,t,n){"use strict";var r=n(59499),i=n(4730),o=(n(67294),n(85893)),l=["color","width","height"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.color,n=void 0===t?"currentColor":t,r=e.width,s=void 0===r?16:r,c=e.height,u=void 0===c?16:c,f=(0,i.Z)(e,l);return(0,o.jsx)("svg",a(a({width:s,height:u,viewBox:"0 0 24 24"},f),{},{xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5147 3.22882C13.1815 3.2403 12.8652 3.37083 12.6295 3.59419L2.88655 12.8243C2.37115 13.3126 2.37115 14.1042 2.88655 14.5925L9.26346 20.6338C9.77886 21.1221 10.6145 21.1221 11.1299 20.6338L20.8728 11.4037C21.1086 11.1803 21.2464 10.8807 21.2585 10.565L21.4991 4.29575C21.527 3.56994 20.8984 2.97445 20.1323 3.00084L13.5147 3.22882ZM15.8814 8.12389C16.594 8.79896 17.7485 8.79973 18.4601 8.1256C19.1717 7.45147 19.1709 6.35772 18.4583 5.68264C17.7457 5.00757 16.5912 5.0068 15.8796 5.68093C15.168 6.35506 15.1688 7.44881 15.8814 8.12389Z",fill:n})}))}},95543:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.Z}});var r=n(61039)},98487:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.h}});var r=n(5818)},23748:function(e,t,n){"use strict";n.d(t,{Bk:function(){return M},CX:function(){return Z},D6:function(){return K},EM:function(){return O},He:function(){return L},KS:function(){return T},Qy:function(){return V},ZX:function(){return $},_R:function(){return E},c8:function(){return S},eF:function(){return P},f$:function(){return z},fN:function(){return N},iN:function(){return k},lj:function(){return I},ll:function(){return B},pY:function(){return F},tl:function(){return D},xD:function(){return A},xY:function(){return R},yB:function(){return _}});
1var r,i,o,l,s,a,c,u,f,d,p=n(71383),h=n(85444),x=n(41507),g=n(17680),y=x.ek.green14,m=x.ek.green15,w=x.ek.green2,b=x.MA.gray6,C=x.MA.gray25,v="'Poppins', sans-serif",j="0px 1px 1px 0px rgba(10, 13, 18, 0.06), 0px 1px 1.5px 0px rgba(10, 13, 18, 0.10)",_=h.ZP.div.withConfig({displayName:"styles__ContentStack",componentId:"sc-dxh9wx-0"})([""," gap:24px;",""],{display:"flex",flexDirection:"column",width:"100%"},g.BC.lessThan("lg")(r||(r=(0,p.Z)(["\n gap: 16px;\n "])))),Z=h.ZP.div.withConfig({displayName:"styles__ToolsCallout",componentId:"sc-dxh9wx-1"})([""," background:",";padding:12px 24px;border-radius:8px;box-shadow:",";gap:12px;",""],{display:"flex",alignItems:"center",width:"100%"},y,j,(function(e){return e.$desktopOnly?g.BC.lessThan("lg")(i||(i=(0,p.Z)(["\n display: none;\n "]))):""})),O=h.ZP.div.withConfig({displayName:"styles__CalloutIconWrap",componentId:"sc-dxh9wx-2"})([""," flex-shrink:0;background:",";border-radius:999px;padding:4px;color:",";"],{display:"flex",alignItems:"center",justifyContent:"center"},m,w),P=h.ZP.div.withConfig({displayName:"styles__CalloutCopy",componentId:"sc-dxh9wx-3"})([""," gap:8px;"],{display:"flex",flexDirection:"column",minWidth:"0px"}),I=h.ZP.p.withConfig({displayName:"styles__CalloutTitle",componentId:"sc-dxh9wx-4"})(["font-family:",";font-weight:700;font-size:16px;line-height:24px;color:#0a0a0a;margin:0;"],v),L=h.ZP.p.withConfig({displayName:"styles__CalloutDescription",componentId:"sc-dxh9wx-5"})(["font-family:",";font-weight:400;font-size:16px;line-height:24px;color:",";margin:0;"],v,b),k=h.ZP.div.withConfig({displayName:"styles__ToolsGrid",componentId:"sc-dxh9wx-6"})([""," grid-template-columns:",";gap:30px;",""],{display:"grid",width:"100%"},(function(e){return e.$singleColumn?"minmax(0, 1fr)":"repeat(3, minmax(0, 1fr))"}),g.BC.lessThan("lg")(o||(o=(0,p.Z)(["\n grid-template-columns: 1fr;\n gap: 16px;\n "])))),D=h.ZP.section.withConfig({displayName:"styles__ToolCard",componentId:"sc-dxh9wx-7"})([""," width:100%;max-width:100%;min-height:0;justify-content:flex-start;align-items:stretch;gap:24px;padding:",";border-radius:16px;border:",";background:",";box-shadow:",";",""],{display:"flex",flexDirection:"column"},(function(e){return e.$plain?"0":"16px"}),(function(e){return e.$plain?"none":"1px solid ".concat(C)}),(function(e){return e.$plain?"transparent":"#ffffff"}),(function(e){return e.$plain?"none":"0px 4px 4px 0px rgba(10, 13, 18, 0.10), 0px 2px 2px 0px rgba(10, 13, 18, 0.06)"}),g.BC.lessThan("lg")(l||(l=(0,p.Z)(["\n width: 100%;\n gap: 16px;\n padding: ",";\n border: none;\n border-radius: 8px;\n background: ",";\n box-shadow: ",";\n "])),(function(e){return e.$plain?"0":"8px"}),(function(e){return e.$plain?"transparent":"#f6f6f6"}),(function(e){return e.$plain?"none":j}))),N=h.ZP.div.withConfig({displayName:"styles__CardHeading",componentId:"sc-dxh9wx-8"})([""," flex-shrink:0;gap:4px;",""],{display:"flex",flexDirection:"column",minWidth:"0px",width:"100%"},g.BC.greaterThan("lg")(s||(s=(0,p.Z)(["\n gap: 8px;\n "])))),T=h.ZP.button.withConfig({displayName:"styles__SectionToggle",componentId:"sc-dxh9wx-9"})([""," gap:8px;padding:8px;text-align:left;border-radius:8px;background:#f6f6f6;box-shadow:",";color:",";& > ","{flex:1;min-width:0;}",""],{display:"flex",alignItems:"center",width:"100%",margin:"0px",borderWidth:"0px",cursor:"pointer"},j,b,N,g.BC.lessThan("lg")(a||(a=(0,p.Z)(["\n padding: 0;\n border-radius: 0;\n background: transparent;\n box-shadow: none;\n "])))),S=h.ZP.span.withConfig({displayName:"styles__SectionChevron",componentId:"sc-dxh9wx-10"})([""," width:16px;height:16px;transform:",";transition:transform 0.15s ease;"],{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},(function(e){return e.$expanded?"rotate(180deg)":"none"})),B=h.ZP.h2.withConfig({displayName:"styles__CardTitle",componentId:"sc-dxh9wx-11"})(["font-family:",";font-weight:700;font-size:24px;line-height:24px;color:#0a0a0a;margin:0;",""],v,g.BC.lessThan("lg")(c||(c=(0,p.Z)(["\n font-size: 18px;\n line-height: 28px;\n "])))),E=h.ZP.p.withConfig({displayName:"styles__CardSubtitle",componentId:"sc-dxh9wx-12"})(["font-family:",";font-weight:400;font-size:16px;line-height:24px;color:",";margin:0;",""],v,b,g.BC.lessThan("lg")(u||(u=(0,p.Z)(["\n font-size: 14px;\n line-height: 20px;\n "])))),M=h.ZP.div.withConfig({displayName:"styles__ToolList",componentId:"sc-dxh9wx-13"})([""," gap:8px;",""],{display:"flex",flexDirection:"column",width:"100%"},g.BC.lessThan("lg")(f||(f=(0,p.Z)(["\n gap: 16px;\n "])))),$=h.ZP.button.withConfig({displayName:"styles__ToolRow",componentId:"sc-dxh9wx-14"})(["display:grid;grid-template-columns:",";grid-template-rows:auto auto;column-gap:8px;row-gap:4px;width:100%;min-height:0;padding:8px;text-align:left;align-items:center;border:",";border-radius:8px;background:",";box-shadow:",";cursor:pointer;color:",";"," &:disabled{cursor:not-allowed;opacity:0.55;}&:not(:disabled):hover{filter:brightness(0.98);}"],(function(e){return e.$withArrow?"24px minmax(0, 1fr) 16px":"24px minmax(0, 1fr)"}),(function(e){return e.$light?"1px solid ".concat(b):"none"}
1),(function(e){return e.$light?"#ffffff":"#f6f6f6"}),j,b,g.BC.lessThan("lg")(d||(d=(0,p.Z)(["\n grid-template-columns: 24px minmax(0, 1fr);\n background: ",";\n color: ",";\n border: ",";\n box-shadow: ",";\n "])),(function(e){return e.$light?"#ffffff":"#434343"}),(function(e){return e.$light?b:"#fff"}),(function(e){return e.$light?"1px solid ".concat(b):"none"}),j)),R=h.ZP.div.withConfig({displayName:"styles__ToolTitleLine",componentId:"sc-dxh9wx-15"})(["display:contents;"]),V=h.ZP.div.withConfig({displayName:"styles__ToolTitleLeft",componentId:"sc-dxh9wx-16"})(["display:contents;"]),K=h.ZP.span.withConfig({displayName:"styles__ToolArrow",componentId:"sc-dxh9wx-17"})([""," grid-column:3;grid-row:1 / -1;width:16px;height:16px;align-self:center;"],{display:"flex",alignItems:"center",justifyContent:"center"}),A=h.ZP.div.withConfig({displayName:"styles__ToolIcon",componentId:"sc-dxh9wx-18"})([""," grid-column:1;grid-row:1 / -1;width:24px;height:24px;align-self:center;svg{display:block;}"],{display:"flex",alignItems:"center",justifyContent:"center"}),z=h.ZP.span.withConfig({displayName:"styles__ToolLabel",componentId:"sc-dxh9wx-19"})(["grid-column:2;grid-row:1;min-width:0;font-family:",";font-weight:700;font-size:16px;line-height:24px;"],v),F=h.ZP.span.withConfig({displayName:"styles__ToolDescription",componentId:"sc-dxh9wx-20"})(["grid-column:2;grid-row:2;min-width:0;font-family:",";font-weight:400;font-size:14px;line-height:20px;"],v)},99049:function(e,t,n){"use strict";var r=n(50029),i=n(17674),o=n(87794),l=n.n(o),s=n(67294),a=n(11163),c=n(18742),u=new Map,f=function(e){return"Live"===e.raffallStatus||"Ended"===e.raffallStatus},d=function(e,t){var n=u.get(t);if(n)return n;var r=Promise.all([e.reFetchHostRaffleList(t),e.fetchHostRaffallLiveDetails([t])]).then((function(e){var n,r=(0,i.Z)(e,2),o=r[0],l=r[1];return{item:(o.data||[]).find((function(e){return String(e.raffallId)===t}))||null,details:(null===(n=l.data)||void 0===n?void 0:n[0])||null}})).finally((function(){return u.delete(t)}));return u.set(t,r),r};t.ZP=function(e,t){var n=t.enabled,i=t.redirectIfNotLive,o=void 0===i||i,u=(0,a.useRouter)(),p=(0,s.useRef)(u);p.current=u;var h=(0,s.useMemo)((function(){return new c.Z}),[]),x=(0,s.useState)(null),g=x[0],y=x[1],m=(0,s.useState)(null),w=m[0],b=m[1],C=(0,s.use
1State)(!0),v=C[0],j=C[1],_=(0,s.useState)(!1),Z=_[0],O=_[1],P=(0,s.useCallback)((0,r.Z)(l().mark((function t(){var n,r,i;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=4;break}return O(!0),j(!1),t.abrupt("return");case 4:return t.prev=4,j(!0),t.next=8,d(h,e);case 8:if(n=t.sent,r=n.item,i=n.details,r&&(!o||f(r))){t.next=14;break}return p.current.replace("/your-raffles/live"),t.abrupt("return");case 14:y(r),b(i),t.next=22;break;case 18:t.prev=18,t.t0=t.catch(4),console.error("Failed to load live raffle data:",t.t0),O(!0);case 22:return t.prev=22,j(!1),t.finish(22);case 25:case"end":return t.stop()}}),t,null,[[4,18,22,25]])}))),[h,e,o]);return(0,s.useEffect)((function(){n?P():j(!1)}),[n,P]),{raffle:g,details:w,isLoading:v,hasError:Z}}},10259:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return E},default:function(){return M}});var r=n(67294),i=n(9473),o=n(59499),l=n(90116),s=n(67421),a=n(72977),c=n(846),u=n(92661),f=n(85466),d=n(19431),p=n(17680),h=n(41507),x=n(23748),g=n(85893);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=[{sectionId:"increase_revenue",titleKey:"tools.section.increase_revenue.title",titleDefault:"Increase revenue",subtitleKey:"tools.section.increase_revenue.subtitle",subtitleDefault:"Boost ticket spend and sales",itemIds:["ticket-bundles","promo-codes","link-raffle"]},{sectionId:"get_more_entrants",titleKey:"tools.section.get_more_entrants.title",titleDefault:"Get more entrants",subtitleKey:"tools.section.get_more_entrants.subtitle",subtitleDefault:"Reach more people and drive entries",itemIds:["make-public","boost-exposure","auto-retargeting"]},{sectionId:"engage_audience",titleKey:"tools.section.engage_audience.title",titleDefault:"Engage your audience",subtitleKey:"tools.section.engage_audience.subtitle",subtitleDefault:"Keep entrants excited and involved",itemIds:["create-update","email-invites"]},{sectionId:"collaborate",titleKey:"tools.section.collaborate.title",titleDefault:"Collaborate & grow",subtitleKey:"tools.section.collaborate.subtitle",subtitleDefault:"Grow through affiliates and partnerships",itemIds:["affiliate-options"]},{sectionId:"branding",titleKey:"tools.section.branding.title",titleDefault:"Branding & assets",subtitleKey:"tools.section.branding.subtitle",subtitleDefault:"Everything you need to promote your raffle",itemIds:["media-banners","qr-code"]}],b={"ticket-bundles":"Increase revenue from every entrant","promo-codes":"Encourage more ticket purchases","link-raffle":"Reward buyers with bonus entries.","make-public":"Reach beyond your own audience","boost-exposure":"Turn losing entrants into new entries","auto-retargeting":"Recover lost entries automatically","create-update":"Keep entrants engaged","email-invites":"Convert your audience into entrants","affiliate-options":"Let others sell tickets for you","media-banners":"Promote raffle across social media","qr-code":"Drive entries from offline promotion"};var C=function(e){var t=e.raffle,n=(0,s.$G)(["your-raffles","common"],{useSuspense:!1}).t,i=(0,a.Z)().width<p.j$.lg,y=(0,r.useState)({}),C=y[0],v=y[1],j=(0,f.V)(t),_=function(e){var t=new Map;return[].concat((0,l.Z)(e.promote),(0,l.Z)(e.option),(0,l.Z)(e.analytics)).forEach((function(e){t.set(e.id,e)})),t}((0,d.G)({raffall:t,actions:j,t:n}));return(0,g.jsxs)(x.yB,{children:[(0,g.jsxs)(x.CX,{$desktopOnly:!0,children:[(0,g.jsx)(x.EM,{children:(0,g.jsx)(c.is,{size:24})}),(0,g.jsxs)(x.eF,{children:[(0,g.jsx)(x.lj,{children:n("tools.callout.title",{defaultValue:"Grow your raffle with powerful promotion tools",ns:"your-raffles"})}
1),(0,g.jsx)(x.He,{children:n("tools.callout.subtitle",{defaultValue:"Increase entries, engagement, and ticket sales",ns:"your-raffles"})})]})]}),(0,g.jsx)(x.iN,{children:w.map((function(e){var t=e.itemIds.map((function(e){return _.get(e)})).filter(Boolean);if(0===t.length)return null;var r=n(e.titleDefault,{ns:"your-raffles",defaultValue:e.titleDefault}),l=n(e.subtitleDefault,{ns:"your-raffles",defaultValue:e.subtitleDefault}),s=!i||Boolean(C[e.sectionId]);return(0,g.jsxs)(x.tl,{"aria-labelledby":"tools-section-".concat(e.sectionId),children:[i?(0,g.jsxs)(x.KS,{type:"button","aria-expanded":s,"aria-controls":"tools-section-panel-".concat(e.sectionId),onClick:function(){return t=e.sectionId,void v((function(e){return m(m({},e),{},(0,o.Z)({},t,!e[t]))}));var t},children:[(0,g.jsxs)(x.fN,{children:[(0,g.jsx)(x.ll,{id:"tools-section-".concat(e.sectionId),children:r}),(0,g.jsx)(x._R,{children:l})]}),(0,g.jsx)(x.c8,{$expanded:s,"aria-hidden":!0,children:(0,g.jsx)(u.Z,{width:16,height:16,color:h.MA.gray6})})]}):(0,g.jsxs)(x.fN,{children:[(0,g.jsx)(x.ll,{id:"tools-section-".concat(e.sectionId),children:r}),(0,g.jsx)(x._R,{children:l})]}),s?(0,g.jsx)(x.Bk,{id:"tools-section-panel-".concat(e.sectionId),children:t.map((function(e){var t="link-raffle"===e.id?n("Linked Raffles",{ns:"your-raffles",defaultValue:"Linked Raffles"}):e.label,r=b[e.id]||"",i=r?n(r,{ns:"your-raffles",defaultValue:r}):"";return(0,g.jsxs)(x.ZX,{type:"button",disabled:e.disabled||e.loading,onClick:function(){return e.onClick()},children:[(0,g.jsx)(x.xY,{children:(0,g.jsxs)(x.Qy,{children:[(0,g.jsx)(x.xD,{children:e.icon}),(0,g.jsx)(x.f$,{children:t})]})}),i?(0,g.jsx)(x.pY,{children:i}):null]},e.id)}))}):null]},e.sectionId)}))})]})},v=n(55139),j=n(26254),_=n(88912),Z=n(45312),O=n(60223),P=n(37300),I=n(98487),L=n(14854),k=n(20945),D=n(99049),N=n(49618),T=n(22401),S=n(42666),B=function(e){var t=e.isAuthed,n=e.authedUser,o=e.translations,l=e.raffallId,s=(0,T.TL)(),a=(0,i.v9)(N.dy);(0,k.Z)(o,["your-raffles"],{pageTitle:"",pageDescription:""});var c=(0,D.ZP)(l,{enabled:t}),u=c.raffle,f=c.details,d=c.isLoading,p=c.hasError;(0,r.useEffect)((function(){!t&&a&&s((0,S.kX)())}),[]),(0,r.useEffect)((function(){t&&n&&s((0,S.Nq)(n))}),[]);var h=Boolean(u&&t&&!p),x=t?d?(0,g.jsx)(I.Z,{}):p||!u?(0,g.jsx)(L.Z,{text:"NotAuth"}):(0,g.jsx)(C,{raffle:u}):(0,g.jsx)(L.Z,{text:"NotAuth"}),y=(0,g.jsx)(j.Z,{topBar:u?(0,g.jsx)(O.xs,{raffle:u,details:f}):null,mobileHeader:u?(0,g.jsx)(v.Z,{raffle:u}):null,sidebar:(0,g.jsx)(Z.ZP,{activeTab:"tools",raffallId:l}),children:x});return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(P.Z,{pageTitle:"Raffle tools - Raffall",pageDescription:"Promote and manage your live raffle with proven tools."}),h&&u?(0,g.jsx)(_.Z,{raffle:u,details:f,children:y}):y]})};B.getLayout=function(e){return e};var E=!0,M=B},99694:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/your-raffles/live/[raffallId]/tools",function(){return n(10259)}])}},function(e){e.O(0,[8307,7847,2655,6139,5495,8173,4514,8929,2004,1489,3563,6539,5062,3552,6310,4544,6214,3778,1508,5861,2098,4121,4633,8561,996,2835,329,1630,7854,6734,3944,4196,7100,9774,2888,179],(function(){return t=99694,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.