1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1085],{62264:function(e,r,t){t.d(r,{Z:function(){return o}});var l=t(20688),a=t(88661),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},s=t(69977),o=a.forwardRef(function(e,r){return a.createElement(s.Z,(0,l.Z)({},e,{ref:r,icon:n}))})},21543:function(e,r,t){var l=t(77804);t(88661);var a=t(59607),n=t.n(a);r.Z=e=>{let{children:r,width:t="auto",height:a="auto",borderRadius:s="12px",onClick:o,disabled:i=!1,className:c}=e,d=n()("text-[14px] font-medium flex justify-center items-center text-hl_text_00 relative overflow-hidden transition-colors",'before:absolute before:inset-0 before:bg-hl_bg_06 before:transition-opacity before:content-[""]',i?"cursor-not-allowed opacity-50 pointer-events-auto":"cursor-pointer hover:before:opacity-90",c);return(0,l.jsx)("button",{className:d,style:{width:t,height:a,borderRadius:s},onClick:e=>{i||o(e)},children:(0,l.jsx)("span",{className:"relative z-[1]",children:r})})}},31348:function(e,r,t){var l=t(11719),a=t(26015),n=t(88934),s=t(77804),o=t(88661),i=t(71872),c=t(79736),d=t(29356),u=t(82542),h=t(56108);t(1712),r.Z=function(e){let{status:r,className:t,onChange:x,allowClear:p,showCount:v,count:f,prefix:m,errorText:_}=e,b=(0,n._)(e,["status","className","onChange","allowClear","showCount","count","prefix","errorText"]),{isWebByTouch:g}=(0,u.Z)(),j=e=>{null==x||x(e)},w=(0,o.useMemo)(()=>{let e="HaiLuo-video-input bg-hl_white_04 border rounded-lg shadow-none caret-hl_brand_01 [@media(hover:hover)]:hover:bg-hl_white_08 ".concat(v&&"has-count"," ").concat(t);return"error"===r?e+=" border-hl_error_fill text-hl_error_fill [@media(hover:hover)]:hover:border-hl_error_fill placeholder-error":"warning"===r?e+=" border-[#ffc107] text-[#ffc107] [@media(hover:hover)]:hover:border-[#ffc107] placeholder-warning":e+=" border-transparent text-hl_text_00 [@media(hover:hover)]:hover:border-white/[0.08]",e},[t,r,v]);return(0,o.useEffect)(()=>{v&&void 0===f&&console.warn("count is undefined")},[v,f]),(0,s.jsxs)("div",{className:"relative w-full",children:[g?(0,s.jsx)(i.default,(0,a._)((0,l._)({},b),{className:w+" p-4",onChange:e=>j(e.target.value),prefix:m,suffix:"error"===r&&(_?(0,s.jsx)(c.Z,{title:_,children:(0,s.jsx)(h.Xg,{className:"h-4 w-4"})}):(0,s.jsx)(h.Xg,{className:"h-4 w-4"})),allowClear:p&&"error"!==r&&{clearIcon:(0,s.jsx)("div",{className:"text-hl_text_02 [@media(hover:hover)]:hover:text-hl_error_fill",children:(0,s.jsx)(h.Gi,{})})}})):(0,s.jsxs)("div",{className:"relative",children:[m&&(0,s.jsx)("div",{className:"absolute left-2 top-1/2 -translate-y-1/2 transform",children:m}),(0,s.jsx)(d.II,(0,a._)((0,l._)({},b),{className:w,onChange:e=>j(e),clearable:p,clearIcon:(0,s.jsx)("div",{className:"text-hl_text_3 [@media(hover:hover)]:hover:text-hl_error_fill",children:(0,s.jsx)(h.Gi,{})})})),"error"===r&&(0,s.jsx)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 transform",children:_?(0,s.jsx)(c.Z,{title:_,children:(0,s.jsx)(h.Xg,{className:"h-4 w-4"})}):(0,s.jsx)(h.Xg,{className:"h-4 w-4"})})]}),(()=>{if(v&&f)return(0,s.jsxs)("div",{className:"text-hl_text_03 absolute bottom-1/2 right-[42px] translate-y-1/2 text-[15px] leading-[22px]",children:[(0,s.jsx)("span",{className:f===b.maxLength?"text-hl_error_fill":"",children:f}),(0,s.jsx)("span",{children:"/"}),(0,s.jsx)("span",{children:b.maxLength})]})})()]})}},46454:function(e,r,t){t.d(r,{Z:function(){return a}});var l=t(77804);t(88661);var a=e=>{let{children:r,width:t="auto",height:a="auto",borderRadius:n="12px",className:s="",onClick:o,disabled:i=!1}=e;return(0,l.jsxs)("div",{onClick:e=>{i||null==o||o(e)},className:"pink-gradient-btn group/pink-gradient-btn relative z-10 overflow-hidden bg-white ".concat(i?"pointer-events-auto cursor-not-allowed opacity-50":"cursor-pointer"," ").concat(s),style:{width:t,height:a,borderRadius:n},children:[(0,l.jsx)("div",{className:"text-hl_text_06 flex h-full select-none items-center justify-center gap-1 overflow-hidden text-[14px] font-medium",children:r}),(0,l.jsx)("div",{className:"pink-gradient-btn-hover-effect hidden group-hover/pink-gradient-btn:block"})]})}},89136:function(e,r,t){t.r(r),t.d(r,{default:function(){return N}});
1var l=t(77804),a=t(88661),n=t(28733),s=t(46153),o=t(5401),i=t(42873),c=t(17271),d=t(77269),u=t(8050),h=t(21543),x=t(46454),p=e=>{let{setIsAppealForm:r,onClose:t,onAppeal:a}=e,o=(0,n.T)(),i=(0,s.v9)(e=>e.global.blockRulesUrl),c=(0,s.v9)(e=>{var r;return null==e?void 0:null===(r=e.user)||void 0===r?void 0:r.bannedAppealModal}),p=()=>{r(!0)},v=async()=>{d.a1?p():a()};return(0,l.jsxs)("div",{className:"text-hl_text_01 max-w-[460px] text-[15px] font-normal leading-[24px]",children:[(0,l.jsxs)("div",{children:[c.message,(0,l.jsxs)("span",{className:"text-hl_brand_00 cursor-pointer underline",onClick:()=>{i&&(0,u.Y)({url:i})},children:["\xa0",o("user_ban_appeal_rules")]})]}),(0,l.jsxs)("div",{className:"flex w-full justify-end gap-4 pt-6",children:[(0,l.jsx)(h.Z,{onClick:v,width:"90px",height:"38px",borderRadius:"8px",children:o("button_appeal_confirm")}),(0,l.jsx)(x.Z,{onClick:t,width:"90px",height:"38px",borderRadius:"8px",children:o("button_announcement_confirm")})]})]})},v=t(88370),f=t(71596),m=t(31348);let _="APPEAL_EMAIL";var b=e=>{let{setIsAppealForm:r,onAppeal:t}=e,o=(0,n.T)(),[i,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(!1),p=(0,s.v9)(e=>{var r;return null==e?void 0:null===(r=e.user)||void 0===r?void 0:r.realUserID});(0,a.useEffect)(()=>{c((null===v.storage||void 0===v.storage?void 0:v.storage.getItem(_+p))||"")},[p]);let b=()=>!!(i&&/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(i))||(u(!0),f.Z.error("Please fill in your email address"),!1),g=async()=>{b()&&t({email:i,successCb:()=>{v.storage.setItem(_+p,i)}})};return(0,l.jsxs)("div",{className:"text-hl_text_01 max-w-[460px] text-[15px] font-normal leading-[24px]",children:[(0,l.jsx)("div",{children:(0,l.jsx)(m.Z,{placeholder:"Please fill in your email address",status:d?"error":void 0,onChange:e=>c(e.replace(/\s+/g,"")),onBlur:b})}),(0,l.jsxs)("div",{className:"flex w-full justify-end gap-4 pt-6",children:[(0,l.jsx)(h.Z,{onClick:()=>{r(!1),c(""),u(!1)},width:"90px",height:"38px",borderRadius:"8px",children:o("button_cancel")}),(0,l.jsx)(x.Z,{onClick:g,width:"90px",height:"38px",borderRadius:"8px",children:o("button_confirm")})]})]})},g=t(97194),j=t(79206),w=t(20745),C=t(62148);function N(){let e=(0,n.T)(),r=(0,s.I0)(),t=(0,j.tv)(),d=(0,s.v9)(e=>{var r;return null==e?void 0:null===(r=e.user)||void 0===r?void 0:r.bannedAppealModal}),[u,h]=(0,a.useState)(!1),x=()=>{r((0,c.setBannedAppealModal)({show:!1,message:o.h.getState().user.bannedAppealModal.message})),h(!1),t.replace(w.ft)},v=async r=>{try{let t=await (0,g.postBannedAppeal)((null==r?void 0:r.email)?{email:r.email}:void 0);0===t.code?(f.Z.success(e("user_ban_appeal_submit")),null==r||r.successCb(),x()):23===t.code?(f.Z.warn(t.message),null==r||r.successCb(),x()):f.Z.error(t.message)}catch(t){(0,C.k0)(t)?23===t.code?(f.Z.warn(t.message),null==r||r.successCb(),x()):f.Z.error(t.message):f.Z.error(e("user_ban_appeal_submit_failed"))}};return(0,l.jsx)(i.Z,{centered:!0,footer:null,size:"s",title:e("user_ban_appeal_title"),destroyOnClose:!0,onCancel:x,open:null==d?void 0:d.show,children:u?(0,l.jsx)(b,{setIsAppealForm:h,onAppeal:v}):(0,l.jsx)(p,{setIsAppealForm:h,onClose:x,onAppeal:v})})}},1712:function(){}}]);
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.