@amityco/ulta-ui-kit 1.1.1-beta06 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -484,7 +484,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Wc]+=1);var o0=`url("data:ima
484
484
  52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4
485
485
  256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160
486
486
  303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34
487
- 0-22.58L207.6 256z`})),R1=Fz;var CC=[.25,.4,.5,.75],jz=(e,t=!1)=>{if(!e)return Array(CC.length).fill("");if(t===!0&&e===Qo.theme.dark.primary_color)return ["#4a82f2","#a0bdf8","#d9e5fc","#ffffff"];if(t===!1&&e===Qo.theme.light.primary_color)return ["#4a82f2","#a0bdf8","#d9e5fc","#ffffff"];let o=parseToHsl(e);return CC.map(n=>t?darken(n,hslToColorString(o)):lighten(n,hslToColorString(o)))};function vC(e){let t=q4(),o=useMemo(()=>e!=null&&e.preferred_theme&&(e==null?void 0:e.preferred_theme)!=="default"?e.preferred_theme:"default",[e==null?void 0:e.preferred_theme,t]),r=o==="default"?t:o;return useMemo(()=>{var s;let i=((s=e==null?void 0:e.theme)==null?void 0:s[r])||{},a=jz(i.primary_color);return {"--asc-color-primary-default":i.primary_color,"--asc-color-primary-shade1":a[0],"--asc-color-primary-shade2":a[1],"--asc-color-primary-shade3":a[2],"--asc-color-primary-shade4":a[3],"--asc-color-secondary-default":i.secondary_color,"--asc-color-secondary-shade1":i.secondary_shade1_color,"--asc-color-secondary-shade2":i.secondary_shade2_color,"--asc-color-secondary-shade3":i.secondary_shade3_color,"--asc-color-secondary-shade4":i.secondary_shade4_color,"--asc-color-alert-default":i.alert_color,"--asc-color-base-inverse":i.base_inverse_color,"--asc-color-base-default":i.base_color,"--asc-color-base-shade1":i.base_shade1_color,"--asc-color-base-shade2":i.base_shade2_color,"--asc-color-base-shade3":i.base_shade3_color,"--asc-color-base-shade4":i.base_shade4_color,"--asc-color-base-shade5":i.base_shade5_color,"--asc-color-background-default":i.background_color}},[e,r])}var Gz=createContext({currentTheme:"light",toggleTheme:()=>{}});var q4=()=>{let{currentTheme:e}=useContext(Gz);return e};var K4=({page:e,component:t,element:o})=>o!=="*"?[`${e}/${t}/${o}`,`*/${t}/${o}`,`${e}/*/${o}`,`*/*/${o}`,`${e}/${t}/*`,`*/${t}/*`,`${e}/*/*`]:t!=="*"?[`${e}/${t}/*`,`${e}/*/*`,`*/${t}/*`]:e!=="*"?[`${e}/*/*`]:[],xC=createContext({config:null,parseConfig:()=>{},isExcluded:()=>!1,getConfig:()=>({})}),x0=()=>{let e=useContext(xC);if(!e)throw new Error("useCustomization must be used within a CustomizationProvider");return e},Qo={preferred_theme:"default",theme:{light:{primary_color:"#36486c",secondary_color:"#292b32",secondary_shade1_color:"#636878",secondary_shade2_color:"#898e9e",secondary_shade3_color:"#a5a9b5",secondary_shade4_color:"#ebecef",base_color:"#292b32",base_shade1_color:"#636878",base_shade2_color:"#898e9e",base_shade3_color:"#a5a9b5",base_shade4_color:"#ebecef",base_shade5_color:"#F9F9FA",alert_color:"#FA4D30",background_color:"#FFFFFF",base_inverse_color:"#000000"},dark:{primary_color:"#1054DE",secondary_color:"#ebecef",secondary_shade1_color:"#a5a9b5",secondary_shade2_color:"#898e9e",secondary_shade3_color:"#40434e",secondary_shade4_color:"#292b32",base_color:"#ebecef",base_shade1_color:"#a5a9b5",base_shade2_color:"#6e7487",base_shade3_color:"#40434e",base_shade4_color:"#292b32",base_shade5_color:"#f9f9fa",alert_color:"#FA4D30",background_color:"#191919",base_inverse_color:"#FFFFFF"}},excludes:[],customizations:{"select_target_page/*/*":{theme:{},title:"Share to"},"select_target_page/*/back_button":{back_icon:"back.png"},"camera_page/*/*":{resolution:"720p"},"camera_page/*/close_button":{close_icon:"close.png"},"create_story_page/*/*":{},"create_story_page/*/back_button":{back_icon:"back.png",background_color:"#1234DB"},"create_story_page/*/aspect_ratio_button":{aspect_ratio_icon:"aspect_ratio.png",background_color:"1234DB"},"create_story_page/*/story_hyperlink_button":{hyperlink_button_icon:"hyperlink_button.png",background_color:"#1234DB"},"create_story_page/*/hyper_link":{hyper_link_icon:"hyper_link.png",background_color:"#1234DB"},"create_story_page/*/share_story_button":{share_icon:"share_story_button.png",background_color:"#1234DB",hide_avatar:!1},"story_page/*/*":{},"story_page/*/progress_bar":{progress_color:"#UD1234",background_color:"#AB1234"},"story_page/*/overflow_menu":{overflow_menu_icon:"threeDot.png"},"story_page/*/close_button":{close_icon:"close.png"},"story_page/*/story_impression_button":{impression_icon:"impressionIcon.png"},"story_page/*/story_comment_button":{comment_icon:"comment.png",background_color:"#2b2b2b"},"story_page/*/story_reaction_button":{reaction_icon:"like.png",background_color:"#2b2b2b"},"story_page/*/create_new_story_button":{create_new_story_icon:"plus.png",background_color:"#ffffff"},"story_page/*/speaker_button":{mute_icon:"mute.png",unmute_icon:"unmute.png",background_color:"#1243EE"},"story_page/*/arrow_left_button":{arrow_left_icon:"arrow_left.png",background_color:"#1243EE"},"story_page/*/arrow_right_button":{arrow_right_icon:"arrow_right.png",background_color:"#1243EE"},"*/edit_comment_component/*":{theme:{}},"*/edit_comment_component/edit_cancel_button":{cancel_icon:"",cancel_button_text:"Cancel",background_color:""},"*/edit_comment_component/save_button":{save_icon:"",save_button_text:"Save",background_color:"#1243EE"},"*/hyper_link_config_component/*":{theme:{}},"*/hyper_link_config_component/done_button":{done_icon:"",done_button_text:"Done",background_color:"#1243EE"},"*/hyper_link_config_component/edit_cancel_button":{cancel_icon:"",cancel_button_text:"Cancel"},"*/comment_tray_component/*":{theme:{}},"*/comment_tray_component/comment_bubble_deleted_view":{comment_bubble_deleted_icon:"comment_bubble_deleted.png",text:"This reply has been deleted"},"*/story_tab_component/*":{},"*/story_tab_component/story_ring":{progress_color:["#339AF9","#78FA58"],background_color:"#AB1234"},"*/story_tab_component/create_new_story_button":{create_new_story_icon:"plus.png",background_color:"#1243EE"},"*/*/close_button":{close_icon:"close.png"},"social_home_page/top_navigation/header_label":{text:"Community"},"social_home_page/top_navigation/global_search_button":{icon:"searchButtonIcon"},"social_home_page/top_navigation/post_creation_button":{icon:"postCreationIcon"},"social_home_page/*/newsfeed_button":{text:"Newsfeed"},"social_home_page/*/explore_button":{text:"Explore"},"social_home_page/*/my_communities_button":{text:"My Communities"},"social_home_page/empty_newsfeed/illustration":{icon:"emptyFeedIcon"},"social_home_page/empty_newsfeed/title":{text:"Your Feed is empty"},"social_home_page/empty_newsfeed/description":{text:"Find community or create your own"},"social_home_page/empty_newsfeed/explore_communities_button":{icon:"exploreCommunityIcon",text:"Explore Community"},"social_home_page/empty_newsfeed/create_community_button":{icon:"createCommunityIcon",text:"Create Community"},"social_home_page/my_communities/community_avatar":{},"social_home_page/my_communities/community_display_name":{},"social_home_page/my_communities/community_private_badge":{icon:"lockIcon"},"social_home_page/my_communities/community_official_badge":{icon:"officalBadgeIcon"},"social_home_page/my_communities/community_category_name":{},"social_home_page/my_communities/community_members_count":{},"social_home_page/newsfeed_component/*":{},"social_home_page/global_feed_component/*":{},"global_search_page/*/*":{},"post_detail_page/*/back_button":{icon:"backButtonIcon"},"post_detail_page/*/menu_button":{icon:"menuIcon"},"*/*/moderator_badge":{icon:"badgeIcon",text:"Moderator"},"*/post_content/timestamp":{},"*/post_content/menu_button":{icon:"menuIcon"},"*/post_content/post_content_view_count":{},"*/post_content/reaction_button":{icon:"likeButtonIcon",text:"Like"},"*/post_content/comment_button":{icon:"commentButtonIcon",text:"Comment"},"*/post_content/share_button":{icon:"shareButtonIcon",text:"Share"},"post_composer_page/*/*":{},"post_composer_page/*/close_button":{image:"platformValue"},"post_composer_page/*/community_display_name":{},"post_composer_page/*/create_new_post_button":{text:"Post"},"post_composer_page/*/edit_post_button":{text:"Save"},"post_composer_page/*/edit_post_title":{text:"Edit post"},"post_composer_page/media_attachment/*":{},"post_composer_page/media_attachment/camera_button":{image:"platformValue"},"post_composer_page/media_attachment/image_button":{image:"platformValue"},"post_composer_page/media_attachment/video_button":{image:"platformValue"},"post_composer_page/media_attachment/file_button":{image:"platformValue"},"post_composer_page/media_attachment/detailed_button":{image:"platformValue"},"post_composer_page/detailed_media_attachment/*":{},"post_composer_page/detailed_media_attachment/camera_button":{text:"Camera",image:"platformValue"},"post_composer_page/detailed_media_attachment/image_button":{text:"Photo",image:"platformValue"},"post_composer_page/detailed_media_attachment/video_button":{text:"Video",image:"platformValue"},"post_composer_page/detailed_media_attachment/file_button":{text:"Attachment",image:"platformValue"},"social_home_page/*/*":{},"social_home_page/create_post_menu/*":{},"social_home_page/create_post_menu/create_post_button":{text:"Post",image:"Post"},"social_home_page/create_post_menu/create_story_button":{text:"Story",image:"Story"},"social_home_page/create_post_menu/create_poll_button":{text:"Poll",image:"Poll"},"social_home_page/create_post_menu/create_livestream_button":{text:"Livestream",image:"Livestream"},"select_post_target_page/*/close_button":{image:"platformValue"},"select_post_target_page/*/my_timeline_avatar":{},"select_post_target_page/*/title":{text:"Post to"},"select_post_target_page/*/my_timeline_text":{text:"My Timeline"},"select_story_target_page/*/close_button":{image:"platformValue"},"select_story_target_page/*/title":{text:"Share to"},"*/*/community_official_badge":{image:"platformValue"},"*/*/community_private_badge":{image:"platformValue"},"social_global_search_page/*/*":{},"social_global_search_page/top_search_bar/*":{text:"Search community and user"},"social_global_search_page/top_search_bar/search_icon":{icon:"search"},"social_global_search_page/top_search_bar/clear_button":{icon:"clear"},"social_global_search_page/top_search_bar/cancel_button":{text:"Cancel"},"social_global_search_page/community_search_result/community_avatar":{},"social_global_search_page/community_search_result/community_display_name":{},"social_global_search_page/community_search_result/community_private_badge":{icon:"lockIcon"},"social_global_search_page/community_search_result/community_official_badge":{icon:"officialBadgeIcon"},"social_global_search_page/community_search_result/community_category_name":{},"social_global_search_page/community_search_result/community_members_count":{},"my_communities_search_page/top_search_bar/*":{text:"Search my community"},"my_communities_search_page/*/community_avatar":{},"my_communities_search_page/*/community_display_name":{},"my_communities_search_page/*/community_private_badge":{icon:"lockIcon"},"my_communities_search_page/*/community_official_badge":{icon:"officialBadgeIcon"},"my_communities_search_page/*/community_category_name":{},"my_communities_search_page/*/community_members_count":{},"my_communities_search_page/top_search_bar/cancel_button":{text:"Cancel"},"community_profile_page/*/*":{},"community_profile_page/community_feed/*":{},"*/post_content/announcement_badge":{image:"value"},"*/post_content/pin_badge":{image:"value"},"*/post_content/non_member_section":{image:"value"},"community_profile_page/community_header/*":{},"community_profile_page/community_header/community_cover":{},"community_profile_page/community_header/community_name":{},"community_profile_page/community_header/community_verify_badge":{image:"value"},"community_profile_page/community_header/community_category":{},"community_profile_page/community_header/community_description":{},"community_profile_page/community_header/community_info":{},"community_profile_page/community_header/community_join_button":{image:"value"},"community_profile_page/community_header/community_pending_post":{image:"value"},"community_profile_page/community_header/back_button":{image:"value"},"community_profile_page/community_header/menu_button":{image:"value"},"community_profile_page/community_profile_tab/*":{},"community_profile_page/community_profile_tab/community_feed_tab_button":{image:"value"},"community_profile_page/community_profile_tab/community_pin_tab_button":{image:"value"},"community_profile_page/community_pin/*":{},"community_profile_page/community_pin/community_create_post_button":{image:"value"},"community_profile_page/post_content/*":{}}},bC=e=>{let[t,o,r]=e.split("/"),n=K4({page:t,component:o,element:r});return new Proxy({},{get(i,a){var s,l;for(let c of n)if((l=(s=Qo==null?void 0:Qo.customizations)==null?void 0:s[c])!=null&&l[a])return Qo.customizations[c][a]}})},IC=({children:e,initialConfig:t={}})=>{let [o,r]=useState(null);q4();useEffect(()=>{i()?a(t):console.error("Invalid configuration provided to CustomizationProvider");},[t]);let i=p=>!0,a=p=>{r(p);},c={config:o,parseConfig:a,isExcluded:p=>{var C;let[u,g,f]=p.split("/"),y=K4({page:u,component:g,element:f});return ((C=o==null?void 0:o.excludes)==null?void 0:C.some(v=>y.some(h=>h===v)))||!1},getConfig:p=>{let[u,g,f]=p.split("/"),y=K4({page:u,component:g,element:f}),C=v=>({get(h,x){var b,M,I,w,k,S,L,D,H,$,B,z,V,K,U;for(let j of y)if((w=(I=(M=(b=o==null?void 0:o.customizations)==null?void 0:b[j])==null?void 0:M.theme)==null?void 0:I[v])!=null&&w[x])return (S=(k=o.customizations[j].theme)==null?void 0:k[v])==null?void 0:S[x];if((D=(L=o==null?void 0:o.theme)==null?void 0:L[v])!=null&&D[x])return (H=o.theme[v])==null?void 0:H[x];for(let j of y)if((V=(z=(B=($=Qo.customizations)==null?void 0:$[j])==null?void 0:B.theme)==null?void 0:z[v])!=null&&V[x])return (U=(K=Qo.customizations[j].theme)==null?void 0:K[v])==null?void 0:U[x];return Qo.theme[v][x]}});return new Proxy({},{get(v,h){var x,b,M,I,w;if(h==="theme")return {light:new Proxy({},C("light")),dark:new Proxy({},C("dark"))};if(h==="preferred_theme")return (x=o==null?void 0:o.preferred_theme)!=null?x:Qo.preferred_theme;for(let k of y)if((M=(b=o==null?void 0:o.customizations)==null?void 0:b[k])!=null&&M[h])return o.customizations[k][h];for(let k of y)if((w=(I=Qo==null?void 0:Qo.customizations)==null?void 0:I[k])!=null&&w[h])return Qo.customizations[k][h]}})}};return te.createElement(xC.Provider,{value:c},e)};var A=({pageId:e,componentId:t,elementId:o})=>{let r=`${e}/${t}/${o}`,{getConfig:n,isExcluded:i}=x0(),a=n(r),s=bC(r),l=vC(a),c=i(r);return {config:a,defaultConfig:s,uiReference:r,accessibilityId:r,themeStyles:l,isExcluded:c}},re=({pageId:e,componentId:t})=>A({pageId:e,componentId:t,elementId:"*"}),Re=({pageId:e})=>A({pageId:e,componentId:"*",elementId:"*"});var Yz=({pageId:e="*",componentId:t="*",elementId:o="*",size:r="",onOverlayClick:n=()=>{},onCancel:i,title:a,footer:s,children:l})=>{let{accessibilityId:c,themeStyles:p}=A({pageId:e,componentId:t,elementId:o}),u=useRef(null);return useEffect(()=>{var g;(g=u==null?void 0:u.current)==null||g.focus();},[u==null?void 0:u.current]),te.createElement("div",{className:Us.overlay,onClick:n,style:p},te.createElement("div",{className:gr(Us.modalWindow),"data-qa-anchor":c,ref:u,tabIndex:0},i&&te.createElement(R1,{className:Us.closeIcon,onClick:i}),a&&te.createElement("div",{className:Us.title},a),te.createElement("div",{className:gr(Us.content)},l),s&&te.createElement("div",{className:Us.footer},s)))},MC=Yz;var PC={button:"la"};var O=o=>{var r=o,{className:e}=r,t=P(r,["className"]);return te.createElement(Button,d({className:gr(PC.button,e)},t))};var _C=createContext({confirmData:null,confirm:e=>{},info:e=>{},closeConfirm:()=>{}}),et=()=>useContext(_C),TC=({children:e})=>{let[t,o]=useState(null),r=()=>{o(null);},n=a=>{o(E(d({},a),{type:"confirm"}));},i=a=>o(E(d({},a),{type:"info",OkButton:ye}));return te.createElement(_C.Provider,{value:{confirmData:t,confirm:n,info:i,closeConfirm:r}},e)};var tl={modal:"sa",background:"ca",footer:"na",okButton:"da",cancelButton:"H"};var ze={typography:"pa","typography-headings":"ga","typography-titles":"ha","typography-sub-title":"fa","typography-body":"ba","typography-body-bold":"ua","typography-caption":"va","typography-caption-bold":"xa"};var $s=e=>e.renderer!==void 0,m$={Heading:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-headings"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("h1",d({className:gr(ze.typography,ze["typography-headings"],o),style:r},n),t)},Title:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-titles"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("h2",d({className:gr(ze.typography,ze["typography-titles"],o),style:r},n),t)},Subtitle:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-sub-title"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("h3",d({className:gr(ze.typography,ze["typography-sub-title"],o),style:r},n),t)},Body:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-body"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-body"],o),style:r},n),t)},BodyBold:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-body-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-body-bold"],o),style:r},n),t)},Caption:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-caption"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-caption"],o),style:r},n),t)},CaptionBold:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-caption-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-caption-bold"],o),style:r},n),t)}},N=m$;var c$=({pageId:e="*",componentId:t="*",elementId:o="*",className:r,title:n,content:i,okText:a="Ok",onOk:s,cancelText:l="Cancel",onCancel:c,type:p="confirm"})=>{let{accessibilityId:u,themeStyles:g}=A({pageId:e,componentId:t,elementId:o});return te.createElement(MC,{className:gr(r,tl.modal),pageId:e,componentId:t,elementId:o,"data-qa-anchor":`confirm-modal-${u}`,title:n,footer:te.createElement("div",{className:tl.footer},p==="confirm"&&te.createElement(O,{style:g,className:tl.cancelButton,"data-qa-anchor":"confirm-modal-cancel-button",onPress:c},te.createElement(N.BodyBold,null,l)),te.createElement(O,{style:g,className:tl.okButton,"data-qa-anchor":`confirm-modal-${u}-ok-button`,onPress:s},te.createElement(N.BodyBold,null,a))),onCancel:c},te.createElement("div",null,i))},kC=()=>{let{confirmData:e,closeConfirm:t}=et();if(!e)return null;let o=()=>{t(),e!=null&&e.onCancel&&e.onCancel();},r=()=>{t(),e!=null&&e.onOk&&e.onOk();};return te.createElement(c$,E(d({},e),{onCancel:o,onOk:r,className:tl.background}))};var SC={socialCommunityCreationButtonVisible:!0},NC=createContext(SC),EC=()=>useContext(NC);function J4({children:e,config:t}){let o=useMemo(()=>d(d({},SC),t),[t]);return te.createElement(NC.Provider,{value:o},e)}var BC={"general.action.cancel":"Cancel","general.action.accept":"Accept","general.action.decline":"Decline","general.action.discard":"Discard","general.action.ok":"Ok","general.error.tryAgainLater":"Something went wrong. Please try again later.","general.connection.waiting":"Waiting for connection...",hello:"Hello World","plural.like":"{amount, plural, one {like} other {likes}}",comment:"Comment","plural.comment":"{amount, plural, one {comment} other {comments}}","plural.member":"{amount, plural, one {member} other {members}}",selectACategory:"Select a category",todaysTrendingTitle:"Trending groups",loadMore:"Load More",categoryList:"Categories",recommendedList:"Groups you\u2019ll love","exploreHeader.searchCommunityTitle":"Explore groups","exploreHeader.searchCommunityPlaceholder":"Search groups...","exploreHeader.createCommunityTitle":"or create your own!","exploreHeader.createCommunityButton":"Create group",backTitle:"Back",createCommunity:"Create Group",moderator:"Moderator","moderatorMenu.promoteToModerator":"Promote to moderator","moderatorMenu.dismissModerator":"Dismiss moderator","moderatorMenu.removeFromCommunity":"Remove from group","post.readMore":"Read more","post.editPost":"Edit post","post.deletePost":"Delete post","post.editPostMobile":"Edit","post.deletePostMobile":"Delete","post.confirmDelete":"This post will be permanently deleted. You\u2019ll no longer to see and find this post. Continue?","post.confirmPendingDelete":"This post will be permanently deleted from the pending list","post.edited":"Edited","post.like":"Like","post.liked":"Liked","post.unknownPost.description":"We couldn\u2019t recognize this post.","post.unknownPost.title":"Something went wrong","post.renderingError.description":"We couldn\u2019t render this post.","post.renderingError.title":"Something went wrong","post.community":"Group","post.myTimeline":"My Timeline","post.wasLive":"was live","post.success.approved":"Post approved","post.success.declined":"Post declined","post.success.submittedToReview":"Your post has been submitted to review by moderator","post.error.cannotReview.title":"Post is not available","post.error.cannotReview.description":"The post has been reviewed by another moderator","post.discard.title":"Discard post?","post.discard.content":"Do you want to discard your post?","post.editDiscard.title":"Discard changes","post.editDiscard.content":"Do you want to discard your changes?","post.editDiscard.cancel":"Continue editing","collapsible.viewAll":"View all","collapsible.viewAllFiles":"View all files","collapsible.viewAllComments":"View all comments...","collapsible.viewMoreComments":"View more comments...","collapsible.viewMoreReplies":"View more replies","collapsible.viewReplies":"View replies","collapsible.viewMoreReply":"View {count, plural, one {# reply} other {# replies}}","community.createSuccess":"Your group was successfully created","community.updateSuccess":"Your group was successfully updated","community.editProfile":"Edit profile","community.join":"Join","community.communitySettings":"Group Settings","community.returnTo":"Return to {communityName}","community.leaveCommunityTitle":"Leave group?","community.leaveCommunityBody":"You will no longer be able to post or interact in this group after leaving.","community.leaveCommunityBodyLastMember":"As you\u2019re the last moderator and member, choose close group to leave.","community.leaveCommunityBodyOnlyModerator":"You\u2019re the only moderator in this group. Nominate other members before leaving group.","community.leaveCommunityButtonText":"Leave","community.leaveCommunityButtonOK":"OK","community.cannotInteract":"Join group to interact with all posts","community.removeUserFromCommunityTitle":"Remove user from group","community.removeUserFromCommunityBody":"This user won't no longer be able to search, post. Continue?","community.name":"Group name","community.about":"About","community.category":"Category","community.onlyadmincanpost":">Only admin can post","community.onlyadmins":"Choose to allow Only Admins to create posts in this group.","community.categorypermission":"Group permission","community.addmembers":"Add members","community.posts":"posts","community.members":"members","community.settings":"Settings","community.leaveCommunity":"Leave Group","CommunityMembers.members":"Members","CommunityMembers.moderators":"Moderators","EmptyFeed.TargetType.globalFeed":"This feed is empty","EmptyFeed.TargetType.communityFeed":"This group's feed is empty.","EmptyFeed.TargetType.userFeed":"This user's feed is empty.","EmptyFeed.TargetType.myFeed":"Your feed is empty. Start your first post","EmptyFeed.exploreCommunity":"Explore Group","UserFeed.tabs.timeline":"Timeline","community.exploreCommunities":"Explore Community","community.permissions.postReview":"Post review","community.permissions.storyComments":"Story comments","community.permissions.approvePosts":"Approve member posts","community.permissions.allowStoryComments":"Allow comments on group stories","community.permissions.approvePosts.prompt":"Posts by members have to be reviewed and approved by group moderator.","community.permissions.storyComments.prompt":"Turn on to receive comments on stories in this group.","community.permissions.error.needApprovalOnPostCreation.turnOn":"Unable to turn on post review","community.permissions.error.needApprovalOnPostCreation.turnOff":"Unable to turn off post review","community.permissions.error.storyComments.turnOn":"Unable to turn on post review","community.permissions.error.storyComments.turnOff":"Unable to turn off post review","community.review.declinePendingPosts":"Decline pending post will permanently delete the selected post from group.","community.pendingPostsBanner.title":"Pending posts","community.pendingPostsBanner.pendingForReview":"Your posts are pending for review","community.pendingPostsBanner.needApproval":"{formattedAmount} {amount, plural, one {post needs} other {posts need}} approval","communityCreatedModal.title":"Customize your community","communityCreatedModal.message":"You\u2019ve successfully created a community! Now let's manage permissions that work best for you","communityCreatedModal.goToSettings":"Group settings","communityCreatedModal.skip":"Skip for now",post:"Post","upload.attachmentLimit":"You reached the maximum attachment of {maxFiles}","upload.fileSizeLimit":"One of the selected file is larger than 1GB. Please select a new file.","user.editProfile":"Edit profile","user.message":"Message","follow.placeholder.noFollowings":"No following yet","follow.placeholder.noFollowers":"No followers yet","ProfileSettings.editProfile":"Edit profile","ProfileSettings.returnTo":"Return to ","SideSectionMyCommunity.myCommunity":"My groups","file.reUpload":"Click to re-upload the file","UserProfileForm.displayname":"Nickname","UserProfileForm.about":"About","UserProfileForm.title":"General","UserProfileForm.namePlaceholder":"Enter user display name","UserProfileForm.requiredDisplayName":"Display name is required","UserProfileForm.requiredDescription":"Enter something about yourself","UserSelector.placeholder":"Select user...","report.reportUser":"Report user","report.unreportUser":"Unreport user","report.reportComment":"Report comment","report.unreportComment":"Unreport comment","report.reportSent":"Report sent","report.unreportSent":"Unreport sent","comment.like":"Like","comment.liked":"Liked","comment.deleted":"This comment has been deleted","comment.delete":"Delete comment","comment.edit":"Edit comment","comment.deleteMobile":"Delete","comment.editMobile":"Edit","comment.deleteConfirmContent":"This comment will be permanently deleted. Continue?","comment.deleteConfirmCancelText":"Cancel","comment.deleteConfirmOkText":"Delete","dropdown.first":"First","dropdown.second":"Second","layout.logout":"Log Out","layout.username":"Jackies","chat.details.chatDetailes":"Chat Detail","chat.details.communityName":"Group Name","message.flag":"flag","message.unflag":"Unflag","message.edit":"Edit","message.delete":"Delete","message.deleted":"deleted","message.unsupportedFormat":"Unsupported message format","message.saveOptionsError":"There was an error processing your request","MessageComposeBar.placeholder":"Type your message...","RecentChat.chats":"Chats","AddMemberModal.addMembers":"Add members","AddMemberModal.membersValidationError":"Please select at least one member",add:"Add",save:"Save",close:"Close",reply:"Reply",delete:"Delete",create:"Create",cancel:"Cancel",loading:"Loading...","loading.chat":"Loading chat...",anonymous:"Anonymous","comment.edited":"Edited","comment.readmore":"Read more","communities.nocommunityfound":"No Group found","profile.setting":"Profile Settings","sidesectioncommunity.newfeed":"Feed","sidesectioncommunity.userProfile":"Profile","sidesectioncommunity.explore":"Explore","sidesectioncommunity.community":"Community","communityFeed.join":"Join community to interact with all posts","communityFeed.members":"Members","communityFeed.moderators":"Moderators","files.all":"View all files","sidebar.community":"Group","sidebar.explore":"Explore","sidebar.user":"User profile","CategoryCommunitiesList.emptyTitle":"It's empty here...","CategoryCommunitiesList.emptyDescription":"No community found in this category","CommentComposeBar.addComment":"Post","CommentComposeBar.replayTo":"Reply to ","CommentComposeBar.replayToUser":"Replying to {displayName}","CommentComposeBar.saySomething":"Say something nice...","CommentComposeBar.unableToPost":"Unable to post","CommentComposeBar.overCharacter":"You have reached maximum 50,000 characters in a post.","CommentComposeBar.done":"Done","CommentComposeBar.unableToMention":"Unable to mention","CommentComposeBar.overMentionees":"You have reached maximum 30 mentioned users in a post.","CommentComposeBar.okText":"OK","CommunityCreationModal.title":"Leave without finishing?","CommunityCreationModal.content":"Your progress won\u2019t be saved. Are you sure to leave this page now?","CommunityCreationModal.cancelText":"Continue editing","CommunityCreationModal.okText":"Leave","PostAsCommunity.title":"Post as group","PostAsCommunity.caption":"Enable this will publish the post on behalf of group account","AddMemberAction.title":"Add members","AddMemberAction.description":"Add your friends to this group to participate in group conversations","CloseCommunityAction.closeConfirm.title":"Close group?","CloseCommunityAction.closeConfirm.description":"All members will be removed from the community. All posts, messages, reactions and media shared in community will be deleted. This cannot be undone.","CloseCommunityAction.title":"Close group","CloseCommunityAction.description":"Closing this group will remove the group page and all its content and comments. This cannot be undone.","report.doReport":"Report","report.undoReport":"Undo Report","comment.deleteBody":"This comment will be permanently removed.","reply.delete":"Delete reply","reply.deleteBody":"This reply will be permanently deleted. Continue?","reply.edit":"Edit reply","reply.deleted":"This reply has been deleted","tabs.editProfile":"Edit profile","tabs.timeline":"Timeline","tabs.followers":"Followers","tabs.followings":"Following","tabs.pending":"Pending","tabs.members":"Members","tabs.moderators":"Moderators","tabs.pendingPosts":"Pending {amount, select, 0 {} other { ({formattedAmount})}}","tabs.permissions":"Permissions","tabs.gallery":"Gallery","tabs.images":"Photos","tabs.videos":"Videos","tabs.liveStreams":"Livestreams","feed.emptyFeed":"Your feed is empty.","feed.emptyCommunityPublicFeed":"This group's feed is empty.","feed.emptyCommunityReviewingFeed":"No pending posts","feed.emptyJoinedCommunityPublicFeedTitle":"Your feed is empty.","feed.emptyJoinedCommunityPublicFeedBody":"Share a post to start the conversation!","feed.emptyMyCommunitiesBody":"You have not joined any groups yet. Please join one to get started.","feed.emptyUserFeed":"No posts yet","feed.emptyMyFeed":"Your feed is empty. Start your first post","feed.emptyMyCommunities":"No groups available","chat.groupSetting":"Group settings","chat.message.deleted":"Message was deleted","chat.message.unsupported":"Unsupported message type","chat.chats":"Chats","chat.details.header":"Chat Details","chat.details.chatName":"Chat Name","chat.leaveChat":"Leave chat","chat.leaveChat.confirm.title":"Leave chat","chat.leaveChat.confirm.content":"Are you sure you want to leave the chat?","chat.leaveChat.confirm.okButton":"Leave","chat.leaveChat.success":"You successfully left chat","chat.leaveChat.error":"Attempt to leave a chat has failed","chat.members.return":"Return to controls","chat.members.count":"{count} members","chat.create.modalTitle":"Create new chat","chat.loading.error":"Couldn't load chat","userSelector.placeholder":"Enter name or email addresses","userSelector.emptyState.title":"It's empty here...","userSelector.emptyState.description":"No contact found here","groupChat.createPopup.fieldName":"Group name","groupChat.createPopup.placeholder":"Please input group name","general.cancel.capital":"Cancel","general.create.capital":"Create","general.done.capital":"Done","chat.member.addMore":"Add or Remove user","video.notReady":"The video is being processed. Please try again later.","liveStream.idle":"This stream is currently unavailable","liveStream.ended.caption":"This liveStream has ended.","liveStream.ended.message":"Playback will be available for you to watch shortly.","user.follow":"Follow","user.unfollow":"Unfollow","user.unfollow.confirm.title":"Unfollow {displayName}","user.unfollow.confirm.body":"You\u2019ll have to send a request again to follow {displayName}. Continue?","user.cancel_follow":"Cancel request","placeholder.noResults":"No results found","request.accept":"Accept","request.decline":"Decline","follower.title.removeUser":"Remove {displayName} from followers?","follower.body.removeUser":"We will not notify {displayName} that they've been removed from your followers","follower.menuItem.removeUser":"Remove user","follower.menuItem.unfollow":"Unfollow","buttonText.cancel":"Cancel","buttonText.remove":"Remove","follow.pendingNotification.title":"Pending requests","follow.pendingNotification.body":"Your requests are waiting for review","notification.done":"Done","counter.posts":"posts","counter.followings":"following","counter.followers":"followers","buttonText.unfollow":"Unfollow","privateFeed.title":"This account is private","privateFeed.body":"Follow this user to see all posts","navigationBlocker.title":"Unsaved changes","navigationBlocker.content":"Your changes won`t be saved. Are you sure you want to leave this page now?","user.unfollow.confirm.title.thisUser":"Unfollow this user","mediaGallery.images.empty":"No photos yet","mediaGallery.liveStreams.empty":"No liveStreams yet","mediaGallery.videos.empty":"No videos yet","user.unfollow.confirm.body.thisUser":"You\u2019ll have to send a request again to follow this user. Continue?","navigationBlocker.okText":"Leave","options_composer.button.add":"Add Option","options_composer.title":"Create at least 2 options","poll_modal.answer_type.title":"Selection type","poll_modal.answer_type.body":"Choose to vote with one or multiple options","poll_modal.closed_in.title":"Schedule poll (Optional)","poll_modal.closed_in.body":"Poll will be automatically closed at the end of chosen time frame (UTC)","select.answerType.item":"{answerType} selection","poll_composer.question.label":"Poll options","poll_composer.question.placeholder":"What\u2019s your poll question?","poll_composer.poll_options.label":"Options","poll_modal.title":"Create poll","poll.votes":"{voteCount} votes","poll.vote.closedIn":"Poll ends in {closedIn} days","poll.vote.finalResults":"Final results","poll.vote.submit":"Submit vote","poll.error.deletedOrClosed":"This poll has been closed or deleted.","poll.close":"Close poll","postCreator.unableToPost":"Unable to post","postCreator.overCharacter":"You have reached maximum 50,000 characters in a post.","postCreator.done":"Done","postCreator.unableToMention":"Unable to mention","postCreator.overMentionees":"You have reached maximum 30 mentioned users in a post.","postCreator.okText":"OK","pollComposer.unableToMention":"Unable to mention","pollComposer.overMentionees":"You have reached maximum 30 mentioned users in a post.","pollComposer.okText":"OK","storyCreation.hyperlink.bottomSheet.cancel":"Cancel","storyCreation.hyperlink.bottomSheet.title":"Add link","storyCreation.hyperlink.bottomSheet.submit":"Done","storyCreation.hyperlink.form.urlLabel":"URL","storyCreation.hyperlink.form.urlPlaceholder":"https://example.com","storyCreation.hyperlink.form.linkTextLabel":"Customize link text","storyCreation.hyperlink.form.linkTextPlaceholder":"Name your link","storyCreation.hyperlink.form.linkTextDescription":"This text will show on the link instead of URL.","storyCreation.hyperlink.form.removeButton":"Remove link","storyCreation.hyperlink.removeConfirm.title":"Remove link","storyCreation.hyperlink.removeConfirm.content":"This link will be removed from story.","storyCreation.hyperlink.removeConfirm.cancel":"Cancel","storyCreation.hyperlink.removeConfirm.confirm":"Remove","storyCreation.hyperlink.validation.error.invalidUrl":"Please enter a valid URL.","storyCreation.hyperlink.validation.error.whitelisted":"Please enter a whitelisted URL.","storyCreation.hyperlink.validation.error.blocked":"Your text contains a blocklisted word.","storyCreation.hyperlink.unsavedChanges.title":"Unsaved changes","storyCreation.hyperlink.unsavedChanges.content":"Are you sure you want to cancel? Your changes won't be saved.","storyCreation.hyperlink.unsavedChanges.cancel":"No","storyCreation.hyperlink.unsavedChanges.confirm":"Yes","storyViewer.actions.deleteStory":"Delete story","storyViewer.action.confirmModal.title":"Delete this story?","storyViewer.action.confirmModal.content":"This story will be permanently deleted. You\u2019ll no longer to see and find this story.","storyViewer.notification.deleted":"Story deleted","storyViewer.notification.success":"Successfully shared story","storyViewer.notification.error":"Failed to share story","storyViewer.footer.failed":"Failed to upload","storyViewer.footer.uploading":"Uploading...","storyViewer.commentSheet.title":"Comments","storyViewer.commentSheet.empty":"No comments yet","storyViewer.commentSheet.disabled":"Comments are disabled for this story","storyViewer.commentSheet.replyingTo":"Replying to","storyViewer.toast.like.disabled":"Join community to interact with all stories","storyViewer.toast.comment.reported":"Comment reported","storyViewer.toast.comment.unreported":"Comment unreported","storyViewer.toast.disable.react":"Join community to interact with all stories","storyViewer.commentComposeBar.submit":"Post","storyDraft.button.shareStory":"Share story","storyDraft.notification.hyperlink.error":"Can\u2019t add more than one link to your story.","storyTab.title":"Story","select.chatType.item":"{answerType} type","chatComposer.label.channelId":"Channel ID","chatComposer.label.displayName":"Display Name","chatComposer.label.type":"Channel Type","chatComposer.addUsers":"Add users","chat_modal.title":"Create chat","chat_composer.placeholder.displayName":"Enter display name here","chat_composer.placeholder.channelId":"Enter channel ID here","editChatMembersModal.title":"Add/Edit chat members","editChatMembersModal.confirm.title":"Leave without finishing?","editChatMembersModal.confirm.content":"Your progress won\u2019t be saved. Are you sure to leave this page now?","editChatMembersModal.confirm.cancelText":"Continue editing","editChatMembersModal.confirm.okText":"Leave","notification.error.blockedWord":"Text contain blocked word","notification.error.whitelistLink":"Data contain link that is not in whitelist","livechat.deleted.message":"This message was deleted","livechat.messageBubble.reply.button":"Reply","livechat.messageBubble.copy.button":"Copy","livechat.messageBubble.delete.button":"Delete","livechat.messageBubble.mention.button":"Mention","livechat.messageBubble.report.button":"Report","livechat.messageBubble.unReport.button":"Unreport","livechat.channel.muted":"This channel has been set to read-only by the channel moderator","livechat.modal.delete.message.title":"Delete this message?","livechat.modal.delete.message.content":"This message will also be removed from your friend\u2019s devices.","livechat.mention.all":"All","livechat.mention.all.description":"Notify everyone","livechat.notification.copy.message":"Message copied","livechat.composebar.placeholder":"Write a message","livechat.delete.message.error":"Unable to delete message. Please try again.","livechat.member.muted":"You\u2019ve been muted by the channel moderator","livechat.member.muted.error":"User is muted","livechat.member.banned.title":"You are banned from chat","livechat.member.banned.description":"You won\u2019t be able to participate in this chat until you\u2019ve been unbanned.","livechat.report.message.success":"Message reported","livechat.report.message.error":"This message failed to be reported. Please try again.","livechat.unReport.message.success":"Message unreported","livechat.unReport.message.error":"This message failed to be unreported. Please try again.","livechat.error.tooLongMessage.title":"Unable to send message","livechat.error.tooLongMessage.description":"Your message is too long. Please shorten your message and try again.","livechat.error.sendingMessage.error":"Your message wasn't sent. Please try again.","livechat.error.sendingMessage.blockedWord":"Your message wasn't sent as it contains a blocked word.","livechat.error.sendingMessage.notAllowLink":"Your message wasn\u2019t sent as it contained a link that\u2019s not allowed.","livechat.reaction.errorOnload":"Unable to load reactions","livechat.reaction.emptyState":"No reactions yet","livechat.reaction.emptyState.description":"Be the first to react to this message!","livechat.reaction.label.removeReaction":"Click to remove reaction"};var b0={en:BC};var LC="en",v$=({locale:e,children:t})=>{let o=b0[e]?b0[e]:b0[LC];return te.createElement(IntlProvider,{defaultLocale:LC,locale:e,messages:o},t)},AC=v$;var x$={palette:{alert:"#FA4D30",base:"#292B32",primary:"#000000",secondary:"#FFD400",tertiary:"#FF305A",neutral:"#17181C",highlight:"#1054DE",system:{borders:"#ebecef",background:"#fff"}},typography:{global:{fontFamily:"var(--pal-font-family-000)",fontStyle:"normal"},headline:{fontWeight:600,fontSize:"20px"},title:{fontWeight:600,fontSize:"16px"},subTitle:{fontWight:400,fontSize:"13px"},body:{fontWeight:"normal",fontSize:"14px"},bodyBold:{fontWeight:600,fontSize:"14px"},caption:{fontWeight:"normal",fontSize:"12px"},captionBold:{fontWeight:600,fontSize:"12px"}}},DC=x$;function I0(e){return (e==null?void 0:e.communityMembership)==="member"}function w0(e){return (e==null?void 0:e.userPrivacySetting)==="private"}function HC(e){return (e||[]).map((t,o)=>{var r;return {id:t.userId,display:(r=t.displayName)!=null?r:t.userId,avatar:t.avatarCustomUrl,isLastItem:(e==null?void 0:e.length)===o+1}})}var M0=1;function I$(e,t,o){let r=o+M0,n=r+t;return e.substring(r,n)}function P0(e){return e?e.sort((o,r)=>o.index-r.index).map(({index:o,length:r})=>({start:o,end:o+r+M0,highlight:!0})):[]}function FC(e){let t={},o=[];return (e==null?void 0:e.length)>0?(t.mentioned=[...e.sort((r,n)=>r.plainTextIndex-n.plainTextIndex).map(({plainTextIndex:r,id:n,display:i})=>({index:r,length:i.length-M0,type:"user",userId:n}))],o.push({type:"user",userIds:e.map(({id:r})=>r)})):o.push({type:"user",userIds:[]}),{metadata:t,mentionees:o}}function OC(e,t){if(!e||b$(t==null?void 0:t.mentioned))return e;let o=e;return ((t||{}).mentioned||[]).sort((r,n)=>n.index-r.index).forEach(({userId:r,length:n,index:i})=>{let a=`@[${I$(e,n,i)}](${r})`;o=o.replace(new RegExp(`(.{${i}}).{${n+M0}}`),`$1${a}`);}),o}function Oe(e){return e!=null}var $C=e=>e.toFixed(1),UC=e=>{let t=Math.min(e*100,100);return $C(t)};function M$(e){return e.alpha!==void 0}var VC=e=>{let{hue:t,saturation:o,lightness:r}=e,n=[`${$C(t)}`,`${UC(o)}%`,`${UC(r)}%`];return M$(e)?`hsla(${[...n,e.alpha].filter(Oe).join(",")})`:`hsl(${n.filter(Oe).join(",")})`},P$=e=>{let t=parseToHsl(e);return VC(t)},_$=(e,t)=>{let o=parseToHsl(t),{lightness:r}=o,n=E(d({},o),{lightness:Math.min(1,r+e)});return VC(n)},T$=[.25,.4,.5,.75],jC=e=>{let i=e,{system:t}=i,o=P(i,["system"]),r=Object.keys(o).reduce((a,s)=>(a[s]={main:P$(o[s])},a),d({},o)),n=Object.keys(r).reduce((a,s)=>{let l=o[s],c=T$.reduce((u,g,f)=>{let y=`shade${f+1}`;return u[y]=_$(g,l),u},{}),p=r[s];return p&&typeof p=="object"?a[s]=d(d({},c),p):a[s]=E(d({},c),{main:p}),a},d({},r));return E(d({},n),{system:t})};var k$=["fontFamily","fontStyle","fontWeight","fontSize"],S$=e=>Object.keys(e).reduce((o,r)=>{let n=e[r];return r&&n&&k$.includes(r)&&(o[r]=n),o},{}),GC=e=>Object.keys(e).reduce((o,r)=>(o[r]=S$(d(d({},e.global),e[r])),o),{});var ZC={colors:{primary:{default:"#1054DE",shade1:"#4A82F2",shade2:"#A0BDF8",shade3:"#D9E5FC",shade4:"#FFFFFF"},secondary:{default:"#292B32",shade1:"#636878",shade2:"#898E9E",shade3:"#A5A9B5",shade4:"#EBECEF"},base:{default:"#292B32",shade1:"#636878",shade2:"#898E9E",shade3:"#A5A9B5",shade4:"#EBECEF"},baseInverse:{default:"#FFFFFF"},alert:{default:"#FA4D30"},highlight:"#1054DE",messageBubble:{default:"#1054DE",inverse:"#FFFFFF"},storyIndicator:{default:"#EBECEF",active:["#339AF9","#78FA58"]},hyperlink:{default:"#FFFFFFCC"},actionButton:{default:"#00000080"}},typography:{heading:{fontWeight:600,fontSize:"1.25rem",lineHeight:"1.5rem"},title:{fontWeight:600,fontSize:"1rem",lineHeight:"1.25rem"},subTitle:{fontWeight:400,fontSize:"0.8125rem",lineHeight:"1rem"},body:{fontWeight:"normal",fontSize:"0.875rem",lineHeight:"1.25rem"},bodyBold:{fontWeight:600,fontSize:"0.875rem",lineHeight:"1.25rem"},caption:{fontWeight:"normal",fontSize:"0.75rem",lineHeight:"1rem"},captionBold:{fontWeight:600,fontSize:"0.75rem",lineHeight:"1rem"}}};var E$=(e={})=>{let t=N$(DC,e),o=jC(t.palette),r=GC(t.typography);return E(d({},t),{palette:o,typography:r,v4:ZC})},QC=E$;var WC=m.div`
487
+ 0-22.58L207.6 256z`})),R1=Fz;var CC=[.25,.4,.5,.75],jz=(e,t=!1)=>{if(!e)return Array(CC.length).fill("");if(t===!0&&e===Qo.theme.dark.primary_color)return ["#4a82f2","#a0bdf8","#d9e5fc","#ffffff"];if(t===!1&&e===Qo.theme.light.primary_color)return ["#4a82f2","#a0bdf8","#d9e5fc","#ffffff"];let o=parseToHsl(e);return CC.map(n=>t?darken(n,hslToColorString(o)):lighten(n,hslToColorString(o)))};function vC(e){let t=q4(),o=useMemo(()=>e!=null&&e.preferred_theme&&(e==null?void 0:e.preferred_theme)!=="default"?e.preferred_theme:"default",[e==null?void 0:e.preferred_theme,t]),r=o==="default"?t:o;return useMemo(()=>{var s;let i=((s=e==null?void 0:e.theme)==null?void 0:s[r])||{},a=jz(i.primary_color);return {"--asc-color-primary-default":i.primary_color,"--asc-color-primary-shade1":a[0],"--asc-color-primary-shade2":a[1],"--asc-color-primary-shade3":a[2],"--asc-color-primary-shade4":a[3],"--asc-color-secondary-default":i.secondary_color,"--asc-color-secondary-shade1":i.secondary_shade1_color,"--asc-color-secondary-shade2":i.secondary_shade2_color,"--asc-color-secondary-shade3":i.secondary_shade3_color,"--asc-color-secondary-shade4":i.secondary_shade4_color,"--asc-color-alert-default":i.alert_color,"--asc-color-base-inverse":i.base_inverse_color,"--asc-color-base-default":i.base_color,"--asc-color-base-shade1":i.base_shade1_color,"--asc-color-base-shade2":i.base_shade2_color,"--asc-color-base-shade3":i.base_shade3_color,"--asc-color-base-shade4":i.base_shade4_color,"--asc-color-base-shade5":i.base_shade5_color,"--asc-color-background-default":i.background_color}},[e,r])}var Gz=createContext({currentTheme:"light",toggleTheme:()=>{}});var q4=()=>{let{currentTheme:e}=useContext(Gz);return e};var K4=({page:e,component:t,element:o})=>o!=="*"?[`${e}/${t}/${o}`,`*/${t}/${o}`,`${e}/*/${o}`,`*/*/${o}`,`${e}/${t}/*`,`*/${t}/*`,`${e}/*/*`]:t!=="*"?[`${e}/${t}/*`,`${e}/*/*`,`*/${t}/*`]:e!=="*"?[`${e}/*/*`]:[],xC=createContext({config:null,parseConfig:()=>{},isExcluded:()=>!1,getConfig:()=>({})}),x0=()=>{let e=useContext(xC);if(!e)throw new Error("useCustomization must be used within a CustomizationProvider");return e},Qo={preferred_theme:"default",theme:{light:{primary_color:"#36486c",secondary_color:"#292b32",secondary_shade1_color:"#636878",secondary_shade2_color:"#898e9e",secondary_shade3_color:"#a5a9b5",secondary_shade4_color:"#ebecef",base_color:"#292b32",base_shade1_color:"#636878",base_shade2_color:"#898e9e",base_shade3_color:"#a5a9b5",base_shade4_color:"#ebecef",base_shade5_color:"#F9F9FA",alert_color:"#FA4D30",background_color:"#FFFFFF",base_inverse_color:"#000000"},dark:{primary_color:"#1054DE",secondary_color:"#ebecef",secondary_shade1_color:"#a5a9b5",secondary_shade2_color:"#898e9e",secondary_shade3_color:"#40434e",secondary_shade4_color:"#292b32",base_color:"#ebecef",base_shade1_color:"#a5a9b5",base_shade2_color:"#6e7487",base_shade3_color:"#40434e",base_shade4_color:"#292b32",base_shade5_color:"#f9f9fa",alert_color:"#FA4D30",background_color:"#191919",base_inverse_color:"#FFFFFF"}},excludes:[],customizations:{"select_target_page/*/*":{theme:{},title:"Share to"},"select_target_page/*/back_button":{back_icon:"back.png"},"camera_page/*/*":{resolution:"720p"},"camera_page/*/close_button":{close_icon:"close.png"},"create_story_page/*/*":{},"create_story_page/*/back_button":{back_icon:"back.png",background_color:"#1234DB"},"create_story_page/*/aspect_ratio_button":{aspect_ratio_icon:"aspect_ratio.png",background_color:"1234DB"},"create_story_page/*/story_hyperlink_button":{hyperlink_button_icon:"hyperlink_button.png",background_color:"#1234DB"},"create_story_page/*/hyper_link":{hyper_link_icon:"hyper_link.png",background_color:"#1234DB"},"create_story_page/*/share_story_button":{share_icon:"share_story_button.png",background_color:"#1234DB",hide_avatar:!1},"story_page/*/*":{},"story_page/*/progress_bar":{progress_color:"#UD1234",background_color:"#AB1234"},"story_page/*/overflow_menu":{overflow_menu_icon:"threeDot.png"},"story_page/*/close_button":{close_icon:"close.png"},"story_page/*/story_impression_button":{impression_icon:"impressionIcon.png"},"story_page/*/story_comment_button":{comment_icon:"comment.png",background_color:"#2b2b2b"},"story_page/*/story_reaction_button":{reaction_icon:"like.png",background_color:"#2b2b2b"},"story_page/*/create_new_story_button":{create_new_story_icon:"plus.png",background_color:"#ffffff"},"story_page/*/speaker_button":{mute_icon:"mute.png",unmute_icon:"unmute.png",background_color:"#1243EE"},"story_page/*/arrow_left_button":{arrow_left_icon:"arrow_left.png",background_color:"#1243EE"},"story_page/*/arrow_right_button":{arrow_right_icon:"arrow_right.png",background_color:"#1243EE"},"*/edit_comment_component/*":{theme:{}},"*/edit_comment_component/edit_cancel_button":{cancel_icon:"",cancel_button_text:"Cancel",background_color:""},"*/edit_comment_component/save_button":{save_icon:"",save_button_text:"Save",background_color:"#1243EE"},"*/hyper_link_config_component/*":{theme:{}},"*/hyper_link_config_component/done_button":{done_icon:"",done_button_text:"Done",background_color:"#1243EE"},"*/hyper_link_config_component/edit_cancel_button":{cancel_icon:"",cancel_button_text:"Cancel"},"*/comment_tray_component/*":{theme:{}},"*/comment_tray_component/comment_bubble_deleted_view":{comment_bubble_deleted_icon:"comment_bubble_deleted.png",text:"This reply has been deleted"},"*/story_tab_component/*":{},"*/story_tab_component/story_ring":{progress_color:["#339AF9","#78FA58"],background_color:"#AB1234"},"*/story_tab_component/create_new_story_button":{create_new_story_icon:"plus.png",background_color:"#1243EE"},"*/*/close_button":{close_icon:"close.png"},"social_home_page/top_navigation/header_label":{text:"Community"},"social_home_page/top_navigation/global_search_button":{icon:"searchButtonIcon"},"social_home_page/top_navigation/post_creation_button":{icon:"postCreationIcon"},"social_home_page/*/newsfeed_button":{text:"Newsfeed"},"social_home_page/*/explore_button":{text:"Explore"},"social_home_page/*/my_communities_button":{text:"My Communities"},"social_home_page/empty_newsfeed/illustration":{icon:"emptyFeedIcon"},"social_home_page/empty_newsfeed/title":{text:"Your Feed is empty"},"social_home_page/empty_newsfeed/description":{text:"Find community or create your own"},"social_home_page/empty_newsfeed/explore_communities_button":{icon:"exploreCommunityIcon",text:"Explore Community"},"social_home_page/empty_newsfeed/create_community_button":{icon:"createCommunityIcon",text:"Create Community"},"social_home_page/my_communities/community_avatar":{},"social_home_page/my_communities/community_display_name":{},"social_home_page/my_communities/community_private_badge":{icon:"lockIcon"},"social_home_page/my_communities/community_official_badge":{icon:"officalBadgeIcon"},"social_home_page/my_communities/community_category_name":{},"social_home_page/my_communities/community_members_count":{},"social_home_page/newsfeed_component/*":{},"social_home_page/global_feed_component/*":{},"global_search_page/*/*":{},"post_detail_page/*/back_button":{icon:"backButtonIcon"},"post_detail_page/*/menu_button":{icon:"menuIcon"},"*/*/moderator_badge":{icon:"badgeIcon",text:"Moderator"},"*/post_content/timestamp":{},"*/post_content/menu_button":{icon:"menuIcon"},"*/post_content/post_content_view_count":{},"*/post_content/reaction_button":{icon:"likeButtonIcon",text:"Like"},"*/post_content/comment_button":{icon:"commentButtonIcon",text:"Comment"},"*/post_content/share_button":{icon:"shareButtonIcon",text:"Share"},"post_composer_page/*/*":{},"post_composer_page/*/close_button":{image:"platformValue"},"post_composer_page/*/community_display_name":{},"post_composer_page/*/create_new_post_button":{text:"Post"},"post_composer_page/*/edit_post_button":{text:"Save"},"post_composer_page/*/edit_post_title":{text:"Edit post"},"post_composer_page/media_attachment/*":{},"post_composer_page/media_attachment/camera_button":{image:"platformValue"},"post_composer_page/media_attachment/image_button":{image:"platformValue"},"post_composer_page/media_attachment/video_button":{image:"platformValue"},"post_composer_page/media_attachment/file_button":{image:"platformValue"},"post_composer_page/media_attachment/detailed_button":{image:"platformValue"},"post_composer_page/detailed_media_attachment/*":{},"post_composer_page/detailed_media_attachment/camera_button":{text:"Camera",image:"platformValue"},"post_composer_page/detailed_media_attachment/image_button":{text:"Photo",image:"platformValue"},"post_composer_page/detailed_media_attachment/video_button":{text:"Video",image:"platformValue"},"post_composer_page/detailed_media_attachment/file_button":{text:"Attachment",image:"platformValue"},"social_home_page/*/*":{},"social_home_page/create_post_menu/*":{},"social_home_page/create_post_menu/create_post_button":{text:"Post",image:"Post"},"social_home_page/create_post_menu/create_story_button":{text:"Story",image:"Story"},"social_home_page/create_post_menu/create_poll_button":{text:"Poll",image:"Poll"},"social_home_page/create_post_menu/create_livestream_button":{text:"Livestream",image:"Livestream"},"select_post_target_page/*/close_button":{image:"platformValue"},"select_post_target_page/*/my_timeline_avatar":{},"select_post_target_page/*/title":{text:"Post to"},"select_post_target_page/*/my_timeline_text":{text:"My Timeline"},"select_story_target_page/*/close_button":{image:"platformValue"},"select_story_target_page/*/title":{text:"Share to"},"*/*/community_official_badge":{image:"platformValue"},"*/*/community_private_badge":{image:"platformValue"},"social_global_search_page/*/*":{},"social_global_search_page/top_search_bar/*":{text:"Search community and user"},"social_global_search_page/top_search_bar/search_icon":{icon:"search"},"social_global_search_page/top_search_bar/clear_button":{icon:"clear"},"social_global_search_page/top_search_bar/cancel_button":{text:"Cancel"},"social_global_search_page/community_search_result/community_avatar":{},"social_global_search_page/community_search_result/community_display_name":{},"social_global_search_page/community_search_result/community_private_badge":{icon:"lockIcon"},"social_global_search_page/community_search_result/community_official_badge":{icon:"officialBadgeIcon"},"social_global_search_page/community_search_result/community_category_name":{},"social_global_search_page/community_search_result/community_members_count":{},"my_communities_search_page/top_search_bar/*":{text:"Search my community"},"my_communities_search_page/*/community_avatar":{},"my_communities_search_page/*/community_display_name":{},"my_communities_search_page/*/community_private_badge":{icon:"lockIcon"},"my_communities_search_page/*/community_official_badge":{icon:"officialBadgeIcon"},"my_communities_search_page/*/community_category_name":{},"my_communities_search_page/*/community_members_count":{},"my_communities_search_page/top_search_bar/cancel_button":{text:"Cancel"},"community_profile_page/*/*":{},"community_profile_page/community_feed/*":{},"*/post_content/announcement_badge":{image:"value"},"*/post_content/pin_badge":{image:"value"},"*/post_content/non_member_section":{image:"value"},"community_profile_page/community_header/*":{},"community_profile_page/community_header/community_cover":{},"community_profile_page/community_header/community_name":{},"community_profile_page/community_header/community_verify_badge":{image:"value"},"community_profile_page/community_header/community_category":{},"community_profile_page/community_header/community_description":{},"community_profile_page/community_header/community_info":{},"community_profile_page/community_header/community_join_button":{image:"value"},"community_profile_page/community_header/community_pending_post":{image:"value"},"community_profile_page/community_header/back_button":{image:"value"},"community_profile_page/community_header/menu_button":{image:"value"},"community_profile_page/community_profile_tab/*":{},"community_profile_page/community_profile_tab/community_feed_tab_button":{image:"value"},"community_profile_page/community_profile_tab/community_pin_tab_button":{image:"value"},"community_profile_page/community_pin/*":{},"community_profile_page/community_pin/community_create_post_button":{image:"value"},"community_profile_page/post_content/*":{}}},bC=e=>{let[t,o,r]=e.split("/"),n=K4({page:t,component:o,element:r});return new Proxy({},{get(i,a){var s,l;for(let c of n)if((l=(s=Qo==null?void 0:Qo.customizations)==null?void 0:s[c])!=null&&l[a])return Qo.customizations[c][a]}})},IC=({children:e,initialConfig:t={}})=>{let [o,r]=useState(null);q4();useEffect(()=>{i()?a(t):console.error("Invalid configuration provided to CustomizationProvider");},[t]);let i=p=>!0,a=p=>{r(p);},c={config:o,parseConfig:a,isExcluded:p=>{var C;let[u,g,f]=p.split("/"),y=K4({page:u,component:g,element:f});return ((C=o==null?void 0:o.excludes)==null?void 0:C.some(v=>y.some(h=>h===v)))||!1},getConfig:p=>{let[u,g,f]=p.split("/"),y=K4({page:u,component:g,element:f}),C=v=>({get(h,x){var b,M,I,w,k,S,L,D,H,$,B,z,V,K,U;for(let j of y)if((w=(I=(M=(b=o==null?void 0:o.customizations)==null?void 0:b[j])==null?void 0:M.theme)==null?void 0:I[v])!=null&&w[x])return (S=(k=o.customizations[j].theme)==null?void 0:k[v])==null?void 0:S[x];if((D=(L=o==null?void 0:o.theme)==null?void 0:L[v])!=null&&D[x])return (H=o.theme[v])==null?void 0:H[x];for(let j of y)if((V=(z=(B=($=Qo.customizations)==null?void 0:$[j])==null?void 0:B.theme)==null?void 0:z[v])!=null&&V[x])return (U=(K=Qo.customizations[j].theme)==null?void 0:K[v])==null?void 0:U[x];return Qo.theme[v][x]}});return new Proxy({},{get(v,h){var x,b,M,I,w;if(h==="theme")return {light:new Proxy({},C("light")),dark:new Proxy({},C("dark"))};if(h==="preferred_theme")return (x=o==null?void 0:o.preferred_theme)!=null?x:Qo.preferred_theme;for(let k of y)if((M=(b=o==null?void 0:o.customizations)==null?void 0:b[k])!=null&&M[h])return o.customizations[k][h];for(let k of y)if((w=(I=Qo==null?void 0:Qo.customizations)==null?void 0:I[k])!=null&&w[h])return Qo.customizations[k][h]}})}};return te.createElement(xC.Provider,{value:c},e)};var A=({pageId:e,componentId:t,elementId:o})=>{let r=`${e}/${t}/${o}`,{getConfig:n,isExcluded:i}=x0(),a=n(r),s=bC(r),l=vC(a),c=i(r);return {config:a,defaultConfig:s,uiReference:r,accessibilityId:r,themeStyles:l,isExcluded:c}},re=({pageId:e,componentId:t})=>A({pageId:e,componentId:t,elementId:"*"}),Re=({pageId:e})=>A({pageId:e,componentId:"*",elementId:"*"});var Yz=({pageId:e="*",componentId:t="*",elementId:o="*",size:r="",onOverlayClick:n=()=>{},onCancel:i,title:a,footer:s,children:l})=>{let{accessibilityId:c,themeStyles:p}=A({pageId:e,componentId:t,elementId:o}),u=useRef(null);return useEffect(()=>{var g;(g=u==null?void 0:u.current)==null||g.focus();},[u==null?void 0:u.current]),te.createElement("div",{className:Us.overlay,onClick:n,style:p},te.createElement("div",{className:gr(Us.modalWindow),"data-qa-anchor":c,ref:u,tabIndex:0},i&&te.createElement(R1,{className:Us.closeIcon,onClick:i}),a&&te.createElement("div",{className:Us.title},a),te.createElement("div",{className:gr(Us.content)},l),s&&te.createElement("div",{className:Us.footer},s)))},MC=Yz;var PC={button:"la"};var O=o=>{var r=o,{className:e}=r,t=P(r,["className"]);return te.createElement(Button,d({className:gr(PC.button,e)},t))};var _C=createContext({confirmData:null,confirm:e=>{},info:e=>{},closeConfirm:()=>{}}),et=()=>useContext(_C),TC=({children:e})=>{let[t,o]=useState(null),r=()=>{o(null);},n=a=>{o(E(d({},a),{type:"confirm"}));},i=a=>o(E(d({},a),{type:"info",OkButton:ye}));return te.createElement(_C.Provider,{value:{confirmData:t,confirm:n,info:i,closeConfirm:r}},e)};var tl={modal:"sa",background:"ca",footer:"na",okButton:"da",cancelButton:"H"};var ze={typography:"pa","typography-headings":"ga","typography-titles":"ha","typography-sub-title":"fa","typography-body":"ba","typography-body-bold":"ua","typography-caption":"va","typography-caption-bold":"xa"};var $s=e=>e.renderer!==void 0,m$={Heading:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-headings"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("h1",d({className:gr(ze.typography,ze["typography-headings"],o),style:r},n),t)},Title:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-titles"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("h2",d({className:gr(ze.typography,ze["typography-titles"],o),style:r},n),t)},Subtitle:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-sub-title"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("h3",d({className:gr(ze.typography,ze["typography-sub-title"],o),style:r},n),t)},Body:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-body"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-body"],o),style:r},n),t)},BodyBold:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-body-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-body-bold"],o),style:r},n),t)},Caption:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-caption"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-caption"],o),style:r},n),t)},CaptionBold:e=>{if($s(e))return e.renderer({typoClassName:gr(ze.typography,ze["typography-caption-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te.createElement("span",d({className:gr(ze.typography,ze["typography-caption-bold"],o),style:r},n),t)}},N=m$;var c$=({pageId:e="*",componentId:t="*",elementId:o="*",className:r,title:n,content:i,okText:a="Ok",onOk:s,cancelText:l="Cancel",onCancel:c,type:p="confirm"})=>{let{accessibilityId:u,themeStyles:g}=A({pageId:e,componentId:t,elementId:o});return te.createElement(MC,{className:gr(r,tl.modal),pageId:e,componentId:t,elementId:o,"data-qa-anchor":`confirm-modal-${u}`,title:n,footer:te.createElement("div",{className:tl.footer},p==="confirm"&&te.createElement(O,{style:g,className:tl.cancelButton,"data-qa-anchor":"confirm-modal-cancel-button",onPress:c},te.createElement(N.BodyBold,null,l)),te.createElement(O,{style:g,className:tl.okButton,"data-qa-anchor":`confirm-modal-${u}-ok-button`,onPress:s},te.createElement(N.BodyBold,null,a))),onCancel:c},te.createElement("div",null,i))},kC=()=>{let{confirmData:e,closeConfirm:t}=et();if(!e)return null;let o=()=>{t(),e!=null&&e.onCancel&&e.onCancel();},r=()=>{t(),e!=null&&e.onOk&&e.onOk();};return te.createElement(c$,E(d({},e),{onCancel:o,onOk:r,className:tl.background}))};var SC={socialCommunityCreationButtonVisible:!0},NC=createContext(SC),EC=()=>useContext(NC);function J4({children:e,config:t}){let o=useMemo(()=>d(d({},SC),t),[t]);return te.createElement(NC.Provider,{value:o},e)}var BC={"general.action.cancel":"Cancel","general.action.accept":"Accept","general.action.decline":"Decline","general.action.discard":"Discard","general.action.ok":"Ok","general.error.tryAgainLater":"Something went wrong. Please try again later.","general.connection.waiting":"Waiting for connection...",hello:"Hello World","plural.like":"{amount, plural, one {like} other {likes}}",comment:"Comment","plural.comment":"{amount, plural, one {comment} other {comments}}","plural.member":"{amount, plural, one {member} other {members}}",selectACategory:"Select a category",todaysTrendingTitle:"Trending groups",loadMore:"Load More",categoryList:"Categories",recommendedList:"Groups you\u2019ll love","exploreHeader.searchCommunityTitle":"Explore groups","exploreHeader.searchCommunityPlaceholder":"Search groups...","exploreHeader.createCommunityTitle":"or create your own!","exploreHeader.createCommunityButton":"Create group",backTitle:"Back",createCommunity:"Create Group",moderator:"Moderator","moderatorMenu.promoteToModerator":"Promote to moderator","moderatorMenu.dismissModerator":"Dismiss moderator","moderatorMenu.removeFromCommunity":"Remove from group","post.readMore":"Read more","post.editPost":"Edit post","post.deletePost":"Delete post","post.editPostMobile":"Edit","post.deletePostMobile":"Delete","post.confirmDelete":"This post will be permanently deleted. You\u2019ll no longer to see and find this post. Continue?","post.confirmPendingDelete":"This post will be permanently deleted from the pending list","post.edited":"Edited","post.like":"Like","post.liked":"Liked","post.unknownPost.description":"We couldn\u2019t recognize this post.","post.unknownPost.title":"Something went wrong","post.renderingError.description":"We couldn\u2019t render this post.","post.renderingError.title":"Something went wrong","post.community":"Group","post.myTimeline":"My Timeline","post.wasLive":"was live","post.success.approved":"Post approved","post.success.declined":"Post declined","post.success.submittedToReview":"Your post has been submitted to review by moderator","post.error.cannotReview.title":"Post is not available","post.error.cannotReview.description":"The post has been reviewed by another moderator","post.discard.title":"Discard post?","post.discard.content":"Do you want to discard your post?","post.editDiscard.title":"Discard changes","post.editDiscard.content":"Do you want to discard your changes?","post.editDiscard.cancel":"Continue editing","collapsible.viewAll":"View all","collapsible.viewAllFiles":"View all files","collapsible.viewAllComments":"View all comments...","collapsible.viewMoreComments":"View more comments...","collapsible.viewMoreReplies":"View more replies","collapsible.viewReplies":"View replies","collapsible.viewMoreReply":"View {count, plural, one {# reply} other {# replies}}","community.createSuccess":"Your group was successfully created","community.updateSuccess":"Your group was successfully updated","community.editProfile":"Edit profile","community.join":"Join","community.communitySettings":"Group Settings","community.returnTo":"Return to {communityName}","community.leaveCommunityTitle":"Leave group?","community.leaveCommunityBody":"You will no longer be able to post or interact in this group after leaving.","community.leaveCommunityBodyLastMember":"As you\u2019re the last moderator and member, choose close group to leave.","community.leaveCommunityBodyOnlyModerator":"You\u2019re the only moderator in this group. Nominate other members before leaving group.","community.leaveCommunityButtonText":"Leave","community.leaveCommunityButtonOK":"OK","community.cannotInteract":"Join group to interact with all posts","community.removeUserFromCommunityTitle":"Remove user from group","community.removeUserFromCommunityBody":"This user won't no longer be able to search, post. Continue?","community.name":"Group name","community.about":"About","community.category":"Category","community.onlyadmincanpost":">Only admin can post","community.onlyadmins":"Choose to allow Only Admins to create posts in this group.","community.categorypermission":"Group permission","community.addmembers":"Add members","community.posts":"posts","community.members":"members","community.settings":"Settings","community.leaveCommunity":"Leave Group","CommunityMembers.members":"Members","CommunityMembers.moderators":"Moderators","EmptyFeed.TargetType.globalFeed":"This feed is empty","EmptyFeed.TargetType.communityFeed":"This group's feed is empty.","EmptyFeed.TargetType.userFeed":"This user's feed is empty.","EmptyFeed.TargetType.myFeed":"Your feed is empty. Start your first post","EmptyFeed.exploreCommunity":"Explore Group","UserFeed.tabs.timeline":"Timeline","community.exploreCommunities":"Explore Community","community.permissions.postReview":"Post review","community.permissions.storyComments":"Story comments","community.permissions.approvePosts":"Approve member posts","community.permissions.allowStoryComments":"Allow comments on group stories","community.permissions.approvePosts.prompt":"Posts by members have to be reviewed and approved by group moderator.","community.permissions.storyComments.prompt":"Turn on to receive comments on stories in this group.","community.permissions.error.needApprovalOnPostCreation.turnOn":"Unable to turn on post review","community.permissions.error.needApprovalOnPostCreation.turnOff":"Unable to turn off post review","community.permissions.error.storyComments.turnOn":"Unable to turn on post review","community.permissions.error.storyComments.turnOff":"Unable to turn off post review","community.review.declinePendingPosts":"Decline pending post will permanently delete the selected post from group.","community.pendingPostsBanner.title":"Pending posts","community.pendingPostsBanner.pendingForReview":"Your posts are pending for review","community.pendingPostsBanner.needApproval":"{formattedAmount} {amount, plural, one {post needs} other {posts need}} approval","communityCreatedModal.title":"Customize your community","communityCreatedModal.message":"You\u2019ve successfully created a community! Now let's manage permissions that work best for you","communityCreatedModal.goToSettings":"Group settings","communityCreatedModal.skip":"Skip for now",post:"Post","upload.attachmentLimit":"You reached the maximum attachment of {maxFiles}","upload.fileSizeLimit":"One of the selected file is larger than 1GB. Please select a new file.","user.editProfile":"Edit profile","user.message":"Message","follow.placeholder.noFollowings":"Not following anyone yet","follow.placeholder.noFollowers":"No followers yet","ProfileSettings.editProfile":"Edit profile","ProfileSettings.returnTo":"Return to ","SideSectionMyCommunity.myCommunity":"My groups","file.reUpload":"Click to re-upload the file","UserProfileForm.displayname":"Nickname","UserProfileForm.about":"About","UserProfileForm.title":"General","UserProfileForm.namePlaceholder":"Enter user display name","UserProfileForm.requiredDisplayName":"Display name is required","UserProfileForm.requiredDescription":"Enter something about yourself","UserSelector.placeholder":"Select user...","report.reportUser":"Report user","report.unreportUser":"Unreport user","report.reportComment":"Report comment","report.unreportComment":"Unreport comment","report.reportSent":"Report sent","report.unreportSent":"Unreport sent","comment.like":"Like","comment.liked":"Liked","comment.deleted":"This comment has been deleted","comment.delete":"Delete comment","comment.edit":"Edit comment","comment.deleteMobile":"Delete","comment.editMobile":"Edit","comment.deleteConfirmContent":"This comment will be permanently deleted. Continue?","comment.deleteConfirmCancelText":"Cancel","comment.deleteConfirmOkText":"Delete","dropdown.first":"First","dropdown.second":"Second","layout.logout":"Log Out","layout.username":"Jackies","chat.details.chatDetailes":"Chat Detail","chat.details.communityName":"Group Name","message.flag":"flag","message.unflag":"Unflag","message.edit":"Edit","message.delete":"Delete","message.deleted":"deleted","message.unsupportedFormat":"Unsupported message format","message.saveOptionsError":"There was an error processing your request","MessageComposeBar.placeholder":"Type your message...","RecentChat.chats":"Chats","AddMemberModal.addMembers":"Add members","AddMemberModal.membersValidationError":"Please select at least one member",add:"Add",save:"Save",close:"Close",reply:"Reply",delete:"Delete",create:"Create",cancel:"Cancel",loading:"Loading...","loading.chat":"Loading chat...",anonymous:"Anonymous","comment.edited":"Edited","comment.readmore":"Read more","communities.nocommunityfound":"No Group found","profile.setting":"Profile Settings","sidesectioncommunity.newfeed":"Feed","sidesectioncommunity.userProfile":"Profile","sidesectioncommunity.explore":"Explore","sidesectioncommunity.community":"Community","communityFeed.join":"Join community to interact with all posts","communityFeed.members":"Members","communityFeed.moderators":"Moderators","files.all":"View all files","sidebar.community":"Group","sidebar.explore":"Explore","sidebar.user":"User profile","CategoryCommunitiesList.emptyTitle":"It's empty here...","CategoryCommunitiesList.emptyDescription":"No community found in this category","CommentComposeBar.addComment":"Post","CommentComposeBar.replayTo":"Reply to ","CommentComposeBar.replayToUser":"Replying to {displayName}","CommentComposeBar.saySomething":"Say something nice...","CommentComposeBar.unableToPost":"Unable to post","CommentComposeBar.overCharacter":"You have reached maximum 50,000 characters in a post.","CommentComposeBar.done":"Done","CommentComposeBar.unableToMention":"Unable to mention","CommentComposeBar.overMentionees":"You have reached maximum 30 mentioned users in a post.","CommentComposeBar.okText":"OK","CommunityCreationModal.title":"Leave without finishing?","CommunityCreationModal.content":"Your progress won\u2019t be saved. Are you sure to leave this page now?","CommunityCreationModal.cancelText":"Continue editing","CommunityCreationModal.okText":"Leave","PostAsCommunity.title":"Post as group","PostAsCommunity.caption":"Enable this will publish the post on behalf of group account","AddMemberAction.title":"Add members","AddMemberAction.description":"Add your friends to this group to participate in group conversations","CloseCommunityAction.closeConfirm.title":"Close group?","CloseCommunityAction.closeConfirm.description":"All members will be removed from the community. All posts, messages, reactions and media shared in community will be deleted. This cannot be undone.","CloseCommunityAction.title":"Close group","CloseCommunityAction.description":"Closing this group will remove the group page and all its content and comments. This cannot be undone.","report.doReport":"Report","report.undoReport":"Undo Report","comment.deleteBody":"This comment will be permanently removed.","reply.delete":"Delete reply","reply.deleteBody":"This reply will be permanently deleted. Continue?","reply.edit":"Edit reply","reply.deleted":"This reply has been deleted","tabs.editProfile":"Edit profile","tabs.timeline":"Timeline","tabs.followers":"Followers","tabs.followings":"Following","tabs.pending":"Pending","tabs.members":"Members","tabs.moderators":"Moderators","tabs.pendingPosts":"Pending {amount, select, 0 {} other { ({formattedAmount})}}","tabs.permissions":"Permissions","tabs.gallery":"Gallery","tabs.images":"Photos","tabs.videos":"Videos","tabs.liveStreams":"Livestreams","feed.emptyFeed":"Your feed is empty.","feed.emptyCommunityPublicFeed":"This group's feed is empty.","feed.emptyCommunityReviewingFeed":"No pending posts","feed.emptyJoinedCommunityPublicFeedTitle":"Your feed is empty.","feed.emptyJoinedCommunityPublicFeedBody":"Share a post to start the conversation!","feed.emptyMyCommunitiesBody":"You have not joined any groups yet. Please join one to get started.","feed.emptyUserFeed":"No posts yet","feed.emptyMyFeed":"Your feed is empty. Start your first post","feed.emptyMyCommunities":"No groups available","chat.groupSetting":"Group settings","chat.message.deleted":"Message was deleted","chat.message.unsupported":"Unsupported message type","chat.chats":"Chats","chat.details.header":"Chat Details","chat.details.chatName":"Chat Name","chat.leaveChat":"Leave chat","chat.leaveChat.confirm.title":"Leave chat","chat.leaveChat.confirm.content":"Are you sure you want to leave the chat?","chat.leaveChat.confirm.okButton":"Leave","chat.leaveChat.success":"You successfully left chat","chat.leaveChat.error":"Attempt to leave a chat has failed","chat.members.return":"Return to controls","chat.members.count":"{count} members","chat.create.modalTitle":"Create new chat","chat.loading.error":"Couldn't load chat","userSelector.placeholder":"Enter name or email addresses","userSelector.emptyState.title":"It's empty here...","userSelector.emptyState.description":"No contact found here","groupChat.createPopup.fieldName":"Group name","groupChat.createPopup.placeholder":"Please input group name","general.cancel.capital":"Cancel","general.create.capital":"Create","general.done.capital":"Done","chat.member.addMore":"Add or Remove user","video.notReady":"The video is being processed. Please try again later.","liveStream.idle":"This stream is currently unavailable","liveStream.ended.caption":"This liveStream has ended.","liveStream.ended.message":"Playback will be available for you to watch shortly.","user.follow":"Follow","user.unfollow":"Unfollow","user.unfollow.confirm.title":"Unfollow {displayName}","user.unfollow.confirm.body":"You\u2019ll have to send a request again to follow {displayName}. Continue?","user.cancel_follow":"Cancel request","placeholder.noResults":"No results found","request.accept":"Accept","request.decline":"Decline","follower.title.removeUser":"Remove {displayName} from followers?","follower.body.removeUser":"We will not notify {displayName} that they've been removed from your followers","follower.menuItem.removeUser":"Remove user","follower.menuItem.unfollow":"Unfollow","buttonText.cancel":"Cancel","buttonText.remove":"Remove","follow.pendingNotification.title":"Pending requests","follow.pendingNotification.body":"Your requests are waiting for review","notification.done":"Done","counter.posts":"posts","counter.followings":"following","counter.followers":"followers","buttonText.unfollow":"Unfollow","privateFeed.title":"This account is private","privateFeed.body":"Follow this user to see all posts","navigationBlocker.title":"Unsaved changes","navigationBlocker.content":"Your changes won`t be saved. Are you sure you want to leave this page now?","user.unfollow.confirm.title.thisUser":"Unfollow this user","mediaGallery.images.empty":"No photos yet","mediaGallery.liveStreams.empty":"No liveStreams yet","mediaGallery.videos.empty":"No videos yet","user.unfollow.confirm.body.thisUser":"You\u2019ll have to send a request again to follow this user. Continue?","navigationBlocker.okText":"Leave","options_composer.button.add":"Add Option","options_composer.title":"Create at least 2 options","poll_modal.answer_type.title":"Selection type","poll_modal.answer_type.body":"Choose to vote with one or multiple options","poll_modal.closed_in.title":"Schedule poll (Optional)","poll_modal.closed_in.body":"Poll will be automatically closed at the end of chosen time frame (UTC)","select.answerType.item":"{answerType} selection","poll_composer.question.label":"Poll options","poll_composer.question.placeholder":"What\u2019s your poll question?","poll_composer.poll_options.label":"Options","poll_modal.title":"Create poll","poll.votes":"{voteCount} votes","poll.vote.closedIn":"Poll ends in {closedIn} days","poll.vote.finalResults":"Final results","poll.vote.submit":"Submit vote","poll.error.deletedOrClosed":"This poll has been closed or deleted.","poll.close":"Close poll","postCreator.unableToPost":"Unable to post","postCreator.overCharacter":"You have reached maximum 50,000 characters in a post.","postCreator.done":"Done","postCreator.unableToMention":"Unable to mention","postCreator.overMentionees":"You have reached maximum 30 mentioned users in a post.","postCreator.okText":"OK","pollComposer.unableToMention":"Unable to mention","pollComposer.overMentionees":"You have reached maximum 30 mentioned users in a post.","pollComposer.okText":"OK","storyCreation.hyperlink.bottomSheet.cancel":"Cancel","storyCreation.hyperlink.bottomSheet.title":"Add link","storyCreation.hyperlink.bottomSheet.submit":"Done","storyCreation.hyperlink.form.urlLabel":"URL","storyCreation.hyperlink.form.urlPlaceholder":"https://example.com","storyCreation.hyperlink.form.linkTextLabel":"Customize link text","storyCreation.hyperlink.form.linkTextPlaceholder":"Name your link","storyCreation.hyperlink.form.linkTextDescription":"This text will show on the link instead of URL.","storyCreation.hyperlink.form.removeButton":"Remove link","storyCreation.hyperlink.removeConfirm.title":"Remove link","storyCreation.hyperlink.removeConfirm.content":"This link will be removed from story.","storyCreation.hyperlink.removeConfirm.cancel":"Cancel","storyCreation.hyperlink.removeConfirm.confirm":"Remove","storyCreation.hyperlink.validation.error.invalidUrl":"Please enter a valid URL.","storyCreation.hyperlink.validation.error.whitelisted":"Please enter a whitelisted URL.","storyCreation.hyperlink.validation.error.blocked":"Your text contains a blocklisted word.","storyCreation.hyperlink.unsavedChanges.title":"Unsaved changes","storyCreation.hyperlink.unsavedChanges.content":"Are you sure you want to cancel? Your changes won't be saved.","storyCreation.hyperlink.unsavedChanges.cancel":"No","storyCreation.hyperlink.unsavedChanges.confirm":"Yes","storyViewer.actions.deleteStory":"Delete story","storyViewer.action.confirmModal.title":"Delete this story?","storyViewer.action.confirmModal.content":"This story will be permanently deleted. You\u2019ll no longer to see and find this story.","storyViewer.notification.deleted":"Story deleted","storyViewer.notification.success":"Successfully shared story","storyViewer.notification.error":"Failed to share story","storyViewer.footer.failed":"Failed to upload","storyViewer.footer.uploading":"Uploading...","storyViewer.commentSheet.title":"Comments","storyViewer.commentSheet.empty":"No comments yet","storyViewer.commentSheet.disabled":"Comments are disabled for this story","storyViewer.commentSheet.replyingTo":"Replying to","storyViewer.toast.like.disabled":"Join community to interact with all stories","storyViewer.toast.comment.reported":"Comment reported","storyViewer.toast.comment.unreported":"Comment unreported","storyViewer.toast.disable.react":"Join community to interact with all stories","storyViewer.commentComposeBar.submit":"Post","storyDraft.button.shareStory":"Share story","storyDraft.notification.hyperlink.error":"Can\u2019t add more than one link to your story.","storyTab.title":"Story","select.chatType.item":"{answerType} type","chatComposer.label.channelId":"Channel ID","chatComposer.label.displayName":"Display Name","chatComposer.label.type":"Channel Type","chatComposer.addUsers":"Add users","chat_modal.title":"Create chat","chat_composer.placeholder.displayName":"Enter display name here","chat_composer.placeholder.channelId":"Enter channel ID here","editChatMembersModal.title":"Add/Edit chat members","editChatMembersModal.confirm.title":"Leave without finishing?","editChatMembersModal.confirm.content":"Your progress won\u2019t be saved. Are you sure to leave this page now?","editChatMembersModal.confirm.cancelText":"Continue editing","editChatMembersModal.confirm.okText":"Leave","notification.error.blockedWord":"Text contain blocked word","notification.error.whitelistLink":"Data contain link that is not in whitelist","livechat.deleted.message":"This message was deleted","livechat.messageBubble.reply.button":"Reply","livechat.messageBubble.copy.button":"Copy","livechat.messageBubble.delete.button":"Delete","livechat.messageBubble.mention.button":"Mention","livechat.messageBubble.report.button":"Report","livechat.messageBubble.unReport.button":"Unreport","livechat.channel.muted":"This channel has been set to read-only by the channel moderator","livechat.modal.delete.message.title":"Delete this message?","livechat.modal.delete.message.content":"This message will also be removed from your friend\u2019s devices.","livechat.mention.all":"All","livechat.mention.all.description":"Notify everyone","livechat.notification.copy.message":"Message copied","livechat.composebar.placeholder":"Write a message","livechat.delete.message.error":"Unable to delete message. Please try again.","livechat.member.muted":"You\u2019ve been muted by the channel moderator","livechat.member.muted.error":"User is muted","livechat.member.banned.title":"You are banned from chat","livechat.member.banned.description":"You won\u2019t be able to participate in this chat until you\u2019ve been unbanned.","livechat.report.message.success":"Message reported","livechat.report.message.error":"This message failed to be reported. Please try again.","livechat.unReport.message.success":"Message unreported","livechat.unReport.message.error":"This message failed to be unreported. Please try again.","livechat.error.tooLongMessage.title":"Unable to send message","livechat.error.tooLongMessage.description":"Your message is too long. Please shorten your message and try again.","livechat.error.sendingMessage.error":"Your message wasn't sent. Please try again.","livechat.error.sendingMessage.blockedWord":"Your message wasn't sent as it contains a blocked word.","livechat.error.sendingMessage.notAllowLink":"Your message wasn\u2019t sent as it contained a link that\u2019s not allowed.","livechat.reaction.errorOnload":"Unable to load reactions","livechat.reaction.emptyState":"No reactions yet","livechat.reaction.emptyState.description":"Be the first to react to this message!","livechat.reaction.label.removeReaction":"Click to remove reaction"};var b0={en:BC};var LC="en",v$=({locale:e,children:t})=>{let o=b0[e]?b0[e]:b0[LC];return te.createElement(IntlProvider,{defaultLocale:LC,locale:e,messages:o},t)},AC=v$;var x$={palette:{alert:"#FA4D30",base:"#292B32",primary:"#000000",secondary:"#FFD400",tertiary:"#FF305A",neutral:"#17181C",highlight:"#1054DE",system:{borders:"#ebecef",background:"#fff"}},typography:{global:{fontFamily:"var(--pal-font-family-000)",fontStyle:"normal"},headline:{fontWeight:600,fontSize:"20px"},title:{fontWeight:600,fontSize:"16px"},subTitle:{fontWight:400,fontSize:"13px"},body:{fontWeight:"normal",fontSize:"14px"},bodyBold:{fontWeight:600,fontSize:"14px"},caption:{fontWeight:"normal",fontSize:"12px"},captionBold:{fontWeight:600,fontSize:"12px"}}},DC=x$;function I0(e){return (e==null?void 0:e.communityMembership)==="member"}function w0(e){return (e==null?void 0:e.userPrivacySetting)==="private"}function HC(e){return (e||[]).map((t,o)=>{var r;return {id:t.userId,display:(r=t.displayName)!=null?r:t.userId,avatar:t.avatarCustomUrl,isLastItem:(e==null?void 0:e.length)===o+1}})}var M0=1;function I$(e,t,o){let r=o+M0,n=r+t;return e.substring(r,n)}function P0(e){return e?e.sort((o,r)=>o.index-r.index).map(({index:o,length:r})=>({start:o,end:o+r+M0,highlight:!0})):[]}function FC(e){let t={},o=[];return (e==null?void 0:e.length)>0?(t.mentioned=[...e.sort((r,n)=>r.plainTextIndex-n.plainTextIndex).map(({plainTextIndex:r,id:n,display:i})=>({index:r,length:i.length-M0,type:"user",userId:n}))],o.push({type:"user",userIds:e.map(({id:r})=>r)})):o.push({type:"user",userIds:[]}),{metadata:t,mentionees:o}}function OC(e,t){if(!e||b$(t==null?void 0:t.mentioned))return e;let o=e;return ((t||{}).mentioned||[]).sort((r,n)=>n.index-r.index).forEach(({userId:r,length:n,index:i})=>{let a=`@[${I$(e,n,i)}](${r})`;o=o.replace(new RegExp(`(.{${i}}).{${n+M0}}`),`$1${a}`);}),o}function Oe(e){return e!=null}var $C=e=>e.toFixed(1),UC=e=>{let t=Math.min(e*100,100);return $C(t)};function M$(e){return e.alpha!==void 0}var VC=e=>{let{hue:t,saturation:o,lightness:r}=e,n=[`${$C(t)}`,`${UC(o)}%`,`${UC(r)}%`];return M$(e)?`hsla(${[...n,e.alpha].filter(Oe).join(",")})`:`hsl(${n.filter(Oe).join(",")})`},P$=e=>{let t=parseToHsl(e);return VC(t)},_$=(e,t)=>{let o=parseToHsl(t),{lightness:r}=o,n=E(d({},o),{lightness:Math.min(1,r+e)});return VC(n)},T$=[.25,.4,.5,.75],jC=e=>{let i=e,{system:t}=i,o=P(i,["system"]),r=Object.keys(o).reduce((a,s)=>(a[s]={main:P$(o[s])},a),d({},o)),n=Object.keys(r).reduce((a,s)=>{let l=o[s],c=T$.reduce((u,g,f)=>{let y=`shade${f+1}`;return u[y]=_$(g,l),u},{}),p=r[s];return p&&typeof p=="object"?a[s]=d(d({},c),p):a[s]=E(d({},c),{main:p}),a},d({},r));return E(d({},n),{system:t})};var k$=["fontFamily","fontStyle","fontWeight","fontSize"],S$=e=>Object.keys(e).reduce((o,r)=>{let n=e[r];return r&&n&&k$.includes(r)&&(o[r]=n),o},{}),GC=e=>Object.keys(e).reduce((o,r)=>(o[r]=S$(d(d({},e.global),e[r])),o),{});var ZC={colors:{primary:{default:"#1054DE",shade1:"#4A82F2",shade2:"#A0BDF8",shade3:"#D9E5FC",shade4:"#FFFFFF"},secondary:{default:"#292B32",shade1:"#636878",shade2:"#898E9E",shade3:"#A5A9B5",shade4:"#EBECEF"},base:{default:"#292B32",shade1:"#636878",shade2:"#898E9E",shade3:"#A5A9B5",shade4:"#EBECEF"},baseInverse:{default:"#FFFFFF"},alert:{default:"#FA4D30"},highlight:"#1054DE",messageBubble:{default:"#1054DE",inverse:"#FFFFFF"},storyIndicator:{default:"#EBECEF",active:["#339AF9","#78FA58"]},hyperlink:{default:"#FFFFFFCC"},actionButton:{default:"#00000080"}},typography:{heading:{fontWeight:600,fontSize:"1.25rem",lineHeight:"1.5rem"},title:{fontWeight:600,fontSize:"1rem",lineHeight:"1.25rem"},subTitle:{fontWeight:400,fontSize:"0.8125rem",lineHeight:"1rem"},body:{fontWeight:"normal",fontSize:"0.875rem",lineHeight:"1.25rem"},bodyBold:{fontWeight:600,fontSize:"0.875rem",lineHeight:"1.25rem"},caption:{fontWeight:"normal",fontSize:"0.75rem",lineHeight:"1rem"},captionBold:{fontWeight:600,fontSize:"0.75rem",lineHeight:"1rem"}}};var E$=(e={})=>{let t=N$(DC,e),o=jC(t.palette),r=GC(t.typography);return E(d({},t),{palette:o,typography:r,v4:ZC})},QC=E$;var WC=m.div`
488
488
  color-scheme: only light;
489
489
  ${({theme:e})=>e.typography.body};
490
490
  color: ${({theme:e})=>e.palette.base.main};
@@ -2643,7 +2643,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Wc]+=1);var o0=`url("data:ima
2643
2643
  cursor: pointer;
2644
2644
  }
2645
2645
  `;var sY=e=>te.createElement("svg",d({width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),te.createElement("g",{id:"multiply","clip-path":"url(#clip0_5142_12451)"},te.createElement("path",{id:"fill",d:"M13.2488 2.64829C13.0035 2.45402 12.6461 2.47021 12.4194 2.69686L8 7.1158L3.58058 2.69686L3.52547 2.64819C3.26929 2.45274 2.91847 2.47508 2.6967 2.69686L2.64813 2.75137C2.45387 2.99669 2.47006 3.3541 2.6967 3.58074L7.11612 7.99969L2.6967 12.4196L2.64804 12.4747C2.45258 12.7309 2.47492 13.0817 2.6967 13.3035L2.75121 13.352C2.99654 13.5463 3.35394 13.5301 3.58058 13.3035L8 8.88357L12.4194 13.3035L12.4745 13.3521C12.7307 13.5476 13.0815 13.5252 13.3033 13.3035L13.3519 13.2489C13.5461 13.0036 13.5299 12.6462 13.3033 12.4196L8.88388 7.99969L13.3033 3.58074L13.352 3.52563C13.5474 3.26945 13.5251 2.91863 13.3033 2.69686L13.2488 2.64829Z",fill:"black"})),te.createElement("defs",null,te.createElement("clipPath",{id:"clip0_5142_12451"},te.createElement("rect",{width:"16",height:"16",fill:"white"})))),b7=sY;var lY=e=>te.createElement("svg",d({width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),te.createElement("g",{"clip-path":"url(#clip0_593_12387)"},te.createElement("path",{d:"M8.00003 0C8.60918 0 9.16863 0.324779 9.47228 0.846019L9.52953 0.952849L15.8447 13.8179C16.0755 14.2874 16.0476 14.8426 15.771 15.2866C15.5156 15.6964 15.0817 15.9577 14.6053 15.9952L14.4854 15.9998H1.51503C0.991951 16.0002 0.505748 15.7305 0.2291 15.2866C-0.0262662 14.8768 -0.0696812 14.3721 0.106551 13.9279L0.15519 13.8182L6.47058 0.952732C6.75705 0.369526 7.35026 0 8.00003 0ZM8.00003 1C7.76141 1 7.54125 1.12063 7.41219 1.31658L7.3682 1.3935L1.05274 14.2591C0.974401 14.4185 0.983873 14.607 1.07779 14.7577C1.1583 14.8869 1.29107 14.9725 1.4394 14.9943L1.5147 14.9998H14.4857C14.6633 14.9998 14.8283 14.9084 14.9223 14.7577C15.0028 14.6285 15.0212 14.4715 14.9754 14.3288L14.9472 14.2588L8.63191 1.39362C8.51356 1.15267 8.26848 1 8.00003 1ZM8.00003 11.9998L8.08175 12.0042C8.45752 12.045 8.75003 12.3632 8.75003 12.7498C8.75003 13.1641 8.41424 13.4998 8.00003 13.4998C7.58581 13.4998 7.25003 13.1641 7.25003 12.7498C7.25003 12.3632 7.54254 12.045 7.91831 12.0042L8.00003 11.9998ZM8.00003 4.99984C8.25316 4.99984 8.46236 5.18794 8.49546 5.43199L8.50003 5.49984V10.4998C8.50003 10.776 8.27617 10.9998 8.00003 10.9998C7.7469 10.9998 7.5377 10.8117 7.50459 10.5677L7.50003 10.4998V5.49984C7.50003 5.2237 7.72389 4.99984 8.00003 4.99984Z",fill:"#B30000"})),te.createElement("defs",null,te.createElement("clipPath",{id:"clip0_593_12387"},te.createElement("rect",{width:"16",height:"16",fill:"white"})))),IP=lY;var cY=({isOpen:e,onClose:t})=>{let{client:o}=X(),{termsAndConditionsUrl:r,privacyAndPolicyUrl:n}=io(),[i,a]=useState(""),[s,l]=useState(""),[c,p]=useState(!1);if(!e)return null;let u=C=>{a(C.target.value),l("");},g=()=>{t&&t(),a(""),l("");};return te.createElement(no,{className:"login-wrapper","data-qa-anchor":"nickname-creation-modal"},te.createElement(cP,null,te.createElement(nP,null,te.createElement(pP,null,te.createElement(uP,null,"Join a vibrant community"),te.createElement(lP,{onClick:g},te.createElement(b7,null))),te.createElement(gP,null,`Ready to discover beauty tips and trends while making new connections?
2646
- Join below to get started!`),te.createElement("form",{onSubmit:C=>_(void 0,null,function*(){if(C.preventDefault(),p(!0),!i||!(o!=null&&o.userId)){p(!1);return}let v=/[^a-zA-Z0-9]/;if(i.length<3||i.length>26||i.includes(" ")||v.test(i)){l("default"),p(!1);return}try{yield UserRepository.updateUser(o==null?void 0:o.userId,{displayName:i,metadata:{hasNickname:!0}}),window.location.reload();}catch(h){h.message.includes("Deny from prehook: This name has already been taken")?l("This nickname has already been taken. Please try again."):l("default");}finally{p(!1);}})},te.createElement(fP,null,te.createElement(yP,{htmlFor:"input"},"Nickname"),te.createElement(iP,null,te.createElement(hP,{type:"text",id:"input",value:i,onChange:u,hasError:!!s,placeholder:"e.g., MakeupLover"}),i&&te.createElement(mP,{onClick:()=>{a(""),l("");}},te.createElement(b7,null))),s?te.createElement(aP,null,te.createElement(IP,{width:16,height:16}),te.createElement(CP,null,s==="default"?te.createElement(te.Fragment,null,te.createElement("div",null,"Nickname invalid. Please try again."),te.createElement("div",null,"Nickname must:",te.createElement(sP,null,te.createElement("li",null,"Be 3-25 characters in length."),te.createElement("li",null,"Not contain special characters."),te.createElement("li",null,"Not contain spaces."),te.createElement("li",null,"Not contain profanity.")))):s)):te.createElement(dP,null,`Choose how you want your name shown to the rest of the community.
2646
+ Join below to get started!`),te.createElement("form",{onSubmit:C=>_(void 0,null,function*(){if(C.preventDefault(),p(!0),!i||!(o!=null&&o.userId)){p(!1);return}let v=/[^a-zA-Z0-9]/;if(i.length<3||i.length>25||i.includes(" ")||v.test(i)){l("default"),p(!1);return}try{yield UserRepository.updateUser(o==null?void 0:o.userId,{displayName:i,metadata:{hasNickname:!0}}),window.location.reload();}catch(h){h.message.includes("Deny from prehook: This name has already been taken")?l("This nickname has already been taken. Please try again."):l("default");}finally{p(!1);}})},te.createElement(fP,null,te.createElement(yP,{htmlFor:"input"},"Nickname"),te.createElement(iP,null,te.createElement(hP,{type:"text",id:"input",value:i,onChange:u,hasError:!!s,placeholder:"e.g., MakeupLover"}),i&&te.createElement(mP,{onClick:()=>{a(""),l("");}},te.createElement(b7,null))),s?te.createElement(aP,null,te.createElement(IP,{width:16,height:16}),te.createElement(CP,null,s==="default"?te.createElement(te.Fragment,null,te.createElement("div",null,"Nickname invalid. Please try again."),te.createElement("div",null,"Nickname must:",te.createElement(sP,null,te.createElement("li",null,"Be 3-25 characters in length."),te.createElement("li",null,"Not contain special characters."),te.createElement("li",null,"Not contain spaces."),te.createElement("li",null,"Not contain profanity.")))):s)):te.createElement(dP,null,`Choose how you want your name shown to the rest of the community.
2647
2647
 
2648
2648
  Note: nickname must be alphanumeric only and 3-25 characters in length.`)),te.createElement(vP,null,"By clicking \u201CJoin\u201D, you agree to our"," ",te.createElement(Ap,{onClick:()=>window.open(r,"_blank")},"Terms & Conditions")," ","and have read our"," ",te.createElement(Ap,{onClick:()=>window.open(n,"_blank")},"Privacy Policy.")),te.createElement(xP,{type:"submit",disabled:!i||c},"JOIN"),te.createElement(bP,null,te.createElement(Ap,{onClick:g},"Maybe later"))))))},Dp=memo(e=>{let t=W("NickNameCreationModal");return t?t(e):te.createElement(cY,d({},e))});var MP=()=>{let{isOpen:e,closeNicknameModal:t}=ao();return te.createElement(Na,null,te.createElement(Dp,{isOpen:e,onClose:t}))};var yY=({apiKey:e,apiRegion:t,apiEndpoint:o,userId:r,displayName:n,customComponents:i={},postRendererConfig:a,theme:s={},children:l,socialCommunityCreationButtonVisible:c,actionHandlers:p,onConnectionStatusChange:u,onDisconnected:g,getAuthToken:f,ultaConfig:y})=>{let C=new QueryClient,[v,h]=useState(!1),[x,b]=useState(null),M=useRef(null),I=useRef(null),w=ne(r),k=useMemo(()=>{var L;return {client:x||null,currentUserId:r||void 0,userRoles:(L=w==null?void 0:w.roles)!=null?L:[]}},[x,r,w==null?void 0:w.roles]);function S(){return _(this,null,function*(){try{let D=Client.getActiveClient();b(D);}catch(D){let H=Client.createClient(e,t,o?{apiEndpoint:o}:{});b(H);}let L={userId:r,displayName:n};if(f){let D=yield f();L=E(d({},L),{authToken:D});}yield Client.login(L,{sessionWillRenewAccessToken(D){f?f().then(H=>{D.renewWithAuthToken(H);}):D.renew();}}),h(!0),M.current==null&&(M.current=Client.onSessionStateChange(D=>{u==null||u(D);})),I.current==null&&(I.current=Client.onClientDisconnected(()=>{g&&g();}));})}return useEffect(()=>{window.parent.postMessage("uikitRendered","*");function L(){return _(this,null,function*(){yield S();})}return L(),()=>{var D,H;(D=M.current)==null||D.call(M),(H=I.current)==null||H.call(I);}},[r]),x==null?te.createElement(te.Fragment,null):v?te.createElement(QueryClientProvider,{client:C},te.createElement(AC,{locale:"en"},te.createElement(ky,{theme:QC(s)},te.createElement(WC,null,te.createElement(_0.Provider,{value:k},te.createElement(T0.Provider,{value:k},te.createElement(i6,null,te.createElement(y6,null,te.createElement(Iv,null,te.createElement(ov,d({},y),te.createElement(xv,null,te.createElement(Gh,null,te.createElement(TC,null,te.createElement(Fh,null,te.createElement(cC,null,te.createElement(IC,{initialConfig:{preferred_theme:"light"}},te.createElement(h6,{config:i},te.createElement(J4,{config:{socialCommunityCreationButtonVisible:c||!0}},te.createElement(g7,{config:a},te.createElement(l6,d({},p),l))),te.createElement($h,null),te.createElement(gC,null),te.createElement(iC,null),te.createElement(kC,null),te.createElement(MP,null)))))))))))))))))):te.createElement(te.Fragment,null)},hY=yY;var xY=()=>{let[e,t]=useState(null),o=So();return useEffect(()=>{e&&(o.error({content:e}),t(null));},[e]),[t]},TP=xY;var wY=m.div`
2649
2649
  margin-top: 8px;