1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/index-DvkGsCPu.js","static/vendor-react-nj2ukvvY.js","static/vendor-apollo-AvuNUkOJ.js","static/vendor-moment-CqZOA61p.js","static/vendor-lodash-CuICpPff.js","static/index-DC4TtV_m.css","static/infoBanner-kQHfWj5k.js","static/infoBanner-FNhHOexq.css","static/BeeFreePageLanding-D7x4fiEk.js","static/utils-DMbaYCZ6.js","static/NewAgenda-oxw-vV5F.js","static/InfiniteScroll-C22j3N3u.js","static/nestedSessions-BjcEqaM6.js","static/index-DvBTnttC.js","static/index-B0AVCvHU.css","static/index-DlvFR7Xb.js","static/index-gFkC85bQ.js","static/SessionSurveyForm-BBcvSNzv.js","static/SurveyForm-BsBLEyhq.js","static/index-Cd9oipU-.js","static/matrixHelper-XRm2DHD4.js","static/SurveyForm-DPErcQVP.css","static/VenueMapLocationPopup-WLm0kDgt.js","static/HotspotViewer-D6izpAD8.js","static/LocationDetailsPopover-C40g9t1B.js","static/index-D1goHUfY.js","static/index-CKbzl7aQ.js","static/NewMeetWeb-B8hN1hYP.js","static/Table-Bm007KtQ.js","static/index-BbkSM8mt.js","static/index-BsgTxhJ2.js","static/Table-Cwp_Z1lK.css","static/SessionFormatLabel-Cd3MpU9S.js","static/index-wnpa6Znd.js","static/keen-slider.min-DBmVTzQB.js","static/keen-slider-DST-qPa6.css","static/index-DTn9PCPV.css","static/slick-CzP6NKCb.css","static/index-DHOoZwIS.css","static/index-CZRH3jxg.js","static/DocumentLink-CCM6Pad_.js","static/SpeakerItemView-Cpud4D13.js","static/index-BHCDSO-Z.css","static/froala_editor.pkgd-DKbzPJM3.css","static/index.m-DIl8CZg0.js","static/react-urx.esm-Dk0S5Uhj.js","static/use-isomorphic-layout-effect.browser.esm-DWyPgxyo.js","static/index-CgzHCybu.js","static/index-BPfbqQ73.js","static/NewAgenda-DH4iyKfG.css","static/index-PsgMSbwK.css","static/Expo-CSGgy7mU.js","static/ExpoCard-Ctyvo5Hd.js","static/exhibitorAttributeVisibility-DVxv5UFp.js","static/exhibitorPropertyRules-Bk6J-dXi.js","static/ExpoCard-C7_0ZsOP.css","static/eventStreamGqlClient-LlZnV24n.js","static/VideoPlayer--Szy22sG.js","static/mux-D6z-_C4j.js","static/index-BQMd8I3b.js","static/Slider-Z3oxM-lG.js","static/objectSpread2-DKHLkGAa.js","static/playerOverlay-29Ko_nBi.js","static/Expo-BoQrCEDz.css","static/SponsersTab-CSxo657Z.js","static/Countdown-CDVwkZiw.js","static/AEPoweredBy-KERSIGPh.js","static/index-BQ1Ln_ER.js","static/index-BwTJJKWO.css","static/index-DCs-V-q8.js","static/housing-DSaFsOot.js","static/index-C20aRDlD.js","static/index-BO3_LDXQ.css","static/BeeFreePageLanding-3UE6OfWB.css","static/_beefree-page-landing-Bsej_x6I.css"])))=>i.map(i=>d[i]); 2import{c as we,X as Ae,T as Te,m5 as J,I as Ne,aY as g,aG as b,i8 as ce,a1 as K,$ as H,G as j}from"./index-DvkGsCPu.js";import{r as a,R as e}from"./vendor-react-nj2ukvvY.js";import"./vendor-apollo-AvuNUkOJ.js";import"./vendor-moment-CqZOA61p.js";import"./vendor-lodash-CuICpPff.js";const w=g(()=>b(()=>import("./index-DvkGsCPu.js").then(t=>t.O6),__vite__mapDeps([0,1,2,3,4,5]))),C=g(()=>b(()=>import("./index-DvkGsCPu.js").then(t=>t.O7),__vite__mapDeps([0,1,2,3,4,5]))),xe=g(()=>b(()=>import("./index-DvkGsCPu.js").then(t=>t.O5),__vite__mapDeps([0,1,2,3,4,5]))),de=g(()=>b(()=>import("./index-DvkGsCPu.js").then(t=>t.Of),__vite__mapDeps([0,1,2,3,4,5]))),ie=g(()=>b(()=>import("./index-DvkGsCPu.js").then(t=>t.Og),__vite__mapDeps([0,1,2,3,4,5]))),V=g(()=>b(()=>import("./index-DvkGsCPu.js").then(t=>t.Oc),__vite__mapDeps([0,1,2,3,4,5]))),Ie=g(()=>b(()=>import("./infoBanner-kQHfWj5k.js"),__vite__mapDeps([6,1,0,2,3,4,5,7]))),Pe=g(()=>b(()=>import("./BeeFreePageLanding-D7x4fiEk.js").then(t=>t.E),__vite__mapDeps([8,0,1,2,3,4,5,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,6,7,73,74]))),me=({t})=>e.createElement(Ie,{parentClassName:"m-b-16",infoIcon:"setupt-ticket-exclamation-icon",renderInfoBannerMsg:()=>e.createElement(C,{variant:"body2",labelClass:"m-b-0 m-l-8",header:t("toasterMsg:You've already responded to this disclaimer and no further action is needed. You may close this popup.")})}),G="I agree to the conditions listed above.",le="I DISAGREE with the conditions listed above.",Se=({t,customDisclaimer:f,allowDisagree:y,isAgreeConfirmCondtion:h,isDisagreeCondition:s,setAgreeConditions:o,alreadyResponded:m})=>{const r=y||m&&s;return e.createElement(e.Fragment,null,m&&e.createElement(me,{t}),e.createElement(ce,{maxHeight:"35vh",trackBottom:"110px",trackTop:"10px",tabIndex:"0"},e.createElement("div",{className:"ticket-type-container ticket-typeStyle"},e.createElement("div",{className:"line-break-word fr-view scroll-x",dangerouslySetInnerHTML:{__html:f}}))),r?e.createElement(K,null,e.createElement("hr",{"aria-hidden":"true"}),e.createElement(H,{className:j("text-left disclaimer-popup-condition m-b-16")},e.createElement(ie,{label:t("toasterMsg:I agree to the conditions listed above."),id:"agreeCondtion",name:"agreeCondtion",checked:h,disabled:m,onChange:E=>o(E)})),e.createElement(H,{className:j("text-left disclaimer-popup-condition")},e.createElement(ie,{label:t("toasterMsg:I disagree to the conditions listed above."),id:"disagreeCondtion",name:"disagreeCondtion",checked:s,disabled:m,onChange:E=>o(E)}))):e.createElement(K,null,e.createElement("hr",{"aria-hidden":"true"}),e.createElement(H,{className:j("text-left disclaimer-popup-condition m-b-16")},e.createElement(de,{message:t("toasterMsg:I agree to the conditions listed above."),id:"agreeCondtion",name:"agreeCondtion",checked:h,disabled:m,onChange:E=>o(E),tabIndex:"0"}))))},Re=({t,wlCustomDisclaimer:f,isWhiteLabelAgreeCondition:y,setWhiteLabelAgreeConditions:h,wlAlreadyResponded:s})=>e.createElement(e.Fragment,null,s&&e.createElement(me,{t}),e.createElement(ce,{maxHeight:"35vh",trackBottom:"110px",trackTop:"10px"},e.createElement("div",{className:"ticket-type-container ticket-typeStyle"},e.createElement("div",{className:"line-break-word fr-view scroll-x",dangerouslySetInnerHTML:{__html:f}}))),e.createElement(K,null,e.createElement("hr",{"aria-hidden":"true"}),e.createElement(H,{className:j("text-left disclaimer-popup-condition m-b-16")},e.createElement(de,{message:t("toasterMsg:I agree to the conditions listed above."),id:"whiteLabelAgreeCondtion",name:"whiteLabelAgreeCondtion",checked:y,disabled:s,onChange:o=>h(o)})))),Me=({eventUrl:t,orderId:f,doGetWhiteLabelDisclaimer:y,doSubmitWhiteLabelDisclaimer:h,isOpen:s,onClose:o,user:m,t:r})=>{var se;const E=a.useContext(Te),_=!!(m!=null&&m.admin)||!!(m!=null&&m.hasStaffAccess);a.useEffect(()=>{s&&_&&o&&o()},[s,_,o]);const c=a.useMemo(()=>{const n=Number(f);return Number.isFinite(n)?n:null},[f]),[i,ue]=a.useState(null),fe=i==null?void 0:i.eventDisclaimer,Q=i==null?void 0:i.wlDisclaimer,Z=!!(i!=null&&i.allowDisagree),X=!!(i!=null&&i.registered),A=!!(i!=null&&i.requireConfirmation)||Z,p=!!Q,[T,N]=a.useState(!1),[x,I]=a.use
2State(!1),[P,Y]=a.useState(!1),[S,he]=a.useState(!1),[U,Ee]=a.useState(!1),[ee,pe]=a.useState(!1),[$,ge]=a.useState(!1),[R,q]=a.useState(!1),[M,v]=a.useState(!1),[z,k]=a.useState(!1),[D,te]=a.useState(!1),[L,F]=a.useState(!1),[B,ae]=a.useState(!1),u=a.useRef(!0);a.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),a.useEffect(()=>{s&&c===null&&(J.error(r("toasterMsg:This disclaimer link is invalid or has expired.")),o&&o())},[s,c,r,o]),a.useEffect(()=>{if(!s||S||c===null||_)return;let n=!1;return y(c,t).then(l=>{if(n||!u.current)return;const d=l||{};ue(d),d.alreadyResponded&&(Ee(!0),d.disclaimerResponse===G?N(!0):d.disclaimerResponse===le&&I(!0)),d.wlAlreadyResponded&&(pe(!0),d.wlDisclaimerResponse===G&&Y(!0))}).catch(()=>{n||!u.current||ge(!0)}).finally(()=>{n||!u.current||he(!0)}),()=>{n=!0}},[s,c,t,y,S,_]),a.useEffect(()=>{!S||!s||!X||D||(A?(q(!0),te(!0)):p&&(v(!0),te(!0)))},[S,s,X,A,p,D]),a.useEffect(()=>{D&&!R&&!M&&!z&&o&&o()},[D,R,M,z,o]);const be=a.useCallback(n=>{var l;((l=n==null?void 0:n.target)==null?void 0:l.name)==="agreeCondtion"?(N(n.target.checked),I(!1)):(I(n.target.checked),N(!1))},[]),Ce=a.useCallback(n=>{var l;Y(((l=n==null?void 0:n.target)==null?void 0:l.checked)===!0)},[]),O=a.useCallback(({includeEvent:n,includeWl:l})=>({orderId:c,disclaimerResponse:n?T?G:x?le:"":null,wlDisclaimerResponse:l?P?G:"":null}),[c,T,x,P]),ye=a.useCallback(async()=>{var n,l;if(c!==null){F(!0);try{if(await h(c,t,O({includeEvent:!0,includeWl:!1})),!u.current)return;ae(!0),q(!1),p?v(!0):k(!0)}catch(d){if(!u.current)return;J.error(((l=(n=d==null?void 0:d.response)==null?void 0:n.data)==null?void 0:l.message)||r("toasterMsg:Failed to submit disclaimer."))}finally{u.current&&F(!1)}}},[c,t,O,h,p,r]),_e=a.useCallback(async()=>{var n,l;if(c!==null){F(!0);try{if(await h(c,t,O({includeEvent:!1,includeWl:!0})),!u.current)return;ae(!0),v(!1),k(!0)}catch(d){if(!u.current)return;J.error(((l=(n=d==null?void 0:d.response)==null?void 0:n.data)==null?void 0:l.message)||r("toasterMsg:Failed to submit disclaimer."))}finally{u.current&&F(!1)}}},[c,t,O,h,r]),ne=a.useCallback(()=>{N(!1),I(!1),q(!1),p?v(!0):B&&k(!0)},[p,B]),re=a.useCallback(()=>{Y(!1),v(!1),B&&k(!0)},[B]),oe=a.useCallback(()=>{k(!1)},[]);if(!s||c===null||_||!$&&!i||!$&&!A&&!p)return null;const W=(se=Ne[E==null?void 0:E.theme])==null?void 0:se.neutral1000;if($||!X)return e.createElement(V,{id:"showDisclaimerNotRegisteredPopup",showModal:s,custClassName:"agree-disagree-div",onCloseFunc:()=>o&&o(),headerText:e.createElement(C,{variant:"heading3",color:W,className:"d-flex justify-content-center"},e.createElement("p",{className:"showAgreeToConditionPopup-bar"}),r("common:Event Disclaimer")),modelFooter:e.createElement("div",{className:"disclaimer-register-btn-wrapper"},e.createElement(Pe,null))},e.createElement("div",{className:"ticket-type-container ticket-typeStyle p-t-b-16"},e.createElement(C,{variant:"body1",className:"text-center",header:r("toasterMsg:This disclaimer is only accessible if you're registered for the event. Register now by clicking the button below or contact the event organizers if you've already registered.")})));const ve=L||!T&&!x,ke=L||!P;return e.createElement(e.Fragment,null,A&&e.createElement(V,{id:"showAgreeToConditionPopup",showModal:R,custClassName:"agree-disagree-div",onCloseFunc:ne,headerText:e.createElement(C,{variant:"heading3",color:W,className:"d-flex justify-content-center"},e.createElement("p",{className:"showAgreeToConditionPopup-bar"}),r("common:Disclaimer")),modelFooter:e.createElement("div",null,U?e.createElement(w,{variant:"primary",id:"disclaimer-locked-close-btn",className:"disclaimer-confirmation-continue-button",label:r("common:Close"),onClick:ne}):e.createElement(w,{variant:"primary",id:"handleBuyerAgreedPopup",className:"disclaimer-confirmation-continue-button",disabled:ve,loading:L&&R,label:r("common:Continue"),onClick:ye}))},e.createElement(Se,{t:r,customDisclaimer:fe,allowDisagree:Z,isAgreeConfirmCondtion:T,isDisagreeCondition:x,setAgreeConditions:be,alreadyResponded:U})),p&&e.createElement(V,{id:"showWhiteLabelAgreeToConditionPopup",showModal:M,custClassName:"agree-disagree-div",onCloseFunc:re,headerText:e.createElement(C,{variant:"heading3",color:W,className:"d-flex justify-content-center"},e.createElement("p",{className:"showAgreeToConditionPopup-bar"}),r("common:Disclaimer")),modelFooter:e.createElement("div",null,ee?e.createElement(w,{variant:"primary",id:"disclaimer-wl-locked-close-btn",className:"disclaimer-confirmation-continue-button",label:r("common:Close"),onClick:re}):e.createElement(w,{variant:"primary",id:"whitelabelBuyerAgreedPopup",className:"disclaimer-confirmation-continue-button",disabled:ke,loading:L&&M,label:r("common:Continue"),onClick:_e}))},e.createElement(Re,{t:r,wlCustomDisclaimer:Q,isWhiteLabelAgreeCondition:P,setWhiteLabelAgreeConditions:Ce,wlAlreadyResponded:ee})),e.createElement(V,{id:"showDisclaimerThanksPopup",showModal:z,custClassName:"agree-disagree-div",onCloseFunc:oe,headerText:e.createElement(C,{variant:"heading3",color:W,className:"d-flex justify-content-center"},e.createElement("p",{className:"showAgreeToConditionPopup-bar"}),r("common:Thank you")),modelFooter:e.createElement("div",null,e.createElement(w,{variant:"primary",id:"disclaimer-close-btn",className:"disclaimer-confirmation-continue-button",label:r("common:Close"),onClick:oe}))},e.createElement("div",{className:"ticket-type-container ticket-typeStyle p-t-b-16 text-center"},e.createElement(xe,{svgIcon:"right-tick-green",width:64,height:64,viewBox:"0 0 84 84"}),e.createElement(C,{variant:"body1",className:"m-t-16",header:r("toasterMsg:Thank you for your response.")}))))},De=t=>{var f;return{user:(f=t==null?void 0:t.session)==null?void 0:f.user}},Ve=we(De)(Ae(["common","toasterMsg"])(Me));export{Ve as default};
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.