1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c8bf5025-5be8-438a-8448-6bc1dd9176b4",e._sentryDebugIdIdentifier="sentry-dbid-c8bf5025-5be8-438a-8448-6bc1dd9176b4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1573],{41573:function(e,t,n){"use strict";n.r(t);var o=n(11527),l=n(50959),i=n(79410),s=n(41070),a=n(60980),c=n(10013),r=n(60718),d=n(61455),_=n(11113),m=n(34127),f=n(26762),u=n(13439),p=n(53671),I=n(67119),h=n(59892),x=n(36662),y=n.n(x);n(86912),n(36204),n(76777),n(78382),n(60703),n(61366),n(6994);let[b]=(0,h.Xs)(["assets/layout/close.png"]);t.default=e=>{let{closeDrawModal:t,storeList:n,visible:h,zIndex:x=1e3,setCurrentSelect:g,join:j,collectionInfoConfig:v}=e,[N,M]=(0,l.useState)(!1),[C,L]=(0,l.useState)(!1),{t:F}=(0,u.$G)("common"),[k]=d.default.useForm(),w=(0,i.useRouter)(),{run:T}=(0,f.Z)(()=>{k.validateFields().then(()=>{if(v.isNeedAgreement&&!N){s.default.error(F("please_agree_supplementary_terms","Please agree to the supplementary terms")),L(!0),setTimeout(()=>L(!1),1e3);return}let e=k.getFieldsValue(),t={...e,agreeSupplementaryTerms:N};if(null==v?void 0:v.isNeedIdentity){var n;t.identityName=(null===(n=v.allowIdentityList.find(t=>t.value===e.identityTypeID))||void 0===n?void 0:n.label)||""}j(t)})},{wait:1e3});return(0,o.jsxs)(a.Z,{open:h,width:690,footer:null,closable:!1,zIndex:x,wrapClassName:"offlineDrawModal",destroyOnClose:!0,children:[(0,o.jsx)(I.bd,{src:b,className:y().closeIcon,onClick:()=>t()}),(0,o.jsx)("div",{className:y().title,children:(0,o.jsx)(u.cC,{i18nKey:"collection_info",children:"Join the Event"})}),(0,o.jsx)("div",{className:y().collectionInfoWrap,children:(0,o.jsxs)(d.default,{form:k,children:[(null==v?void 0:v.isNeedFirstName)&&(0,o.jsxs)("div",{className:y().collectionInfoItem,children:[(0,o.jsxs)("div",{className:y().collectionInfoItemTitle,children:[(0,o.jsx)(u.cC,{i18nKey:"collection_info_first_name",children:"First Name"})," *"]}),(0,o.jsx)("div",{className:y().collectionInfoItemContent,children:(0,o.jsx)(d.default.Item,{name:"userFirstName",rules:[{required:!0,message:F("please_input_first_name","Please input your first name")},{max:100,message:F("please_input_first_name_max","Please input less than 100 characters")}],children:(0,o.jsx)(_.default,{maxLength:100,style:{height:"48px",backgroundColor:"#F9F9F9"},placeholder:F("please_input_first_name","Please input your first name")})})})]}),(null==v?void 0:v.isNeedLastName)&&(0,o.jsxs)("div",{className:y().collectionInfoItem,children:[(0,o.jsxs)("div",{className:y().collectionInfoItemTitle,children:[(0,o.jsx)(u.cC,{i18nKey:"collection_info_last_name",children:"Last Name"})," *"]}),(0,o.jsx)("div",{className:y().collectionInfoItemContent,children:(0,o.jsx)(d.default.Item,{name:"userLastName",rules:[{required:!0,message:F("please_input_last_name","Please input your last name")},{max:100,message:F("please_input_last_name_max","Please input less than 100 characters")}],children:(0,o.jsx)(_.default,{maxLength:100,style:{height:"48px",backgroundColor:"#F9F9F9"},placeholder:F("please_input_last_name","Please input your last name")})})})]}),(null==v?void 0:v.isNeedIdentity)&&(0,o.jsxs)("div",{className:y().collectionInfoItem,children:[(0,o.jsxs)("div",{className:y().collectionInfoItemTitle,children:[(0,o.jsx)(u.cC,{i18nKey:"collection_info_identity_type",children:"Identity Type"})," *"]}),(0,o.jsxs)("div",{className:y().collectionInfoItemContent,children:[(0,o.jsx)(d.default.Item,{name:"identityTypeID",rules:[{required:!0,message:F("please_select_identity_type","Please select your identity type")}],children:(0,o.jsx)(r.default,{style:{height:"48px",backgroundColor:"#F9F9F9"},placeholder:F("please_select_identity_type","Please select your identity type"),options:v.allowIdentityList,popupClassName:y().identityTypeSelectDropdown})}),(0,o.jsx)(d.default.Item,{name:"identityContent",rules:[{required:!0,message:F("please_input_identity_content","Please input your identity content")},{max:4,message:F("please_input_identity_content_max","Please input less than 4 characters")}],children:(0,o.jsx)(_.default,{maxLength:4,style:{height:"48px",backgroundColor:"#F9F9F9"},placeholder:F("please_input_identity_content","Please input your identity content")})})]})]}),(0,o.jsxs)("div",{className:y().collectionInfoItem,children:[(0,o.jsxs)("div",{className:y().collectionInfoItemTitle,children:[(0,o.jsx)(u.cC,{i18nKey:"collection_info_store",children:"Select a Store"})," *"]}),(0,o.jsx)("div",{className:y().collectionInfoItemContent,children:(0,o.jsx)(d.default.Item,{name:"storeUniqCode",rules:[{required:!0,message:F("please_select_store","Please select your store")}],children:(0,o.jsx)(r.default,{showSearch:!0,placeholder:F("please_select_store","Please select your store"),options:null==n?void 0:n.map(e=>({label:null==e?void 0:e.nameLocal,value:null==e?void 0:e.storeCode})),onChange:e=>{g(e)}})})})]})]})}),(null==v?void 0:v.agreementURL)&&(0,o.jsxs)(p.EAS.div,{className:y().agreementURL,animate:C?{x:[-10,10,-10,10,-5,5,0]}:{},transition:C?{duration:.6,ease:"easeInOut"}:{},children:[(0,o.jsx)(m.Z,{checked:N,onChange:()=>M(!N)}),(0,o.jsxs)(p.EAS.div,{className:y().agreementURLLink,initial:{opacity:0,scale:.95}
1,animate:{opacity:1,scale:1},transition:{duration:.3,ease:"easeOut"},children:[(0,o.jsx)(u.cC,{i18nKey:"collection_info_agreement_text",children:"This information is only used for identity verification By submitting, you agree to the"})," ",(0,o.jsx)("span",{children:(0,o.jsx)(I.D8,{href:"https://www.popmart.com/".concat(w.locale,"/help/").concat(null==v?void 0:v.agreementURL),jumpType:2,children:(0,o.jsx)(u.cC,{i18nKey:"collection_info_agreement",children:"Agreement"})})})]})]}),(0,o.jsxs)("div",{className:y().sotreListFooter,children:[(0,o.jsx)(c.default,{type:"primary",className:y().storeListFooterButton,onClick:()=>T(),children:(0,o.jsx)(u.cC,{i18nKey:"confirm_three",children:"CONFIRM"})}),(0,o.jsx)("div",{className:y().storeListFooterText,children:(0,o.jsx)(u.cC,{i18nKey:"store_lock_notice",children:"Once the information is submitted, it cannot be changed."})})]})]})}},36662:function(e){e.exports={"mixin-text-ellipsis":"collectionInfoModal_mixin-text-ellipsis__c2Utm","mixin-text-user-select":"collectionInfoModal_mixin-text-user-select__b9LKW","mixin-text-user-none":"collectionInfoModal_mixin-text-user-none__Zm9Xn","btn-normal":"collectionInfoModal_btn-normal__S5MJo","btn-mob-normal":"collectionInfoModal_btn-mob-normal__DKlyh","btn-plain":"collectionInfoModal_btn-plain__BrJ0i","btn-mob-plain":"collectionInfoModal_btn-mob-plain__86ZAT","text-btn":"collectionInfoModal_text-btn__Gpqvx",blackBgBtn:"collectionInfoModal_blackBgBtn__GONug",redBgBtn:"collectionInfoModal_redBgBtn__wZDkd",opacityBgBtn:"collectionInfoModal_opacityBgBtn__HRYnb",disabledColorBtn:"collectionInfoModal_disabledColorBtn__ai_rx",notification_error_request:"collectionInfoModal_notification_error_request__7inqb","ant-notification-notice-content":"collectionInfoModal_ant-notification-notice-content__fpeQh","ant-notification-notice-message":"collectionInfoModal_ant-notification-notice-message__dJPnN","ant-notification-notice-close":"collectionInfoModal_ant-notification-notice-close__UfIpn",closeIcon:"collectionInfoModal_closeIcon__HxIX2",selectdrawModal:"collectionInfoModal_selectdrawModal__PQCQZ",title:"collectionInfoModal_title__bdveq",checkboxActive:"collectionInfoModal_checkboxActive__ZItAh",checkbox:"collectionInfoModal_checkbox__sd3cd",sotreListWrap:"collectionInfoModal_sotreListWrap__HKnOu",storeItem:"collectionInfoModal_storeItem__NQstV",sotreItemLeftTitle:"collectionInfoModal_sotreItemLeftTitle__ToG09",storeItemLeftAddress:"collectionInfoModal_storeItemLeftAddress__F2GFm",storeListFooterButton:"collectionInfoModal_storeListFooterButton__soFxm",storeListFooterText:"collectionInfoModal_storeListFooterText__wOp2Z",collectionInfoItem:"collectionInfoModal_collectionInfoItem__QOZfe",collectionInfoItemTitle:"collectionInfoModal_collectionInfoItemTitle__Qt9UY",collectionInfoItemContent:"collectionInfoModal_collectionInfoItemContent__1bich",identityTypeSelectDropdown:"collectionInfoModal_identityTypeSelectDropdown__hbMY2",agreementURL:"collectionInfoModal_agreementURL__0yxhZ",agreementURLLink:"collectionInfoModal_agreementURLLink__VFNQk"}}}]);
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.