PageSourceSearch

https://luzernecar.org/_next/static/chunks/2201-7c08185ac13550b3.js

js luzernecar.org collected 2026-10-06 18:04:25 UTC 104,659 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2201],{6378:function(e,n,t){t.d(n,{w$:function(){return o},xg:function(){return a}});var i=t(38724),l=t(80238);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,i.U2)(l.h5,e)},o=e=>(0,i.v_)(l.UQ,e)},41320:function(e,n,t){t.d(n,{Z:function(){return f}});var i=t(85893),l=t(67294),a=t(45697),o=t.n(a),r=t(32692),s=t(52015);function d(){let e=(0,r.Z)(["\n      display: -webkit-box;\n      -webkit-line-clamp: ",";\n      -webkit-box-orient: vertical;\n      overflow: hidden;\n      text-overflow: ellipsis;\n    "]);return d=function(){return e},e}function c(){let e=(0,r.Z)(["\n  cursor: pointer;\n  ","\n"]);return c=function(){return e},e}let u=s.default.span.withConfig({displayName:"ReadMoreTruncatedText.styles__StyledReadMoreTruncatedText",componentId:"sc-d35d8179-0"})(c(),e=>{let{truncate:n,maxLines:t}=e;return n&&t&&(0,s.css)(d(),t)});var m=t(7480);function p(e){let{text:n,maxLines:t=3,...a}=e,o=(0,l.useRef)(null),[r,s]=(0,l.useState)(!1),[d,c]=(0,l.useState)(n);return(0,l.useEffect)(()=>{if(o.current&&!r){let e=Math.floor(o.current.offsetWidth/10),i=e*t;c(n.slice(0,i)+(n.length>i?"...":""))}else c(n)},[n,r,t]),(0,i.jsx)(m.Z,{content:!r&&"Click to expand",children:(0,i.jsx)(u,{onClick:()=>{s(!r)},ref:o,style:{lineHeight:"24px"},maxLines:t,truncate:n.length>d.length,...a,children:d})})}p.propTypes={text:o().string.isRequired,maxLines:o().number};var f=p},15236:function(e,n,t){t.d(n,{Z:function(){return I}});var i=t(85893),l=t(67294),a=t(45697),o=t.n(a),r=t(53621),s=t(32692),d=t(52015),c=t(90044);function u(){let e=(0,s.Z)(["\n  /* border-radius: var(--border-radius-medium);\n  overflow: hidden; */\n  header {\n    border-bottom: ",";\n    padding: 15px;\n    justify-content: space-between;\n    gap: 12px;\n    background: ",";\n    color: ",";\n    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;\n    @media (min-width: 576px) {\n      gap: 16px;\n    }\n    @media (min-width: 992px) {\n      padding: 16px 24px;\n    }\n  }\n  .header-right-content {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    flex-grow: 1;\n    justify-content: flex-end;\n    @media (min-width: 576px) {\n      gap: 16px;\n    }\n    button {\n      flex-shrink: 0;\n    }\n    &.gap-24 {\n      gap: 12px;\n    }\n  }\n  .rdt_Pagination {\n    border-radius: 0 0 8px 8px;\n  }\n"]);return u=function(){return e},e}function m(){let e=(0,s.Z)(["\n      .rdt_TableCell, .rdt_TableCol {\n        &:first-child input[type='checkbox'] {\n          width: 16px;\n          height: 16px;\n        }\n    "]);return m=function(){return e},e}function p(){let e=(0,s.Z)(["\n  border-radius: ",";\n  /* overflow-y: hidden;\n  &:hover {\n    overflow-y: overlay;\n  }\n  @media all and (min--moz-device-pixel-ratio: 0) and (min-resolution: 3e1dpcm) {\n    &:hover {\n      overflow-y: auto;\n    }\n  } */\n  .rdt_Table {\n    min-width: ",";\n    max-width: ",";\n    background: ",";\n  }\n  .rdt_TableHead {\n    z-index: 3;\n    .rdt_TableHeadRow {\n      border-radius: ",";\n    }\n  }\n  .rdt_TableHeadRow {\n    background: ",";\n  }\n  .rdt_TableRow {\n    border-bottom-color: ",";\n    font-size: ",";\n    min-height: ",";\n    background: ",";\n    color: ",";\n    /* padding-top: 6px;\n    padding-bottom: 6px; */\n  }\n  /* .rdt_TableCell {\n    &:first-child {\n      font-weight: var(--font-weight-medium);\n    }\n  } */\n\n  ","\n"]);return p=function(){return e},e}function f(){let e=(0,s.Z)(["\n  background: ",";\n  padding: 13px 21px;\n  border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);\n  text-align: right;\n  button {\n    color: var(--primary);\n    font-size: var(--font-sm);\n    font-weight: 500;\n  }\n"]);return f=function(){return e},e}function v(){let e=(0,s.Z)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: ",";\n  > div {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-direction: column;\n    gap: 20px;\n  }\n"]);return v=function(){return e},e}function x(){let e=(0,s.Z)(["\n  text-align: center;\n  max-width: 471px;\n  margin: 0 auto;\n  padding-top: 60px;\n  padding-bottom: 60px;\n  img {\n    margin: 0 auto 60px;\n  }\n"]);return x=function(){return e},e}let h=d.default.div.withConfig({displayName:"DataTable.styles__TableHolder",componentId:"sc-e9360fef-0"})(u(),e=>{let{$bgColor:n}=e;return!n&&"1px solid var(--border-color)"},e=>{let{$bgColor:n,archived:t}=e;return n||(t?"var(--alert-10)":"var(--bg-white)")},e=>{let{$color:n}=e;return n||"var(--text-color-90)"}),g=(0,d.default)(c.ZP).withConfig({displayName:"DataTable.styles__StyledDataTable",componentId:"sc-e9360fef-1"})(p(),e=>{let{showMore:n,hasPagination:t}=e;return n||t?"0":"0 0 8px 8px"},e=>{let{width:n}=e;return n&&"".concat(n,"px")},e=>{let{maxWidth:n}=e;return n&&n},e=>{let{$bgColor:n,archived:t}=e;return n||(t?"var(--alert-10)":"var(--bg-white)")},e=>{let{hasSubHeader:n,tableHeadRowNoRadius:t}=e;return n||t?"0":"var(--border-radius-medium) var(--border-radius-medium) 0 0"},e=>{let{$bgColor:n,archived:t}=e;return n?"rgba(255, 255, 255, 0.6)":t?"var(--alert-20)":"var(--grey-5)"},e=>{let{$borderColor:n}=e;return n||"var(--border-color)"},e=>{let{size:n}=e;return"sm"===n?"13px":"14px"},e=>{let{size:n}=e;return"sm"===n?"47px":"58px"},e=>{let{$bgColor:n,archived:t}=e;return n||(t?"var(--alert-10)":"var(--bg-white)")},e=>{let{$color:n}=e;return n||"var(--text-color-90)"},e=>{let{selectableRows:n}=e;return n&&(0,d.css)(m())}),_=d.default.div.withConfig({displayName:"DataTable.styles__ShowMoreButtonHolder",componentId:"sc-e9360fef-2"})(f(),e=>{let{$showMoreBgColor:n}=e;return n||"var(--bg-white)"}),b=d.default.div.withConfig({displayName:"DataTable.styles__NoDataContentHolder",componentId:"sc-e9360fef-3"})(v(),e=>{let{height:n}=e;return n?"".concat(n,"px"):"200px"}),y=d.default.div.withConfig({displayName:"DataTable.styles__StyledNoDataImageHolder",componentId:"sc-e9360fef-4"})(x());var w=t(7423),j={src:"/_next/static/media/no-data-image.1850736e.svg",height:332,width:429,blurWidth:0,blurHeight:0},N=t(91866),Z=t(99042);
1function k(e){let{content:n,height:t,action:l}=e;return(0,i.jsx)(b,{height:t,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"color-text-50 m-0",children:n}),l&&(0,i.jsx)("p",{children:l})]})})}function S(e){let{title:n,description:t}=e;return(0,i.jsxs)(y,{children:[(0,i.jsx)(w.Z,{src:j,alt:"no data image"}),(0,i.jsx)(N.Z,{level:6,className:"mb-8",children:n}),(0,i.jsx)(Z.Z,{className:"font-15 color-text-70",children:t})]})}let C={header:{style:{padding:"16px 30px",borderBottom:"1px solid var(--border-color)"}},contextMenu:{style:{padding:"16px",zIndex:3},activeStyle:{backgroundColor:"var(--grey-10)",color:"var(--text-color)"}}};function T(e){let{width:n,size:t,bgColor:a,color:o,showMore:s,data:d,showMoreBgColor:c,initialRowsToShow:u=9,borderColor:m,noDataMessage:p="",noDataHeight:f=!1,noDataBtn:v=!1,noDataImage:x=!1,noDataImageTitle:b="There are no records to display",noDataImageDescription:y="",tableHolderClass:w="",archived:j,tableHeadRowNoRadius:N=!1,paginationRowsPerPageOptions:Z=[10,20,50,100],...T}=e,[I,D]=(0,l.useState)(u),E=()=>{I===d.length?D(u):D(d.length)},z=Array.isArray(d)?d.slice(0,I):[];return(0,i.jsxs)(h,{archived:j,showMore:s&&d.length>u,$bgColor:a,$color:o,className:"table-holder ".concat(w),children:[(0,i.jsx)(g,{size:t,tableHeadRowNoRadius:N,width:n,archived:j,dense:!0,$bgColor:a,$color:o,$borderColor:m,progressComponent:(0,i.jsx)(r.Z,{viewLoader:!0}),data:s?z:d,showMore:s&&d.length>u,hasSubHeader:T.subHeader,hasPagination:T.pagination,paginationRowsPerPageOptions:Z,paginationPerPage:50,noDataComponent:p?(0,i.jsx)(k,{content:p,height:f,action:v}):x?(0,i.jsx)(S,{title:b,description:y}):void 0,customStyles:C,...T}),s&&d.length>u&&(0,i.jsx)(_,{$showMoreBgColor:c,children:(0,i.jsx)("button",{type:"button",onClick:E,children:I===d.length?"Show Less":"Show More"})})]})}T.propTypes={width:o().string,size:o().string,noDataMessage:o().string||o().bool,noDataHeight:o().number,noDataBtn:o().bool};var I=T},34670:function(e,n,t){var i=t(85893),l=t(67294);n.Z=function(e){let{address:n,height:t="296px"}=e,[a,o]=(0,l.useState)(""),r=()=>{let e=encodeURIComponent(n);o("https://maps.google.com/?q=".concat(e,"&output=embed"))};return(0,l.useEffect)(()=>{r()},[n]),(0,i.jsx)("div",{className:"w-100 radius-medium overflow-hidden d-flex",children:a&&(0,i.jsx)("iframe",{width:"100%",height:t,title:"map",className:"no-border",loading:"lazy",allowFullScreen:!0,src:a})})}},79238:function(e,n,t){t.d(n,{E_:function(){return d},lp:function(){return s},vW:function(){return c}});var i=t(32692),l=t(52015);function a(){let e=(0,i.Z)(["\n  background: var(--grey-2, #f9f9fa);\n  .event-detail-header-container {\n    padding-top: 24px;\n    padding-bottom: 24px;\n\n    @media (min-width: 992px) {\n      padding-bottom: 48px;\n    }\n\n    @media (min-width: 1200px) {\n      padding-left: 60px;\n      padding-right: 60px;\n    }\n  }\n"]);return a=function(){return e},e}function o(){let e=(0,i.Z)(["\n  .event-detail-container {\n    /* padding-top: 30px; */\n    padding-bottom: 30px;\n    @media (min-width: 992px) {\n      /* padding-top: 60px; */\n      padding-bottom: 60px;\n    }\n  }\n  .sponsors-section-container {\n    padding-top: 30px;\n    @media (min-width: 992px) {\n      padding-top: 60px;\n    }\n  }\n  .px-md-10 {\n    @media (max-width: 768px) {\n      padding-left: 10px !important;\n      padding-right: 10px !important;\n    }\n  }\n\n  .event-detail-common-section {\n    padding: 15px;\n    @media (min-width: 992px) {\n      padding: 60px;\n    }\n  }\n  .tab-content-holder {\n    padding: 30px 0 0;\n    @media (min-width: 992px) {\n      padding-left: 30px;\n      padding-right: 30px;\n    }\n  }\n"]);return o=function(){return e},e}function r(){let e=(0,i.Z)(["\n  @media (min-width: 992px) {\n    padding-left: 20px;\n    padding-right: 20px;\n  }\n  .bottom-register-now-btn {\n    margin: 0 auto;\n    @media (min-width: 992px) {\n      margin: 0 0 0 auto;\n    }\n  }\n"]);return r=function(){return e},e}let s=l.default.div.withConfig({displayName:"EventDetailTabs.styles__EventDetailHeader",componentId:"sc-5aeebdb0-0"})(a()),d=l.default.div.withConfig({displayName:"EventDetailTabs.styles__EventDetailContent",componentId:"sc-5aeebdb0-1"})(o()),c=l.default.div.withConfig({displayName:"EventDetailTabs.styles__StyleAttendSection",componentId:"sc-5aeebdb0-2"})(r())},50105:function(e,n,t){var i=t(85893),l=t(41664),a=t.n(l),o=t(67294),r=t(38506),s=t(29215),d=t(91866),c=t(6004),u=t(69234),m=t(96570),p=t(61811),f=t(39360),v=t(79238);let x=(0,o.forwardRef)((e,n)=>{let{...t}=e;return(0,i.jsx)(v.E_,{className:"border-bottom",ref:n,...t,children:(0,i.jsxs)(r.Z,{maxWidth:"100%",className:"event-detail-container sponsors-section-container",children:[(0,i.jsxs)(s.Z,{gap:12,justify:"space-between",align:"center",className:"mb-30",children:[(0,i.jsx)(d.Z,{level:4,className:"mb-0 fw-semi",children:"Sponsors"}),(0,i.jsx)(c.Z,{as:a(),href:"/sponsorship-opportunities",variant:"custom",background:"var(--website-primary-color)",width:186,size:"md",children:"Become a sponsor"})]}),(0,i.jsx)(u.Z,{name:"Platinum Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#6248FF",dotSize:16,gap:13}),(0,i.jsx)(p.Z,{lg:2,gap:30,className:"mb-60",children:m.tx.map(e=>(0,i.jsx)(f.Z,{data:e},e.title))}),(0,i.jsx)(u.Z,{name:"Gold Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#FF9F1A",dotSize:16,gap:13}),(0,i.jsx)(p.Z,{md:2,lg:3,gap:30,className:"mb-60",children:m.U4.map(e=>(0,i.jsx)(f.Z,{data:e,size:"medium"},e.title))}),(0,i.jsx)(u.Z,{name:"Silver Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#747788",dotSize:16,gap:13}),(0,i.jsx)(p.Z,{xs:1,sm:2,md:3,lg:4,className:"border-left border-top mb-60",children:m.mZ.map(e=>(0,i.jsx)(f.k,{data:e,size:"small"},e.title))}),(0,i.jsx)(u.Z,{name:"Bronze Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#747788",dotSize:16,gap:13}),(0,i.jsx)(p.Z,{xs:2,sm:3,md:4,lg:5,className:"border-left border-top",children:m.LX.map(e=>(0,i.jsx)(f.k,{data:e,size:"small"},e.title))})]})})});n.Z=x},65987:function(e,n,t){t.d(n,{Z:function(){return tp}
1});var i=t(32692),l=t(85893),a=t(52015),o=t(67294),r=t(11163),s=t(42298),d=t(7423),c=t(9473),u=t(6004),m=t(67987),p=t(99042),f=t(18785),v=t(18760),x=t(29215),h=t(6378),g=t(57534),_=t(98294),b=t(96121),y=t(20112),w=t(84042),j=t(24263),N=t(88834),Z=t(25500),k=t(7480),S=t(87974);function C(){let e=(0,i.Z)(["\n  .member-login-title {\n    font-size: 36px;\n    line-height: 1.28;\n  }\n  .member-login-form {\n    padding-top: 72px;\n    padding-bottom: 24px;\n    max-width: 600px;\n    margin: 0px auto;\n  }\n  .member-login-register-link {\n    padding-top: 30px;\n    text-align: center;\n    max-width: 600px;\n    margin: 0px auto;\n  }\n"]);return C=function(){return e},e}function T(){let e=(0,i.Z)(["\n  .with-edit-btn {\n    &:hover {\n      .edit-btn {\n        opacity: 1;\n        visibility: visible;\n      }\n    }\n    .edit-btn {\n      opacity: 0;\n      visibility: hidden;\n      transition: all 0.3s ease;\n    }\n  }\n"]);return T=function(){return e},e}function I(){let e=(0,i.Z)(["\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  padding: 9px 16px;\n  border-radius: 8px;\n  background-color: var(--grey-4);\n"]);return I=function(){return e},e}function D(){let e=(0,i.Z)(["\n  border-radius: 8px;\n  background-color: var(--grey-4);\n  padding-top: 16px;\n  padding-right: 18px;\n"]);return D=function(){return e},e}function E(){let e=(0,i.Z)(["\n  max-height: 273px;\n  overflow-y: auto;\n  padding: 0 16px 0 25px;\n  border-radius: 8px;\n  background-color: var(--grey-4);\n"]);return E=function(){return e},e}function z(){let e=(0,i.Z)(["\n  display: flex;\n  justify-content: flex-end;\n  /* border: 1px solid red; */\n  padding: 24px 30px 16px 25px;\n"]);return z=function(){return e},e}function B(){let e=(0,i.Z)(["\n  width: 50px;\n  height: 50px;\n  border-radius: 6px;\n  overflow: hidden;\n  img {\n    object-fit: cover;\n    height: 100%;\n    width: 100px;\n  }\n"]);return B=function(){return e},e}function P(){let e=(0,i.Z)(["\n  .title-header {\n    @media (max-width: 767px) {\n      padding-left: 16px !important;\n      padding-right: 16px !important;\n    }\n  }\n  .address-holder {\n    @media (max-width: 767px) {\n      padding-left: 10px !important;\n      padding-right: 10px !important;\n    }\n  }\n"]);return P=function(){return e},e}a.default.div.withConfig({displayName:"EventRegisterModal.styles__StyleEventLoginAsBoardMember",componentId:"sc-ddefb3f1-0"})(C()),a.default.div.withConfig({displayName:"EventRegisterModal.styles__StyleConfirmDetailSection",componentId:"sc-ddefb3f1-1"})(T()),a.default.div.withConfig({displayName:"EventRegisterModal.styles__StylePaymentSelectedDetail",componentId:"sc-ddefb3f1-2"})(I()),a.default.div.withConfig({displayName:"EventRegisterModal.styles__StylePaymentTermCondition",componentId:"sc-ddefb3f1-3"})(D()),a.default.div.withConfig({displayName:"EventRegisterModal.styles__StylePaymentTermConditionDetail",componentId:"sc-ddefb3f1-4"})(E()),a.default.div.withConfig({displayName:"EventRegisterModal.styles__StylePaymentTermConditionCheckbox",componentId:"sc-ddefb3f1-5"})(z()),a.default.div.withConfig({displayName:"EventRegisterModal.styles__ImgHolder",componentId:"sc-ddefb3f1-6"})(B());let A=a.default.div.withConfig({displayName:"EventRegisterModal.styles__StyledRegisterModal",componentId:"sc-ddefb3f1-7"})(P());var M=t(25935),R=t(87536),q=t(91866),H=t(64020),F=t(50565),O=t(7153),V=t(27312),L=t(10977);function Q(){let e=(0,i.Z)(["\n  padding: 15px;\n  margin-bottom: 20px;\n  border: 1px solid transparent;\n  border-radius: 4px;\n\n  &.alert-primary {\n    color: #004085;\n    background-color: #cce5ff;\n    border-color: #b8daff;\n  }\n  &.alert-secondary {\n    color: #383d41;\n    background-color: #e2e3e5;\n    border-color: #d6d8db;\n  }\n  &.alert-success {\n    color: #155724;\n    background-color: #d4edda;\n    border-color: #c3e6cb;\n  }\n  &.alert-danger {\n    color: #721c24;\n    background-color: #f8d7da;\n    border-color: #f5c6cb;\n  }\n  &.alert-warning {\n    color: #856404;\n    background-color: #fff3cd;\n    border-color: #ffeeba;\n  }\n  &.alert-info {\n    color: #0c5460;\n    background-color: #d1ecf1;\n    border-color: #bee5eb;\n  }\n  &.alert-light {\n    color: #818182;\n    background-color: #fefefe;\n    border-color: #fdfdfe;\n  }\n  &.alert-dark {\n    color: #1b1e21;\n    background-color: #d6d8d9;\n    border-color: #c6c8ca;\n  }\n  &.no-padding {\n    padding: 0px;\n  }\n"]);return Q=function(){return e},e}
1let W=a.default.div.withConfig({displayName:"Alert__StyledAlert",componentId:"sc-1c059e2f-0"})(Q());var U=function(e){let{type:n="info",noPadding:t=!1,children:i,className:a,...o}=e;return(0,l.jsx)(W,{className:"alert alert-".concat(n," ").concat(t?"no-padding":""," ").concat(a),role:"alert",...o,children:i})},$=t(6870),Y=t(56192),G=t(76627),K=t.n(G),X=t(61811),J=t(14805),ee=t(57856),en=t(23855);function et(){let e=(0,i.Z)(["\n  from {\n    opacity: 0;\n    transform: translateY(20px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n"]);return et=function(){return e},e}function ei(){let e=(0,i.Z)(["\n  background-color: var(--grey-2);\n  border-radius: 8px;\n"]);return ei=function(){return e},e}function el(){let e=(0,i.Z)(["\n  display: flex;\n  gap: 24px;\n  padding: 0 30px;\n  border-bottom: 1px solid var(--border-color);\n  overflow-x: auto;\n  @media (max-width: 991px) {\n    padding: 0 10px;\n  }\n"]);return el=function(){return e},e}function ea(){let e=(0,i.Z)(["\n      border-bottom: 1px solid var(--danger);\n    "]);return ea=function(){return e},e}function eo(){let e=(0,i.Z)(["\n      &:hover {\n        color: var(--website-primary-color);\n        border-bottom-color: var(--website-primary-color);\n      }\n    "]);return eo=function(){return e},e}function er(){let e=(0,i.Z)(["\n  cursor: pointer;\n  font-size: 15px;\n  line-height: 22px;\n  font-weight: 500;\n  white-space: nowrap;\n  color: ",";\n  transition: all 0.3s ease;\n  position: relative;\n  border-bottom: 1px solid ",";\n  padding: 13px 30px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  &:before {\n    content: 'error_circle';\n    font-family: var(--font-icon);\n    font-weight: normal;\n    text-transform: none;\n    position: absolute;\n    top: 50%;\n    right: 5px;\n    transform: translateY(-50%);\n    color: var(--danger);\n    opacity: ",";\n    visibility: ",";\n    transition: all 0.5s ease;\n  }\n\n  ","\n\n  ","\n"]);return er=function(){return e},e}function es(){let e=(0,i.Z)(["\n  /* padding: 30px;\n  @media (max-width: 991px) {\n    padding: 20px 10px;\n  } */\n"]);return es=function(){return e},e}function ed(){let e=(0,i.Z)(["\n          display: block;\n          animation: "," 0.5s ease;\n          will-change: opacity, transform;\n        "]);return ed=function(){return e},e}function ec(){let e=(0,i.Z)(["\n          display: none;\n        "]);return ec=function(){return e},e}function eu(){let e=(0,i.Z)(["\n  position: relative;\n\n  .attendee-form-holder {\n    padding: 30px;\n    @media (max-width: 991px) {\n      padding: 15px;\n    }\n  }\n\n  .event-agenda-holder {\n    padding: 30px;\n    @media (max-width: 991px) {\n      padding: 15px;\n    }\n  }\n\n  ","\n"]);return eu=function(){return e},e}let em=(0,a.keyframes)(et()),ep=a.default.div.withConfig({displayName:"AttendeesDetailSection.styles__AttendeeTabsWrap",componentId:"sc-8a4a9165-0"})(ei()),ef=a.default.div.withConfig({displayName:"AttendeesDetailSection.styles__AttendeesTabs",componentId:"sc-8a4a9165-1"})(el()),ev=a.default.div.withConfig({displayName:"AttendeesDetailSection.styles__AttendeeTab",componentId:"sc-8a4a9165-2"})(er(),e=>{let{active:n,hasError:t}=e;return t?"var(--danger)":n?"var(--website-primary-color)":"var(--text-color-70)"},e=>{let{active:n}=e;return n?"var(--website-primary-color)":"transparent"},e=>{let{hasError:n}=e;return n?1:0},e=>{let{hasError:n}=e;return n?"visible":"hidden"},e=>{let{hasError:n,active:t}=e;return n&&t&&(0,a.css)(ea())},e=>{let{hasError:n}=e;return!n&&(0,a.css)(eo())}),ex=a.default.div.withConfig({displayName:"AttendeesDetailSection.styles__TabContentHolder",componentId:"sc-8a4a9165-3"})(es()),eh=a.default.div.withConfig({displayName:"AttendeesDetailSection.styles__AttendeeContent",componentId:"sc-8a4a9165-4"})(eu(),e=>{let{active:n}=e;return n?(0,a.css)(ed(),em):(0,a.css)(ec())});var eg=t(73136);function e_(){let e=(0,i.Z)(["\n                  margin: 0 auto;\n                  .fake-label {\n                    font-size: 16px;\n                  }\n                "]);return e_=function(){return e},e}function eb(){let e=(0,i.Z)(["\n                  .fake-label {\n                    font-size: 16px;\n                  }\n                "]);return eb=function(){return e},e}function ey(){let e=(0,i.Z)(["\n                .react-select__indicators {\
1n                  display: none;\n                }\n              "]);return ey=function(){return e},e}function ew(){let e=(0,i.Z)(["\n          @media (max-width: 991px) {\n            padding-left: 15px;\n            padding-right: 15px;\n          }\n        "]);return ew=function(){return e},e}var ej=function(e){let{attendeeDetailsData:n,additionalFields:t,eventTypeConfig:i,checkAlreadyRegistered:a,eventAgendaData:s,selectedTickets:d,modulesSettings:c,allowAdditionalAttendeeDetails:u=!1}=e,{control:m,watch:v,clearErrors:h,setValue:g,formState:b,trigger:y,getValues:w}=(0,R.Gc)(),[N,Z]=(0,o.useState)(0),[k,C]=(0,o.useState)(!1),[T,I]=(0,o.useState)(0),{errors:D,submitCount:E}=b,z=(0,o.useRef)(null),[B,P]=(0,o.useState)(!1),A=(0,o.useRef)(0),M=(0,r.useRouter)(),{fields:q}=(0,R.Dq)({control:m,name:"attendees"}),F=v("is_attending"),O=e=>{e===N||k||(C(!0),Z(e),I(e=>e+1),setTimeout(()=>{C(!1)},500))};(0,o.useEffect)(()=>{if(n.length){let e=n.map(e=>({...e,agenda_ids:e.agenda_ids||[]}));g("attendees",e)}},[n]),(0,o.useEffect)(()=>{if(z.current){let e=z.current,n=e.querySelector('[data-index="'.concat(N,'"]')),t=N>0?e.querySelector('[data-index="'.concat(N-1,'"]')):null,i=N<q.length-1?e.querySelector('[data-index="'.concat(N+1,'"]')):null;if(n){let l=e.getBoundingClientRect(),a=n.getBoundingClientRect(),o=a.left-l.left,r=a.right-l.right;if(o<0?e.scrollBy({left:o,behavior:"smooth"}):r>0&&e.scrollBy({left:r,behavior:"smooth"}),t){let n=t.getBoundingClientRect(),i=n.left-l.left;i<0&&e.scrollBy({left:i,behavior:"smooth"})}if(i){let n=i.getBoundingClientRect(),t=n.right-l.right;t>0&&e.scrollBy({left:t,behavior:"smooth"})}}}},[N,q.length]),(0,o.useEffect)(()=>{E>A.current&&q.forEach((e,n)=>{y("attendees[".concat(n,"].agenda_ids"))})},[E,q,y]),(0,o.useEffect)(()=>{if(E>A.current&&D.attendees&&!B){A.current=E;let e=0,n=-1;D.attendees.forEach((t,i)=>{t&&Object.keys(t).length>0&&(e++,-1===n&&(n=i))}),e>0&&((0,j.Z)({type:"error",message:"Please fix ".concat(e," ").concat(1===e?"attendee":"attendees"," with missing or invalid information")}),-1!==n&&n!==N&&O(n),P(!0))}},[E,D.attendees,B,N,O]),(0,o.useEffect)(()=>{E>A.current&&P(!1)},[E]);let V=e=>{if(!D.attendees)return!1;let n=["first_name","last_name","email","phone","agenda_ids"].some(n=>{var t;return null===(t=D.attendees[e])||void 0===t?void 0:t[n]}),i=null==t?void 0:t.some(n=>{var t;return null===(t=D.attendees[e])||void 0===t?void 0:t["additional_field_".concat(n.id)]});return n||i},L=e=>{let n=w("attendees[".concat(e,"]"));if(!n)return!1;let i=!M.query.new_features||n.agenda_ids&&n.agenda_ids.length>0;if(n.fill_out_later)return i;if(V(e))return!1;if(0===e&&F){let e=!!n.tickets,l=!t||t.every(e=>{var t;if(!e.is_mandatory)return!0;let i=n["additional_field_".concat(e.id)];return"picklist"===e.field_type&&(null===(t=e.settings)||void 0===t?void 0:t.is_multiple)?Array.isArray(i)&&i.length>0:null!=i&&""!==i});return e&&l&&i}let l=!!n.tickets,a=!!n.first_name,o=!!n.last_name,r=!!n.email,s=!!n.phone,d=!t||t.every(e=>{var t;if(!e.is_mandatory)return!0;let i=n["additional_field_".concat(e.id)];return"picklist"===e.field_type&&(null===(t=e.settings)||void 0===t?void 0:t.is_multiple)?Array.isArray(i)&&i.length>0:null!=i&&""!==i});return a&&o&&r&&s&&l&&i&&d},Q=(e,n)=>(0,l.jsxs)(l.Fragment,{children:[d&&d.length>0&&(0,l.jsx)(R.Qr,{name:"attendees[".concat(n,"].tickets"),control:m,rules:{required:"Select ticket"},render:e=>{let{field:t,fieldState:{error:i}}=e;return(0,l.jsx)(ek,{creatable:!1,withSearchBar:!1,isSearchable:!1,placeholder:"Select Ticket",disabled:!0,size:"md",margin:0,className:"mb-16",onClick:()=>h("attendees[".concat(n,"].tickets")),menuPlacement:"top",hideSelectedOptions:!1,formatOptionLabel:S.NY,menuPortalTarget:document.body,error:null==i?void 0:i.message,menuPosition:"fixed",options:d.map(e=>({...e,value:e.id,eventId:e.id})),...t})}}),(0,l.jsxs)(x.Z,{align:"center",gap:12,justify:"flex-end",className:"mb-16",children:[0===n&&(null==i?void 0:i.allow_registration_for_someone_else)&&(0,l.jsx)(R.Qr,{name:"is_attending",control:m,render:e=>{let{field:t}=e;return(0,l.jsx)(eN,{type:"checkbox",label:"I will be attending this event",className:"mb-0",defaultChecked:F,btnCheck:!0,checked:t.value,...t,onChange:e=>
1{t.onChange(e),e.target.checked&&g("attendees[".concat(n,"].fill_out_later"),!1)}})}}),(0===n&&(null==c?void 0:c.allow_fill_out_details_later)&&!F||n>0&&(null==c?void 0:c.allow_fill_out_details_later))&&(0,l.jsx)(R.Qr,{name:"attendees[".concat(n,"].fill_out_later"),control:m,render:e=>{let{field:n}=e;return(0,l.jsx)(eZ,{type:"checkbox",label:"I will fill this out later",className:"mb-0",btnCheck:!0,checked:n.value,...n,onChange:e=>{n.onChange(e),e.target.checked}})}})]}),F&&0===n?(0,l.jsx)(f.Z,{className:"text-center font-lg fw-medium mb-16",children:"This will be you"}):v("attendees[".concat(n,"].fill_out_later"))?(0,l.jsx)(f.Z,{className:"text-center font-lg fw-medium mb-16",children:"This will be filled out later"}):(0,l.jsxs)(X.Z,{md:2,gap:16,className:"mb-16",children:[!c||c&&(null==c?void 0:c.name_mandatory)||c&&!(null==c?void 0:c.name_mandatory)&&(null==c?void 0:c.name_visibility)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(R.Qr,{name:"attendees[".concat(n,"].first_name"),control:m,rules:!c||c&&(null==c?void 0:c.name_mandatory)?{required:"Enter attendee first name"}:void 0,render:e=>{let{field:t,fieldState:{error:i}}=e;return(0,l.jsx)(H.ZP,{type:"text",size:"md",label:"First Name",placeholder:"Enter attendee first name",className:"mb-0",error:null==i?void 0:i.message,prefix:(0,l.jsx)("span",{className:"ab-icons",children:"person"}),onClick:()=>h("attendees[".concat(n,"].first_name")),...t})}}),(0,l.jsx)(R.Qr,{name:"attendees[".concat(n,"].last_name"),control:m,rules:!c||c&&(null==c?void 0:c.name_mandatory)?{required:"Enter attendee last name"}:void 0,render:e=>{let{field:t,fieldState:{error:i}}=e;return(0,l.jsx)(H.ZP,{type:"text",size:"md",label:"Last Name",placeholder:"Enter attendee last name",className:"mb-0",error:null==i?void 0:i.message,prefix:(0,l.jsx)("span",{className:"ab-icons",children:"person"}),onClick:()=>h("attendees[".concat(n,"].last_name")),...t})}})]}):null,!c||c&&(null==c?void 0:c.email_mandatory)||c&&!(null==c?void 0:c.email_mandatory)&&(null==c?void 0:c.email_visibility)?(0,l.jsx)(R.Qr,{name:"attendees[".concat(n,"].email"),control:m,rules:!c||c&&(null==c?void 0:c.email_mandatory)?{required:"Enter attendee email address",pattern:J.D,validate:a}:{pattern:J.D,validate:a},render:e=>{let{field:t,fieldState:{error:i}}=e;return(0,l.jsx)(H.ZP,{type:"email",size:"md",label:"Email",placeholder:"Enter attendee email address",className:"mb-0",error:null==i?void 0:i.message,prefix:(0,l.jsx)("span",{className:"ab-icons",children:"email_line"}),onClick:()=>h("attendees[".concat(n,"].email")),...t})}}):null,!c||c&&(null==c?void 0:c.phone_number_mandatory)||c&&!(null==c?void 0:c.phone_number_mandatory)&&(null==c?void 0:c.phone_number_visibility)?(0,l.jsx)(R.Qr,{name:"attendees[".concat(n,"].phone"),control:m,rules:!c||c&&(null==c?void 0:c.phone_number_mandatory)?{required:"Enter attendee phone number"}:void 0,render:e=>{let{field:t,fieldState:{error:i}}=e;return(0,l.jsx)(K(),{mask:"(999) 999-9999",maskChar:"",value:t.value,onChange:t.onChange,children:e=>(0,l.jsx)(H.ZP,{size:"md",label:"Phone Number",placeholder:"Enter attendee phone number",className:"mb-0",error:null==i?void 0:i.message,prefix:(0,l.jsx)("span",{className:"ab-icons",children:"phone"}),onClick:()=>h("attendees[".concat(n,"].phone")),...e})})}}):null]})]});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(eS,{className:"mb-16",children:[(0,l.jsx)(f.Z,{className:"fw-semi h8",children:"Attendees Detail"}),(0,l.jsx)(p.Z,{className:"mb-16 font-sm",children:"Let us know who will be attending this event."})]}),(0,l.jsxs)(ep,{children:[(0,l.jsx)(ef,{ref:z,children:q.map((e,n)=>(0,l.jsxs)(ev,{"data-index":n,active:N===n,hasError:V(n),onClick:()=>O(n),children:[(0,l.jsx)("span",{className:"ab-icons ".concat(L(n)?"color-primary-website":""),children:L(n)?"check_circle_fill":"circle_empty_regular"}),u?"Attendee":"Ticket"," ",n+1]},e.id))}),(0,l.jsx)(ex,{children:q.map((e,n)=>(0,l.jsxs)(eh,{active:N===n,children:[(0,l.jsxs)("div",{className:"attendee-form-holder border-bottom",children:[Q(e,n),u&&!v("attendees[".concat(n,"].fill_out_later"))&&t&&t.length>0&&(0,l.jsx)(X.Z,{md:2,gap:16,children:t.map((e,t)=>(0,l.jsx)(eg.Z,{fieldData:e,index:n,fieldIndex:t},t))})]}),s&&s.length>0&&(0,l.jsxs)("div",{className:"event-agenda-holder",children:[(0,l.jsx)(f.Z,{className:"font-s-20 line-height-30 fw-semi mb-16",children:"Select Agenda"}),s.map((e,t)=>(0,l.jsxs)("div",{className:t===s.length-1?null:"mb-40",children:[(0,l.jsx)(f.Z,{className:"fw-semi mb-16 text-uppercase",children:(0,_.JK)((0,en.default)("".concat(e.date,"T12:00:00Z")),"EEEE, MMMM d, yyyy")}),e.events.map((i,a)=>(0,l.jsx)(ee.Zs,{item:{...i,date:e.date},className:a===e.events.length-1?"":"mb-30",xs:!0,allowAddToCalendar:!1,selectable:!i.attendance_control,fieldIndex:n,dateIndex:t,eventIndex:a,showSponsors:!1,showCategories:!c||(null==c?void 0:c.show_categories),showSessionCount:!c||(null==c?void 0:c.display_session_count)},i.id))]}))]})]},"content-".concat(T,"-").concat(n)))})]})]})},eN=(0,a.default)(H.ZP).withConfig({displayName:"AttendeesDetailSection___StyledField",componentId:"sc-99a37d77-0"})(e_()),eZ=(0,a.default)(H.ZP).withConfig({displayName:"AttendeesDetailSection___StyledField2",componentId:"sc-99a37d77-1"})(eb()),ek=(0,a.default)(O.Z).withConfig({displayName:"AttendeesDetailSection___StyledSelect",componentId:"sc-99a37d77-2"})(ey()),eS=(0,a.default)("div").withConfig({displayName:"AttendeesDetailSection___StyledDiv",componentId:"sc-99a37d77-3"})(ew());function eC(){let e=(0,i.Z)(["\n                  @media (max-width: 991px) {\n                    padding-left: 15px !important;\n                    padding-right: 15px !important;\n                  }\n                "]);return eC=function(){return e},e}function eT(){let e=(0,i.Z)(["\n              @media (max-width: 991px) {\n                padding-left: 0px !important;\n                padding-right: 0px !important;\n              }\n            "]);return eT=function(){return e},e}function eI(){let e=(0,i.Z)(["\n                      @media (max-width: 991px) {\n                        padding-left: 0px !important;\n                      }\n                    "]);return eI=function(){return e},e}var eD=function(e){var n;let{setIsAgree:t,setIsTermsError:i,setSectionSelection:a,selectedTickets:s,setRegistrationNotes:d,getItemDetail:c,setDonationAmount:m,donationConfig:h,registrationNotes:g,donationAmount:b,terms:w,registrationNotesSettings:j,attendeeDetails:N,attendeeDetailsData:Z,setAttendeeDetailsData:k,isAttending:C,setIsAttending:T,additionalFields:I,eventTypeConfig:D,checkAlreadyRegistered:E,eventAgendaData:z=[],getOrderInquiry:B,agendaTickets:P,setAgendaTickets:A,type:Q,itemPricingLoading:W,modulesSettings:G,eventSettings:K}=e,X=(0,r.useRouter)(),[J,ee]=(0,o.useState)(!!((null==h?void 0:h.allow_custom_amount)&&!(null==h?void 0:null===(n=h.donation_amount_suggestions)||void 0===n?void 0:n.length))),en={is_attending:C,attendees:s.map(e=>Array.from({length:e.quantity},()=>
1({first_name:"",last_name:"",email:"",phone:"",tickets:e,agenda_details:(null==z?void 0:z.map(e=>e.events.map(e=>({ticket_id:null,attendance_control:null,notes:"",terms:!1,additional_fields:{},agenda_type:e.raw_payload.in_person?V.x_[0]:V.x_[1]}))))||[]}))).flat()},et=(0,R.cI)({reValidateMode:"onSubmit",defaultValues:en}),{control:ei,handleSubmit:el,clearErrors:ea,watch:eo,formState:{errors:er}}=et,es=(null==h?void 0:h.donation_amount_suggestions)&&(null==h?void 0:h.donation_amount_suggestions.length)?h.donation_amount_suggestions.map(e=>({value:Number(null==e?void 0:e.amount),label:"$".concat(null==e?void 0:e.amount),is_default:null==e?void 0:e.is_default})):[],ed=eo("terms_and_condition_is_agree"),ec=(0,o.useMemo)(()=>(0,S.Ty)({...K,charge_no_show_fee:!0,no_show_fee_amount:100,no_show_fee_applies_after:"1_hour_after"}),[K]);(0,o.useEffect)(()=>{if(!b){let e=es.find(e=>e.is_default)||null;m((null==e?void 0:e.value)||"")}let e=s.reduce((e,n)=>e+n.quantity,0);e!==Z.length&&k([])},[]),(0,o.useEffect)(()=>{t(ed||!w),i((null==er?void 0:er.terms_and_condition_is_agree)||"")},[ed,w,er]);let eu=async e=>{let n={...e},t=[];if(null==n?void 0:n.attendees)for(let e of n.attendees){let{agenda_details:n=[]}=e||{},i=n.flatMap(e=>e),l=i.filter(e=>null!=e&&e.attendance_control&&e.ticket_id).map(e=>{let{agenda_type:n,...t}=e;return{...t.ticket_id,eventType:(null==n?void 0:n.value)||null}});l.length>0&&t.push(...l)}t.length>0?(A(t),await B([...s,...t],!0)):(A([]),await B(s,!0)),T(null==n?void 0:n.is_attending),k((null==n?void 0:n.attendees)||[]),a("as_guest")};return(0,o.useEffect)(()=>{let e=P?P.filter(e=>null!=e):[];s&&s.length>0&&(e.length>0?B([...s,...e]):B(s))},[P]),(0,l.jsx)(Y.Pj,{children:(0,l.jsx)(R.RV,{...et,children:(0,l.jsxs)("form",{id:"event-attendees-form",onSubmit:el(e=>{eu(e)}),noValidate:!0,children:[!(null==N?void 0:N.allow_attendee_details)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eE,{className:"px-30",children:(0,l.jsx)(q.Z,{level:4,className:"mb-0 fw-semi",children:"Confirm Details"})}),(0,l.jsxs)(v.VD,{className:"pt-0",children:[(0,l.jsxs)(x.Z,{align:"center",justify:"space-between",gap:16,className:"mb-16 with-edit-btn",children:[(0,l.jsx)(f.Z,{className:"fw-semi h8",children:"Ticket"}),(0,l.jsx)(y.Z,{onClick:()=>a("default"),prefix:(0,l.jsx)("span",{className:"ab-icons",children:"edit"}),className:"font-sm color-text-60 edit-btn",children:"Edit"})]}),s&&s.length>0&&(0,l.jsx)(eB,{direction:"column",gap:8,className:"pl-20 mb-16",children:null==s?void 0:s.map((e,n)=>{var t,i;let a=c(e),o=!!(null==e?void 0:e.is_early_bird);return(0,l.jsx)(F.Z,{sm:!0,title:(0,_.Qs)(e.label),price:o?e.price:null==a?void 0:a.total,color:e.color,description:e.detail,icon:e.icon,quantity:e.quantity,isLoading:W,earlyBirdEnabled:o,earlyBirdPrice:o?null!==(i=null!==(t=null==a?void 0:a.unit_price)&&void 0!==t?t:null==a?void 0:a.total)&&void 0!==i?i:e.early_bird_price:void 0,earlyBirdTooltip:o?e.early_bird_tooltip:void 0},n)})})]})]}),(0,l.jsx)(ez,{children:(0,l.jsx)(ej,{selectedTickets:s,attendeeDetailsData:Z,additionalFields:I,eventTypeConfig:D,checkAlreadyRegistered:E,eventAgendaData:z,type:Q,modulesSettings:G,allowAdditionalAttendeeDetails:null==N?void 0:N.allow_attendee_details})}),j&&(0,l.jsxs)(v.VD,{className:"border-top",children:[(0,l.jsx)(f.Z,{className:"fw-semi h8",children:(null==j?void 0:j.title)||""}),(0,l.jsx)(p.Z,{className:"mb-16 font-sm",children:(null==j?void 0:j.subTitle)||""}),(0,l.jsx)(R.Qr,{name:"registration_notes",control:ei,rules:{required:(null==j?void 0:j.mandatory)&&"Registration notes are required"},render:e=>{let{field:n,fieldState:{error:t}}=e;return(0,l.jsx)(H.ZP,{type:"textarea",textareaHeight:100,margin:0,placeholder:"Enter notes here",value:g,error:null==t?void 0:t.message,onClick:()=>ea("registration_notes"),...n,onChange:e=>{n.onChange(e),d(e.target.value)}})}})]}),h&&(0,l.jsxs)(v.VD,{className:"border-top",children:[(0,l.jsx)(f.Z,{className:"fw-semi h8",children:(null==h?void 0:h.section_title)||""}),(0,l.jsx)(p.Z,{className:"mb-16 font-sm",children:(null==h?void 0:h.section_description)||""}),J&&(null==h?void 0:h.allow_custom_amount)&&(0,l.jsx)(H.ZP,{type:"number",margin:0,textareaHeight:100,placeholder:"Enter Amount",prefix:"$",size:"md",className:"mx-auto",maxWidth:300,value:b||"",onChange:e=>{m(e.target.value)}}),!J&&es.length>0&&(0,l.jsx)(O.Z,{withSearchBar:!0,hiddenSearchBar:!0,placeholder:"Select suggested amount",menuPosition:"fixed",size:"md",maxWidth:300,menuPortalTarget:document.body,isClearable:!0,value:es.find(e=>e.value===b),options:es,margin:0,className:"mx-auto",appendButton:(null==h?void 0:h.allow_custom_amount)&&(0,l.jsx)(u.Z,{size:"sm",width:200,className:"ml-auto",onClick:()=>ee(!0),variant:"custom",background:"var(--website-primary-color)",children:"Enter Custom Amount"}),onChange:e=>{m((null==e?void 0:e.value)||0)}})]}),ec&&X.query.new_features&&(0,l.jsx)(v.VD,{className:"border-top",children:(0,l.jsxs)(U,{type:"warning",className:"d-flex align-items-start gap-8 font-sm mb-0","aria-live":"polite",children:[(0,l.jsx)($.Z,{icon:"error",className:"font-sm mr-8 flex-shrink-0"}),(0,l.jsxs)("div",{children:[(0,l.jsx)(f.Z,{className:"fw-semi mb-4 font-sm line-height-1",children:ec.title}),(0,l.jsx)(p.Z,{className:"mb-0 font-sm",children:ec.message})]})]})}),w&&(0,l.jsxs)(v.VD,{className:"border-top",children:[(0,l.jsx)(f.Z,{className:"fw-semi h8 mb-16",children:"Terms and condition"}),(0,l.jsxs)(Y.Pk,{children:[(0,l.jsx)(Y.qp,{children:(0,l.jsx)(L.Z,{children:(0,M.ZP)((null==w?void 0:w.description)||"")})}),(0,l.jsx)(Y.YT,{children:(0,l.jsx)("div",{children:(0,l.jsx)(R.Qr,{name:"terms_and_condition_is_agree",control:ei,rules:{required:"This field is required"},render:e=>{let{field:n,fieldState:{error:t}}=e;return(0,l.jsx)(H.ZP,{className:"w-100 checkbox-lg",margin:0,type:"checkbox",label:"Yes, I agree",error:null==t?void 0:t.message,...n,websiteColors:!0,primaryColor:!0})}})})})]})]})]})})})},eE=(0,a.default)(v.VD).withConfig({displayName:"ConfirmDetailSection___StyledContentHolder",componentId:"sc-d0c11865-0"})(eC()),ez=(0,a.default)(v.VD).withConfig({displayName:"ConfirmDetailSection___StyledContentHolder2",componentId:"sc-d0c11865-1"})(eT()),eB=(0,a.default)(x.Z).withConfig({displayName:"ConfirmDetailSection___StyledFlex",componentId:"sc-d0c11865-2"})(eI());function eP(){let e=(0,i.Z)(["\n  padding: 16px;\n  @media (min-width: 992px) {\n    padding: 30px;\n  }\n  .text-50-custom {\n    font-size: 50px;\n\n    line-height: 1.24;\n  }\n  .text-36-custom {\n    font-size: 36px;\n    line-height: 1.24;\n  }\n  .icon-styled-checked {\n    font-size: 120px;\n    color: var(--primary);\n  }\n"]);return eP=function(){return e},e}function eA(){let e=(0,i.Z)(["\n  max-width: 500px;\n  width: 100%;\n  text-align: center;\n  padding-top: 8px;\n"]);return eA=function(){return e},e}let eM=(0,a.default)(x.Z).withConfig({displayName:"CompleteProcessMessage.styles__StyleCompleteProcessMessage",componentId:"sc-87443658-0"})(eP());function eR(){let e=(0,i.Z)(["\n            border: 4px solid var(--primary);\n            font-size: 24px;\n          "]);return eR=function(){return e},e}a.default.div.withConfig({displayName:"CompleteProcessMessage.styles__StyledCompleteMessageBackToHome",componentId:"sc-87443658-1"})(eA());var eq=function(e){let{title:n,message:t}=e;return(0,l.jsx)(eM,{className:"flex-grow-1",align:"center",justify:"flex-start",direction:"column",children:(0,l.jsxs)("div",{className:"text-center",children:[n&&(0,l.jsx)(q.Z,{level:4,className:"fw-medium mb-xl",children:n}),(0,l.jsx)(eH,{size:75,className:"d-flex justify-content-center align-items-center mb-xl color-primary mx-auto",children:(0,l.jsx)("span",{className:"ab-icons",children:"check"})}),t&&(0,l.jsx)(g.Z,{className:"p-16 text-left bg-grey-4 radius-medium",height:561,children:(0,M.ZP)(t)})]})})},eH=(0,a.default)(v.Cd).withConfig({displayName:"CompleteProcessMessage___StyledCircle",componentId:"sc-3d2a8dce-0"})(eR()),eF=t(51101),eO=t(34199),eV=t(50549),eL=t(20406),eQ=t(8442),eW=t(37746),eU=t(15236),e$=t(34670),eY=t(45697),eG=t.n(eY),eK=t(56945);function eX(){let e=(0,i.Z)(["\n  max-height: ",";\n  overflow: hidden;\n  position: relative;\n  -webkit-mask-image: ",";\n"]);return eX=function(){return e},e}function eJ(){let e=(0,i.Z)(["\n  cursor: pointer;
1\n  color: var(--website-primary-color);\n  font-size: var(--font-sm);\n  padding-top: 4px;\n  padding-bottom: 4px;\n"]);return eJ=function(){return e},e}let e0=a.default.div.withConfig({displayName:"ReadMoreHTML.styles__HtmlContainer",componentId:"sc-7c48ee60-0"})(eX(),e=>{let{isExpanded:n,maxHeight:t}=e;return n?"none":"".concat(t,"px")},e=>{let{isExpanded:n}=e;return!n&&"linear-gradient(180deg, #000 20%, transparent);"}),e1=a.default.button.withConfig({displayName:"ReadMoreHTML.styles__ReadMoreBtn",componentId:"sc-7c48ee60-1"})(eJ());function e6(e){let{className:n,htmlContent:t,maxHeight:i=100,minCharsToShowButton:a=500,...r}=e,[s,d]=(0,o.useState)(!1),c=t.length>a,u=()=>{d(!s)};return(0,o.useEffect)(()=>{c||d(!0)},[c]),(0,l.jsxs)("div",{className:"".concat(n," position-relative"),...r,children:[(0,l.jsx)(e0,{isExpanded:s,maxHeight:i,children:(0,l.jsxs)(eK.r,{children:[" ",(0,M.ZP)(t)]})}),c&&(0,l.jsx)("div",{className:"d-flex justify-content-end",children:(0,l.jsx)(e1,{onClick:u,isExpanded:s,children:s?"Read Less":"Read More"})})]})}e6.propTypes={htmlContent:eG().string.isRequired,maxHeight:eG().number};var e2=t(96486),e3=t(1852),e5=t(44689);function e4(){let e=(0,i.Z)(["\n  position: relative;\n  min-width: ",";\n  max-width: ",";\n"]);return e4=function(){return e},e}function e8(){let e=(0,i.Z)(["\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n\n  input {\n    padding-right: 36px;\n  }\n\n  input:focus + .number-action {\n    button {\n      border-color: var(--primary) !important;\n    }\n  }\n\n  .number-action {\n    position: absolute;\n    top: 0;\n    right: 0;\n    display: flex;\n    flex-direction: column;\n    height: 100%;\n    button {\n      padding: 0 8px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      color: var(--text-color-50);\n      flex: 1;\n      flex-grow: 1;\n      height: 50%;\n      &:hover {\n        color: var(--primary);\n      }\n      &.increment-btn {\n        border-top-right-radius: var(--border-radius-medium);\n        border-left: 1px solid var(--border-color);\n        border-bottom: 1px solid var(--border-color);\n        &:hover {\n          @media (hover: hover) {\n            background-color: var(--primary-10);\n            color: var(--primary);\n          }\n        }\n      }\n      &.decrement-btn {\n        border-bottom-right-radius: var(--border-radius-medium);\n        border-left: 1px solid var(--border-color);\n        &:hover {\n          @media (hover: hover) {\n            background-color: var(--primary-10);\n            color: var(--primary);\n          }\n        }\n      }\n    }\n  }\n"]);return e8=function(){return e},e}let e9=a.default.div.withConfig({displayName:"TicketQuantityField.styles__Wrapper",componentId:"sc-f1463edf-0"})(e4(),e=>{let{$minWidth:n}=e;return n&&"".concat(n,"px")},e=>{let{$maxWidth:n}=e;return n&&"".concat(n,"px")}),e7=a.default.div.withConfig({displayName:"TicketQuantityField.styles__InputTypeNumber",componentId:"sc-f1463edf-1"})(e8()),ne=(0,o.forwardRef)((e,n)=>{let{value:t,onChange:i,min:a=1,max:o=1/0,step:r=1,error:s,size:d="xs",className:c,maxWidth:u,inputClassName:m,name:p,id:f,...v}=e,x=void 0===t||""===t||Number.isNaN(Number(t))?a:Number(t),h=Number(a),g=Number.isNaN(Number(o))?1/0:Number(o),_=e=>Math.max(h,Math.min(e,g)),b=e=>r<=1?e:r*Math.round(e/r),y=()=>{let e=_(b(x+r));i(e)},w=()=>{let e=_(b(x-r));i(e)},j=e=>{["e","E","+","-"].includes(e.key)&&e.preventDefault()},N=e=>{if("ArrowDown"===e.key){let n=parseFloat(e.target.value)||h;n<=h&&e.preventDefault()}},Z=e=>{e.preventDefault();let n=e.clipboardData.getData("text"),t=parseFloat(n);if(!Number.isNaN(t)&&t>=h){let e=b(t),n=_(e);i(n)}},k=e=>{var n,t;let l=null!==(t=null==e?void 0:null===(n=e.target)||void 0===n?void 0:n.value)&&void 0!==t?t:"";if(""===l){i(h);return}let a=parseInt(l,10);if(Number.isNaN(a))return;let o=b(a),r=_(o);i(r)};return(0,l.jsx)(e9,{className:c,$maxWidth:u,children:(0,l.jsxs)(e7,{className:"input-type-number-holder",children:[(0,l.jsx)(e5.ZP,{ref:n,type:"number",name:p,id:null!=f?f:p,value:t,min:h,max:g,step:r,size:d,inputClassName:m,hasIncDecBtn:!0,$invalid:s,onWheel:e=>e.target.blur(),onKeyPress:j,onKeyDown:N,onPaste:Z,onChange:k,...v}),(0,l.jsxs)("div",{className:"number-action",children:[(0,l.jsx)("button",{type:"button",className:"increment-btn",onClick:y,tabIndex:-1,"aria-label":"Increase quantity",children:"+"}),(0,l.jsx)("button",{type:"button",className:"decrement-btn",onClick:w,tabIndex:-1,"aria-label":"Decrease quantity",children:"-"})]})]})})});
1ne.displayName="TicketQuantityField",ne.propTypes={value:eG().oneOfType([eG().number,eG().string]),onChange:eG().func.isRequired,min:eG().number,max:eG().number,step:eG().number,error:eG().bool,size:eG().string,className:eG().string,maxWidth:eG().number,inputClassName:eG().string,name:eG().string,id:eG().string};var nn=t(69234);function nt(){let e=(0,i.Z)(["\n  .rdt_TableHeadRow {\n    background: var(--bg-white);\n  }\n  [data-column-id='price'].rdt_TableCol {\n    display: flex;\n    justify-content: center;\n  }\n  [data-column-id='sub_total'].rdt_TableCol {\n    display: flex;\n    justify-content: flex-end;\n  }\n  [data-column-id='sub_total'].rdt_TableCell {\n    display: flex;\n    justify-content: flex-end;\n  }\n  .ticket-vertical-card {\n    border: 1px solid var(--border-color);\n    background: #fff;\n    font-size: 13px;\n    position: relative;\n    &:nth-child(even) {\n      background: var(--grey-4);\n    }\n    &:first-child {\n      border-radius: 8px 8px 0 0;\n    }\n    &:last-child {\n      border-radius: 0 0 8px 8px;\n    }\n    strong {\n      font-weight: 500;\n      max-width: 75px;\n    }\n    .col-holder {\n      padding: 12px;\n      display: flex;\n      align-items: center;\n      flex-wrap: nowrap;\n      border-bottom: 1px solid var(--border-color);\n    }\n  }\n"]);return nt=function(){return e},e}function ni(){let e=(0,i.Z)(["\n  position: absolute;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  color: var(--danger);\n  text-align: center;\n  font-size: 10px;\n  &:first-letter {\n    text-transform: capitalize;\n  }\n"]);return ni=function(){return e},e}let nl=a.default.div.withConfig({displayName:"SelectTickets.styles__StyleEventRegisterTable",componentId:"sc-293e4659-0"})(nt()),na=a.default.span.withConfig({displayName:"SelectTickets.styles__QuantityErrorMessage",componentId:"sc-293e4659-1"})(ni());var no=t(34218);function nr(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==e||""===e)return n;let t=parseInt(e,10);return!Number.isFinite(t)||t<1?n:t}function ns(){let{config:e,availableTicketsCount:n,row:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,no.ae)(e||{}),l=nr(null==e?void 0:e.maximum_quantity,null),a=1/0;null!=l&&(a=l*i);let o=nr(null==e?void 0:e.limit_per_registration,null);null!=o&&(a=Math.min(a,o));let r=i>1?i:1,s=(null==t?void 0:t.showAvailableTickets)&&(null==t?void 0:t.availableTickets)!=null?t.availableTickets:1/0,d=Math.min(null!=n?n:1/0,a,s),c=e=>{let n=parseInt(e,10)||1;return i>1?Math.max(r,Math.min(i*Math.round(n/i),d)):Math.max(r,Math.min(n,d))};return{step:i,effectiveMin:r,effectiveMax:d,normalizeQuantity:c}}var nd=function(e){var n;let{row:t,getItemDetail:i,itemPricingLoading:a,handleUnselectTicket:o,availableTicketsCount:r,updateQuantity:s,allowTicketQuantitySelection:d=!1}=e,c=i(t),{control:u}=(0,R.Gc)(),m=!!(null==t?void 0:t.is_early_bird),v=Number(null==t?void 0:t.price)||0,h=(null==c?void 0:c.unit_price)!=null?Number(c.unit_price):(null==c?void 0:c.price_total)!=null?Number(c.price_total):Number(null!==(n=null==t?void 0:t.early_bird_price)&&void 0!==n?n:null==t?void 0:t.price)||0;return(0,l.jsxs)("div",{className:"ticket-vertical-card",children:[(0,l.jsxs)("div",{className:"col-holder",children:[(0,l.jsx)("strong",{className:"flex-1",children:"Name:"})," ",(0,l.jsxs)(x.Z,{nowrap:!0,align:"center",gap:8,className:"flex-1 overflow-hidden",children:[t.icon&&(0,l.jsx)(eL.Z,{size:24,iconSet:"iconpicker-icons",icon:t.icon,backgroundColor:t.color,square:!0,wrapClassName:"flex-shrink-0"}),(0,l.jsxs)(x.Z,{direction:"column",className:"flex-1 overflow-hidden",nowrap:!0,children:[(0,l.jsx)(f.Z,{sm:!0,mediumBold:!0,lineHeight:1.2,children:t.label}),t.detail&&(0,l.jsx)(p.Z,{className:"font-xs color-text-60 d-flex",lineHeight:1.3,children:(0,l.jsx)(eW.Z,{text:t.detail,width:300})})]}),(0,l.jsx)("button",{type:"button",className:"font-xxs color-danger remove-ticket-btn",onClick:()=>o(t.id),children:(0,l.jsx)("span",{className:"ab-icons",children:"close"})})]})]}),(0,l.jsxs)("div",{className:"col-holder",children:[(0,l.jsx)("strong",{className:"flex-1",children:"Quantity:"})," ",(0,l.jsx)("div",{className:"flex-1",children:d?(()=>{var e;let{step:n,effectiveMin:i,effectiveMax:a}=ns({config:null==t?void 0:t.config,availableTicketsCount:r,row:t}),o=null!==(e=null==c?void 0:c.quantity)&&void 0!==e?e:1,d=o<i?i:o||i;return(0,l.jsx)(R.Qr,{name:"quantity.".concat(t.id),defaultValue:i,control:u,rules:{required:"Required",validate:e=>0!==e||"Zero is not allowed"},render:e=>{let{field:o,fieldState:{error:r}}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ne,{...o,value:d,onChange:e=>{o.onChange(e),s(t.id,e)},min:i,max:a,step:n,error:r&&!0,size:"xs",className:"mb-0 responsive-number-input",maxWidth:120,inputClassName:"pointer-events-none font-base"}),r&&(0,l.jsx)(na,{children:null==r?void 0:r.message})]})}})})():(0,l.jsx)("span",{className:"info-text",children:(null==c?void 0:c.quantity)||1})})]}),(0,l.jsxs)("div",{className:"col-holder",children:[(0,l.jsx)("strong",{className:"flex-1",children:"Price:"})," ",(0,l.jsx)("div",{className:"flex-1 text-right",children:a?(0,l.jsx)(eV.Z,{width:60}):m?(0,l.jsxs)(l.Fragment,{children:[(null==c?void 0:c.discount_amount)>0&&(0,l.jsx)("span",{className:"info-text td-line-through mr-8 color-text-60",children:(0,_.oB)(null==c?void 0:c.discount_amount)}),v>0&&(0,l.jsx)("span",{className:"info-text td-line-through font-xs color-text-70 mr-8",children:(0,_.oB)(v)}),(0,l.jsx)("span",{className:"info-text fw-medium",children:h>0?(0,_.oB)(h):"Complimentary"})]}):(null==c?void 0:c.price_total)>0||v>0?(0,l.jsxs)(l.Fragment,{children:[(null==c?void 0:c.discount_amount)>0&&(0,l.jsx)("span",{className:"info-text td-line-through mr-8 color-text-60",children:(0,_.oB)(null==c?void 0:c.discount_amount)}),(0,l.jsx)("span",{className:"info-text",children:(0,_.oB)((null==c?void 0:c.price_total)||v||0)})]}):(0,l.jsx)("span",{className:"info-text",children:"Complimentary"})})]}),(0,l.jsxs)("div",{className:"col-holder no-border",children:[(0,l.jsx)("strong",{className:"flex-1",children:"Sub Total:"})," ",(0,l.jsx)("div",{className:"flex-1 text-right",children:a?(0,l.jsx)(eV.Z,{width:60}):(null==c?void 0:c.sub_total)>0?(0,l.jsx)("span",{className:"info-text",children:(0,_.oB)(null==c?void 0:c.sub_total)}):""})]})]})};function nc(){let e=(0,i.Z)(["\n                  line-height: 1.3 !important;\n                "]);return nc=function(){return e},e}function nu(){let e=(0,i.Z)(["\n                      line-height: 1.3 !important;\n                    "]);return nu=function(){return e},e}function nm(){let e=(0,i.Z)(["\n              position: sticky;\n              top: 0;\n              background: #fff;\n              z-index: 2;\n            "]);return nm=function(){return e},e}function np(){let e=(0,i.Z)(["\n                line-height: 1.2 !important;\n              "]);return np=function(){return e},e}function nf(){let e=(0,i.Z)(["\n                    line-height: 1.2 !important;\n                  "]);return nf=function(){return e},e}function nv(){let e=(0,i.Z)(["\n            gap: 8px;\n          "]);return nv=function(){return e},e}function nx(){let e=(0,i.Z)(["\n              gap: 8px;\n            "]);return nx=function(){return e},e}function nh(){let e=(0,i.Z)(["\n            margin-left: auto;\n            gap: 8px;\n          "]);return nh=function(){return e},e}let ng=(0,o.forwardRef)((e,n)=>{var t,i,a,r,s,d,c,m,p,h,g,b,y,w,j,N,Z,S,C,T,I,D,E,z,B,P,A,M,q,H,F,V,L,Q;let{setSelectedTickets:W,eventDetails:U,ticketSelectionData:$,setSectionSelection:Y,localData:G=[],selectedTickets:K=[],itemsPricingDetails:J,getOrderInquiry:ee,getItemDetail:en,itemPricingLoading:et,availableTicketsCount:ei,allowQuantitySelection:el,attendValue:ea,setAttendValue:eo}=e,er=(0,e3.useMediaQuery)({query:"(max-width: 991px)"}),es=(0,R.cI)({reValidateMode:"onSubmit",defaultValues:{}}),{handleSubmit:ed,watch:ec,getValues:eu,setValue:em,control:ep,clearErrors:ef,formState:{errors:ev}}=es,ex=e=>{let n=eu("tickets_select").filter(n=>n.id!==e);em("tickets_select",n)},eh=ec("tickets_select"),eg=e=>ns({config:null==e?void 0:e.config,availableTicketsCount:ei,row:e}).normalizeQuantity(e.quantity);(0,o.useEffect)(()=>
1{if(G&&G.length>0){let e=G.map(e=>{let n=eg(e);return{...e,quantity:n}});e.forEach(e=>{em("quantity.".concat(e.id),e.quantity)}),em("tickets_select",e)}},[G,ei]),(0,o.useEffect)(()=>{if(K&&K.length>0){let e=K.map(e=>{let n=eg(e);return{...e,quantity:n}});e.forEach(e=>{em("quantity.".concat(e.id),e.quantity)}),em("tickets_select",e)}},[K,ei]);let e_=e=>(0,l.jsxs)(v.xX,{className:"justify-space-between",children:[(0,l.jsxs)(nN,{className:"d-flex align-items-center",children:[e.icon&&(0,l.jsx)(eL.Z,{iconSet:"iconpicker-icons",icon:e.icon,backgroundColor:e.color,size:25,square:!0}),(0,l.jsxs)("div",{children:[(0,l.jsx)(nw,{sm:!0,mediumBold:!0,children:e.label}),e.detail&&(0,l.jsx)(n_,{className:"font-xs color-text-60 d-flex",children:(0,l.jsx)(eW.Z,{text:e.detail,width:300})})]})]}),(0,l.jsxs)(nk,{className:"d-flex align-items-center",children:[(null==e?void 0:e.showAvailableTickets)&&(0,l.jsx)(nn.Z,{dot:!1,name:"Available Tickets: ".concat(null==e?void 0:e.availableTickets),type:"secondary",size:"sm"}),(0,l.jsxs)(nZ,{className:"d-flex align-items-center",children:[(0,l.jsx)(f.Z,{sm:!0,mediumBold:!0,className:(null==e?void 0:e.is_early_bird)&&e.price>0?"color-text-70 fw-normal td-line-through":void 0,children:e.price>0?(0,_.oB)(e.price):"Complimentary"}),(null==e?void 0:e.is_early_bird)&&(0,l.jsx)(f.Z,{sm:!0,mediumBold:!0,children:Number(e.early_bird_price)>0?(0,_.oB)(Number(e.early_bird_price)):"Complimentary"})]})]})]}),eb=(e,n)=>{Array.isArray(eh)&&em("tickets_select",eh.map(t=>t.id===e?{...t,quantity:parseInt(n,10)}:t))};(0,o.useEffect)(()=>{ee(Array.isArray(eh)&&eh.length?eh:[])},[eh]);let ey=(0,o.useMemo)(()=>[{name:"Name",width:"350px",cell:e=>{var n;return(0,l.jsxs)(x.Z,{nowrap:!0,align:"center",gap:8,children:[e.icon&&(0,l.jsx)(eL.Z,{iconSet:"iconpicker-icons",icon:e.icon,backgroundColor:e.color,square:!0,size:25}),(0,l.jsxs)("div",{children:[(0,l.jsxs)(nj,{sm:!0,mediumBold:!0,children:[e.label,(null==e?void 0:null===(n=e.config)||void 0===n?void 0:n.allow_ticket_quantity_selection)&&(0,l.jsx)(k.Z,{content:function(){let{config:e,availableTicketsCount:n,row:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{step:i,effectiveMax:l}=ns({config:e,availableTicketsCount:n,row:t}),a=Number.isFinite(l);return i>1&&a?"Add tickets in groups of ".concat(i,", up to ").concat(l," in total."):i>1?"Add tickets in groups of ".concat(i," only (").concat(i,", ").concat(2*i,", ").concat(3*i,", …)."):a?"You can add up to ".concat(l," ticket").concat(1===l?"":"s","."):"Use + and − to choose how many tickets to add."}({config:null==e?void 0:e.config,availableTicketsCount:ei,row:e}),children:(0,l.jsx)("span",{className:"ab-icons website-primary-color font-sm ml-4 cursor-pointer",children:"question_set"})})]}),e.detail&&(0,l.jsx)(nb,{className:"font-xs color-text-60 d-flex",children:(0,l.jsx)(eW.Z,{text:e.detail,width:300})})]})]})}},{name:"Quantity",width:"150px",cell:e=>{var n,t;let i=en(e);if(null==e?void 0:null===(n=e.config)||void 0===n?void 0:n.allow_ticket_quantity_selection){let{step:n,effectiveMin:a,effectiveMax:o}=ns({config:null==e?void 0:e.config,availableTicketsCount:ei,row:e}),r=null!==(t=null==i?void 0:i.quantity)&&void 0!==t?t:1,s=r<a?a:r||a;return(0,l.jsx)(R.Qr,{name:"quantity.".concat(e.id),defaultValue:a,control:ep,rules:{required:"Required",validate:e=>0!==e||"Zero is not allowed"},render:t=>{let{field:i,fieldState:{error:r}}=t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ne,{...i,value:s,onChange:n=>{i.onChange(n),eb(e.id,n)},min:a,max:o,step:n,error:r&&!0,size:"xs",className:"mb-0",maxWidth:70,inputClassName:"pointer-events-none font-base"}),r&&(0,l.jsx)(na,{children:null==r?void 0:r.message})]})}})}return(null==i?void 0:i.quantity)||1}},{name:"Price",width:Array.isArray(eh)&&eh.some(e=>null==e?void 0:e.is_early_bird)?"180px":"135px",cell:e=>{var n;if(et)return(0,l.jsx)(eV.Z,{width:75});let t=en(e),i=!!(null==e?void 0:e.is_early_bird),a=Number(null==e?void 0:e.price)||0,o=(null==t?void 0:t.unit_price)!=null?Number(t.unit_price):(null==t?void 0:t.price_total)!=null?Number(t.price_total):Number(null!==(n=null==e?void 0:e.early_bird_price)&&void 0!==n?n:null==e?void 0:e.price)||0;return i?(0,l.jsxs)("div",{className:"d-flex flex-direction-column",children:[(null==t?void 0:t.discount_amount)>0&&(0,l.jsx)(f.Z,{className:"td-line-through mr-8 color-text-60",sm:!0,children:(0,_.oB)(null==t?void 0:t.discount_amount)}),a>0&&(0,l.jsx)(f.Z,{className:"font-xs color-text-70 fw-normal td-line-through line-height-1",children:(0,_.oB)(a)}),(0,l.jsx)(f.Z,{sm:!0,mediumBold:!0,children:o>0?(0,_.oB)(o):"Complimentary"})]}):(null==t?void 0:t.price_total)>0||a>0?(0,l.jsxs)("div",{className:"d-flex ",children:[(null==t?void 0:t.discount_amount)>0&&(0,l.jsx)(f.Z,{className:"td-line-through mr-8 color-text-60",sm:!0,children:(0,_.oB)(null==t?void 0:t.discount_amount)}),(0,l.jsx)(f.Z,{sm:!0,mediumBold:!0,children:(0,_.oB)((null==t?void 0:t.price_total)||a||0)})]}):"Complimentary"}},{name:"Sub Total",cell:e=>{if(et)return(0,l.jsx)(eV.Z,{width:75});let n=en(e);return(0,l.jsx)(f.Z,{sm:!0,mediumBold:!0,children:(null==n?void 0:n.sub_total)>0?(0,_.oB)(null==n?void 0:n.sub_total):""})}},{width:"46px",cell:e=>(0,l.jsx)("button",{type:"button",className:"font-xs color-danger",onClick:()=>ex(e.id),children:(0,l.jsx)("span",{className:"ab-icons",children:"close"})})}],[J,eh,et,ei]),ew=e=>{W(e.tickets_select),Y("confirm_details")};return(0,o.useImperativeHandle)(n,()=>({clearFormErrors:()=>{setTimeout(()=>{ef()},1500)}})),(0,l.jsxs)(v.VD,{className:"pt-0",children:[(null==U?void 0:U.in_person)&&(null==U?void 0:U.virtual)&&(0,l.jsxs)(ny,{justify:"center",className:"flex-grow-1 pt-24 pb-24",nowrap:!0,children:[(null==U?void 0:U.in_person)&&(0,l.jsx)(u.Z,{type:"button",width:120,className:"in-person-btn fw-medium no-shadow w-100 ".concat("in_person"===ea?"color-white":"color-text border"),variant:"custom",background:"in_person"===ea?"var(--website-primary-color)":"var(--bg-white)",size:"sm",prefix:(0,l.jsx)("span",{className:"ab-icons",children:"person"}),onClick:()=>{eo("in_person"),em("tickets_select",[])},children:"In-Person"}),(null==U?void 0:U.virtual)&&(0,l.jsx)(u.Z,{type:"button",width:120,size:"sm",variant:"custom",background:"virtual"===ea?"var(--website-primary-color)":"var(--bg-white)",className:"virtual-btn fw-medium no-shadow w-100 ".concat("virtual"===ea?"color-white":"color-text border"),prefix:(0,l.jsx)("span",{className:"ab-icons",children:"webinar"}),onClick:()=>{eo("virtual"),em("tickets_select",[])},children:"Virtual"})]}),(null==U?void 0:U.event_detail_description)&&(0,l.jsx)(e6,{maxHeight:69,className:"mb-20",htmlContent:U.event_detail_description}),"in_person"===ea&&(0,l.jsxs)(X.Z,{md:2,justify:"space-between",align:"center",className:"px-30 mb-24 address-holder ".concat((null==U?void 0:null===(t=U.in_person_config)||void 0===t?void 0:t.display_before_registration)?"":"mt-24"),gap:30,children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)(x.Z,{align:"flex-start",ga
1p:12,className:"mb-40",nowrap:!0,children:[(0,l.jsx)(eL.Z,{size:24,icon:"calendar",iconColor:"#747788",border:!0,avatarClassName:"font-xs"}),(0,l.jsxs)("div",{children:[(0,l.jsxs)(f.Z,{lineHeight:"24px",className:"mb-4 fw-medium font-base",children:[null==U?void 0:null===(i=U.start_date)||void 0===i?void 0:i.day,", ",null==U?void 0:null===(a=U.start_date)||void 0===a?void 0:a.month," ",null==U?void 0:null===(r=U.start_date)||void 0===r?void 0:r.date,","," ",null==U?void 0:null===(s=U.start_date)||void 0===s?void 0:s.year]}),(0,l.jsxs)(f.Z,{lineHeight:"24px",className:"font-base",children:[null==U?void 0:null===(d=U.start_date)||void 0===d?void 0:d.time," - ",null==U?void 0:null===(c=U.end_date)||void 0===c?void 0:c.time]})]})]}),(null==U?void 0:null===(m=U.in_person_config)||void 0===m?void 0:m.display_before_registration)&&((null==U?void 0:null===(p=U.in_person_config)||void 0===p?void 0:p.address_data.name)||(null==U?void 0:null===(h=U.in_person_config)||void 0===h?void 0:h.address_data.address))&&(0,l.jsxs)(x.Z,{align:"flex-start",gap:12,nowrap:!0,children:[(0,l.jsx)(eL.Z,{size:24,icon:"pin_outlined",iconColor:"#747788",border:!0,avatarClassName:"font-xs"}),(0,l.jsxs)("div",{children:[(null==U?void 0:null===(g=U.in_person_config)||void 0===g?void 0:g.address_data.name)&&(0,l.jsx)(f.Z,{lineHeight:"24px",className:"mb-4 fw-medium font-base",children:(0,_.Qs)(null==U?void 0:null===(b=U.in_person_config)||void 0===b?void 0:b.address_data.name)}),(null==U?void 0:null===(y=U.in_person_config)||void 0===y?void 0:y.address_data.address)&&(0,l.jsxs)(f.Z,{lineHeight:"24px",className:"font-base",children:[(0,_.Qs)(null==U?void 0:null===(w=U.in_person_config)||void 0===w?void 0:w.address_data.address),(0,l.jsx)("br",{}),(null==U?void 0:null===(j=U.in_person_config)||void 0===j?void 0:j.address_data.city)&&"".concat(null==U?void 0:null===(N=U.in_person_config)||void 0===N?void 0:N.address_data.city,",")," ",null==U?void 0:null===(Z=U.in_person_config)||void 0===Z?void 0:Z.address_data.state,(0,l.jsx)("br",{}),(null==U?void 0:null===(S=U.in_person_config)||void 0===S?void 0:S.address_data.postal_code)&&"".concat(null==U?void 0:null===(C=U.in_person_config)||void 0===C?void 0:C.address_data.postal_code,",")," ",null==U?void 0:null===(T=U.in_person_config)||void 0===T?void 0:T.address_data.country]})]})]})]}),(null==U?void 0:null===(I=U.in_person_config)||void 0===I?void 0:I.display_before_registration)&&(null==U?void 0:null===(D=U.in_person_config)||void 0===D?void 0:D.address_data.address)&&(null==U?void 0:null===(E=U.in_person_config)||void 0===E?void 0:E.address_data.city)&&(null==U?void 0:null===(z=U.in_person_config)||void 0===z?void 0:z.address_data.state)&&(null==U?void 0:null===(B=U.in_person_config)||void 0===B?void 0:B.address_data.postal_code)&&(null==U?void 0:null===(P=U.in_person_config)||void 0===P?void 0:P.address_data.country)&&(0,l.jsx)(e$.Z,{address:"".concat(null==U?void 0:null===(A=U.in_person_config)||void 0===A?void 0:A.address_data.address,", ").concat(null==U?void 0:null===(M=U.in_person_config)||void 0===M?void 0:M.address_data.city,", ").concat(null==U?void 0:null===(q=U.in_person_config)||void 0===q?void 0:q.address_data.state,", ").concat(null==U?void 0:null===(H=U.in_person_config)||void 0===H?void 0:H.address_data.postal_code,", ").concat(null==U?void 0:null===(F=U.in_person_config)||void 0===F?void 0:F.address_data.country),height:204})]}),(0,l.jsx)(R.RV,{...es,children:(0,l.jsxs)("form",{id:"event-select-tickets-form",onSubmit:ed(e=>{ew(e)}),noValidate:!0,children:[(0,l.jsx)(R.Qr,{name:"tickets_select",control:ep,rules:{required:"Select Ticket"},render:e=>{var n;let{field:t}=e;return(0,l.jsx)(O.Z,{isMulti:$.length>1&&el,closeMenuOnSelect:!($.length>1&&el),label:"Select Ticket",creatable:!1,isSearchable:!1,withSearchBar:!1,placeholder:"Select Ticket",size:"md",margin:0,hideSelectedOptions:!1,formatOptionLabel:e_,menuPortalTarget:document.body,error:null===(n=ev.tickets_select)||void 0===n?void 0:n.message,menuPosition:"fixed",menuPlacement:"top",options:$.map(e=>({...e,value:e.id})),...t,onChange:e=>{let{value:n}=e.target,i=(0,e2.isArray)(n)?n:[n];
1i.forEach(e=>{var n,t;if(null==e?void 0:null===(n=e.config)||void 0===n?void 0:n.allow_ticket_quantity_selection){let{effectiveMin:n}=ns({config:null==e?void 0:e.config,availableTicketsCount:ei,row:e}),i=en(e),l=null!==(t=null==i?void 0:i.quantity)&&void 0!==t?t:1;Object.assign(e,{quantity:l<n?n:l||n})}}),t.onChange(i)}})}}),eh&&Array.isArray(eh)&&eh.length>0&&(0,l.jsxs)(nl,{children:[!er&&(0,l.jsx)(eU.Z,{columns:ey,data:eh,fixedHeader:!0,fixedHeaderScrollHeight:"739px",subHeader:!1}),er&&(0,l.jsx)("div",{className:"pt-sm pb-sm",children:eh.map(e=>{var n;return(0,l.jsx)(nd,{row:e,getItemDetail:en,itemPricingLoading:et,handleUnselectTicket:ex,availableTicketsCount:ei,updateQuantity:eb,allowTicketQuantitySelection:null==e?void 0:null===(n=e.config)||void 0===n?void 0:n.allow_ticket_quantity_selection},e.id)})}),(0,l.jsx)(v.Ll,{children:(0,l.jsxs)(v.tH,{className:"mr-10",children:[(0,l.jsxs)("div",{className:"border-bottom pb-sm mb-sm",children:[(0,l.jsx)(eQ.Z,{title:"Subtotal",value:et?(0,l.jsx)(eV.Z,{width:75}):(0,_.oB)(null==J?void 0:null===(V=J.summary)||void 0===V?void 0:V.sub_total),horizontal:!0,className:"justify-space-between mb-sm",classNameValue:"text-xxs"}),(0,l.jsx)(eQ.Z,{title:"Tax",value:et?(0,l.jsx)(eV.Z,{width:75}):(0,_.oB)(null==J?void 0:null===(L=J.summary)||void 0===L?void 0:L.tax_total),horizontal:!0,className:"justify-space-between",classNameValue:"text-xxs"})]}),(0,l.jsx)(eQ.Z,{title:"Total",value:et?(0,l.jsx)(eV.Z,{width:75}):(0,_.oB)(null==J?void 0:null===(Q=J.summary)||void 0===Q?void 0:Q.total),horizontal:!0,valueColor:"var(--website-primary-color)",className:"justify-space-between fw-semi",classNameValue:"text-xxs"})]})})]})]})})]})});var n_=(0,a.default)(p.Z).withConfig({displayName:"SelectTickets___StyledParagraph",componentId:"sc-6613e65c-0"})(nc()),nb=(0,a.default)(p.Z).withConfig({displayName:"SelectTickets___StyledParagraph2",componentId:"sc-6613e65c-1"})(nu()),ny=(0,a.default)(v.Tk).withConfig({displayName:"SelectTickets___StyledStyledEventToggle",componentId:"sc-6613e65c-2"})(nm()),nw=(0,a.default)(f.Z).withConfig({displayName:"SelectTickets___StyledText",componentId:"sc-6613e65c-3"})(np()),nj=(0,a.default)(f.Z).withConfig({displayName:"SelectTickets___StyledText2",componentId:"sc-6613e65c-4"})(nf()),nN=(0,a.default)("div").withConfig({displayName:"SelectTickets___StyledDiv",componentId:"sc-6613e65c-5"})(nv()),nZ=(0,a.default)("div").withConfig({displayName:"SelectTickets___StyledDiv2",componentId:"sc-6613e65c-6"})(nx()),nk=(0,a.default)("div").withConfig({displayName:"SelectTickets___StyledDiv3",componentId:"sc-6613e65c-7"})(nh());function nS(){let e=(0,i.Z)(["\n                border-radius: 0;\n                inset: 0;\n              "]);return nS=function(){return e},e}function nC(){let e=(0,i.Z)(["\n        @media (max-width: 991px) {\n          padding-top: 16px !important;\n          padding-bottom: 16px !important;\n        }\n      "]);return nC=function(){return e},e}function nT(){let e=(0,i.Z)(["\n                @media (max-width: 991px) {\n                  max-height: none !important;\n                }\n              "]);return nT=function(){return e},e}let nI=(0,o.memo)(e=>{let{eventDetails:n,onClose:t}=e,{event_detail_photos:i,name:a,start_date:o,end_date:r,all_event_timings:s}=n||{};return(0,l.jsxs)(nz,{className:"py-24 px-30 border-bottom title-header",justify:"space-between",gap:16,align:"flex-start",nowrap:!0,children:[(0,l.jsxs)(x.Z,{gap:16,align:"center",nowrap:!0,children:[i&&(0,l.jsx)(v.Ko,{width:50,height:50,className:"flex-shrink-0",children:(0,l.jsx)(d.Z,{src:i||m.Z,alt:a,fill:!0,placeholder:"blur",blurDataURL:N.q,quality:80,className:"w-100 h-100 object-fit-contain"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)(f.Z,{className:"text-capitalize font-xl fw-semi",children:a}),(0,l.jsxs)(p.Z,{className:" color-text-80 font-sm",children:[null==o?void 0:o.day,", ",null==o?void 0:o.month," ",null==o?void 0:o.date,", ",null==o?void 0:o.year," - ",null==o?void 0:o.time," -"," ",null==r?void 0:r.time,(null==s?void 0:s.length)>1&&(0,l.jsx)(k.Z,{theme:"light",content:(0,l.jsx)(x.Z,{direction:"column",children:null==s?void 0:s.map((e,n)=>(0,l.jsxs)(f.Z,{className:"font-s-13",children:[e.start_date," - ",e.end_date]},n))}),children:(0,l.jsx)("span",{className:"font-s-13 mt-4 color-primary-website ml-12 cursor-pointer",children:"Multi-Day Event"})})]})]})]}),(0,l.jsx)(v.PZ,{type:"button",className:"font-sm",onClick:t,children:(0,l.jsx)("span",{className:"ab-icons",children:"close"})})]})});var nD=function(e){let{eventAgendaData:n=[],eventDetails:t,localData:i=[],isModalOpen:a,setIsModalOpen:d,module:m="events",isRegisterModalOpen:p,setIsRegisterModalOpen:f,sectionSelection:v,setSectionSelection:g,attendValue:N,setAttendValue:Z}=e,k=(0,c.v9)(e=>e.websiteDetails.data.accountData),C=(0,c.v9)(e=>e.websiteDetails.data.boardInfo),T=(0,r.useRouter)(),{title:I,slug:D}=T.query,[E,z]=(0,o.useState)([]),[B,P]=(0,o.useState)([]),[M,R]=(0,o.useState)([]),[q,H]=(0,o.useState)(!1),[F,O]=(0,o.useState)(!1),[V,L]=(0,o.useState)(!1),[Q,W]=(0,o.useState)(!1),[U,$]=(0,o.useState)([]),[Y,G]=(0,o.useState)(null),[K,X]=(0,o.useState)(null),[J,ee]=(0,o.useState)({}),[en,et]=(0,o.useState)(null),[ei,el]=(0,o.useState)(!0),[ea,eo]=(0,o.useState)(0),[er,es]=(0,o.useState)(null),[ed,ec]=(0,o.useState)({}),[eu,em]=(0,o.useState)(null),[ep,ef]=(0,o.useState)(!1),[ev,ex]=(0,o.useState)(null),[eh,eg]=(0,o.useState)(null),[e_,eb]=(0,o.useState)([]),[ey,ew]=(0,o.useState)(!0),[ej,eN]=(0,o.useState)([]),[eZ,ek]=(0,o.useState)(null),[eS,eC]=(0,o.useState)(null),[eT,eI]=(0,o.useState)(null),eE=null==t?void 0:t["".concat(N,"_config")],ez=e=>{if(!e)return null;if((null==J?void 0:J.items)&&(null==J?void 0:J.items.length)){var n,t,i;let l=null==e?void 0:null===(n=e.sg_item)||void 0===n?void 0:n.id;if(!l)return null;let a=J.items.find(n=>n.custom_key===e.id);!a&&l&&(a=J.items.find(e=>{var n,t;if(!(null==e?void 0:null===(n=e.order_details)||void 0===n?void 0:n.items))return!1;let i=Object.keys((null===(t=e.order_details)||void 0===t?void 0:t.items)||{});return i.includes(l)}));let o=(null==a?void 0:null===(t=a.order_details)||void 0===t?void 0:null===(i=t.items)||void 0===i?void 0:i[l])||null;return o}return null},eB=async function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.length){let i=e.map(e=>{var n,t,i,l,a,o,r,s;return{id:(null==e?void 0:null===(n=e.ticket_id)||void 0===n?void 0:null===(t=n.sg_item)||void 0===t?void 0:t.id)||(null==e?void 0:null===(i=e.sg_item)||void 0===i?void 0:i.id),item_type:"one_time",quantity:(null==e?void 0:null===(l=e.ticket_id)||void 0===l?void 0:l.quantity)||e.quantity,tier_id:(null==e?void 0:null===(a=e.ticket_id)||void 0===a?void 0:null===(o=a.sg_item)||void 0===o?void 0:o.tier_id)||(null==e?void 0:null===(r=e.sg_item)||void 0===r?void 0:r.tier_id),custom_key:(null==e?void 0:null===(s=e.ticket_id)||void 0===s?void 0:s.id)||e.id}});if(n&&ea>0){var t;i.push({id:null==er?void 0:null===(t=er.sg_item_payload)||void 0===t?void 0:t.id,item_type:"one_time",custom_price:ea})}el(!0);try{let e=await (0,w.AU)({action:"inquireBatchOrder",payload:{items:i}}
1,{isCustomAuth:!0,sg_token:null==k?void 0:k.sg_token});n?ec(e):ee(e)}catch(e){(0,j.Z)({type:"error",message:e})}finally{el(!1)}}else ee({}),ec({})};(0,o.useEffect)(()=>{if(t){if(eI(null==t?void 0:t.modules_settings),R((0,S.t_)(t,N)),"in_person"===N){let{in_person_config:e}=t||{};(null==e?void 0:e.allow_donation)&&(null==e?void 0:e.donation_config)?es(e.donation_config):es(null)}else{let{virtual_config:e}=t||{};(null==e?void 0:e.allow_donation)&&(null==e?void 0:e.donation_config)?es(e.donation_config):es(null)}ek(eE||null),em((null==eE?void 0:eE.terms)||null),ef((null==eE?void 0:eE.allow_quantity_selection)||!1),ex((null==eE?void 0:eE.allow_registration_note)?null==eE?void 0:eE.registration_note_data:null),eg({allow_attendee_details:(null==eE?void 0:eE.allow_attendee_details)||!1,additional_info_config:(null==t?void 0:t["".concat(N,"_attendee_additional_info")])||[]});let e=[];for(let n in null==t?void 0:t["".concat(N,"_attendee_additional_fields")])if(Object.prototype.hasOwnProperty.call(null==t?void 0:t["".concat(N,"_attendee_additional_fields")],n)){let i=null==t?void 0:t["".concat(N,"_attendee_additional_fields")][n];(!(null==i?void 0:i.restrict_visibility)||(null==i?void 0:i.restrict_visibility)&&(null==i?void 0:i.restrict_visibility_type)==="public")&&e.push(i)}if(eN(e),(null==eE?void 0:eE.limit_total_registration)&&(null==t?void 0:t["".concat(N,"_attendees_count")])&&(null==eE?void 0:eE.registration_limit)){let e=Number(null==eE?void 0:eE.registration_limit)-((null==t?void 0:t["".concat(N,"_attendees_count")])||0);eC(e)}else eC(null)}},[t,N,p]);let eP=()=>{(0,h.xg)().then(e=>{$(e)})};(0,o.useEffect)(()=>{i&&i.length>0&&z(i)},[i]),(0,o.useEffect)(()=>{if("as_guest"===v&&E.length>0){let e=[...E];B&&B.length>0&&e.push(...B),eB(e,!0)}},[v]);let eA=()=>{if(E.length>0){let e=[...E];B&&B.length>0&&e.push(...B),eB(e,!0)}},eM=()=>{ee({}),ec({}),z([]),P([]),X(null),eo(0),et(null),em(null),ef(!1),es(null),ex(null),eb([]),ew(!0),eN([]),ek(null),g("default"),eC(null)},eR=(0,o.useRef)(),eH=(0,o.useRef)(),eV=()=>{eR.current.clearFormErrors()},eL=()=>{eH.current.clearFormErrors()},eQ=async e=>{if((null==t?void 0:t.allow_duplicate_registrations)||!e)return!0;try{let n={event_id:t.id,email:e};return await (0,b.n3)(n),!0}catch(e){return"Already registered"}},eW=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e.config,quantity:e.quantity,sg_item:e.sg_item,ticket_name:e.label||null,icon:e.icon||null,color:e.color||null,eventId:(null==e?void 0:e.eventId)||null,eventType:(null==e?void 0:e.eventType)||null,ticket_type:(null==e?void 0:e.ticket_type)||null,attendee_index:(null==e?void 0:e.attendee_index)||0,..."sub-event"===n&&{notes:null==e?void 0:e.notes,terms:null==e?void 0:e.terms,additional_fields:null==e?void 0:e.additional_fields}}},eU=async e=>{var n,i,l,a;let o=[];E.filter(e=>(null==e?void 0:e.ticket_type)!=="sub_event").forEach(e=>{o.push(eW(e))});let r=[],d={module:m,registration_as:"guest",event_id:t.id,event_type:N,notes:K,tickets:[],first_name:null==e?void 0:e.first_name,last_name:null==e?void 0:e.last_name,email_address:null==e?void 0:e.email_address,phone:null==e?void 0:e.phone,terms:F,is_attending:ey,invoice_amount:null==ed?void 0:null===(n=ed.summary)||void 0===n?void 0:n.total};if(e_.length){let e=[];for(let n in e_)if(Object.prototype.hasOwnProperty.call(e_,n)){let t=e_[n];(null==t?void 0:null===(i=t.tickets)||void 0===i?void 0:i.id)&&r.push(t.tickets.id);let{agenda_details:l=[]}=t;e[n]={...t,agenda_details:l.flatMap(e=>e).filter(Boolean).filter(e=>e.ticket_id).map(e=>{var n;return eW({...e.ticket_id,eventType:(null===(n=e.agenda_type)||void 0===n?void 0:n.value)||null,notes:e.notes||null,terms:e.terms||!0,additional_fields:e.additional_fields||{}},"sub-event")})}}d.attendees=e}(null==e?void 0:e.card_number)&&(d.payment_details={credit_card:{cardholder_name:e.cardholder_name,card_number:e.card_number.replace(/\s/g,""),expiration_month:(0,s.default)(e.expiration_date,"MM"),expiration_year:(0,s.default)(e.expiration_date,"yyyy"),cvv:e.cvv}},(null==k?void 0:null===(l=k.config)||void 0===l?void 0:l.sg_payment_gateway)==="nar_ecommerce"&&(d.payment_details.credit_card.address_line_1=null==e?void 0:e.address_line_1,d.payment_details.credit_card.country=null==e?void 0:e.country.value,d.payment_details.credit_card.state_province=null==e?void 0:null===(a=e.state_province)||void 0===a?void 0:a.isoCode,d.payment_details.credit_card.city=null==e?void 0:e.city,d.payment_details.credit_card.zip_code=null==e?void 0:e.zip_code)),en&&(d.registration_no=en.registration_no,d.invoice_id=en.invoice_id,d.amount=en.amount),ea>0&&(d.donation_amount=ea);let c=o.sort((e,n)=>{let t=r.indexOf(e.priceId),i=r.indexOf(n.priceId);return -1!==t&&-1!==i?t-i:-1!==t?-1:-1!==i?1:0});d.tickets=c;let u=en?b.Hl:b.ek;W(!0),await u(d).then(()=>{g("complete_process"),W(!1),et(null),T.replace(T.asPath,void 0,{scroll:!1})},e=>{W(!1);let n=(0,_.Vx)(e),t="An error occurred.";if("object"===n&&(null==e?void 0:e.message)){var i;t=e.message,(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.cc_charge_status)==="failed"&&et(e.data)}else"string"===n&&(t=e);(0,j.Z)({type:"error",message:t})})},e$="as_guest"===v||"confirm_details"===v||q?(0,l.jsx)(u.Z,{variant:"light",size:"md",className:"fw-semi",width:94,prefix:(0,l.jsx)("span",{className:"ab-icons",children:"arrow_left"}),onClick:()=>{q?H(!1):"confirm_details"===v?g("default"):"as_guest"===v?(g("confirm_details"),eA()):g("default")},children:"Back"}):"complete_process"!==v,eY="complete_process"!==v&&"as_guest"!==v&&(0,l.jsx)(l.Fragment,{children:"complete_process"!==v&&!q&&(0,l.jsxs)(x.Z,{gap:14,align:"center",nowrap:!0,className:"flex-grow-1",
1justify:"flex-end",children:["confirm_details"===v&&!F&&V&&(0,l.jsx)(nE,{className:"position-relative",children:"Please agree to terms and conditions."}),(0,l.jsx)(u.Z,{variant:"custom",background:"var(--website-primary-color)",size:"md",loading:Q,className:"m-0",width:103,onClick:()=>("default"===v?eV():"confirm_details"===v||"as_guest"===v&&eL(),!1),type:["as_guest","default","confirm_details"].includes(v)?"submit":"button",form:"as_guest"===v?"event-register-as-guest":"default"===v?"event-select-tickets-form":"confirm_details"===v?"event-attendees-form":void 0,children:"Next"})]})}),eG="complete_process"===v||"as_guest"===v,eK="w-100 flex-grow-1 d-flex",eX="d-flex w-100 flex-direction-column";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eO.Z,{width:912,height:500,align:"top",footerBtn:!1,modalContentClassName:eK,isOpen:a,setIsOpen:d,topIndent:65,children:e=>{var n;let{onClose:i}=e;return(0,l.jsxs)(A,{className:eX,children:[(0,l.jsx)(nI,{eventDetails:t,onClose:i}),(0,l.jsxs)("div",{className:"px-30 pt-50 pb-50",children:[(0,l.jsxs)(u.Z,{as:"a",variant:"custom",background:"var(--website-primary-color)",href:"events"===m?"https://agentbook.com/portal/".concat(null==k?void 0:k.account_hash,"/events/").concat(I,"?register_now=true&association=").concat(null==k?void 0:k.account_hash):"https://agentbook.com/portal/".concat(null==k?void 0:k.account_hash,"/education/course/").concat(I||D,"?register_now=true&association=").concat(null==k?void 0:k.account_hash),target:"_blank",size:"xl",width:400,className:"mx-auto font-xl mb-20",children:["Register as ",null==C?void 0:null===(n=C.board)||void 0===n?void 0:n.acronym," Member"]}),"public"===t.permissions&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"d-block text-center mb-20 font-lg",children:"OR"}),(0,l.jsx)("div",{className:"text-center",children:(0,l.jsx)(y.Z,{className:"font-lg fw-medium",color:"var(--website-primary-color)",onClick:()=>{f(!0),g("default"),i()},children:"Register as Guest"})})]})]})]})}}),(0,l.jsx)(eO.Z,{animated:!0,width:912,height:866,isOpen:p,setIsOpen:f,modalContentClassName:eK,onClose:eM,cancelBtn:e$,footerBtn:eY,children:e=>{var a,o,r,s;let{onClose:d}=e;return(0,l.jsxs)(A,{className:eX,children:[(0,l.jsx)(nI,{eventDetails:t,onClose:d}),(0,l.jsxs)(nB,{height:eG?null:696,className:"d-flex flex-grow-1 flex-direction-column position-relative",children:["default"===v&&(0,l.jsx)(ng,{eventDetails:t,ticketSelectionData:M,setTicketSelectionData:R,setSectionSelection:g,ref:eR,setSelectedTickets:z,localData:i,selectedTickets:E,itemsPricingDetails:J,getOrderInquiry:eB,getItemDetail:ez,itemPricingLoading:ei,availableTicketsCount:eS,allowQuantitySelection:ep,attendValue:N,setAttendValue:Z}),"as_guest"===v&&(0,l.jsx)(eF.Z,{showFooter:!0,formId:"event-register-as-guest",setSectionSelection:g,scrollable:!1,eventPayment:!0,fetchCreditCards:eP,setAddNewCard:H,ref:eH,setLoginData:G,cardTitle:"Enter Payment Details",selectedTickets:E,billingAddress:(null==k?void 0:null===(a=k.config)||void 0===a?void 0:a.sg_payment_gateway)==="nar_ecommerce",registerEvent:eU,totalSummaryDetails:ed,getItemDetail:ez,getOrderInquiry:eB,donationAmount:ea,itemPricingLoading:ei,donationConfig:er,checkAlreadyRegistered:eQ,isAttending:ey,cardDetails:!!((null==k?void 0:null===(o=k.config)||void 0===o?void 0:o.sg_payment_gateway)&&(null==ed?void 0:null===(r=ed.summary)||void 0===r?void 0:r.total)>0),sg_payment_gateway:null==k?void 0:null===(s=k.config)||void 0===s?void 0:s.sg_payment_gateway,agendaTickets:B,attendeeDetails:eh,attendeeDetailsData:e_,eventSettings:null==t?void 0:t.settings}),"confirm_details"===v&&(0,l.jsx)(eD,{agendaTickets:B,setAgendaTickets:P,eventAgendaData:n,modulesSettings:eT,setRegistrationNotes:X,selectedTickets:E,setIsAgree:O,setIsTermsError:L,setSectionSelection:g,getItemDetail:ez,setDonationAmount:eo,donationConfig:er,donationAmount:ea,registrationNotes:K,terms:eu,registrationNotesSettings:ev,attendeeDetails:eh,attendeeDetailsData:e_,setAttendeeDetailsData:eb,isAttending:ey,setIsAttending:ew,additionalFields:ej,eventTypeConfig:eZ,checkAlreadyRegistered:eQ,getOrderInquiry:eB,type:N,setSelectedTickets:z,itemPricingLoading:ei,eventSettings:null==t?void 0:t.settings}),"complete_process"===v&&(0,l.jsx)(eq,{title:"Your registration is complete.",message:(null==t?void 0:t["confirmation_".concat(N,"_detail_description")])||""})]})]})}})]})},nE=(0,a.default)(Z.Z).withConfig({displayName:"EventRegisterModal___StyledError",componentId:"sc-51111609-0"})(nS()),nz=(0,a.default)(x.Z).withConfig({displayName:"EventRegisterModal___StyledFlex",componentId:"sc-51111609-1"})(nC()),nB=(0,a.default)(g.Z).withConfig({displayName:"EventRegisterModal___StyledScrollableArea",componentId:"sc-51111609-2"})(nT()),nP=t(87546),nA=t(38506),nM=t(11903),nR=t(53621),nq=t(70371),nH=t(41664),nF=t.n(nH);function nO(){let e=(0,i.Z)(["\n  padding: 30px 0 0;\n  @media (min-width: 992px) {\n    padding: 30px;\n    position: relative;\n    z-index: 1;\n    margin-top: -30px;\n    max-width: fit-content;\n    &:before {\n      content: '';\n      background-color: var(--bg-white);\n      position: absolute;\n      inset: 0;\n      border-top-left-radius: var(--border-radius-medium);\n      border-top-right-radius: var(--border-radius-medium);\n      border: 1px solid var(--border-color);\n      border-bottom: none;\n      z-index: 1;\n      max-height: 30px;\n    }\n  }\n"]);return nO=function(){return e},e}let nV=(0,a.default)(x.Z).withConfig({displayName:"TabBtnsBar.styles__StyledTabBtnsBar",componentId:"sc-bde58058-0"})(nO());function nL(){let e=(0,i.Z)(["\n        max-width: fit-content;\n      "]);return nL=function(){return e},e}function nQ(e){let{tab:n,active:t,onClick:i,...a}=e;return(0,l.jsx)(nU,{variant:"custom",background:t?"var(--website-primary-color)":"var(--grey-10)",prefix:(0,l.jsx)("span",{className:"iconpicker-icons",children:n.icon}),color:t?"var(--text-white)":"var(--text-color-100)",className:"px-18 font-s-15 fw-semi line-height-1",onClick:()=>i(n.id),...a,children:n.name})}var nW=function(e){var n;let{activeTabId:t,onTabChange:i,modulesVisible:a,activeModules:r}=e,[s,d]=(0,o.useState)([]),[c,u]=(0,o.useState)(t||(null===(n=V.fk[0])||void 0===n?void 0:n.id)),m=e=>{u(e),i&&i(e)};return(0,o.useEffect)(()=>{let e=[V.fk[0]];for(let n of r){let t="custom"===n.type?{id:"custom_".concat(n.id),name:n.name,icon:n.icon,type:"custom"}:V.fk.find(e=>e.id===n.type);t&&e.push(t)}let n=e.sort((e,n)=>"details"===e.id?-1:"details"===n.id?1:"agenda"===e.id?-1:"agenda"===n.id?1:"speakers"===e.id?-1:"speakers"===n.id?1:"sponsors"===e.id?-1:"sponsors"===n.id?1:0);d(n)},[r,a,V.fk]),(0,l.jsx)(nV,{gap:{xs:10,lg:20},children:s.map(e=>(0,l.jsx)(nQ,{tab:e,active:c===e.id,onClick:m},e.id))})},nU=(0,a.default)(u.Z).withConfig({displayName:"TabBtnsBar___StyledButton",componentId:"sc-8fccbca5-0"})(nL()),n$=t(15280),nY=t(41320);function nG(){let e=(0,i.Z)(["\n                              object-position: left top;\n                            "]);return nG=function(){return e},e}function nK(){let e=(0,i.Z)(["\n                        line-height: 1 !important;\n                      "]);return nK=function(){return e},e}function nX(){let e=(0,i.Z)([void 0,void 0]);return nX=function(){return e},e}function nJ(){let e=(0,i.Z)(["\n                            width: 100%;\n                            height: ",";\n                          "]);return nJ=function(){return e},e}function n0(){let e=(0,i.Z)([void 0,void 0]);return n0=function(){return e},e}var n1=function(e){let{isLoading:n,eventDetails:t,photoWidth:i}=e,[a,r]=(0,o.useState)(!1),{event_detail_description:s,event_detail_photo_section:d}=t||{},{photo:c,position:u,title:p,subtext_1:x,subtext_2:h,text_alignment:g}=d||{};
1return(0,l.jsx)(X.Z,{align:"flex-start",gap:24,columnTemplate:{xs:"1fr",lg:n?"20fr 80fr":c?"left"===u?"".concat(i,"fr ").concat(100-i,"fr"):"".concat(100-i,"fr ").concat(i,"fr"):"1fr"},children:n?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eV.Z,{height:262}),(0,l.jsx)(eV.Z,{count:4})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n3,{className:" flex-grow-1",$_css:"left"===u&&"order: 1;",children:s&&(0,M.ZP)(s)}),c&&(0,l.jsx)(n4,{$_css3:"left"===u&&"\n                    order: -1;\n                  ",children:(0,l.jsxs)(v.Oe,{children:[(0,l.jsxs)("div",{children:[p&&(0,l.jsx)(n2,{className:"font-xl mb-8 text-center fw-semi ",children:p}),c&&(0,l.jsx)(n$.Z,{modalContentClassName:"w-100",className:"image-modal",imgPreview:c||m.Z,width:1110,showCloseBtn:!0,btnComponent:e=>{let{onClick:n}=e;return(0,l.jsx)(n5,{onClick:n,className:"position-relative radius-small overflow-hidden cursor-pointer",$_css2:a?"":"130px",children:(0,l.jsx)(n6,{src:c||m.Z,width:1e3,height:1e3,className:"w-100 w-max-100 h-auto object-fit-cover",placeholder:"blur",blurDataURL:N.q,onLoad:()=>{r(!0)}})})}})]}),(x||h)&&(0,l.jsxs)("div",{children:[x&&(0,l.jsx)(f.Z,{className:"font-lg mb-4  fw-medium text-center",children:x}),h&&(0,l.jsx)(nY.Z,{className:"text_".concat(g),text:h})]})]})})]})})},n6=(0,a.default)(d.Z).withConfig({displayName:"DetailTab___StyledImage",componentId:"sc-1ae6662f-0"})(nG()),n2=(0,a.default)(f.Z).withConfig({displayName:"DetailTab___StyledText",componentId:"sc-1ae6662f-1"})(nK()),n3=(0,a.default)(L.Z).withConfig({displayName:"DetailTab___StyledTinyEditorHtml",componentId:"sc-1ae6662f-2"})(nX(),e=>e.$_css),n5=(0,a.default)("div").withConfig({displayName:"DetailTab___StyledDiv",componentId:"sc-1ae6662f-3"})(nJ(),e=>e.$_css2),n4=(0,a.default)("div").withConfig({displayName:"DetailTab___StyledDiv2",componentId:"sc-1ae6662f-4"})(n0(),e=>e.$_css3),n8=t(79238),n9=t(39537),n7=t(96570),te=t(39360),tn=function(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(x.Z,{gap:12,justify:"space-between",align:"center",className:"mb-30",children:[(0,l.jsx)(q.Z,{level:4,className:"mb-0 fw-semi",children:"Sponsors"}),(0,l.jsx)(u.Z,{as:nF(),href:"/sponsorship-opportunities/2023-charity-golf-tournament",variant:"custom",background:"var(--website-primary-color)",width:186,size:"md",children:"Become a sponsor"})]}),(0,l.jsx)(nn.Z,{name:"Platinum Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#6248FF",dotSize:16,gap:13}),(0,l.jsx)(X.Z,{lg:2,gap:30,className:"mb-60",children:n7.tx.map(e=>(0,l.jsx)(te.Z,{data:e}))}),(0,l.jsx)(nn.Z,{name:"Gold Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#FF9F1A",dotSize:16,gap:13}),(0,l.jsx)(X.Z,{md:2,lg:3,gap:30,className:"mb-60",children:n7.U4.map(e=>(0,l.jsx)(te.Z,{data:e,size:"medium"}))}),(0,l.jsx)(nn.Z,{name:"Silver Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#747788",dotSize:16,gap:13}),(0,l.jsx)(X.Z,{xs:1,sm:2,md:3,lg:4,className:"border-left border-top mb-60",children:n7.mZ.map(e=>(0,l.jsx)(te.k,{data:e,size:"small"}))}),(0,l.jsx)(nn.Z,{name:"Bronze Sponsors",className:"font-s-20 fw-semi mb-30",dotColor:"#747788",dotSize:16,gap:13}),(0,l.jsx)(X.Z,{xs:2,sm:3,md:4,lg:5,className:"border-left border-top",children:n7.LX.map(e=>(0,l.jsx)(te.k,{data:e,size:"small"}))})]})},tt=t(50105),ti=t(63186),tl=t(78827),ta=function(e){let{moduleContent:n=null}=e,t=(0,tl.eu)(n),i=(()=>{if((null==t?void 0:t.type)==="sections")return t.sections;if("string"==typeof n&&n.trim()){let e=(null==n?void 0:n.id)||(null==n?void 0:n.slug)||"article";return[{id:"fallback-section-".concat(e),columns:[{element:{id:"fallback-element-".concat(e),type:"Text",text:n}}]}]}return[]})();return(0,l.jsx)(ti.Z,{pageType:"article",displayOnly:!0,article:{sections:i}})};function to(){let e=(0,i.Z)(["\n                        @media (max-width: 991px) {\n                          margin-bottom: 20px !important;\n                        }\n                      "]);return to=function(){return e},e}function tr(){let e=(0,i.Z)(["\n                    @media (max-width: 991px) {\n                      font-size: 20px !important;\n                    }\n                  "]);return tr=function(){return e},e}function ts(){let e=(0,i.Z)(["\n                    @media (max-width: 991px) {\n                      font-size: 20px !important;\n                    }\n                  "]);return ts=function(){return e},e}function td(){let e=(0,i.Z)(["\n                  @media (max-width: 991px) {\n                    font-size: 20px !important;\n                    margin-bottom: 20px !important;\n                  }\n                "]);return td=function(){return e},e}function tc(){let e=(0,i.Z)(["\n                      margin-bottom: 24px;\n                      @media (min-width: 992px) {\n                        margin-bottom: 38px;\n                      }\n                    "]);return tc=function(){return e},e}function tu(){let e=(0,i.Z)(["\n                      margin-bottom: 24px;\n                      @media (min-width: 992px) {\n                        margin-bottom: 38px;\n                      }\n                    "]);return tu=function(){return e},e}let tm=[{id:1,name:"In-Person",icon:"user_filled",color:"#00aaaf",background:"#e0fdfe"},{id:2,name:"Virtual",icon:"webinar",color:"#6248ff",background:"#f0edff"}];var tp=function(e){var n,t,i,a,d;let{module:c="events",eventData:m}=e,p=(0,r.useRouter)(),[h,g]=(0,o.useState)({}),[y,w]=(0,o.useState)("in_person"),[N,Z]=(0,o.useState)(!1),[k,C]=(0,o.useState)(!1),[T,I]=(0,o.useState)("default"),[D,E]=(0,o.useState)(!1),[z,B]=(0,o.useState)([]),[P,A]=(0,o.useState)(20),R=(0,o.useRef)(null),[q,H]=(0,o.useState)(!1),[O,V]=(0,o.useState)(!1),[L,Q]=(0,o.useState)("details"),[W,
1U]=(0,o.useState)(!1),[$,Y]=(0,o.useState)([]),[G,K]=(0,o.useState)([]),[J,en]=(0,o.useState)([]),[et,ei]=(0,o.useState)({agenda:!1,speakers:!1,sponsors:!1,custom:!1}),el=()=>{let{self_hosted:e,permissions:n,show_member_login_option:t}=h;if(e){if("public"===n&&!t){C(!0),I("default");return}Z(!0)}else{let e=(null==h?void 0:h["third_party_".concat(y,"_link")])||null;e&&window.open(e,"_blank")}},ea=async()=>{E(!0);try{var e,n,t,i,l;let a=m;if(!a.length||a.length&&(null==a?void 0:null===(e=a[0])||void 0===e?void 0:e.website_visibility)==="hidden"&&(null==a?void 0:null===(n=a[0])||void 0===n?void 0:n.permissions)==="private")throw(0,j.Z)({type:"error",message:"Event not found"}),p.replace("/".concat(c)),Error("Event not found");for(let e in a)if(Object.hasOwnProperty.call(a,e)){let n=a[e],t=[];n.in_person&&t.push(tm[0]),n.virtual&&t.push(tm[1]),a[e].forPerson=t;let i={},o={},r="";for(let e of n.event_timings){let n=e.start_date.split("_"),t=e.end_date.split("_");i.time="".concat(n[1]," ").concat(n[2]),o.time="".concat(t[1]," ").concat(t[2]),[i.date,i.day,i.month,i.year]=n[0].split("-"),[o.date,o.day,o.month,o.year]=t[0].split("-"),r=i.date===o.date&&i.month===o.month&&i.year===o.year?"".concat(i.time," - ").concat(o.time):"".concat((0,s.default)(new Date("".concat(i.date,"-").concat(i.month,"-").concat(i.year)),"MMM d, yyyy")," ").concat(i.time)+" - "+"".concat((0,s.default)(new Date("".concat(o.date,"-").concat(o.month,"-").concat(o.year)),"MMM d, yyyy")," ").concat(o.time)}if((null==n?void 0:null===(l=n.all_event_timings)||void 0===l?void 0:l.length)>0){let e=[...new Set(n.all_event_timings.map(e=>e.combined_date))];n.all_event_timings=e.length>1?n.all_event_timings:[]}else n.all_event_timings=[];a[e].start_date=i,a[e].end_date=o,a[e].timing_label=r,a[e].all_event_timings=n.all_event_timings}a[0]&&w(a[0].in_person?"in_person":"virtual"),g(a.length>0?a[0]:{}),A((null==a?void 0:null===(t=a[0])||void 0===t?void 0:null===(i=t.event_detail_photo_section)||void 0===i?void 0:i.width)||20)}catch(e){console.error("Failed to fetch events:",e)}finally{E(!1)}};(0,o.useEffect)(()=>{("education"===c||"events"===c)&&ea()},[c,m]),(0,o.useEffect)(()=>{var e,n,t,i,l,a,o,r;if(y&&(null==h?void 0:null===(e=h["".concat(y,"_config")])||void 0===e?void 0:e.limit_total_registration)&&(null==h?void 0:h["".concat(y,"_tickets_limit_applicable")])&&(null==h?void 0:h["".concat(y,"_tickets_available")])===0)H(!0);else if(y&&(null==h?void 0:null===(n=h["".concat(y,"_config")])||void 0===n?void 0:n.tiers)&&(null==h?void 0:null===(t=h["".concat(y,"_config")])||void 0===t?void 0:null===(i=t["".concat(y,"_price")])||void 0===i?void 0:null===(l=i.tiers)||void 0===l?void 0:l.length)>0){let e=null==h?void 0:null===(a=h["".concat(y,"_config")])||void 0===a?void 0:null===(o=a["".concat(y,"_price")])||void 0===o?void 0:null===(r=o.tiers)||void 0===r?void 0:r.every(e=>(null==e?void 0:e.tickets_limit_applicable)&&(null==e?void 0:e.tickets_available)===0);e&&H(!0)}else H(!1);let{self_hosted:s,is_registration_open:d}=h;V(!!(d&&(s||!s&&(null==h?void 0:h["third_party_".concat(y,"_link")]))))},[y,h]),(0,o.useEffect)(()=>{if(h&&localStorage.getItem("OpenEventPopup")&&h.self_hosted){let e=JSON.parse(localStorage.getItem("OpenEventPopup"));B(e),Z(!0),setTimeout(()=>{localStorage.removeItem("OpenEventPopup")},1e3)}},[h]);let eo=e=>{Q(e)},{name:er,in_person:es,virtual:ed,location_in_person_detail_description:ec,location_virtual_detail_description:eu,start_date:em,timing_label:ep,in_person_config:ef,virtual_config:ev}=h||{},ex=(null==ef?void 0:ef.address_data)||{},{name:eh,address:eg,city:e_,state:eb,postal_code:ey,country:ew,display_before_registration:ej=!1}=ex,eN=[{content:"education"===c?(0,l.jsx)(nF(),{href:"/education",children:"Education"}):(0,l.jsx)(nF(),{href:"/events",children:"Events"})},{content:(0,l.jsx)("span",{className:"color-primary",children:er})}];return(0,o.useEffect)(()=>{(null==h?void 0:h.id)&&(0,b.Wf)(null==h?void 0:h.id).then(e=>{en(e),ei({agenda:e.some(e=>"agenda"===e.type)||!1,speakers:e.some(e=>"speakers"===e.type)||!1,sponsors:e.some(e=>"sponsors"===e.type)||!0,custom:e.some(e=>
1"custom"===e.type)||!1})})},[h]),(0,o.useEffect)(()=>{(null==h?void 0:h.id)&&et.agenda&&(U(!0),(0,b.po)({parent_id:null==h?void 0:h.id,module:c}).then(async e=>{let n=await (0,ee.W0)(e);K(n),Y(e),U(!1)}))},[h,et,c]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n8.lp,{children:(0,l.jsxs)(nA.Z,{maxWidth:"100%",className:"event-detail-header-container",children:[(0,l.jsx)(nq.Z,{omitRootLabel:!0,inactiveItemClassName:"inactive",activeItemClassName:"active",containerClassName:"mb-24",sm:!0,customBreadcrumbs:eN}),(0,l.jsx)("div",{className:"detail-card-holder",children:(0,l.jsx)(nP.Z,{module:c,data:h,detailPageCard:!0,isLoading:D,ref:R,disableRegisterButton:q,showRegisterButton:O,handleRegisterButtonClick:el})})]})}),(0,l.jsxs)(n8.E_,{className:"border-bottom",children:[(0,l.jsxs)(nA.Z,{maxWidth:"100%",className:"event-detail-container border-top",children:[J.length>0&&(0,l.jsx)(nW,{activeTabId:L,onTabChange:eo,modulesVisible:et,activeModules:J}),(0,l.jsxs)("div",{className:"tab-content-holder",children:["details"===L&&(0,l.jsx)(n1,{isLoading:D,eventDetails:h,photoWidth:P}),"agenda"===L&&et.agenda&&(0,l.jsx)(ee.ZP,{isLoading:W,moduleData:G,modulesSettings:null==h?void 0:h.modules_settings}),"speakers"===L&&et.speakers&&(0,l.jsx)(n9.ZP,{isLoading:W,moduleData:J.find(e=>"speakers"===e.type),eventId:h.id,isAgendaVisible:et.agenda,eventAgendaData:$,modulesSettings:null==h?void 0:h.modules_settings}),"sponsors"===L&&et.sponsors&&(0,l.jsx)(tn,{isLoading:D}),L.startsWith("custom_")&&et.custom&&(0,l.jsx)(ta,{isLoading:D,moduleContent:null===(n=J.find(e=>"".concat(e.id)===L.split("_")[1]))||void 0===n?void 0:n.sections})]})]}),D?(0,l.jsx)(nR.Z,{pageLoader:!0,fullPageLoader:!1,height:200}):(0,l.jsxs)("div",{className:"border-top event-detail-common-section",children:[es&&ed&&(0,l.jsxs)(x.Z,{direction:{xs:"column",md:"row"},align:{xs:"flex-start",md:"center"},gap:24,nowrap:!0,className:"mb-30",children:[(0,l.jsx)(tv,{xxxl:!0,className:"fw-semi",children:"How would you like to attend?"}),(0,l.jsxs)(v.Tk,{className:"flex-grow-1",nowrap:!0,children:[es&&(0,l.jsx)(u.Z,{type:"button",width:147,className:"in-person-btn fw-medium no-shadow w-100 ".concat("in_person"===y?"color-white":"color-text border"),variant:"custom",background:"in_person"===y?"var(--website-primary-color)":"var(--bg-white)",size:"lg",prefix:(0,l.jsx)("span",{className:"ab-icons",children:"person"}),onClick:()=>{w("in_person")},children:"In-Person"}),ed&&(0,l.jsx)(u.Z,{type:"button",width:147,size:"lg",variant:"custom",background:"virtual"===y?"var(--website-primary-color)":"var(--bg-white)",className:"virtual-btn fw-medium no-shadow w-100 ".concat("virtual"===y?"color-white":"color-text border"),prefix:(0,l.jsx)("span",{className:"ab-icons",children:"webinar"}),onClick:()=>{w("virtual")},children:"Virtual"})]})]}),(0,l.jsxs)(n8.vW,{children:[es&&ed&&(0,l.jsxs)(tx,{xxl:!0,className:"fw-semi mb-sm",children:["in_person"===y?"In-Person":"Virtual"," ","education"===c?"Course":"Event"," ","Details"]}),"in_person"===y&&ec&&!(0,nM.U)(ec)&&(0,l.jsx)(tg,{children:(0,M.ZP)(ec)}),"virtual"===y&&eu&&!(0,nM.U)(eu)&&(0,l.jsx)(t_,{children:(0,M.ZP)(eu)}),"in_person"===y&&(0,l.jsxs)(X.Z,{columnTemplate:{lg:"1fr minmax(0,525px)"},justify:"space-between",align:"center",className:"px-md-10  mb-24",gap:30,children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)(tf,{align:"flex-start",gap:12,className:"mb-40",nowrap:!0,children:[(0,l.jsx)(eL.Z,{size:36,icon:"calendar",iconColor:"#747788",border:!0}),(0,l.jsxs)("div",{children:[(0,l.jsxs)(f.Z,{lineHeight:"28px",className:"mb-4 fw-medium font-lg",children:[null==em?void 0:em.day,", ",null==em?void 0:em.month," ",null==em?void 0:em.date,", ",null==em?void 0:em.year]}),(0,l.jsx)(f.Z,{lineHeight:"28px",className:"font-lg",children:ep})]})]}),ej&&(eh||eg)?(0,l.jsxs)(x.Z,{align:"flex-start",gap:12,nowrap:!0,children:[(0,l.jsx)(eL.Z,{size:36,icon:"pin_outlined",iconColor:"#747788",border:!0}),(0,l.jsxs)("div",{children:[eh&&(0,l.jsx)(f.Z,{lineHeight:"28px",className:"mb-4 fw-medium font-lg",children:(0,_.Qs)(eh)}),eg&&(0,l.jsxs)(f.Z,{lineHeight:"28px",className:"font-lg",children:[(0,_.Qs)(eg),(0,l.jsx)("br",{}),e_&&"".concat(e_,",")," ",eb,(0,l.jsx)("br",{}),ey&&"".concat(ey,",")," ",ew]})]})]}):null]}),ej&&eg&&e_&&eb&&ey&&ew?(0,l.jsx)(e$.Z,{address:"".concat(eg,", ").concat(e_,", ").concat(eb,", ").concat(ey,", ").concat(ew)}):null]}),(0,l.jsx)(th,{xxxl:!0,className:"fw-semi mb-24",children:"Price"}),(0,l.jsxs)("div",{className:"px-md-10",children:[(0,l.jsxs)(x.Z,{gap:16,nowrap:!0,direction:"column",className:"mb-30",children:["in_person"===y&&(0,l.jsxs)(l.Fragment,{children:[(null==ef?void 0:ef.limit_total_registration)&&(null==h?void 0:h.in_person_tickets_limit_applicable)&&(0,l.jsxs)(f.Z,{className:"font-lg fw-medium text-right",children:["Total Available Tickets: ",null==h?void 0:h.in_person_tickets_available]}),(null==ef?void 0:ef.tiers)&&(null==ef?void 0:null===(t=ef.in_person_price)||void 0===t?void 0:null===(i=t.tiers)||void 0===i?void 0:i.map((e,n)=>{if(null==e?void 0:e.internal_ticket)return null;let t=(0,S.Wx)(e);return(0,l.jsx)(F.Z,{title:(0,_.Qs)(e.name),price:e.price,color:e.color,description:e.description,icon:e.icon,showAvailableTickets:(null==e?void 0:e.tickets_limit_applicable)||!1,availableTickets:(null==e?void 0:e.tickets_available)||0,earlyBirdEnabled:t,earlyBirdPrice:t?e.early_bird_price:void 0,earlyBirdTooltip:t?(0,S.z1)(e):void 0},n)})),!(null==ef?void 0:ef.tiers)&&(null==ef?void 0:ef.in_person_price)&&(0,l.jsx)(F.Z,{title:(0,_.Qs)(ef.in_person_price.name),price:ef.in_person_price.price,color:ef.in_person_price.color,description:ef.in_person_price.description,icon:ef.in_person_price.icon,earlyBirdEnabled:(0,S.Wx)(ef.in_person_price),earlyBirdPrice:(0,S.Wx)(ef.in_person_price)?ef.in_person_price.early_bird_price:void 0,earlyBirdTooltip:(0,S.Wx)(ef.in_person_price)?(0,S.z1)(ef.in_person_price):void 0})]}),"virtual"===y&&(0,l.jsxs)(l.Fragment,{children:[(null==ev?void 0:ev.limit_total_registration)&&(null==h?void 0:h.virtual_tickets_limit_applicable)&&(0,l.jsxs)(f.Z,{className:"font-lg fw-medium text-right",children:["Total Available Tickets: ",null==h?void 0:h.virtual_tickets_available]}),(null==ev?void 0:ev.tiers)&&(null==ev?void 0:null===(a=ev.virtual_price)||void 0===a?void 0:null===(d=a.tiers)||void 0===d?void 0:d.map((e,n)=>{if(null==e?void 0:e.internal_ticket)return null;let t=(0,S.Wx)(e);return(0,l.jsx)(F.Z,{title:(0,_.Qs)(e.name),price:e.price,bgColor:"rgba(98, 0, 238, 0.05)",color:e.color,description:e.description,icon:e.icon,showAvailableTickets:(null==e?void 0:e.tickets_limit_applicable)||!1,availableTickets:(null==e?void 0:e.tickets_available)||0,earlyBirdEnabled:t,earlyBirdPrice:t?e.early_bird_price:void 0,earlyBirdTooltip:t?(0,S.z1)(e):void 0},n)})),!(null==ev?void 0:ev.tiers)&&(null==ev?void 0:ev.virtual_price)&&(0,l.jsx)(F.Z,{title:(0,_.Qs)(ev.virtual_price.name),price:ev.virtual_price.price,bgColor:"rgba(98, 0, 238, 0.05)",color:ev.virtual_price.color,description:ev.virtual_price.description,icon:ev.virtual_price.icon,earlyBirdEnabled:(0,S.Wx)(ev.virtual_price),earlyBirdPrice:(0,S.Wx)(ev.virtual_price)?ev.virtual_price.early_bird_price:void 0,earlyBirdTooltip:(0,S.Wx)(ev.virtual_price)?(0,S.z1)(ev.virtual_price):void 0})]})]}),O&&!q&&(0,l.jsxs)(u.Z,{variant:"custom",background:"var(--website-primary-color)",width:250,size:"xl",onClick:()=>el(),className:"ml-auto fw-semi bottom-register-now-btn",disabled:q,children:["education"===c?"Enroll":"Register"," Now"]}),O&&q&&(0,l.jsx)(f.Z,{className:"font-lg fw-medium justify-content-end",prefix:(0,l.jsx)("span",{className:"ab-icons color--alert",children:"poligonal-info"}),children:"Max Capacity Reached"})]})]})]})]}),p.query.new_updates&&(0,l.jsx)(tt.Z,{ref:R}),(0,l.jsx)(nD,{eventAgendaData:G,localData:z,module:c,eventDetails:h,isModalOpen:N,setIsModalOpen:Z,isRegisterModalOpen:k,setIsRegisterModalOpen:C,sectionSelection:T,setSectionSelection:I,attendValue:y,setAttendValue:w})]})},tf=(0,a.default)(x.Z).withConfig({displayName:"EventDetailTabs___StyledFlex",componentId:"sc-524675eb-0"})(to()),tv=(0,a.default)(f.Z).withConfig({displayName:"EventDetailTabs___StyledText",componentId:"sc-524675eb-1"})(tr()),tx=(0,a.default)(f.Z).withConfig({displayName:"EventDetailTabs___StyledText2",componentId:"sc-524675eb-2"})(ts()),th=(0,a.default)(f.Z).withConfig({displayName:"EventDetailTabs___StyledText3",componentId:"sc-524675eb-3"})(td()),tg=(0,a.default)(L.Z).withConfig({displayName:"EventDetailTabs___StyledTinyEditorHtml",componentId:"sc-524675eb-4"})(tc()),t_=(0,a.default)(L.Z).withConfig({displayName:"EventDetailTabs___StyledTinyEditorHtml2",componentId:"sc-524675eb-5"})(tu())},57632:function(e,n,t){let i;t.d(n,{Z:function(){return d}});let l="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var a={randomUUID:l};let o=new Uint8Array(16);function r(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(o)}let s=[];for(let e=0;e<256;++e)s.push((e+256).toString(16).slice(1));var d=function(e,n,t){if(a.randomUUID&&!n&&!e)return a.randomUUID();e=e||{};let i=e.random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,n){t=t||0;for(let e=0;e<16;++e)n[t+e]=i[e];return n}return function(e,n=0){return s[e[n+0]]+s[e[n+1]]+s[e[n+2]]+s[e[n+3]]+"-"+s[e[n+4]]+s[e[n+5]]+"-"+s[e[n+6]]+s[e[n+7]]+"-"+s[e[n+8]]+s[e[n+9]]+"-"+s[e[n+10]]+s[e[n+11]]+s[e[n+12]]+s[e[n+13]]+s[e[n+14]]+s[e[n+15]]}(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.