@amityco/ulta-ui-kit 1.1.1-beta03 → 1.1.1-beta05

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
@@ -1,3 +1,4 @@
1
+ import '@iframe-resizer/child';
1
2
  import te, { createContext, forwardRef, useState, useRef, useImperativeHandle, memo, useMemo, useEffect, useContext, useCallback, Fragment, useDebugValue, createElement } from 'react';
2
3
  import { PostContentType, CommentRepository, PostRepository, UserRepository, SubscriptionLevels, ReactionRepository, ChannelRepository, MessageRepository, getUserTopic, FileRepository, CommunityRepository, CommunityPostSettings, FileType, PollRepository, CategoryRepository, Client, AdRepository, subscribeTopic, getPostTopic, getCommunityTopic, StoryRepository, getCommunityStoriesTopic, getCommentTopic, SubChannelRepository, StreamRepository, FeedRepository, getChannelTopic, getMessageTopic } from '@amityco/ts-sdk';
3
4
  import * as pr from 'stylis';
@@ -483,7 +484,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Wc]+=1);var o0=`url("data:ima
483
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
484
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
485
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
486
- 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:"CircularStd-Book, sans-serif",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":"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
488
  color-scheme: only light;
488
489
  ${({theme:e})=>e.typography.body};
489
490
  color: ${({theme:e})=>e.palette.base.main};
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ require('@iframe-resizer/child');
3
4
  var te = require('react');
4
5
  var tsSdk = require('@amityco/ts-sdk');
5
6
  var pr = require('stylis');
@@ -532,7 +533,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Wc]+=1);var o0=`url("data:ima
532
533
  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
533
534
  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
534
535
  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
535
- 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=polished.parseToHsl(e);return CC.map(n=>t?polished.darken(n,polished.hslToColorString(o)):polished.lighten(n,polished.hslToColorString(o)))};function vC(e){let t=q4(),o=te.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 te.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=te.createContext({currentTheme:"light",toggleTheme:()=>{}});var q4=()=>{let{currentTheme:e}=te.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=te.createContext({config:null,parseConfig:()=>{},isExcluded:()=>!1,getConfig:()=>({})}),x0=()=>{let e=te.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]=te.useState(null);q4();te.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__default.default.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=te.useRef(null);return te.useEffect(()=>{var g;(g=u==null?void 0:u.current)==null||g.focus();},[u==null?void 0:u.current]),te__default.default.createElement("div",{className:Us.overlay,onClick:n,style:p},te__default.default.createElement("div",{className:gr__default.default(Us.modalWindow),"data-qa-anchor":c,ref:u,tabIndex:0},i&&te__default.default.createElement(R1,{className:Us.closeIcon,onClick:i}),a&&te__default.default.createElement("div",{className:Us.title},a),te__default.default.createElement("div",{className:gr__default.default(Us.content)},l),s&&te__default.default.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__default.default.createElement(reactAriaComponents.Button,d({className:gr__default.default(PC.button,e)},t))};var _C=te.createContext({confirmData:null,confirm:e=>{},info:e=>{},closeConfirm:()=>{}}),et=()=>te.useContext(_C),TC=({children:e})=>{let[t,o]=te.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__default.default.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__default.default(ze.typography,ze["typography-headings"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("h1",d({className:gr__default.default(ze.typography,ze["typography-headings"],o),style:r},n),t)},Title:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-titles"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("h2",d({className:gr__default.default(ze.typography,ze["typography-titles"],o),style:r},n),t)},Subtitle:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-sub-title"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("h3",d({className:gr__default.default(ze.typography,ze["typography-sub-title"],o),style:r},n),t)},Body:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-body"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(ze.typography,ze["typography-body"],o),style:r},n),t)},BodyBold:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-body-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(ze.typography,ze["typography-body-bold"],o),style:r},n),t)},Caption:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-caption"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(ze.typography,ze["typography-caption"],o),style:r},n),t)},CaptionBold:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-caption-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(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__default.default.createElement(MC,{className:gr__default.default(r,tl.modal),pageId:e,componentId:t,elementId:o,"data-qa-anchor":`confirm-modal-${u}`,title:n,footer:te__default.default.createElement("div",{className:tl.footer},p==="confirm"&&te__default.default.createElement(O,{style:g,className:tl.cancelButton,"data-qa-anchor":"confirm-modal-cancel-button",onPress:c},te__default.default.createElement(N.BodyBold,null,l)),te__default.default.createElement(O,{style:g,className:tl.okButton,"data-qa-anchor":`confirm-modal-${u}-ok-button`,onPress:s},te__default.default.createElement(N.BodyBold,null,a))),onCancel:c},te__default.default.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__default.default.createElement(c$,E(d({},e),{onCancel:o,onOk:r,className:tl.background}))};var SC={socialCommunityCreationButtonVisible:!0},NC=te.createContext(SC),EC=()=>te.useContext(NC);function J4({children:e,config:t}){let o=te.useMemo(()=>d(d({},SC),t),[t]);return te__default.default.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__default.default.createElement(reactIntl.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:"CircularStd-Book, sans-serif",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$__default.default(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=polished.parseToHsl(e);return VC(t)},_$=(e,t)=>{let o=polished.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$__default.default(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`
536
+ 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=polished.parseToHsl(e);return CC.map(n=>t?polished.darken(n,polished.hslToColorString(o)):polished.lighten(n,polished.hslToColorString(o)))};function vC(e){let t=q4(),o=te.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 te.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=te.createContext({currentTheme:"light",toggleTheme:()=>{}});var q4=()=>{let{currentTheme:e}=te.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=te.createContext({config:null,parseConfig:()=>{},isExcluded:()=>!1,getConfig:()=>({})}),x0=()=>{let e=te.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]=te.useState(null);q4();te.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__default.default.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=te.useRef(null);return te.useEffect(()=>{var g;(g=u==null?void 0:u.current)==null||g.focus();},[u==null?void 0:u.current]),te__default.default.createElement("div",{className:Us.overlay,onClick:n,style:p},te__default.default.createElement("div",{className:gr__default.default(Us.modalWindow),"data-qa-anchor":c,ref:u,tabIndex:0},i&&te__default.default.createElement(R1,{className:Us.closeIcon,onClick:i}),a&&te__default.default.createElement("div",{className:Us.title},a),te__default.default.createElement("div",{className:gr__default.default(Us.content)},l),s&&te__default.default.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__default.default.createElement(reactAriaComponents.Button,d({className:gr__default.default(PC.button,e)},t))};var _C=te.createContext({confirmData:null,confirm:e=>{},info:e=>{},closeConfirm:()=>{}}),et=()=>te.useContext(_C),TC=({children:e})=>{let[t,o]=te.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__default.default.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__default.default(ze.typography,ze["typography-headings"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("h1",d({className:gr__default.default(ze.typography,ze["typography-headings"],o),style:r},n),t)},Title:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-titles"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("h2",d({className:gr__default.default(ze.typography,ze["typography-titles"],o),style:r},n),t)},Subtitle:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-sub-title"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("h3",d({className:gr__default.default(ze.typography,ze["typography-sub-title"],o),style:r},n),t)},Body:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-body"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(ze.typography,ze["typography-body"],o),style:r},n),t)},BodyBold:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-body-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(ze.typography,ze["typography-body-bold"],o),style:r},n),t)},Caption:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-caption"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(ze.typography,ze["typography-caption"],o),style:r},n),t)},CaptionBold:e=>{if($s(e))return e.renderer({typoClassName:gr__default.default(ze.typography,ze["typography-caption-bold"])});let i=e,{children:t,className:o,style:r}=i,n=P(i,["children","className","style"]);return te__default.default.createElement("span",d({className:gr__default.default(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__default.default.createElement(MC,{className:gr__default.default(r,tl.modal),pageId:e,componentId:t,elementId:o,"data-qa-anchor":`confirm-modal-${u}`,title:n,footer:te__default.default.createElement("div",{className:tl.footer},p==="confirm"&&te__default.default.createElement(O,{style:g,className:tl.cancelButton,"data-qa-anchor":"confirm-modal-cancel-button",onPress:c},te__default.default.createElement(N.BodyBold,null,l)),te__default.default.createElement(O,{style:g,className:tl.okButton,"data-qa-anchor":`confirm-modal-${u}-ok-button`,onPress:s},te__default.default.createElement(N.BodyBold,null,a))),onCancel:c},te__default.default.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__default.default.createElement(c$,E(d({},e),{onCancel:o,onOk:r,className:tl.background}))};var SC={socialCommunityCreationButtonVisible:!0},NC=te.createContext(SC),EC=()=>te.useContext(NC);function J4({children:e,config:t}){let o=te.useMemo(()=>d(d({},SC),t),[t]);return te__default.default.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__default.default.createElement(reactIntl.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$__default.default(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=polished.parseToHsl(e);return VC(t)},_$=(e,t)=>{let o=polished.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$__default.default(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`
536
537
  color-scheme: only light;
537
538
  ${({theme:e})=>e.typography.body};
538
539
  color: ${({theme:e})=>e.palette.base.main};