CINXE.COM

Groups - The Square Community

<!DOCTYPE html><html prefix="og: http://ogp.me/ns#" dir="ltr" lang="en" class="no-js"> <head> <title> Groups - The Square Community </title> <script src="https://static.ada.support/embed.97968904.min.js" charset="utf-8"></script> <link rel="stylesheet" href="/html/assets/jquery-ui.css"> <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="c4657020-c7d1-4a14-a091-267a7ee4863e"></script> <script src="https://xms-production-f.squarecdn.com/static/cookie-compliance/SqOneTrust.js"></script> <script type="text/javascript"> function OptanonWrapper() { globalThis.OneTrust.OnConsentChanged(function() { console.log(OnetrustActiveGroups) if(!OnetrustActiveGroups.split(',').includes('C0004')){ location.reload(); } }); } </script> <script src="https://martech-production-c.squarecdn.com/data-api.js" type="text/javascript" async></script> <meta content="Welcome to the Groups home page! Groups are spaces to connect with sellers with whom you share interests or business types. Learn more about Groups ." name="description"/><meta content="width=device-width, initial-scale=1.0" name="viewport"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><link href="https://community.squareup.com/t5/Groups/ct-p/SellerGroups" rel="canonical"/> <meta content="Square Seller Community" property="og:site_name"/><meta content="website" property="og:type"/><meta content="https://community.squareup.com/t5/Groups/ct-p/SellerGroups" property="og:url"/><meta content="Welcome to the Groups home page! Groups are spaces to connect with sellers with whom you share interests or business types. Learn more about Groups. What should you do here? Choose a group that interests you and click Join Group Hub or Send Request to Join! Our Community Guidelines apply." property="og:description"/><meta content="Groups" property="og:title"/> <link class="lia-link-navigation hidden live-links" title="New board topics in Groups" type="application/rss+xml" rel="alternate" id="link" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=forum"></link> <link class="lia-link-navigation hidden live-links" title="All board posts in Groups" type="application/rss+xml" rel="alternate" id="link_0" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=forum&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New knowledge base articles in Groups" type="application/rss+xml" rel="alternate" id="link_1" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=tkb"></link> <link class="lia-link-navigation hidden live-links" title="All knowledge base posts in Groups" type="application/rss+xml" rel="alternate" id="link_2" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=tkb&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New blog articles in Groups" type="application/rss+xml" rel="alternate" id="link_3" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=blog"></link> <link class="lia-link-navigation hidden live-links" title="All blog posts in Groups" type="application/rss+xml" rel="alternate" id="link_4" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=blog&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New idea exchange ideas in Groups" type="application/rss+xml" rel="alternate" id="link_5" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=idea"></link> <link class="lia-link-navigation hidden live-links" title="All idea exchange posts in Groups" type="application/rss+xml" rel="alternate" id="link_6" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=idea&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New contest entry in Groups" type="application/rss+xml" rel="alternate" id="link_7" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=contest"></link> <link class="lia-link-navigation hidden live-links" title="All contest posts in Groups" type="application/rss+xml" rel="alternate" id="link_8" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=contest&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New Products" type="application/rss+xml" rel="alternate" id="link_9" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=review"></link> <link class="lia-link-navigation hidden live-links" title="All Reviews and Comments" type="application/rss+xml" rel="alternate" id="link_10" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=review&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="rss.livelink.threads-in-node@place:occasion" type="application/rss+xml" rel="alternate" id="link_11" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=occasion"></link> <link class="lia-link-navigation hidden live-links" title="rss.livelink.posts-in-node@place:occasion" type="application/rss+xml" rel="alternate" id="link_12" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=occasion&amp;feeds.replies=true"></link> <link class="lia-link-navigation hidden live-links" title="New media posts in Groups" type="application/rss+xml" rel="alternate" id="link_13" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=media"></link> <link class="lia-link-navigation hidden live-links" title="All media posts in Groups" type="application/rss+xml" rel="alternate" id="link_14" href="/imgfg46729/rss/Category?category.id=SellerGroups&amp;interaction.style=media&amp;feeds.replies=true"></link> <link href="/skins/6625058/be903e6924729e8ba6afbc8c1c142513/square_responsive_2021.css" rel="stylesheet" type="text/css"/> <link rel="shortcut icon" href="https://community.squareup.com/html/@64E716F57FD4C02603089B77B61F1E30/assets/favicon-latest.ico"> <style> .Message--is-owned-by-user .Message__body { background-color: #e8e8eb !important; } #lia-body button.ada-chat-button { background-image: url(/html/assets/avatar.svg) !important; background-color: #fff !important; background-size: 40px !important; width: 156px !important; height: 50px !important; border-radius: 50px !important; padding: 5px 15px 5px 6px!important; background-position: 5px 4.25px !important; box-shadow: 0px 1px 8px rgba(0,0,0,.18) !important; } .ada-chat-button:before { content: "Questions\003f"; position: absolute; top: 8px; left: 51px; font-size: 16px; color: #3B4759 !important; font-weight:500; line-height:32px; } .ada-chat-button:hover:after { background-color: transparent !important; border: 0px solid rgba(0,0,0,0.05) !important; } #lia-body button.ada-chat-button:hover, #lia-body button.ada-chat-button:focus{ box-shadow:0px 1px 8px rgba(0,0,0,.30) !important; } body .ada-chat-button:after{ border: 0px solid rgba(0,0,0,0.05) !important; background-color:transparent !important; } #lia-body button.ada-chat-button:hover, #lia-body button.ada-chat-button:focus{outline:0 !important;} #lia-body.SearchPage .lia-summary-view-statistic-post-date::before { content: "Posted"; font-family:"Square Market",Helvetica,Arial,sans-serif; width:auto; color:#b8b8b8; } #lia-body.SearchPage .lia-summary-view-statistic-registration-date::before { content: "Joined"; font-family:"Square Market",Helvetica,Arial,sans-serif; width:auto; color:#b8b8b8; } </style> <!-- Facebook Pixel Code --> <script type="text/plain" class="optanon-category-C0004"> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '816297701715444'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=816297701715444&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code --> <!-- Google Tag Manager --> <script type="text/plain" class="optanon-category-C0004">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5FRXX9P');</script> <!-- End Google Tag Manager --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <div class="locale-check-modal"> </div> <script type="text/javascript" src="/t5/scripts/9D1BFA511D5C858CFD8C4215C53E4C07/lia-scripts-head-min.js"></script><script language="javascript" type="text/javascript"> <!-- LITHIUM.PrefetchData = {"Components":{},"commonResults":{}}; LITHIUM.DEBUG = false; LITHIUM.CommunityJsonObject = { "Validation" : { "image.description" : { "min" : 0, "max" : 1000, "isoneof" : [ ], "type" : "string" }, "tkb.toc_maximum_heading_level" : { "min" : 1, "max" : 6, "isoneof" : [ ], "type" : "integer" }, "tkb.toc_heading_list_style" : { "min" : 0, "max" : 50, "isoneof" : [ "disc", "circle", "square", "none" ], "type" : "string" }, "blog.toc_maximum_heading_level" : { "min" : 1, "max" : 6, "isoneof" : [ ], "type" : "integer" }, "tkb.toc_heading_indent" : { "min" : 5, "max" : 50, "isoneof" : [ ], "type" : "integer" }, "blog.toc_heading_indent" : { "min" : 5, "max" : 50, "isoneof" : [ ], "type" : "integer" }, "blog.toc_heading_list_style" : { "min" : 0, "max" : 50, "isoneof" : [ "disc", "circle", "square", "none" ], "type" : "string" } }, "User" : { "settings" : { "imageupload.legal_file_extensions" : "*.jpg;*.JPG;*.jpeg;*.JPEG;*.gif;*.GIF;*.png;*.PNG;*.bmp;*.tiff", "config.enable_avatar" : true, "integratedprofile.show_klout_score" : true, "layout.sort_view_by_last_post_date" : true, "layout.friendly_dates_enabled" : true, "profileplus.allow.anonymous.scorebox" : false, "tkb.message_sort_default" : "topicPublishDate", "layout.format_pattern_date" : "MM-dd-yyyy", "config.require_search_before_post" : "off", "isUserLinked" : false, "integratedprofile.cta_add_topics_dismissal_timestamp" : -1, "layout.message_body_image_max_size" : 1000, "profileplus.everyone" : false, "integratedprofile.cta_connect_wide_dismissal_timestamp" : -1, "blog.toc_maximum_heading_level" : "", "integratedprofile.hide_social_networks" : false, "blog.toc_heading_indent" : "", "contest.entries_per_page_num" : 20, "layout.messages_per_page_linear" : 10, "integratedprofile.cta_manage_topics_dismissal_timestamp" : -1, "profile.shared_profile_test_group" : false, "integratedprofile.cta_personalized_feed_dismissal_timestamp" : -1, "integratedprofile.curated_feed_size" : 10, "contest.one_kudo_per_contest" : false, "integratedprofile.enable_social_networks" : false, "integratedprofile.my_interests_dismissal_timestamp" : -1, "profile.language" : "en", "layout.friendly_dates_max_age_days" : 31, "layout.threading_order" : "thread_ascending", "blog.toc_heading_list_style" : "disc", "useRecService" : false, "layout.module_welcome" : "", "imageupload.max_uploaded_images_per_upload" : 6, "imageupload.max_uploaded_images_per_user" : 1000, "integratedprofile.connect_mode" : "", "tkb.toc_maximum_heading_level" : "", "tkb.toc_heading_list_style" : "disc", "sharedprofile.show_hovercard_score" : true, "config.search_before_post_scope" : "community", "tkb.toc_heading_indent" : "", "p13n.cta.recommendations_feed_dismissal_timestamp" : -1, "imageupload.max_file_size" : 10024, "layout.show_batch_checkboxes" : false, "integratedprofile.cta_connect_slim_dismissal_timestamp" : -1 }, "isAnonymous" : true, "policies" : { "image-upload.process-and-remove-exif-metadata" : true }, "registered" : false, "emailRef" : "", "id" : -1, "login" : "Anonymous" }, "Server" : { "communityPrefix" : "/imgfg46729", "nodeChangeTimeStamp" : 1740064285267, "tapestryPrefix" : "/t5", "deviceMode" : "DESKTOP", "responsiveDeviceMode" : "DESKTOP", "membershipChangeTimeStamp" : "0", "version" : "24.12", "branch" : "24.12-release", "showTextKeys" : false }, "Config" : { "phase" : "prod", "integratedprofile.cta.reprompt.delay" : 30, "profileplus.tracking" : { "profileplus.tracking.enable" : false, "profileplus.tracking.click.enable" : false, "profileplus.tracking.impression.enable" : false }, "app.revision" : "2502071450-s01c0bd4fb1-b88", "navigation.manager.community.structure.limit" : "1000" }, "Activity" : { "Results" : [ ] }, "NodeContainer" : { "viewHref" : "https://community.squareup.com/t5/Groups/ct-p/SellerGroups", "description" : "Welcome to the Groups home page! <br>Groups are spaces to connect with sellers with whom you share interests or business types. <a href=\"https://www.sellercommunity.com/t5/Community-Resources/How-to-Join-a-Seller-Group/ta-p/718662\">Learn more about Groups<\/a>.<br>\r\nWhat should you do here? Choose a group that interests you and click <b>Join Group Hub<\/b> or <b>Send Request to Join<\/b>! <a href=\"https://www.sellercommunity.com/t5/About-the-Seller-Community/Community-Etiquette-Guidelines/td-p/190108\" target=\"_new\">Our Community Guidelines apply<\/a>.", "id" : "SellerGroups", "shortTitle" : "Groups", "title" : "Groups", "nodeType" : "category" }, "Page" : { "skins" : [ "square_responsive_2021", "responsive_peak" ], "authUrls" : { "loginUrl" : "/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2Fcommunity.squareup.com%2Ft5%2FGroups%2Fct-p%2FSellerGroups", "loginUrlNotRegistered" : "/plugins/common/feature/oauth2sso/sso_login_redirect?redirectreason=notregistered&referer=https%3A%2F%2Fcommunity.squareup.com%2Ft5%2FGroups%2Fct-p%2FSellerGroups", "loginUrlNotRegisteredDestTpl" : "/plugins/common/feature/oauth2sso/sso_login_redirect?redirectreason=notregistered&referer=%7B%7BdestUrl%7D%7D" }, "name" : "CategoryPage", "rtl" : false, "object" : { "viewHref" : "/t5/Groups/ct-p/SellerGroups", "id" : "SellerGroups", "page" : "CategoryPage", "type" : "Category" } }, "WebTracking" : { "Activities" : { }, "path" : "Community:Home/Category:Connect/Category:Groups" }, "Feedback" : { "targeted" : { } }, "Seo" : { "markerEscaping" : { "pathElement" : { "prefix" : "@", "match" : "^[0-9][0-9]$" }, "enabled" : false } }, "TopLevelNode" : { "viewHref" : "https://community.squareup.com/", "description" : "", "id" : "imgfg46729", "shortTitle" : "Home", "title" : "The Square Community", "nodeType" : "Community" }, "Community" : { "viewHref" : "https://community.squareup.com/", "integratedprofile.lang_code" : "en", "integratedprofile.country_code" : "US", "id" : "imgfg46729", "shortTitle" : "Home", "title" : "The Square Community" }, "CoreNode" : { "viewHref" : "https://community.squareup.com/t5/Groups/ct-p/SellerGroups", "settings" : { }, "description" : "Welcome to the Groups home page! <br>Groups are spaces to connect with sellers with whom you share interests or business types. <a href=\"https://www.sellercommunity.com/t5/Community-Resources/How-to-Join-a-Seller-Group/ta-p/718662\">Learn more about Groups<\/a>.<br>\r\nWhat should you do here? Choose a group that interests you and click <b>Join Group Hub<\/b> or <b>Send Request to Join<\/b>! <a href=\"https://www.sellercommunity.com/t5/About-the-Seller-Community/Community-Etiquette-Guidelines/td-p/190108\" target=\"_new\">Our Community Guidelines apply<\/a>.", "id" : "SellerGroups", "shortTitle" : "Groups", "title" : "Groups", "nodeType" : "category", "ancestors" : [ { "viewHref" : "https://community.squareup.com/t5/Connect/ct-p/Connect", "description" : "Chat with other sellers, participate in events, and share tips on growing your business.", "id" : "Connect", "shortTitle" : "Connect", "title" : "Connect", "nodeType" : "category" }, { "viewHref" : "https://community.squareup.com/", "description" : "", "id" : "imgfg46729", "shortTitle" : "Home", "title" : "The Square Community", "nodeType" : "Community" } ] } }; LITHIUM.Components.RENDER_URL = "/t5/util/componentrenderpage/component-id/#{component-id}?render_behavior=raw"; LITHIUM.Components.ORIGINAL_PAGE_NAME = 'community/CategoryPage'; LITHIUM.Components.ORIGINAL_PAGE_ID = 'CategoryPage'; LITHIUM.Components.ORIGINAL_PAGE_CONTEXT = '8JqmmWoTSUjzRDDP6A6xx6zHsp3c3xXgP6rg4uASK__lXpcXji7s-LU53kZzF9jeqVl3hbKsRinWVUM36OEJ_EJUp2in2puqlSXowFYibVE2HkQkdQ9TgBnZb6eqy_R7AG1VR67JJhH75EQvX_CbsG187CxrzxcJFZvmHexaMNj5NhgorY9QIqUEnz1CpTTV-GIB6tHV31rN6AyWGay-fo6693e9HyTrulrsqptD03IJIteVNok0kEhejqiBO05u8NrqfdPoQv_wjs91MgaS1SrwjHLdipZR_8nFq8OAn745E287-8B_0Drl7zzfqbvrkmJXueRNqz-7Tr0GyNbrCA..'; LITHIUM.Css = { "BASE_DEFERRED_IMAGE" : "lia-deferred-image", "BASE_BUTTON" : "lia-button", "BASE_SPOILER_CONTAINER" : "lia-spoiler-container", "BASE_TABS_INACTIVE" : "lia-tabs-inactive", "BASE_TABS_ACTIVE" : "lia-tabs-active", "BASE_AJAX_REMOVE_HIGHLIGHT" : "lia-ajax-remove-highlight", "BASE_FEEDBACK_SCROLL_TO" : "lia-feedback-scroll-to", "BASE_FORM_FIELD_VALIDATING" : "lia-form-field-validating", "BASE_FORM_ERROR_TEXT" : "lia-form-error-text", "BASE_FEEDBACK_INLINE_ALERT" : "lia-panel-feedback-inline-alert", "BASE_BUTTON_OVERLAY" : "lia-button-overlay", "BASE_TABS_STANDARD" : "lia-tabs-standard", "BASE_AJAX_INDETERMINATE_LOADER_BAR" : "lia-ajax-indeterminate-loader-bar", "BASE_AJAX_SUCCESS_HIGHLIGHT" : "lia-ajax-success-highlight", "BASE_CONTENT" : "lia-content", "BASE_JS_HIDDEN" : "lia-js-hidden", "BASE_AJAX_LOADER_CONTENT_OVERLAY" : "lia-ajax-loader-content-overlay", "BASE_FORM_FIELD_SUCCESS" : "lia-form-field-success", "BASE_FORM_WARNING_TEXT" : "lia-form-warning-text", "BASE_FORM_FIELDSET_CONTENT_WRAPPER" : "lia-form-fieldset-content-wrapper", "BASE_AJAX_LOADER_OVERLAY_TYPE" : "lia-ajax-overlay-loader", "BASE_FORM_FIELD_ERROR" : "lia-form-field-error", "BASE_SPOILER_CONTENT" : "lia-spoiler-content", "BASE_FORM_SUBMITTING" : "lia-form-submitting", "BASE_EFFECT_HIGHLIGHT_START" : "lia-effect-highlight-start", "BASE_FORM_FIELD_ERROR_NO_FOCUS" : "lia-form-field-error-no-focus", "BASE_EFFECT_HIGHLIGHT_END" : "lia-effect-highlight-end", "BASE_SPOILER_LINK" : "lia-spoiler-link", "BASE_DISABLED" : "lia-link-disabled", "FACEBOOK_LOGOUT" : "lia-component-users-action-logout", "FACEBOOK_SWITCH_USER" : "lia-component-admin-action-switch-user", "BASE_FORM_FIELD_WARNING" : "lia-form-field-warning", "BASE_AJAX_LOADER_FEEDBACK" : "lia-ajax-loader-feedback", "BASE_AJAX_LOADER_OVERLAY" : "lia-ajax-loader-overlay", "BASE_LAZY_LOAD" : "lia-lazy-load" }; LITHIUM.noConflict = true; LITHIUM.useCheckOnline = false; LITHIUM.RenderedScripts = [ "LiModernizr.js", "jquery.ui.position.js", "ForceLithiumJQuery.js", "Throttle.js", "PolyfillsOld.js", "json2.js", "jquery.lithium-selector-extensions.js", "Text.js", "PolyfillsAll.js", "DataHandler.js", "jquery.viewport-1.0.js", "jquery.ui.mouse.js", "Auth.js", "jquery.function-utils-1.0.js", "ElementQueries.js", "AjaxSupport.js", "jquery.js", "jquery.tmpl-1.1.1.js", "Forms.js", "jquery.appear-1.1.1.js", "Loader.js", "jquery.position-toggle-1.0.js", "jquery.ui.core.js", "jquery.ui.resizable.js", "prism.js", "jquery.delayToggle-1.0.js", "InformationBox.js", "Globals.js", "jquery.effects.slide.js", "PartialRenderProxy.js", "OoyalaPlayer.js", "jquery.ui.dialog.js", "Events.js", "jquery.clone-position-1.0.js", "jquery.scrollTo.js", "Cache.js", "jquery.iframe-transport.js", "jquery.css-data-1.0.js", "UserNavigation2.js", "jquery.ajax-cache-response-1.0.js", "jquery.blockui.js", "NoConflict.js", "Components.js", "Video.js", "ActiveCast3.js", "ResizeSensor.js", "jquery.ui.draggable.js", "ElementMethods.js", "DeferredImages.js", "jquery.json-2.6.0.js", "jquery.hoverIntent-r6.js", "Sandbox.js", "jquery.effects.core.js", "jquery.fileupload.js", "Lithium.js", "Link.js", "Namespace.js", "jquery.iframe-shim-1.0.js", "SpoilerToggle.js", "jquery.ui.widget.js" ];// --> </script><script type="text/javascript" src="/t5/scripts/D60EB96AE5FF670ED274F16ABB044ABD/lia-scripts-head-min.js"></script></head> <body class="lia-user-status-anonymous CategoryPage lia-body" id="lia-body"> <div id="349-188-2" class="ServiceNodeInfoHeader"> </div> <div class="lia-page"> <center> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5FRXX9P" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://community.squareup.com/html/@BB2D50D43AB3AC438D7DEF7A218EA920/assets/social_media_preview.png" /> <script> if (!String.prototype.includes) { String.prototype.includes = function (str) { return this.indexOf(str) !== -1; } } /* Paginnation Script */ window.pagination_var = function(totalResults, show_per_page, PagerNumber, Classname){ var paginationHtml = ''; var number_of_pages = Math.ceil(totalResults/show_per_page); var _pagesCurrent = parseInt(PagerNumber); var current_link = 0; if(number_of_pages>1 && _pagesCurrent>1){ var activeClass= "page_link actArrow "+Classname+"_page"; }else{ var activeClass= "deactArrow"; } if(number_of_pages>1){ var PreLink = _pagesCurrent-1; paginationHtml += '<a class="jp-previous arrow '+activeClass+'" data="'+ PreLink +'" id="jp-previous" href="javascript:void(0)">Previous</a>'; } while(number_of_pages > current_link){ var pageNumActive = current_link + 1; paginationHtml += '<a class="page_link '+Classname+'_page" data="'+ pageNumActive +'" id="'+ Classname +'_'+ pageNumActive +'" href="javascript:void(0)">'+ pageNumActive +'</a>'; current_link++; } if(number_of_pages>1 && _pagesCurrent<(number_of_pages)){ var activeClass= "page_link actArrow "+Classname+"_page"; }else{ var activeClass= "deactArrow"; } if(number_of_pages>1){ var NextLink = _pagesCurrent+1; paginationHtml += '<a class="jp-next arrow '+activeClass+'" data="'+ NextLink +'" id="jp-next" href="javascript:void(0)">Next</a>'; } $('.'+Classname).html(paginationHtml); $('#'+Classname+'_'+parseInt(PagerNumber)).addClass( 'active' ); if(number_of_pages == 1){ $('.'+Classname).hide() } else{ $('.'+Classname).show() } var _bulletsCenter = 3; var _bulletsSide = 2; var _bullets = $('.'+Classname).children(); _bullets.removeClass( 'hidden' ).remove( 'ellipsis' ); //console.log("working"); if (number_of_pages > _bulletsCenter + (_bulletsSide * 2) + 2) { console.log("bworking"); if (_pagesCurrent < Math.floor(_bulletsCenter / 2) + _bulletsSide + 2) { var start = _bulletsSide + _bulletsCenter + 1; var end = number_of_pages - _bulletsSide - 1; hideBullets( _bullets, start, end ); _bullets.eq( end ).before('<span class="ellipsis_before">...</span>'); //console.log("working1"); } else if (_pagesCurrent > number_of_pages - (Math.ceil(_bulletsCenter / 2) + _bulletsSide) - 2) { var start = _bulletsSide + 1; var end = number_of_pages - (_bulletsSide + _bulletsCenter + 1); hideBullets( _bullets, start, end ); _bullets.eq( start - 1 ).after('<span class="ellipsis">...</span>'); //console.log("working2"); } else { var start = _bulletsSide + 1; var end = _pagesCurrent - Math.floor(_bulletsCenter / 2); hideBullets( _bullets, start, end ); _bullets.eq( start - 1 ).after('<span class="ellipsis">...</span>'); var _pagesCurrent = parseInt(_pagesCurrent); var math_start = parseInt(Math.ceil(_bulletsCenter / 2)); var start = _pagesCurrent + math_start; var end = number_of_pages - (_bulletsSide - 1); hideBullets( _bullets, start, end ); _bullets.eq( start - 1 ).after('<span class="ellipsis">...</span>'); console.log("working3"); } } //console.log("retunhtml"); return paginationHtml; } window.hideBullets = function( bullets, start, end ) { for ( var a = start; a < end; a++ ) { bullets.eq( a ).addClass( 'hidden' ); } } </script> <style> #lia-body .lia-quilt-idea-page .lia-message-view-idea-message .lia-byline-wrapper, #lia-body .lia-quilt-idea-page .lia-idea-page-status-change, #lia-body .lia-quilt-idea-page .lia-component-status-change-form { display: none; } </style> <div class="MinimumWidthContainer"> <div class="min-width-wrapper"> <div class="min-width"> <div class="lia-content"> <div class="lia-browser-support-alert"> <div class="lia-browser-support-alert-text"> We no longer support Internet Explorer v10 and older, or you have compatibility view enabled. Disable Compatibility view, upgrade to a newer version, or use a different browser. </div> <div class="lia-browser-support-alert-close"> <a class="lia-link-navigation lia-link-ticket-post-action" data-lia-action-token="Cf3BCEUcLMPzDszqXnXQLFKgG8k3_0tTZ3A4ewdV1Bw." rel="nofollow" id="dismissAlert" href="https://community.squareup.com/t5/community/categorypage.liabase.basebody.browsersupportalert.dismissalert:dismissalert?t:ac=category-id/SellerGroups"><span class="lia-img-close-small lia-fa-close lia-fa-small lia-fa" title="Dismiss this alert" alt="Dismiss this alert" aria-label="Dismiss this alert" role="img" id="display"></span></a> </div> </div> <div class="lia-quilt lia-quilt-category-page-seller-groups lia-quilt-layout-one-column lia-top-quilt"> <div class="lia-quilt-row lia-quilt-row-header"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-common-header"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <div class="lia-quilt lia-quilt-header lia-quilt-layout-header lia-component-quilt-header"> <div class="lia-quilt-row lia-quilt-row-top-nav"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-top-nav"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <script type="application/javascript" src="/html/assets/jquery_cookie.js"></script> <script> if(!Cookies.get('_savt')){ // set new cookie with a big random number var ck_str= Math.random().toString(36).slice(2); Cookies.set('_savt', ck_str); } </script> <script type="application/javascript" src="/html/assets/eventstreamV2.js"></script> <script> var env = 'production'; var host_name= 'api.squareup.com'; if ((window.location.hostname).includes("staging")){ env = 'staging'; host_name = 'api.squareupstaging.com'; } EventstreamLogger = new EventstreamClient({ applicationName: 'seller-community', environment : env, host: host_name, }); </script> <!-- New Community Header --> <style> @media screen and (max-width: 1210px) and (min-width:769px) { #lia-body .new-community-header .new-header-container .header-section-center ul.header-navigation-list .slider-div li.top-header-nav-list.home { display:none; } } </style> <header role="banner" class="new-community-header"> <div class="new-header-container"> <div class="header-section-left"> <a class="logo" data-link-action="Home" data-link-label="Banner" href="https://squareup.com" target="_blank"> <img src="https://community.squareup.com/html/@AF0CD65727670587987A847630197935/assets/Square_logo_2024.svg" height="24" width="24" /> </a> <p><a href="/"><span class="logo-title">Community</span></a></p> </div> <div class="hamburger-icon"></div> <div class="header-section-right"> <div class="signUp-btn"> <a href="https://squareup.com/signup" class="signUp-link">Sign Up</a> </div> <style> #lia-body.lia-user-status-anonymous .header-section-right ul.lia-component-common-widget-user-navigation-modern li a:before, #lia-body.lia-user-status-anonymous .header-navigation-list ul.lia-component-common-widget-user-navigation-modern li a:before { content: "Sign In"; } </style> <ul role='list' id='list_3ed3912d9e5185' class='lia-list-standard-inline UserNavigation lia-component-common-widget-user-navigation-modern'> <li role='listitem'><a class='lia-link-navigation registration-link lia-component-users-action-registration' rel='nofollow' id='registrationPageV2_3ed3912d9e5185' href='/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2Fcommunity.squareup.com%2Ft5%2FGroups%2Fct-p%2FSellerGroups'>Register</a></li> <li aria-hidden='true'><span class='separator lia-component-common-widget-user-nav-separator-character'>·</span></li> <li role='listitem'><a class='lia-link-navigation login-link lia-authentication-link lia-component-users-action-login' rel='nofollow' id='loginPageV2_3ed3912d9e5185' href='/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2Fcommunity.squareup.com%2Ft5%2FGroups%2Fct-p%2FSellerGroups'>Sign In</a></li> <li aria-hidden='true'><span class='separator lia-component-common-widget-user-nav-separator-character'>·</span></li> <li role='listitem'><a class='lia-link-navigation faq-link lia-component-help-action-faq' id='faqPage_3ed3912d9e5185' href='/t5/help/faqpage'>Help</a></li> </ul> </div> <div class="header-section-center"> <ul class="header-navigation-list"> <div class="slider-div"> <div class="slider-wrapper"> <li class="top-header-nav-list home "> <a href="/" class="top-nav-link home-link">Home</a> </li> <li class="top-header-nav-list beta "> <a href="/t5/Beta-Seller-Community/ct-p/Beta-Seller-community-global" class="top-nav-link beta-link ">Beta</a> </li> </div> </div> <li class="top-header-nav-list home"> <a href="/" class="top-nav-link home-link">Home</a> </li> <li class="top-header-nav-list beta extra"> <a href="/t5/Beta-Seller-Community/ct-p/Beta-Seller-community-global" class="top-nav-link beta-link">Beta</a> </li> </ul> </div> </div> </header> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-main-header"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-header"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <!--Survey Component--> <div class="survey_modal"> <div class="close_button_container"> <span class="close_button">x</span></div> <div class="modal_sub_container"> <div class="top_container"> <div class="user_avatar"><img src="/t5/image/serverpage/avatar-name/Seller-d3/avatar-theme/candy/avatar-collection/Humans/avatar-display-size/profile/version/2" title="Anonymous" alt="Anonymous"/></div> <div class="opinion">Your opinion in 1 minute.</div> </div> <div class="inner-text">Help us improve by answering 4 quick questions.</div> <div class="approve_button_container"> <span class="approve_button">Take Survey Now</span> </div> </div> </div> <div class="getstarted-container" style="display:none;"></div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-hero"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-hero-content lia-mark-empty"> </div> </div><div class="lia-quilt-row lia-quilt-row-sub-header"> <div class="lia-quilt-column lia-quilt-column-22 lia-quilt-column-left lia-quilt-column-sub-header-left lia-mark-empty"> </div><div class="lia-quilt-column lia-quilt-column-02 lia-quilt-column-right lia-quilt-column-sub-header-right lia-mark-empty"> </div> </div><div class="lia-quilt-row lia-quilt-row-search"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-search-content"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <!-- Check if the logged in in user has the Beta-test role --> <!-- Production --> <div class="beta-search-v2"> <!-- custom.grz.search --> <div style="display:none;">8.222.208.146</div> <div style="display:none;">8.222.208.146</div> <div style="display:none;"></div> <script src="/html/assets/jquery2.1.3.min.js"></script> <script src="/html/assets/moment-with-locales.js"></script> <script src="/html/assets/angular.min.js"></script> <script src="/html/assets/angular-animate.min.js"></script> <script src="/html/assets/angular-route.min.js"></script> <script src="/html/assets/angular-moment.min.js"></script> <script src="/html/assets/paging.min.js"></script> <script src="/html/assets/clickoutside.directive.js"></script> <script> var localUserPreference = {} localUserPreference["us"] = {'country_code':'US','language_code':'en-us'} localUserPreference["United States"] = {'country_code':'US','language_code':'en-us'} localUserPreference["United States of America"] = {'country_code':'US','language_code':'en-us'} localUserPreference["ca"] = {'country_code':'CA','language_code':'en-ca'} localUserPreference["Canada"] = {'country_code':'CA','language_code':'en-ca'} localUserPreference["ja"] = {'country_code':'JP','language_code':'ja-jp'} localUserPreference["Japan"] = {'country_code':'JP','language_code':'ja-jp'} localUserPreference["au"] = {'country_code':'AU','language_code':'en-au'} localUserPreference["Australia"] = {'country_code':'AU','language_code':'en-au'} localUserPreference["fr"] = {'country_code':'FR','language_code':'fr-fr'} localUserPreference["France"] = {'country_code':'FR','language_code':'fr-fr'} localUserPreference["ie"] = {'country_code':'IE','language_code':'en-ie'} localUserPreference["Ireland"] = {'country_code':'IE','language_code':'en-ie'} localUserPreference["en-gb"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["Spain"] = {'country_code':'ES','language_code':'es-es'} localUserPreference["es"] = {'country_code':'ES','language_code':'es-es'} localUserPreference["United Kingdom of Great Britain and Northern"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["United Kingdom"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["United Kingdom of Great Britain and Northern Ireland"] = {'country_code':'GB','language_code':'en-GB'} localUserPreference["es-us"] = {'country_code':'US','language_code':'es-us'} localUserPreference["en-gl"] = {'country_code':'ZZ','language_code':'en-us'} var referrer = document.referrer; console.log("last url",referrer); if(referrer.includes('US-ES')){ var setActiveLocale = localUserPreference["es-us"]; } else{ var setActiveLocale = localUserPreference["en-gl"]; } console.log('hello',setActiveLocale); var isCookieSet = "true"; var cname = "searchResults"; if(isCookieSet=="true"){ var cvalue = "en-us"; if(cvalue!=''){ localStorage.storageLocal=cvalue; }else{ localStorage.storageLocal="en-us"; } }else{ /*-- Do Nothing --*/ } var checkAnonymous = "true"; var runGlobalSearch = "true"; console.log("Cookie Val: "+cvalue); var searchLocale = localStorage.storageLocal; console.log("custom.grz.search - Search Locale: ",searchLocale); if(searchLocale!='' || searchLocale!=undefined || searchLocale!="undefined"){ if(searchLocale=="es-us"){ var setActiveLocale = localUserPreference["es-us"]; }else if(searchLocale=="en-us"){ var setActiveLocale = localUserPreference["us"]; }else if(searchLocale=="es-es"){ var setActiveLocale = localUserPreference["es"]; }else if(searchLocale=="en-ca"){ var setActiveLocale = localUserPreference["ca"]; }else if(searchLocale=="en-gb"){ var setActiveLocale = localUserPreference["en-gb"]; }else if(searchLocale=="ja-jp"){ var setActiveLocale = localUserPreference["ja"]; }else if(searchLocale=="en-au"){ var setActiveLocale = localUserPreference["au"]; }else if(searchLocale=="fr-fr"){ var setActiveLocale = localUserPreference["fr"]; }else if(searchLocale=="en-ie"){ var setActiveLocale = localUserPreference["ie"]; }else if(searchLocale=="en-zz"){ var setActiveLocale = localUserPreference["en-gl"]; }else{ if(checkAnonymous!="true"){ if (runGlobalSearch == "true"){ var setActiveLocale = localUserPreference["en-gl"]; }else{ var setActiveLocale = {}; } }else{ var setActiveLocale = {}; } } }else{ if(checkAnonymous!="true"){ if (runGlobalSearch == "true"){ var setActiveLocale = localUserPreference["en-gl"]; }else{ var setActiveLocale = {}; } }else{ var setActiveLocale = {}; } } window.getActiveLocale = function(){ return setActiveLocale; } if(checkAnonymous=="true" && (searchLocale=='' || searchLocale==undefined || searchLocale=="undefined")){ var getLocale = {}; }else{ var getLocale = setActiveLocale; } console.log('getlocale',getLocale); </script> <script> angular.module('swiftType', []) .filter('fromNow', function() { return function(x){ var diff = moment().diff(moment(x), 'months', true); if(diff < 1) return moment(x).fromNow(); else return moment(x).format("MM-DD-YYYY"); } }) .filter('filterField', function() { return function(x,fieldType){ var selected = x.filter(function(e){ if(e.name == fieldType){ return e; } }); try{ var result = selected[0]["value"]; if(selected[0]["name"] == "author_rank_color"){ result = '#' + result; } }catch(e){ var result = "--"; } return result; } }) .filter('truncate', function() { return function (value, setting ) { var setting = setting || {} var wordwise = setting.wordwise || false; var max = setting.truncateLength || 100 var tail = setting.truncateTail || " ..." if (!value) return ''; max = parseInt(max, 10); if (!max) return value; if (value.length <= max) return value; value = value.substr(0, max); if (wordwise) { var lastspace = value.lastIndexOf(' '); if (lastspace !== -1) { if (value.charAt(lastspace-1) === '.' || value.charAt(lastspace-1) === ',') { lastspace = lastspace - 1; } value = value.substr(0, lastspace); } } return value + (tail || ' …'); }; }) .filter('fetchEventType', function(filterFieldFilter) { return function(x,type,fields){ var EventTypeMapping = { getThreadType : function(x){ return this[x]; }, outside:{ "EventType" : "Help Articles", "ImgSrc" : "", "className" : "help" }, solved : { "EventType" : "Community Answer", "ImgSrc" : "", "className" : "solved" }, unsolved : { "EventType" : "Open Discussions", "ImgSrc" : "", "className" : "open" } }; var value = '' var selectedNode = null ; if( x == 4 ){ var is_solved = filterFieldFilter(fields,'is_solution'); if(is_solved === "true"){ selectedNode = EventTypeMapping.getThreadType("solved"); }else{ selectedNode = EventTypeMapping.getThreadType("unsolved") ; } }else{ selectedNode = EventTypeMapping.getThreadType("outside") ; } if(selectedNode.hasOwnProperty(type)){ value = selectedNode[type] ; } //} return value; } }) .animation('.slide-toggle', function(){ return { enter: function(element, done) { $(element).hide().slideDown(function(){ done(); }); }, leave: function(element, done) { $(element).slideUp(function(){ done(); }); } }; }) .factory('SharedService', function() { return null; }); </script> <script> var app = angular.module('grz-search', ['angular-click-outside','ngAnimate','swiftType']); app.config(['$locationProvider', function($locationProvider) { $locationProvider.html5Mode({ enabled: true, requireBase: false }); }]); app.controller('search-module',['$scope', '$http','$location', 'SharedService' , '$window' ,function($scope , $http , $location , SharedService , $window ) { var searchText = $location.search().q; $scope.isStartThreadDispaly = false; if(searchText){ $scope.search_text = searchText; } $scope.renderSetting = { "truncateLength" : 75, "wordwise" : false, "truncateTail" : " ..." }; var localeSetup = {}; if(angular.equals(localeSetup, {})){ localeSetup = $window.getActiveLocale(); } $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_Global/choose-node/true'; if(cvalue == 'en-ca'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_CA/choose-node/true'; } if(cvalue == 'en-us'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_US/choose-node/true'; } if(cvalue == 'es-es'){ $scope.threadUrl = '/t5/forums/postpage/category-id/comunidad-square/choose-node/true'; } if(cvalue == 'ja-jp'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_JA/choose-node/true' } if(cvalue == 'en-au'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_AU/choose-node/true' } if(cvalue == 'es-us'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_US-ES/choose-node/true'; } if(cvalue == 'en-ie'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_IE/choose-node/true'; } if(cvalue == 'en-gb'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Seller_Community_UK/choose-node/true'; } if(cvalue == 'fr-fr'){ $scope.threadUrl = '/t5/forums/postpage/category-id/Communaute-Square/choose-node/true'; } var corebeta = 'SellerGroups'; if(corebeta == 'Beta-Seller-community-global' || corebeta == 'Beta-Seller-Community-Global'){ $scope.threadUrl = '/t5/forums/postpage/category-id/'+corebeta+'/choose-node/true'; } /* Default Setting */ var tempSearchSetting = {}; tempSearchSetting.source = "SELLER_COMMUNITY"; tempSearchSetting.search_text = "test"; tempSearchSetting.search_type = "SUGGEST"; tempSearchSetting.document_kinds = ["COMMUNITY_POST","HELP_CENTER_ARTICLE","WEEBLY_HELP_ARTICLE"]; tempSearchSetting.locale = localeSetup; tempSearchSetting.page = 1; tempSearchSetting.per_page = 6; var timeout = null; var setTimeInteraval = 300; $scope.seachSetting = tempSearchSetting; $scope.searchResult = {}; $scope.searching = false; $scope.closeThis = function () { $scope.searchResult = []; $scope.IsVisible = false; } var retry = 0; var callApi = function(apiUrl){ // console.log("Last Searching Par",$scope.search_text) $scope.searching = true; $http({ method : "GET", url : apiUrl, params:{data: angular.toJson($scope.seachSetting)} }).then( function(response){ console.log("API response",response) if(response.data.success){ $scope.searchResult = response.data.document_results; // Call the conversion function again after a short delay to ensure it captures all dynamically loaded content function boldText(){ // Event delegation to handle dynamically loaded content $(document).find('.search-result .search .result-wrapper .ng-binding').each(function() { // Call the conversion function for the newly added element console.log("convert"); var htmlContent = $(this).html(); var modifiedHtml = htmlContent.replace(/&lt;b&gt;/g, '<b>').replace(/&lt;\/b&gt;/g, '</b>').replace('<b>', '<b>').replace('</b>', '</b>'); $(this).html(modifiedHtml); //convertBTagsToBold(); }); } setTimeout(boldText, 100); } else{ if(retry < 2){ callApi(apiUrl) retry ++; return; } } $scope.IsVisible = true; $scope.searching = false; }, function(error){ console.log('I am in error ERROR FUNCTION CALLA',error); if(retry < 2){ callApi(apiUrl) retry ++; return; } $scope.closeThis(); $scope.searching = false; } ); } $scope.goToSearchPage = function (){ var searchPageTab = '--'; var redirctionUrl = "/t5/forums/searchpage/tab/message?q=" + $scope.search_text; if($scope.search_text.length == 0) return; if(searchPageTab == "message"){ history.pushState(null, null, redirctionUrl) angular.element(document.getElementById('search-detail-controller')).scope().$emit('search.update', $scope.search_text); return; } window.location.href = redirctionUrl; } /* Function Fetching Result Against Searh Result */ $scope.fetchSearch = function(e) { var searchText = $scope.search_text; if(e.keyCode == 13){ $scope.goToSearchPage(); $scope.closeThis(); clearTimeout(timeout); return; } if(searchText.length < 3){ $scope.closeThis(); clearTimeout(timeout); return; } var searchUrl = '/imgfg46729/plugins/custom/squareinc/squareinc/swifttype.ep'; clearTimeout(timeout); timeout = setTimeout(function () { $scope.seachSetting.search_text = searchText; callApi(searchUrl); }, setTimeInteraval || 300); }; $scope.IsVisible = false; }]); </script> <div ng-app="grz-search" class="search-wrapper" id="grz-search-suggustion"> <div class="grz-search search-suggestion lia-top-quilt"> <div class='search-module lia-quilt-row-main' ng-controller="search-module" ng-cloak> <div class='search-wrapper' ng-class="{'loading': searching }"> <span class="loader" ng-if="searching"><img src="/html/assets/page-loader.gif"></span> <div class="search-input-wrapper"> <input type="text" class="input-value" ng-model="search_text" ng-keyup="fetchSearch($event)" placeholder="Search questions, keywords, community members"> </div> <span class="close-btn" ng-hide="searchResult.length" ng-click="goToSearchPage()"> <svg xmlns="//www.w3.org/2000/svg" viewBox="0 0 20 20" width="20" height="20" class="search-icon"> <path fill="none" stroke="#969799" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M1.2,16.2c-0.7,0.7-0.7,1.7,0,2.4l0.1,0.1c0.7,0.7,1.7,0.7,2.4,0l2.7-2.7c0.7-0.7,0.7-1.7,0-2.4l-0.1-0.1 c-0.7-0.7-1.7-0.7-2.4,0L1.2,16.2z"></path> <path fill="none" stroke="#969799" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M5.8,7.3c0,3.7,3.2,6.9,6.9,6.9c3.7,0,6.6-3.2,6.6-6.9c0-3.7-2.9-6.6-6.6-6.6C9,0.8,5.8,3.6,5.8,7.3z"></path> <line fill="none" stroke="#969799" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" x1="6.4" y1="13.6" x2="7.8" y2="12.2"></line> </svg> </span> <span class="close-btn" ng-show="searchResult.length" ng-click="closeThis()"> <svg xmlns="//www.w3.org/2000/svg" viewBox="0 0 20 20" width="20" height="20"> <path fill="#969799" d="M11.414,10l6.293-6.293c0.391-0.391,0.391-1.023,0-1.414s-1.023-0.391-1.414,0L10,8.586L3.707,2.293 c-0.391-0.391-1.023-0.391-1.414,0s-0.391,1.023,0,1.414L8.586,10l-6.293,6.293c-0.391,0.391-0.391,1.023,0,1.414 s1.023,0.391,1.414,0L10,11.414l6.293,6.293c0.391,0.391,1.023,0.391,1.414,0s0.391-1.023,0-1.414L11.414,10z"></path> </svg> </span> <div class="start-thread search-start-thread search-bar" ng-if="!isStartThreadDispaly"> <a target="_self" href="{{threadUrl}}?message-subject={{search_text}}"> Start Thread </a> </div> </div> <div class='response slide-toggle' ng-class="IsVisible?'open':'close'" ng-if="IsVisible" click-outside="closeThis()"> <ul class='search-result' ng-class="searchResult.length > 0?'has-result':'no-result'"> <li class='search' ng-repeat="result in searchResult"> <span class="result-wrapper result-logo {{result.document.document_kind | fetchEventType: 'className' : result.document.fields }}" > <span class="img-wrapper"> </span> </span> <span class="result-wrapper result-detail"> <a href="{{result.document.url}}" class = "search-title" >{{result.document.title | truncate: renderSetting }}</a> </span> </li> <li class='search' ng-hide="searchResult.length > 0"> <span class="result-wrapper result-detail no-result-found"> <span class="no-result-found page.search.revereseRequired">No Result found for this keyword <b>{{search_text}}</b> </span> </span> </li> </ul> <div class="start-thread search-start-thread"> <span class="message"> Can't find what you're searching for? </span> <a target="_self" href="{{threadUrl}}?message-subject={{search_text}}"> Start Thread </a> </div> </div> </div> </div> </div> </div> <!-- Production --> <style> #lia-body .lia-quilt-category-page-country-specific .custom-nav-bar{ display:none; } #lia-body .lia-quilt-category-page-country-specific .custom-nav-bar{ display:none; } </style> <div class="top-nav custom-nav-bar"> <div class="top-nav-list"> <div class="lia-breadcrumb"> <ul class="lia-list-standard-inline"> <li class="lia-breadcrumb-node crumb final-crumb"> <span> Groups </span> </li> </ul> </div> <div class="subscribe-button-wrpper"> <!-- custom.subscribe-button --> <style> .lia-quilt-column-right.lia-quilt-column-topic-header-right .lia-quilt-column-alley.lia-quilt-column-alley-right{ text-align: right; } #topic_subscribe_email { display: inline-block; //margin-right: 10px; vertical-align: middle; } #topic_subscribe_email .btn-post { /*background-color: #ffffff; border-radius: 3px; color: #1b2126; float: right; margin: 13px 0; padding: 9px 19px; text-decoration: none;*/ } #lia-body.ForumTopicPage .lia-content .lia-component-thread-options { width: auto; display: inline-block; vertical-align: middle; } #topic_subscribe_email .btn-post div { color: #2996CC; } </style> <!-- Production --> </div> </div> </div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-feedback"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-feedback"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <style> #lia-body.lia-body .new-community-header ul.lia-component-common-widget-user-navigation-modern li .user-navigation-settings-dropdown-link .lia-user-avatar .lia-link-navigation img.lia-user-avatar-message{ padding: 0; margin-top:5px; } .custom-user-details .custom-user-avatar .rank-icon-right, .custom-user-details .custom-user-avatar rank-icon-left, .avatar-wrapper .rank-icon-right { top: -2px; bottom: unset; } .custom-gh-banner { margin: 12px auto 0; } </style> </div> </div> </div> </div> <div class="lia-page-header"> <div class="lia-message-discussion-style-icon lia-component-common-widget-core-node-icon"> <span class="lia-img-icon-category lia-fa-icon lia-fa-category lia-fa lia-node-icon" title="Category" aria-label="Category" role="img" id="imagedisplay"></span> </div> <h1 class="PageTitle lia-component-common-widget-page-title"><span class="lia-link-navigation lia-link-disabled" aria-disabled="true" id="link_15">Groups</span></h1> </div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-main"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <div class="lia-browser-category-heading"> <span class="lia-link-navigation category-title lia-link-disabled">Groups</span> <span class="board-count"><bdo></bdo></span> </div> <div class="category-description"> Welcome to the Groups home page! <br>Groups are spaces to connect with sellers with whom you share interests or business types. <a href="https://www.sellercommunity.com/t5/Community-Resources/How-to-Join-a-Seller-Group/ta-p/718662">Learn more about Groups</a>.<br> What should you do here? Choose a group that interests you and click <b>Join Group Hub</b> or <b>Send Request to Join</b>! <a href="https://www.sellercommunity.com/t5/About-the-Seller-Community/Community-Etiquette-Guidelines/td-p/190108" target="_new">Our Community Guidelines apply</a>. </div> <style> .CategoryListDisplay .lia-browser-category-heading { display: none; } .category-description { padding: 10px 0px; } </style> <div class="my-groups"> <h2 class="heading-groups">My Groups</h2> <ul class="cat-groups"> <li class="no-group-joined-text">Join a group from the list below and it will be shown here.</li> </ul> </div> <div class="available-groups"> <h2 class="heading-groups">Available Groups</h2> <ul class="cat-groups"> <li class="catlist groups-category active" data-id="category:category:InterestGroups"> <div class="category-details-wrapper"> <h3>Interest Groups</h3> <p>Connect with those who have similar passions, to foster growth and share knowledge.</p> </div> <div class="groups-wrapper"> <ul class="list-groups"> <li class="grouplist"> <a href="/t5/Square Readers Book Club/gh-p/SquareReadersBookClub" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageSquareReadersBookClub.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Square Readers Book Club</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>2608</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Open</span> </div> </div> </a> </li> </ul> </div> </li> <li class="catlist groups-category active" data-id="category:category:IndustryGroups"> <div class="category-details-wrapper"> <h3>Industry Groups</h3> <p>Connect with others with similar business types.</p> </div> <div class="groups-wrapper"> <ul class="list-groups"> <li class="grouplist"> <a href="/t5/Food and Beverage/gh-p/Food-and-Beverage" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageFood-and-Beverage.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Food and Beverage</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>2347</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Open</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Retail and eCommerce/gh-p/RetailAndECommerce" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageRetailAndECommerce.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Retail and eCommerce</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>2583</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Open</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Beauty and Wellness/gh-p/Beauty-and-Wellness" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageBeauty-and-Wellness.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Beauty and Wellness</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>2896</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Open</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Leisure and Entertainment/gh-p/LeisureandEntertainment" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageLeisureandEntertainment.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Leisure and Entertainment</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>477</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Open</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Artists and Makers/gh-p/ArtistsandMakers" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageArtistsandMakers.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Artists and Makers</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>1387</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Open</span> </div> </div> </a> </li> </ul> </div> </li> <li class="catlist groups-category active" data-id="category:category:IdentityGroups"> <div class="category-details-wrapper"> <h3>Identity Groups</h3> <p>Connect with business owners who share a common social identity.</p> </div> <div class="groups-wrapper"> <ul class="list-groups"> <li class="grouplist"> <a href="/t5/togetHER/gh-p/women-group" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/Imagewomen-group.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>togetHER</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>2089</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Private</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Pride in Business: LGBTQ+/gh-p/Pride-In-Business" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImagePride-In-Business.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Pride in Business: LGBTQ+</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>979</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Private</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Uplifted Voices: Black in Business/gh-p/Black-In-Business" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageBlack-In-Business.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Uplifted Voices: Black in Business</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>1180</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Private</span> </div> </div> </a> </li> <li class="grouplist"> <a href="/t5/Between Shores: Asian Pacific Islanders/gh-p/Between-Shores-Asian-Pacific-Islanders" class="group-link" style="background-image:linear-gradient(rgba(255, 254, 254, 0.74), rgba(255, 254, 254, 0.74)), url('/html/assets/ImageBetween-Shores-Asian-Pacific-Islanders.jpg'),url('/html/assets/ImageSellerGroups.jpg')"> <div class="title-count"> <h1>Between Shores: Asian Pacific Islanders</h1> <div class="group-members"> <div class="count"> <svg width="16" height="18" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1 17C2.05 14.65 4.95 13 8 13C11 13 13.9 14.7 15 17M13 6C13 8.76142 10.7614 11 8 11C5.23858 11 3 8.76142 3 6C3 3.23858 5.23858 1 8 1C10.7614 1 13 3.23858 13 6Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span>137</span> </div> </div> </div> <div class="Grouphub-memebership"> <div class="group-privacy"> <span>Private</span> </div> </div> </a> </li> </ul> </div> </li> </ul> </div> </div> </div> </div><div class="lia-quilt-row lia-quilt-row-footer"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-common-footer"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <div class="lia-quilt lia-quilt-footer lia-quilt-layout-footer lia-component-quilt-footer"> <div class="lia-quilt-row lia-quilt-row-main-footer"> <div class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-footer"> <div class="lia-quilt-column-alley lia-quilt-column-alley-single"> <!-- New Community Footer --> <div class="beta-footer-new"> <div class="container"> <div class="FooterNew"> </div> <div class="empty-div"></div> <div class="beta-footer-nav"> <ul class="beta-footer-nav-list"> <li class="beta-footer-nav-item languageselect"> <span class="currentlang singapore">English</span> </li> <li class="beta-footer-nav-item social-icons"> <div class="column"> <a href="https://twitter.com/square" data-link-label="Footer Section" data-link-action="Twitter"> <svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M16.4,6.6c0,0.2,0,0.3,0,0.5c0,4.8-3.3,10.1-9.3,10.1c-1.9,0-3.6-0.4-5-1.4c0.3,0,0.5,0.1,0.8,0.1 c1.5,0,3-0.6,4.1-1.6c-1.4,0-2.6-1.1-3.1-2.5c0.2,0,0.4,0.1,0.6,0.1c0.3,0,0.7,0,1-0.1C3.9,11.4,3,9.9,3,8.1c0,0,0,0,0,0 c0,0.3,0.7,0.4,1.2,0.5c-0.9-0.7-1.4-1.8-1.4-3c0-0.7,0.1-1.3,0.4-1.8c1.6,2.2,3.9,3.6,6.6,3.8C9.8,7.2,9.8,6.9,9.8,6.7 c0-2,1.5-3.9,3.3-3.9c0.9,0,1.8,0.7,2.4,1.4c0.7-0.2,1.4-0.5,2.1-0.9c-0.2,0.8-0.8,1.6-1.4,2C16.8,5.2,17.4,5,18,4.7 C17.6,5.5,17,6.1,16.4,6.6z" fill="#fff" /> </svg> </a> </div> <div class="column"> <a href="https://www.facebook.com/square" data-link-label="Footer Section" data-link-action="Facebook"> <svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M14.2,11l0.4-3H11V6.3C11,5.4,11.9,5,13.1,5H14V2.1c0,0-1.3-0.1-2.4-0.1 C9.3,2,8,3.4,8,6v2H5v3h3v7h3v-7H14.2z" fill="#fff" /> </svg> </a> </div> <div class="column"> <a href="https://instagram.com/square" data-link-label="Footer Section" data-link-action="Instagram"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 17 16" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M16.749 4.69997C16.749 3.79997 16.5495 3.29997 16.3501 2.79997C16.1506 2.19997 15.8514 1.79997 15.3528 1.39997C14.9269 0.972919 14.5738 0.764715 14.1691 0.526135L14.169 0.526092C14.0999 0.485351 14.0293 0.443724 13.9566 0.399969C13.458 0.199969 12.8596 0.0999695 12.0618 -3.05176e-05H8.9703C6.87604 -3.05176e-05 6.47714 -3.05176e-05 5.67933 0.0999695C4.78179 0.0999695 4.28316 0.299969 3.78453 0.499969C3.18617 0.699969 2.78726 0.899969 2.38836 1.39997C1.99917 1.71218 1.79224 2.0853 1.5779 2.4718C1.51762 2.58048 1.45676 2.69023 1.39109 2.79997C1.19164 3.39997 1.09191 3.89997 1.09191 4.79997C0.992188 5.49997 0.992188 5.79997 0.992188 7.99997C0.992188 10.2 0.992188 10.5 1.09191 11.3C1.09191 12.2 1.29137 12.7 1.49082 13.2C1.69027 13.8 1.98945 14.2 2.48808 14.6C2.98672 15 3.38562 15.3 3.88425 15.6C4.28316 15.8 4.98124 15.9 5.77905 16H8.9703C11.0646 16 11.3637 16 12.1615 15.9C13.0591 15.9 13.5577 15.7 14.0563 15.5C14.6547 15.3 15.0536 15 15.4525 14.5C15.8784 14.0729 16.086 13.7188 16.324 13.3131L16.324 13.313L16.324 13.3129L16.3243 13.3124C16.3648 13.2433 16.4063 13.1727 16.4498 13.1C16.6492 12.6 16.749 12 16.8487 11.2C16.8487 10.8489 16.8639 10.6195 16.8824 10.3398C16.9113 9.90238 16.9484 9.34176 16.9484 7.99997C16.9264 7.53669 16.9093 7.15614 16.8948 6.83579L16.8948 6.83574C16.8438 5.704 16.8267 5.32347 16.749 4.69997ZM15.3564 11.1999C15.3564 11.6961 15.2797 12.0384 15.2214 12.2984C15.1857 12.4576 15.1569 12.586 15.1569 12.6999C14.9575 13.0999 14.8578 13.2999 14.5586 13.5999C14.3591 13.7999 13.9602 14.0999 13.661 14.1999C13.3619 14.2999 12.963 14.3999 12.1652 14.3999C11.81 14.3999 11.5642 14.4156 11.2671 14.4345H11.2671H11.2671C10.8132 14.4634 10.2396 14.4999 8.97391 14.4999C6.87965 14.4999 6.58047 14.4999 5.78266 14.3999C5.28785 14.3999 4.94649 14.323 4.68719 14.2646C4.5284 14.2288 4.40039 14.1999 4.28676 14.1999C3.78813 14.0999 3.58868 13.9999 3.2895 13.5999C3.09005 13.3999 2.79087 12.9999 2.69114 12.6999C2.49169 12.3999 2.39196 11.9999 2.39196 11.1999C2.39196 10.8439 2.37635 10.5973 2.35748 10.2994C2.32866 9.84426 2.29224 9.26908 2.29224 7.99993C2.29224 5.79993 2.29224 5.59993 2.39196 4.79993C2.39196 4.30377 2.46868 3.96147 2.52696 3.70146C2.56265 3.54223 2.59142 3.41387 2.59142 3.29993C2.79087 2.89993 2.89059 2.69993 3.18977 2.39993C3.38923 2.19993 3.78813 1.89993 4.08731 1.79993C4.23266 1.77078 4.36954 1.73313 4.5103 1.69442C4.8524 1.60033 5.21741 1.49993 5.78266 1.49993C6.14301 1.49993 6.40692 1.48381 6.72281 1.46452C7.19372 1.43575 7.78016 1.39993 8.97391 1.39993C10.9684 1.39993 11.2676 1.39993 12.0654 1.49993C12.5602 1.49993 12.9016 1.57686 13.1609 1.6353C13.3197 1.67108 13.4477 1.69993 13.5613 1.69993C13.9602 1.89993 14.1597 1.99993 14.4589 2.29993C14.758 2.59993 14.9575 2.99993 15.0572 3.29993C15.2567 3.59993 15.3564 3.99993 15.3564 4.79993C15.3564 5.15601 15.372 5.40251 15.3909 5.70046V5.70047V5.70048C15.4197 6.15561 15.4561 6.73079 15.4561 7.99993C15.4561 10.1999 15.4561 10.3999 15.3564 11.1999ZM4.88477 7.99987C4.88477 5.69987 6.77957 3.89987 8.97355 3.89987C11.1675 3.89987 12.9626 5.79987 12.9626 7.99987C12.9626 10.1999 11.2673 12.0999 8.97355 12.0999C6.67984 12.0999 4.88477 10.2999 4.88477 7.99987ZM8.97863 10.5999C7.58246 10.5999 6.38574 9.39993 6.38574 7.99993C6.38574 6.59993 7.48273 5.39993 8.97863 5.39993C10.4745 5.39993 11.5715 6.59993 11.5715 7.99993C11.5715 9.39993 10.3748 10.5999 8.97863 10.5999ZM13.0666 4.79984C13.665 4.79984 14.0639 4.39984 14.0639 3.79984C14.0639 3.19984 13.665 2.79984 13.0666 2.79984C12.4682 2.79984 12.0693 3.19984 12.0693 3.79984C12.0693 4.39984 12.4682 4.79984 13.0666 4.79984Z" fill="white"/> </svg> </a> </div> </li> </ul> </div> <div class="empty-div"></div> <div class="beta-footer-sub-nav"> <div class="footer-sub-nav-left"> <span class="copyright">&copy; 2022 Square, Inc.</span> </div> <div class="footer-sub-nav-right"> <ul > <li class="privacy-links"><a href="https://squareup.com/legal/privacy" data-link-label="Footer Section" data-link-action="Privacy Policy">Privacy Policy</a></li> <li class="privacy-links"><a href="https://squareup.com/legal/ua" data-link-label="Footer Section" data-link-action="Seller Agreement"> Legal</a></li> <li class="privacy-links"><a href="https://squareup.com/legal/licenses" data-link-label="Footer Section" data-link-action="Licenses">Licenses</a></li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <style> .lia-component-message-view-widget-author-avatar UserAvatar, .lia-component-common-widget-user-avatar .UserAvatar { width: 43px; position: relative; height: 43px; display: inline-block; } .custom-avatar-img { border-radius: unset !important; box-shadow: none !important; width: 43px; height: 43px; } .custom-initial-letter { position: absolute; top: 0; font-family: "Square Sans Display"; font-size: 25.45px; font-weight: 500; line-height: 33.09px; display: flex; align-items: center; width: 100%; justify-content: center; color: #000; text-transform: capitalize; height: 100%; } </style> <script> const images = document.querySelectorAll('img[src*="static0"], img[src*="avatar-collection"]:not(.lia-form-avatar-collection-display-entry img), img[src*="/html/assets/default-avatar.svg"]'); function rednderImage(image) { const shapeNumbersArray = [ '01', '01-1', '01-2', '01-3', '01-4', '01-5', '02', '02-1', '02-2', '02-3', '02-4', '02-5', '03', '03-1', '03-2', '03-3', '03-4', '03-5', '04', '04-1', '04-2', '04-3', '04-4', '04-5', '05', '05-1', '05-2', '05-3', '05-4', '05-5', '06', '06-1', '06-2', '06-3', '06-4', '06-5', '07', '07-1', '07-2', '07-3', '07-4', '07-5', '08', '08-1', '08-2', '08-3', '08-4', '08-5', '09', '09-1', '09-2', '09-3', '09-4', '09-5', '10', '10-1', '10-2', '10-3', '10-4', '10-5', '11', '11-1', '11-2', '11-3', '11-4', '11-5', '12', '12-1', '12-2', '12-3', '12-4', '12-5' ]; // Function to assign a shape number function assignShapeNumber(characters, array) { const mapping = {}; let index = 0; // Loop through the characters and assign a number from the array characters.forEach((char) => { mapping[char] = array[index]; index = (index + 1) % array.length; // Loop back to the start of the array if we run out }); return mapping; } // Define character sets const englishAlphabet = [..."abcdefghijklmnopqrstuvwxyz"]; const hiragana = [..."あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん"]; const katakana = [..."アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン"]; // Assign numbers const englishMapping = assignShapeNumber(englishAlphabet, shapeNumbersArray); const hiraganaMapping = assignShapeNumber(hiragana, shapeNumbersArray); const katakanaMapping = assignShapeNumber(katakana, shapeNumbersArray); // Default number for Kanji const defaultNumber = "01"; // Default shape number for Kanji // Function to get shape number for a character function getShapeNumber(character) { character = character?.toLowerCase(); if (englishMapping[character]) { return englishMapping[character]; // English alphabet } else if (hiraganaMapping[character]) { return hiraganaMapping[character]; // Hiragana } else if (katakanaMapping[character]) { return katakanaMapping[character]; // Katakana } else { return defaultNumber; // Default for Kanji or unsupported characters } } image.classList.add("alreadyDone"); // Store the image title in a variable named loginName const loginName = image.title || image.alt || undefined; let firstAlpha = loginName?.match(/\p{L}/u); firstAlpha = firstAlpha ? firstAlpha[0] : undefined; let imgSrc = image.src; const randomNumber = getShapeNumber(firstAlpha); if(!imgSrc.includes('/Shape')) { imgSrc = "/t5/image/serverpage/avatar-name/Shape-"+randomNumber+"/avatar-theme/candy/avatar-collection/Shapes/avatar-display-size/profile/version/2?xdesc=1.0"; } if(firstAlpha === undefined || firstAlpha == "") { const svgIcon = '/skins/images/C94F95A053E61E7F96518BA80506A9FC/responsive_peak/images/icon_anonymous_profile.png' const span = document.createElement('div'); span.className = "svgWrapper"; span.innerHTML = svgIcon; image.src = svgIcon; } else { // Create a span element and put the firstAlpha value inside it const spanElement = document.createElement('span'); spanElement.classList.add("custom-initial-letter"); spanElement.textContent = firstAlpha.toUpperCase(); spanElement.style.width = (image.offsetWidth || 40) + 'px'; spanElement.style.height = (image.offsetHeight || 40) + 'px'; //style the image tag image.classList.add("custom-avatar-img"); image.style.backgroundColor = 'transparent'; image.src = imgSrc; // style parent node image.parentNode.style.position = "relative"; image.parentNode.style.display = "inline-block"; image.parentNode.style.backgroundColor = "transparent"; image.parentNode.appendChild(spanElement); // for parent's parent node // set position of rank icon according to the background shape selected const parentOfParent = image.parentNode.parentNode; const siblingNode = parentOfParent.nextElementSibling; if (siblingNode) { switch (true) { case imgSrc.includes("Shape-01"): siblingNode.style.top = "-7px"; siblingNode.style.right = "-7px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-02"): siblingNode.style.top = "-6px"; siblingNode.style.right = "-6px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-03"): siblingNode.style.top = "-6px"; siblingNode.style.right = "-6px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-04"): siblingNode.style.top = "-6px"; siblingNode.style.right = "-6px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-05"): siblingNode.style.top = "-6px"; siblingNode.style.right = "-6px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-06"): siblingNode.style.top = "-5px"; siblingNode.style.right = "-5px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-07"): siblingNode.style.top = "-6px"; siblingNode.style.right = "-6px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-08"): siblingNode.style.top = "-8px"; siblingNode.style.right = "-8px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-09"): siblingNode.style.top = "-8px"; siblingNode.style.right = "-8px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-10"): siblingNode.style.top = "-4px"; siblingNode.style.right = "-4px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-11"): siblingNode.style.top = "-4px"; siblingNode.style.right = "-4px"; siblingNode.style.bottom = "unset"; break; case imgSrc.includes("Shape-12"): siblingNode.style.top = "-7px"; siblingNode.style.right = "-7px"; siblingNode.style.bottom = "unset"; break; default: break; } } } } // Loop through each image images.forEach(image => { rednderImage(image); }); </script> <script> // Select the target node to observe for changes const targetNode = document.body; // Options for the observer (check for childList changes) const observerConfig = { childList: true, subtree: true }; // Create the observer instance const observer = new MutationObserver((mutationsList) => { for (let mutation of mutationsList) { // Check each added node to see if it's an image if (mutation.type === 'childList' && mutation.addedNodes.length > 0) { const addedNodes = mutation.addedNodes; for (let i = 0; i < addedNodes.length; i++) { const addedNode = addedNodes[i]; if (addedNode.nodeType === Node.ELEMENT_NODE && addedNode.tagName === 'IMG' && addedNode.src.includes('avatar-collection')) { } else if (addedNode.nodeType === Node.ELEMENT_NODE && addedNode.children.length > 0) { // If the added node has child elements, recursively check for images const newImages = addedNode.querySelectorAll('img[src*="avatar-collection"]:not(.alreadyDone):not(.lia-form-avatar-collection-display-entry img), img[src*="/html/assets/default-avatar.svg"]:not(.alreadyDone)'); if (newImages.length > 0) { newImages.forEach(image => { rednderImage(image); }); } } } } } }); // Start observing the target node for changes observer.observe(targetNode, observerConfig); </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script> </center> </div> <meta name="google-site-verification" content="Ik5cd4-7_wS7znfoY4fZVYJF8nXnN_MB0tLADEPHy8o" /> <script type="text/plain" class="optanon-category-C0004"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-9517040-49', 'auto'); ga('send', 'pageview'); </script> <script type="text/javascript"> new Image().src = ["/","b","e","a","c","o","n","/","1","9","4","6","7","5","5","1","5","4","1","0","_","1","7","4","0","0","6","5","2","9","4","2","2","8",".","g","i","f"].join(""); </script> <script type="text/javascript" src="/t5/scripts/C1D0FDEB5D557CE5FA1EFA105E95A13F/lia-scripts-common-min.js"></script><script type="text/javascript" src="/t5/scripts/1B41F443BBC3400908C65AE3A387D89C/lia-scripts-body-min.js"></script><script language="javascript" type="text/javascript"> <!-- LITHIUM.Sandbox.restore(); LITHIUM.jQuery.fn.cssData.defaults = {"dataPrefix":"lia-js-data","pairDelimeter":"-","prefixDelimeter":"-"}; (function($) { $(document).ready(function() { var currentURL = window.location.href; if (!currentURL.includes("/searchpage/tab/message?q=")) { console.log("URL does not contains '/searchpage/tab/message?q='"); let allUserIds = []; let anchorTags = $("a[href*='user/viewprofilepage/user-id']").not(".UserAvatar a").not("a:has(img)"); var thisArray = []; anchorTags.each(function() { thisEl = $(this); var userLink = thisEl.attr('href'); var thisLen = (userLink).split('/'); thisUserID = (thisLen)[thisLen.length-1]; if ( (thisEl.parent().hasClass("UserName") || thisEl.parent().hasClass("user-name") || thisEl.parent().hasClass("username-text") || thisEl.find(".login").length) && (!thisEl.siblings().hasClass("current-locale") && !thisEl.parent().siblings().hasClass("current-locale")) ) { if (!allUserIds.includes(thisUserID)) { allUserIds.push(thisUserID); thisArray.push(thisEl); } } }); $.ajax({ type: "POST", url: '/plugins/custom/squareinc/squareinc/grz.custom-location-flags-ep?tid=-2198240868890051532', data:{ allUserIds: JSON.stringify(allUserIds) }, success: function(response) { // Check if the response has the expected structure console.log("response",response) if (response && response.userData) { const userFlags = response.userData; var currentLocale = "current-locale"; var newDiv = ""; // Iterate over user IDs and update the corresponding username divs allUserIds.forEach(function(userId) { const countryFlag = userFlags[userId]; if (countryFlag) { let anchorTag = $("a[href*='user/viewprofilepage/user-id'][href*='" + userId + "']").not(".UserAvatar a").not("a:has(img)").not(".lia-component-common-widget-user-navigation-modern a").not(function() { return $(this).parent().siblings().hasClass('current-locale');}); newDiv = $(`<span class='` + currentLocale + ' ' + countryFlag + `'></span>`); anchorTag.after(newDiv); } }); } else { console.log("Unexpected response format from the server"); } }, error: function(xhr, status, error) { console.error("Error fetching country flags",error); } }); } }); })(LITHIUM.jQuery); ;(function($){ $(document).ready(function(){ $.ajax({ url: '/plugins/custom/squareinc/squareinc/grz-custom-current-country', method: "GET" }).done(function(data) { var result = JSON.parse(data); localStorage.setItem("timezone", result.timezone); }); }); })(LITHIUM.jQuery); LITHIUM.CommunityJsonObject.User.policies['forums.action.message-view.batch-messages.allow'] = false; (function($) { $(document).ready(function() { function setNavHeight() { var headerNavHeight = $('.mobile-view').height() + 25; var listHeight = $(window).innerHeight() - headerNavHeight; $('.mobile-list-item.slider-div').css('max-height', listHeight); }; setNavHeight(); $(window).resize(function() { setNavHeight(); }); }); })(LITHIUM.jQuery); (function($) { $('.lia-lightbox-close-button').on('click',function(event){ $('.modal.fade.lia-modal-window.in').hide(); $('.modal-backdrop.lia-modal-backdrop.fade.in').hide(); }); $(document).ready(function() { function setHeight() { var headerHeight = $('.lia-top-quilt > .lia-quilt-row-header').height(); var footerHeight = $('.lia-top-quilt > .lia-quilt-row-footer').height(); var totalHeight = (headerHeight + footerHeight); var windowHeight = $(window).innerHeight() - totalHeight; $('.lia-top-quilt > .lia-quilt-row-main').css('min-height', windowHeight); }; setHeight(); $(window).resize(function() { setHeight(); }); }); })(LITHIUM.jQuery); (function($) { $('.lia-lightbox-close-button').on('click',function(event){ $('.modal.fade.lia-modal-window.in').hide(); $('.modal-backdrop.lia-modal-backdrop.fade.in').hide(); }); $(document).ready(function() { function setHeight() { var headerHeight = $('.lia-top-quilt > .lia-quilt-row-header').height(); var footerHeight = $('.lia-top-quilt > .lia-quilt-row-footer').height(); var totalHeight = (headerHeight + footerHeight); var windowHeight = $(window).innerHeight() - totalHeight; $('.lia-top-quilt > .lia-quilt-row-main').css('min-height', windowHeight); }; setHeight(); $(window).resize(function() { setHeight(); }); }); })(LITHIUM.jQuery); (function($) { document.addEventListener('DOMContentLoaded', () => { const cdp = window["data-api"].js; let username = '' ; let userRegistered = LITHIUM.CommunityJsonObject.Activity.Results.find(function(result) { return result.name === "UserRegistered"; }); if (userRegistered) { username = userRegistered.user.login; } if ('production' == 'production') { // For production API_KEY = 'de3f5123-369c-4996-bdef-41a85df33b33'; ENV = 'production'; userInfo = "undefined"; entityType = userInfo != 'undefined'? 'merchant' : 'anonymous_visitor'; } else { // For stage API_KEY = '612f4d91-431f-47c2-b138-14e6a200527f'; ENV = 'staging'; if("false" == "true") { userInfo = "undefined" } else { userInfo = "-1"; } entityType = userInfo != '-1'? 'merchant' : 'anonymous_visitor'; } //entityType = cdp.user().entityType() || 'anonymous_visitor', savt = document.cookie.split('; ').find((row) => row.startsWith('_savt'))?.split('=')[1] || cdp.user().anonymousId(); entityId = entityType === 'merchant' ? userInfo : savt; cdp.load(API_KEY, ENV); cdp.identify(entityId, entityType); cdp.page( undefined, { category:'Seller Community' } ); function heartbeat() { const windowWidth = $(window).width(); const windowHeight = $(window).height(); cdp.track( 'Heartbeat', { window_width: windowWidth, window_height: windowHeight } ); } function scrollEvent(scrollValue) { return function () { const windowWidth = $(window).width(); const windowHeight = $(window).height(); cdp.track( 'Scroll Page', { window_width: windowWidth, window_height: windowHeight, scrollDepth: scrollValue } ); }; } function cdpClickLink(event) { const $link = $(event.currentTarget); var linkType = "Connect"; const trackingData = { linkType: linkType, linkId: $link.attr('id'), linkParentId: $link.parent().closest('[id]').attr('id'), linkTitle: $link.attr('title'), linkUrl: $link.attr('href').startsWith('http') ? $link.attr('href') : $link.attr('href') === '#'? window.location.origin+'/'+$link.attr('href'):window.location.origin+$link.attr('href') }; if ($link.hasClass('kudos-count-link')) { trackingData.linkLikeCount = $link.find('.lia-component-kudos-widget-message-kudos-count').text().trim(); trackingData.linkText = 'Like'; } else { trackingData.linkText = $link.text(); } cdp.track( 'Click Link', trackingData ); } function createUsername(username) { cdp.track( 'Create Username', { community_username: username } ); } function startGuideIcon() { cdp.track( 'Click Start Guide Icon', { merchant_token: entityId } ); } function startGuideQuesComplete() { if (startGuideJson.askQuestionCDPTracking) { var isCompleted = localStorage.getItem("isCompleted"); console.log("question already done") if (isCompleted != "true"){ cdp.track( 'Complete Start Guide Question', { questionLink: startGuideJson.questionUrl, locale: "" } ); localStorage.setItem("isCompleted","true") } } } function startGuideComplete() { if (startGuideJson.progressCDPTracking == 100) { var isGuideCompleted = localStorage.getItem("isGuideCompleted"); console.log("already completed") if (isGuideCompleted != "true"){ cdp.track( 'Complete Start Guide', { locale: "" } ); localStorage.setItem("isGuideCompleted","true") } } } function joinGrouphub () { cdp.track( 'Click Join Group Hub button', { hubName: LITHIUM.CommunityJsonObject.CoreNode.title } ); } function productAdvisoryClick (event) { if ($(this).text().trim() == 'Browse Advisory Boards') { cdp.track( 'Click Advisory Board Button', { locale: "" } ); } } function featureRequestClick (event) { let featureRequestText = $(this).text().trim(); cdp.track( 'Posted Feature Request', { boardName: featureRequestText, locale: "" } ); } function generateuniqueQueryId(length) { const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; const timestamp = new Date().getTime(); // Get current timestamp const randomPart = Math.floor(100000 + Math.random() * 900000); // Generate a 6-digit random number let key = ''; for (let i = 0; i < length; i++) { const randomIndex = Math.floor(Math.random() * characters.length); key += characters.charAt(randomIndex); } key = randomPart + '-' + key; return key; } let uniqueQueryId = generateuniqueQueryId(8); let prevSearchText = ""; const searchSuggestions = _.debounce(function (searchText) { prevSearchText = searchText; cdp.track( 'View Search Suggestions', { Query_ID: uniqueQueryId, Query: searchText } ); }, 1000); function clickSearchSuggestions () { let suggestionIndex = $('.search-result .search .result-wrapper .ng-binding').index(this); suggestionIndex += 1; const url = 'URL_of_search_page'; // Replace with the actual URL cdp.track( 'Click Search Suggestions', { Query_ID: uniqueQueryId, Search_index: suggestionIndex } ); } function conductFullSearch () { let suggestionIndex = $('.search-result .search .result-wrapper .ng-binding').index(this); suggestionIndex += 1; const url = window.location.href; cdp.track( 'Conduct Full Search', { Query_ID: uniqueQueryId, Query: $(this).text(), context_page_path: url } ); } function clickSearchResult () { let suggestionIndex = $('.search-result .search .result-wrapper .ng-binding').index(this); suggestionIndex += 1; const url = $(this).attr('href'); // Replace with the actual URL const selectedTab = $('.search-filter').val() cdp.track( 'Click Search Result', { Query_ID: uniqueQueryId, ResultsTab: selectedTab, context_page_path: url, Search_index: suggestionIndex } ); } let timer; $(document).on('mousemove', function() { clearTimeout(timer); // Clear the previous timer timer = setTimeout(heartbeat, 1000); // Set a new timer }); var percentagesTriggered = { 25: "false", 50: "false", 75: "false", 100: "false" }; $(window).scroll(function() { // Calculate scroll percentage var scrollPercentageValue = ((($(document).scrollTop() + $(window).height()) / $(document).height()) * 100); var scrollPercentage = scrollPercentageValue.toFixed(0); var scrollPercentage2Decimal = scrollPercentageValue.toFixed(2); // Output the scroll percentage based on specific intervals if (scrollPercentage == 25 && percentagesTriggered[25] == "false") { percentagesTriggered[25] = "true"; timer = setTimeout(scrollEvent(25), 1000); // Set a new timer } else if (scrollPercentage == 50 && percentagesTriggered[50] == "false") { percentagesTriggered[50] = "true"; timer = setTimeout(scrollEvent(50), 1000); // Set a new timer } else if (scrollPercentage == 75 && percentagesTriggered[75] == "false") { percentagesTriggered[75] = "true"; timer = setTimeout(scrollEvent(75), 1000); // Set a new timer } else if (scrollPercentage == 100 && percentagesTriggered[100] == "false") { percentagesTriggered[100] = "true"; timer = setTimeout(scrollEvent(100), 1000); // Set a new timer } if (scrollPercentage == 8 || scrollPercentage2Decimal == 100) { percentagesTriggered = { 25: "false", 50: "false", 75: "false", 100: "false" } } }); $(document).on('click', 'a', cdpClickLink); if(username != '' && !localStorage.getItem('usernameCreated')){ console.log("entered:") createUsername(username); localStorage.setItem('usernameCreated', 'true'); } let startGuideJson = ''; if('false' == "true") { $(document).on('click', '.get-started-icon', startGuideIcon); let intervalId = setInterval(function(){ startGuideJson = JSON.parse(localStorage.getItem(LITHIUM.CommunityJsonObject.User.id)); if(startGuideJson !=null) { clearInterval(intervalId); startGuideQuesComplete(); startGuideComplete(); } }, 1000); } let joinGrouphubBtn = document.querySelector('.lia-component-memberships-widget-request-to-join .lia-link-ticket-post-action, .lia-component-memberships-widget-join-open-node-link .lia-link-ticket-post-action'); if(joinGrouphubBtn){ joinGrouphubBtn.addEventListener('click', joinGrouphub); } $('.beta-home-tile-wrapper .tile-btn').on('click', productAdvisoryClick); $('.CustomProductsList .lia-tag').on('click', featureRequestClick); $('.input-value').on('input', function () { const searchText = $(this).val(); if (prevSearchText.length - searchText.length >= 4) { uniqueQueryId = generateuniqueQueryId(8); } searchSuggestions(searchText); }); $(document).on('click', '.search-result .search .result-wrapper .search-title.ng-binding', clickSearchSuggestions); $(document).on('click', '.search-result .search .result-wrapper .search-title.ng-binding', conductFullSearch); $(document).on('click', '.search-result .search .result-wrapper .title.ng-binding', clickSearchResult); }); })(LITHIUM.jQuery); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.Form.resetFieldForFocusFound(); LITHIUM.UserNavigation2({"selectors":{"userDropDownPanelSelectorRel":".user-navigation-settings-drop-down","userLinkSelectorRel":".user-navigation-settings-dropdown-link"},"events":{"userLinkEvent":"click"},"misc":{"toggleOnClick":false}}); ;(function($) { $(document).ready(function() { $('#lia-body .new-community-header .new-header-container .header-section-right .UserAvatar.lia-user-avatar, #lia-body .new-community-header .new-header-container .header-section-right .rank-icon-right').hide(); $('#lia-body .new-community-header .new-header-container .header-section-right .UserAvatar.lia-user-avatar').html('<div class="lia-header-nav-component-unread-count" title="19 unread notifications">'+19+'</div>'); $('#lia-body .new-community-header .new-header-container .header-section-right .UserAvatar.lia-user-avatar').show(); }); })(LITHIUM.jQuery); ;(function($) { $(document).ready(function() { var screenSize = window.innerWidth; var profileHtml = $('.header-section-right').html(); // Update HTML and content on window resize $(window).resize(function() { screenSize = window.innerWidth; $('body').removeClass('navFixed'); $('.lia-component-users-action-view-user-profile, .top-header-dropdown-lists .top-nav-link').removeClass('expand'); $('.user-navigation-settings-drop-down').hide(); if (screenSize > 1210) { $('.load').hide(); $('.home-categories, .topics-categories').find('.categories-list-item:nth-child(n+4)').css('display','list-item'); } if (screenSize >= 768) { $('.profileDropdown').remove(); $('.header-section-center').css('display','inline-block'); } if (screenSize >= 768 && screenSize <= 1210) { $('.slider-div').css('display','none'); $('.header-section-center').css({'display':'inline-block','overflow':'visible'}); $('.load').hide(); $('.load.expand').show(); $('.home-categories, .topics-categories').find('.categories-list-item:nth-child(n+4)').css('display','none'); } if(screenSize <= 768) { $('.header-section-center').hide(); $('.categories-list-item').css('display','list-item'); $('.load').hide(); } $('.nav-dropdownlist').css('display','none'); }); //User Profile link functionality $('body').on('click','.lia-component-users-action-view-user-profile',function(){ var profileOpt = $('.user-navigation-settings-drop-down'); $('.top-nav-link').removeClass('expand'); $('.nav-dropdownlist').slideUp(); if (profileOpt.is(':visible')) { profileOpt.slideUp(); $(this).removeClass('expand'); } else { profileOpt.slideDown().css('overflow','visible'); $(this).addClass('expand'); } $('.get-started-wrapper').removeClass("display-block"); }); function debounce(func, wait) { let timeout; return function(...args) { clearTimeout(timeout); timeout = setTimeout(() => func.apply(this, args), wait); }; } //Header links hover functionality function headerResize(){ const screenSize = window.innerWidth; // Remove existing event listeners $('.top-header-dropdown-lists .top-nav-link').off('mouseover click'); $('.top-header-dropdown-lists').off('mouseleave'); if(screenSize > 1210){ $('.top-header-dropdown-lists .top-nav-link').on('mouseover', function(evt) { evt.preventDefault(); evt.stopPropagation(); $(this).parent().find('.nav-dropdownlist').stop().slideDown(); $(this).parent().siblings().find('.nav-dropdownlist').stop().slideUp(); $(this).parents('.slider-div').siblings().find('.nav-dropdownlist').stop().slideUp(); }); $('.top-header-dropdown-lists').on('mouseleave', function(){ $('.nav-dropdownlist').stop().slideUp(); }); //$(document).click(function(e){ // if (e.target.className !== "nav-dropdownlist") // { // $('.nav-dropdownlist').stop().slideUp(); // } //}); } else { $('.top-header-dropdown-lists .top-nav-link').on('click', function(evt) { evt.preventDefault(); evt.stopPropagation(); $(this).toggleClass('expand'); $(this).parent().siblings().find('.top-nav-link').removeClass('expand'); $(this).parents('.slider-div').siblings().find('.top-nav-link').removeClass('expand'); $('.lia-component-users-action-view-user-profile').removeClass('expand'); $('.user-navigation-settings-drop-down').slideUp(); if ($(this).parent().hasClass('explore')) { var dropOverlay = $('.slider-div'); $('.header-navigation-list > li .nav-dropdownlist').slideUp(); dropOverlay.find('.nav-dropdownlist').show(); } else { $('.nav-dropdownlist').slideUp(); var dropOverlay = $(this).parent().find('.nav-dropdownlist'); if (screenSize >= 769 && screenSize <= 1210) { $('.slider-div').slideUp(); } } if (dropOverlay.is(':visible')) { dropOverlay.slideUp(); } else { dropOverlay.slideDown(); } }); } }; headerResize(); window.addEventListener('resize', debounce(headerResize, 150)); // See More/Less functionality for IPAD view $('.load').on('click',function() { $(this).hide(); const $parent = $(this).parent(), $target = $parent.find('.categories-list-item:nth-child(n+5)'); if ($(this).hasClass('expand')) { $target.show(); $parent.find('.contract').show(); } else { $target.hide(); $parent.find('.expand').show(); } }); //hamburger functionality for mobile view $('body').on('click','.hamburger-icon',function(){ $(this).toggleClass('close'); $(this).parent().find('.top-nav-link').removeClass('expand'); $(this).parent().find('.nav-dropdownlist').slideUp(); var sliderContainer = $('.header-section-center'); sliderContainer.animate({ width: "toggle" }); if (sliderContainer.is(':visible') && $('body').hasClass('navFixed')){ $('body').removeClass('navFixed'); } else { $('body').addClass('navFixed'); } // if (sliderContainer.is(':visible')) { // $('body').addClass('navFixed'); // } else { // $('body').removeClass('navFixed'); // } }); var ifuserlogin = 'loggedOut'; if(ifuserlogin == "loggedIn"){ var getendpointurl = ''; var getbrowser_lang = navigator.language; var getuserlang = 'en'; var getuserId = '-1'; var eslocale = 'no'; var getlogins = '2025-02-20T14:28:58+00:00'; if(getbrowser_lang.indexOf('es') != -1 && getuserlang != 'es-US' && eslocale == 'yes'){ $.ajax({ type: "POST", url: getendpointurl, data:{'newlang':'es-mx','getuser':getuserId}, async: true, success: function(data) { if ($.cookie('isLoaded') !== getlogins) { $.cookie('isLoaded', getlogins ); location.reload(); } else { } } }); } $('.setlang').click(function(){ var getlang = $(this).attr('id'); $.ajax({ type: "POST", url: getendpointurl, data:{'newlang':getlang,'getuser':getuserId}, async: true, success: function(data) { if(getlang == 'es'){ var url = "/t5/Seller-Community-US-ES/ct-p/Seller_Community_US-ES?profile.language=es-mx"; $(location).attr("href", url); } if(getlang == 'en'){ var url = "/t5/Seller-Community-US/ct-p/Seller_Community_US?profile.language=en#"; $(location).attr("href", url); } } }); }); } $('a.reply-action-link').on('click', function(evt) { EventstreamLogger.trackV2({ catalog_name: 'seller_community_reply',seller_community_reply_value:window.location.href}); }); $('input[value="Post"]').on('click', function(evt) { EventstreamLogger.trackV2({ catalog_name: 'seller_community_post',seller_community_post_value:window.location.href}); }); $('.lia-autocomplete-content ul').on('click', '[href]',function(evt){ EventstreamLogger.trackV2({ catalog_name: 'clicked_from_suggestion',clicked_from_suggestion_value: $(this).text()}); EventstreamLogger.trackV2({ catalog_name: 'thread_view',thread_view_value: $(this).text()}); }); $('#submitContext_0').on('click', function() { var query = $('#messageSearchField').val(); EventstreamLogger.trackV2({ catalog_name: 'seller_community_user_search',seller_community_user_search_query: query}); }); $('.external-search ul').on('click', '[href]',function(evt) { EventstreamLogger.trackV2({ catalog_name: 'redirect_external_search',redirect_external_search_value: $(this).attr('href')}); }); var localeValue = localStorage.getItem('storageLocal'); var ancestorslength = LITHIUM.CommunityJsonObject.CoreNode.ancestors.length; if(ancestorslength == 0 && localeValue == 'es-us'){ $('.signUp-btn a').attr("href", "https://squareup.com/signup/us?lang_code=es-us&country_code=us"); } }); })(LITHIUM.jQuery); /* Survey Modal For Seller Community*/ (function($) { var date = new Date(); date.setTime(date.getTime() + (90 * 24 * 60 * 60 * 1000)); var expires = "; expires=" + date.toGMTString(); var popUpCheck; function myTimer() { console.log("I am Check pop up cloase ever 10 sec") if(!$('body').hasClass('ada-frozen')){ $('.survey_modal').show(); clearInterval(popUpCheck); } } function openServayAfterChatFinsh(){ if($.trim(survey_cookie) == 'not_interested' || $.trim(survey_cookie) == 'survey_taken' || !third_visit){ $('.survey_modal').hide(); }else{ popUpCheck = setInterval(function(){ myTimer() }, 10000); } } function updateSurveyCustomContent(x,y){ console.log("In survey function x,y"); $.ajax({ url : "/plugins/custom/squareinc/squareinc/surveycustomcontentendpoint", data:{survey:x,servey_counter:y} }).done(function(res){ console.log("response",res); }); } function getSurveyUrl(){ var isAustrialLocale = false; var isUsLocale = false; console.log(isUsLocale) var isUsEsLocale = false; var spanishLocale = 'no'; var isUKLocale = false; var isFrLocale = false; var getCoreid = 'SellerGroups'; if(isAustrialLocale || getCoreid == 'Seller_Community_AU'){ return "https://www.getfeedback.com/r/DNwitDRB" } else if(isFrLocale || getCoreid == 'Communaute-Square'){ return "https://squareinsights.getfeedback.com/r/M3eswFo4/" } else if(isUKLocale || getCoreid == 'Seller_Community_UK'){ return "https://www.getfeedback.com/e/l7TElEbv" } else if(isUsEsLocale || spanishLocale == 'yes'){ return "https://www.getfeedback.com/e/pHE2PfvP/" } else if(isUsLocale || getCoreid == 'Seller_Community_US'){ try{ console.log("in try ") var customContent = "Unknown"; console.log(customContent) var isOddUser = (customContent % 2 == 1); }catch(e){ console.log("in catch ") var isOddUser = false; } if(isOddUser){ console.log("odd ") //updateSurveyCustomContent("VwbUV42e"); updateSurveyCustomContent("VwbUV42e",2); return "https://www.getfeedback.com/r/VwbUV42e" } else{ console.log("even ") // updateSurveyCustomContent("ehIj8iSy"); updateSurveyCustomContent("ehIj8iSy",1); return "https://www.getfeedback.com/r/ehIj8iSy" } } else{ console.log("none") return "https://www.getfeedback.com/r/VwbUV42e" } } function checkForServayApplicable(){ if(false){ //console.log("DA ROLE"); return false; } if($('body').hasClass('ada-frozen')){ //console.log("ADA FROZEN"); openServayAfterChatFinsh(); return false; } return true; } /* Function To Get Cookie Value */ window.getCookie = function (name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); } /* Function To Get URL Parameters */ window.urlParam = function(name){ var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); if (results==null){ return null; } else{ return decodeURI(results[1]) || 0; } } var visit_cookie = getCookie('visit_count'); var third_visit = false; if(visit_cookie == null){ document.cookie = "visit_count=0"+ expires + "; path=/"; } visit_cookie = getCookie('visit_count'); if(parseInt(visit_cookie) >= 2){ third_visit = true; } else{ visit_cookie = parseInt(visit_cookie) + 1; third_visit = false; document.cookie = "visit_count="+visit_cookie+ expires + "; path=/"; } /* Check If Survey Has Been Taken Or Not */ var url_response = urlParam('utm_source'); if(url_response != '' && url_response == 'survey'){ document.cookie = "survey_modal=survey_taken"+ expires + "; path=/"; } /* Hide Popup If Survey is Taken Or User Is not Interested or It is not third time visit */ var survey_cookie = getCookie('survey_modal'); //console.log("Pop Up Running"); setTimeout(function(){ var httpRequestRefrer = "DirectUrlHit"; var haveYouWistedSomewhereInCommunity = httpRequestRefrer; //console.log("I will try to open pop up", haveYouWistedSomewhereInCommunity) if(haveYouWistedSomewhereInCommunity != "DirectUrlHit"){ //console.log("Not Direct Hit"); //localStorage.refrer = httpRequestRefrer; var isApplicalble = checkForServayApplicable(); //console.log("isApplicalble",isApplicalble) if(isApplicalble){ console.log("I am Opening pop up") $('.survey_modal').show(); } } if($.trim(survey_cookie) == 'not_interested' || $.trim(survey_cookie) == 'survey_taken' || !third_visit){ //console.log("Not Intrested",$.trim(survey_cookie),!third_visit); $('.survey_modal').hide(); } }, 90000); //}, 7000); /* Close Popup On The Click Of Cross Button */ $(document).on('click','.survey_modal .close_button_container .close_button', function(){ //console.log("Close "); $('.survey_modal').hide(); document.cookie = "survey_modal=not_interested"+ expires + "; path=/"; }); /* Redirect To Survey URL On Click Of Yes Button */ $(document).on('click','.survey_modal .approve_button_container .approve_button', function(){ window.open(getSurveyUrl(),"_blank"); }); })(LITHIUM.jQuery); ;(function($){ $(window).load(function(){ var decodedCookie = decodeURIComponent(document.cookie), splitCookies = decodedCookie.split(';'), cookieExist = false, node = "us"; var lang_cookie = document.cookie.split('; ').find(row => row.startsWith('custom.profile.language=')).split('=')[1]; for(let i = 0; i < splitCookies.length; i++) { let item = splitCookies[i]; while (item.charAt(0) == ' ') { item = item.substring(1); } if (item.indexOf("turn_off_tour=") == 0) { cookieExist = true; } } //console.log(cookieExist); var localStorageValue = localStorage.getItem('storageLocal'); //console.log("LSV",localStorageValue); if (cookieExist == false) { var getstartedLink, buttonLabel = 'Get Started with Square'; if (node == 'us') { getstartedLink = "https://squareup.com/signup?country_code"; } else if(node == 'australia') { getstartedLink = "https://squareup.com/signup/au?lang_code=en-AU"; } else if(node == 'japan') { getstartedLink = "https://squareup.com/signup?country_code=jp"; buttonLabel = "Squareの利用をはじめる"; } else if(node == 'uk') { getstartedLink = "https://squareup.com/signup?country_code=us&signup_token=1A024E3270"; } else if(node == 'france') { getstartedLink = "https://squareup.com/signup/fr?lang_code=fa"; buttonLabel = "Démarrer avec Square"; } else if(node == 'canada') { getstartedLink = "https://squareup.com/signup/ca?lang_code=en"; } else if(node == 'ireland') { getstartedLink = "https://squareup.com/signup/ie?lang_code=en"; } else if (node == 'spanish-us') { getstartedLink = "https://squareup.com/signup/us?lang_code=es-US"; } else if (node == 'spain') { getstartedLink = "https://squareup.com/signup/es?lang_code=es-es"; } else if (node == "global") { $.ajax({ url: '/plugins/custom/squareinc/squareinc/grz-custom-current-country', method: "GET" }).done(function(data) { var result = JSON.parse(data); var country = result.country.toLowerCase(); if (country == 'united states' || country == 'united states of america' || country == 'us' || country == 'usa') { if (lang_cookie == "es-mx") { getstartedLink = "https://squareup.com/signup/us?lang_code=es-US"; } else { getstartedLink = "https://squareup.com/signup?country_code"; } } else if(country == 'australia') { getstartedLink = "https://squareup.com/signup/au?lang_code=en-AU"; } else if(country == 'japan') { getstartedLink = "https://squareup.com/signup?country_code=jp"; buttonLabel = "Squareの利用をはじめる"; } else if(country == 'united kingdom' || country == 'united kingdom and northern ireland' || country == 'uk' || country == 'northern ireland') { getstartedLink = "https://squareup.com/signup?country_code=us&signup_token=1A024E3270"; } else if(country == 'france') { getstartedLink = "https://squareup.com/signup/fr?lang_code=fa"; buttonLabel = "Démarrer avec Square"; } else if(country == 'canada') { getstartedLink = "https://squareup.com/signup/ca?lang_code=en"; } else if(country == 'ireland') { getstartedLink = "https://squareup.com/signup/ie?lang_code=en"; } else if(country == 'spain') { getstartedLink = "https://squareup.com/signup/es?lang_code=es-es"; } else { getstartedLink = "https://squareup.com/signup?country_code"; } $('.getstarted-container').html('<div class="getstart-button"><i class="lia-fa lia-fa-times"></i><a target="_blank" href="'+ getstartedLink +'" role="button" id="'+ localStorageValue +'"><span>'+buttonLabel+'</span></a></div>').show(); }); }else { getstartedLink = "https://squareup.com/signup?country_code"; } $('.getstarted-container').html('<div class="getstart-button"><i class="lia-fa lia-fa-times"></i><a target="_blank" href="'+ getstartedLink +'" role="button" id="'+ localStorageValue +'"><span>'+buttonLabel+'</span></a></div>').show(); } }); $('body').on('click', '.getstarted-container .lia-fa-times', function(){ $('.getstarted-container').fadeOut( "slow" ); var now = new Date(); now.setMonth(now.getMonth() + 1); //now.setTime(now.getTime() + (2 * 60 * 1000)); document.cookie = 'turn_off_tour=true;expires='+now.toUTCString()+';path=/'; $('.getstarted-container').remove(); }); // var screenWidth = $(window).width(); // if (screenWidth <= 768) { // $('.getstarted-container').addClass('set-bottom'); // } let headerWidth = $(".lia-quilt-column-common-header").width(); let bodyWidth = $(window).width(); let rightValue = (bodyWidth - headerWidth)/2 + 5; $('.getstarted-container').css({right: rightValue}); $(window).resize(function() { if($(window).width() < 768) { $('.getstarted-container').css({display: "none"}); } else { headerWidth = $(".lia-quilt-column-common-header").width(); bodyWidth = $(window).width(); rightValue = (bodyWidth - headerWidth)/2 + 5; $('.getstarted-container').css({right: rightValue}); } }); $(window).scroll(function() { if($(window).scrollTop() + $(window).height() == $(document).height()) { $('.getstarted-container').fadeOut("slow"); } else{ $('.getstarted-container').fadeIn("slow"); } }); })(LITHIUM.jQuery); ;(function($) { $(document).ready(function(){ $(document).on('click','.beta-search-v2 .search-result .search .result-wrapper .ng-binding', function(){ console.log("clccccccccccccccccc"); var searchValue = $(this).html(); searchValue = searchValue.replaceAll('<b>','').replaceAll('</b>',''); console.log("searchValue",searchValue); $('.input-value').val(searchValue); var redirctionUrl = "/t5/forums/searchpage/tab/message?q=" + searchValue; window.location.href = redirctionUrl; }) }); })(LITHIUM.jQuery); (function( $ ) { $(document).ready(function(){ var get_subscribe_mail = ''; var get_subscribe_mail_url = ''; var get_subscribe_mail_token = ''; var chkAddSub = $('.addThreadUserEmailSubscription').length; var chkRemoveSub = $('.removeThreadUserEmailSubscription').length; if("false" == "false") { if(chkAddSub == 0 && chkRemoveSub == 0){ //$('#topic_subscribe_email').html('<div class="Topic_options disabled btn btn-primary btn-post">Subscribe</div>'); }else{ if ( $('.lia-link-navigation.addThreadUserEmailSubscription.lia-link-disabled').length == 0 ) { if ($('.lia-link-navigation.addThreadUserEmailSubscription').length ) { get_subscribe_mail_url = $('.lia-link-navigation.addThreadUserEmailSubscription.lia-component-subscriptions-action-add-thread-user-email').attr('href'); get_subscribe_mail_token = $('.lia-link-navigation.addThreadUserEmailSubscription.lia-component-subscriptions-action-add-thread-user-email').attr('data-lia-action-token'); $('#topic_subscribe_email').html("<a class='lia-link-ticket-post-action btn btn-primary btn-post' href='"+get_subscribe_mail_url+"' data-lia-action-token='"+get_subscribe_mail_token+"'><div class='Topic_options'>Subscribe</div></a>"); } else { get_subscribe_mail_url = $('.lia-link-navigation.removeThreadUserEmailSubscription.lia-component-subscriptions-action-remove-thread-user-email').attr('href'); get_subscribe_mail_token = $('.lia-link-navigation.removeThreadUserEmailSubscription.lia-component-subscriptions-action-remove-thread-user-email').attr('data-lia-action-token'); $('#topic_subscribe_email').html("<a class='lia-link-ticket-post-action btn btn-primary btn-post' href='"+get_subscribe_mail_url+"' data-lia-action-token='"+get_subscribe_mail_token+"'><div class='Topic_options'>Unsubscribe</div></a>"); } } } } /* IdeaExchagePage */ var pageName = "CategoryPage"; var betaCat = "false"; if(pageName == "IdeaExchangePage" || betaCat=="true"){ var button; if($('.addBoardUserEmailSubscription').length){ button = $("#addBoardUserEmailSubscription").parent().clone(true).html(); }else{ button = $("#removeBoardUserEmailSubscription").parent().clone(true).html(); } $('#topic_subscribe_email').html(button); } if(pageName == "IdeaPage"){ var button; if($('.addThreadUserEmailSubscription').length){ button = $("#addThreadUserEmailSubscription").parent().clone(true).html(); }else{ button = $("#removeThreadUserEmailSubscription").parent().clone(true).html(); } $('#topic_subscribe_email').html(button); } if (window.location.href.indexOf("subscribe") > -1) { if ($('.lia-link-navigation.addThreadUserEmailSubscription').length ) { $("#topic_subscribe_email").find(".lia-link-ticket-post-action").trigger('click'); } } }); })(LITHIUM.jQuery); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"}); ;(function($){ $(document).ready(function() { const userID = -1; const getendpointurl = '/plugins/custom/squareinc/squareinc/grz.custom.grouphub-directjoin-ep?tid=-2198240868890051532'; function openCategory(category, doScroll = false) { const listGroup = category.find('.groups-wrapper'); category.addClass('active'); listGroup.stop().slideDown(300, function() { listGroup.css('display', 'block'); // Ensure it is displayed as flex if (doScroll) { category[0].scrollIntoView({ behavior: 'smooth', block: 'nearest' }); } }); } function closeCategory(category) { const listGroup = category.find('.groups-wrapper'); // Consistent class name listGroup.stop().slideUp(200, function() { listGroup.css('display', 'none'); }); category.removeClass('active'); } const categoryHeaders = $('.catlist h3'); categoryHeaders.on('click', function() { const parent = $(this).parent().parent(); if (parent.hasClass('active')) { closeCategory(parent); } else { // Close any currently open category openCategory(parent, true); // Enable scroll on click } }); // Open the first category by default in .my-groups without scrolling // Open the first category by default in .available-groups without scrolling let grouphubId = ''; $(document).on('click', '.join-btn', function(e) { e.stopPropagation(); e.preventDefault(); let button = $(this); // Store the clicked button grouphubId = button.attr('data-group-id'); let grouphubType = button.attr('data-member-type'); if (button.text() === "Join Group") { console.log("ASDD") button.addClass('disabled'); $.ajax({ type: "POST", url: getendpointurl, data:{ 'grouphubId': grouphubId, 'userId': userID, 'grouphubType': grouphubType }, async: true, success: function(data) { console.log('response',data); let response = data; let approveRequestStatus = response.finalResponse.find(item => item.hasOwnProperty('approveRequestStatus')).approveRequestStatus; console.log("approveRequestStatus",approveRequestStatus) if(approveRequestStatus != "NA" ){ button.text("Joined"); button.removeClass('disabled'); } else { if (grouphubType === 'closed') { button.text("Request Sent"); button.removeClass('disabled'); } if (grouphubType === 'open') { button.text("Joined"); button.removeClass('disabled'); } } }, error: function(xhr, status, error) { console.error('AJAX Error:', status, error); button.removeClass('disabled'); } }); } }); }); })(LITHIUM.jQuery); (function($){ $(document).ready(function(){ const isAnonymous = LITHIUM.CommunityJsonObject.User.isAnonymous; var locale = localStorage.getItem("storageLocal"); // if(LITHIUM.CommunityJsonObject.Config.phase == "prod") { // var timezone = localStorage.getItem("timezone"), // locale = localStorage.getItem("storageLocal"); // const ancestorsLength = LITHIUM.CommunityJsonObject.CoreNode.ancestors.length; // var firstAncestor = ""; // if (ancestorsLength == 1) { // firstAncestor = LITHIUM.CommunityJsonObject.CoreNode.ancestors[0].id; // } // if(timezone == null) { // $.ajax({ // url: '/plugins/custom/squareinc/squareinc/grz-custom-current-country', // method: "GET" // }).done(function(data) { // var result = JSON.parse(data); // timezone = result.timezone; // }); // } // if (timezone != null && timezone.includes("Europe")) { // $("[data-id='opt-out-option']").show(); // } else { // $("[data-id='opt-out-option']").remove(); // } // //console.log(0); // } if(isAnonymous && 0==0) { $.ajax({ url: '/plugins/custom/squareinc/squareinc/grz-custom-footer', method: "GET", data: {locale: locale}, }).done(function(data) { $('.FooterNew').html(data); }); } $(document).on("click",'.toggleFooter',function () { if ($(window).width() <= 375) { console.log($(this).parent().find(".footerContent").text()); $(this).parent().find(".footerContent").slideToggle(); $(this).children().find("i").toggleClass("lia-fa-angle-down").toggleClass("lia-fa-angle-up"); } }); }); })(LITHIUM.jQuery); LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport.defaultAjaxFeedbackHtml = "<div class=\"lia-inline-ajax-feedback lia-component-common-widget-ajax-feedback\">\n\t\t\t<div class=\"AjaxFeedback\" id=\"ajaxFeedback_3ed39136ab0d7b\"><\/div>\n\t\t\t\n\t\n\n\t\n\n\t\t<\/div>"; LITHIUM.AjaxSupport.defaultAjaxErrorHtml = "<span id=\"feedback-errorfeedback_3ed39136d83ac8\"> <\/span>\n\n\t\n\t\t<div class=\"InfoMessage lia-panel-feedback-inline-alert lia-component-common-widget-feedback\" id=\"feedback_3ed39136d83ac8\">\n\t\t\t<div role=\"alert\" class=\"lia-text\">\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t<p ng-non-bindable=\"\" tabindex=\"0\">\n\t\t\t\t\t\tSorry, unable to complete the action you requested.\n\t\t\t\t\t<\/p>\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t<\/div>\n\n\t\t\t\n\t\t<\/div>"; LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.squareup.com/t5/community/categorypage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=category-id/SellerGroups","ajaxErrorEventName":"LITHIUM:ajaxError","token":"hp82RKPIv8854_76sL4tw-19uSIe_GY0N6QpK50XPuI."}); LITHIUM.Auth.API_URL = "/t5/util/authcheckpage"; LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/oauth2sso/sso_login_redirect?referer=https%3A%2F%2FREPLACE_TEXT"; LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive"; LITHIUM.Auth.KEEP_ALIVE_TIME = 300000; LITHIUM.Auth.CHECK_SESSION_TOKEN = 'PqBFHcNiBXchLB-XCbLUZByOYiV33WepC3nYFUvtZA4.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // --> </script><script type="text/javascript"> /* Hover cards functionality for Lithium Communities */ (function($) { //START END-USER CONFIGURATION //------------------------------ //selectors for hover card triggers var allHoverCardTriggers = '.authors a, .messageauthorusername a, a.lia-user-name-link, .js-latest-post-by-from a, .user-online-list li a, a.UserAvatar, .ViewProfilePage img.lia-user-avatar-profile, .customUsersOnline a, #authors a, .username a.view-profile-link, .user-cardheader .user-avater a, .user-cardheader .user-name a'; //unfortunately all environment paths to endpoints are different if(window.location.host=='uuotz38957.stage.lithium.com'){ var userApiUrl = '/plugins/custom/squareinc/squareinc/hovercardendpoint?user_id='; } else { var userApiUrl = '/plugins/custom/squareinc/squareinc/hovercardendpoint?user_id='; } //------------------------------ //STOP END-USER CONFIGURATION if(jQuery('.hover-card-container').length<1){ jQuery('body').append('<div class="hover-card-container"></div>'); } var cardWrapper = jQuery('.hover-card-container'); var error = false; var thisUserID = ''; var cardTimer; function mouseenter(Elem) { //console.log('mouseenter'); var thisEl = Elem; cardTimer = setTimeout(function(){ var docWidth = jQuery(document).width(); var rightSide = false; //return user id var userLink = thisEl.attr('href'); if(jQuery('.ViewProfilePage').length && jQuery('img.lia-user-avatar-profile',thisEl).length){ thisUserID = 'jQuery{userid}'; } else if(thisEl.attr('href')=='#'){ var userLink = "#"; return false; } else{ var thisLen = (userLink).split('/'); thisUserID = (thisLen)[thisLen.length-1]; } var thisCard = jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper); var thisElLeftOffset = Math.round(thisEl.offset().left+(thisEl.width())); var thisElTopOffset = Math.round(thisEl.offset().top+(thisEl.height()/2)-139); if((thisElLeftOffset+387)>=docWidth){ //hover card is too far to the right of the screen var thisElLeftOffset = Math.round(thisEl.offset().left-387); rightSide = true; } if(thisCard.length && jQuery('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length<1){ jQuery('.profileCard',cardWrapper).hide(); rightSide?thisCard.addClass('rightArrow'):thisCard.removeClass('rightArrow'); thisCard.delay(500).css({'top':thisElTopOffset,'left':thisElLeftOffset}).stop().show(); } else { var ajaxReturn = ''; //just in case thisCard.remove(); //hover card wrapper markup var rightArrowClass = rightSide?'rightArrow':''; var profileCardHtml = '<div class="profileCard '+rightArrowClass+'" style="display:block;top:'+thisElTopOffset+'px;left:'+thisElLeftOffset+'px;" data-user="'+thisUserID+'"><div class="inner"><img src="/html/assets/loading.gif" class="preloader" style="margin:80px auto;display:block;" /></div></div>'; jQuery.when( //get the background jQuery.ajax({ type: 'GET', url: userApiUrl+thisUserID, dataType: 'html', success: function(data) { jQuery('.profileCard',cardWrapper).hide(); ajaxReturn = data; } }) ) .done(function(){ cardWrapper.append(profileCardHtml); jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).eq(0).empty().html(ajaxReturn).on({mouseleave: function() { clearTimeout(cardTimer); if(jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(200).fadeOut('fast'); } } }); if(jQuery('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).length){ jQuery('.profileCard[data-user='+thisUserID+'] .preloader',cardWrapper).parents('div.profileCard').remove(); } }) .fail(function(){ //uh oh - bail out! jQuery('.profileCard',cardWrapper).hide(); }); } },400); } function mouseleave() { //console.log('mouseleave'); clearTimeout(cardTimer); if(jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).length){ jQuery('.profileCard[data-user='+thisUserID+']',cardWrapper).delay(200).fadeOut('fast'); } } jQuery(document).on("mouseenter", allHoverCardTriggers, function(event) { //console.log('document-mouseenter'); if(!(jQuery(this).parents().hasClass('new-header-container'))){ mouseenter(jQuery(this)); event.stopPropagation(); } }); jQuery(document).on("mouseleave", allHoverCardTriggers, function(event) { //console.log('document-mouseleave'); mouseleave(); event.stopPropagation(); }); })(LITHIUM.jQuery); </script> <style> /* ----------------------- Profile Hover Cards (start) ------------------------------------- */ .hover-card-container{ } .hover-card-container .profileCard { display: none; padding: 0 0 0 17px; position: absolute; z-index: 200; } .hover-card-container .rightArrow { padding: 0 17px 0 0; } .hover-card-container .profileCard .inner { background: #fff; width: 420px; height: auto; border-radius:3px; border:1px solid #e0e0e0; } .hover-card-container .profileCard:hover { display: block !important; opacity: 1 !important; -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)' !important; filter:alpha(opacity=100) !important; } .hover-card-container .profileCard span.hover-arrow { height: 24px; left: 6px; position: absolute; top: 129px; width: 24px; background: #fafafa; transform: rotate(45deg); border: 1px solid #e8e8e8; z-index: -1111; } .hover-card-container .rightArrow span.hover-arrow { right: 4px; left: auto; background: url(/html/assets/hovercard-arrow-right.png) top right no-repeat; } .hover-card-container .profileCard .js-user-name { position: relative; padding: 15px 13px; background-size: 100%; border-top-right-radius: 3px; border-top-left-radius: 3px; display: inline-block; width: 100%; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info img.lia-user-rank-icon-left { height: 12px; } .hover-card-container .profileCard .js-user-name > a { display: inline-block; float: left; width: 70px; margin-right: 20px; margin-left: 10px; border-radius: 50%; position: relative; background-color: #3B4043; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info { display: inline-block; position: relative; font-size: 12px; width: 290px; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info a.lia-user-name-link { font-size: 17px; font-weight:500; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info a.lia-user-name-link span.login-bold { font-weight: bold; } .hover-card-container .profileCard .js-user-name .lia-badge-user-info .lia-user-rank { font-size: 12px; color: #c3c3c3; } .hover-card-container .profileCard .js-badge { background: #FAFAFA; padding: 2px 0px 2px 0px; height: auto; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; text-align: center; } .hover-card-container .profileCard .js-badge ul li { display: inline-block; margin: 0 9px 0px 5px; color: #acacac; font-size: 14px; width: 55px; height: 55px; } .hover-card-container .profileCard .js-badge ul li.noBadges, .hover-card-container .profileCard .js-badge ul li.badgeTotal { margin: 0; } .hover-card-container .profileCard .js-badge ul li.badgeTotal { position: relative; } .hover-card-container .profileCard .js-badge ul li.badgeTotal a { position: absolute; top: 0; border: 1px solid #acacac; display: block; border-radius: 20px; font-size: 14px; height: 39px !important; line-height: 39px; text-align: center; color: #acacac !important; font-weight: bold; width: 39px !important; } .hover-card-container .profileCard .js-badge ul li.noBadges { width: auto; height: auto; } .hover-card-container .profileCard ul.js-user-stats { padding-top: 5px; padding-bottom: 0px; padding-left: 50px; } .hover-card-container .profileCard ul.js-user-stats li { float: left; width: 30%; display: inline; margin: 5px 0 !important; } .hover-card-container .profileCard ul.js-user-stats li span { display: inline !important; } .hover-card-container .profileCard ul.js-user-stats li span.label { font-size: 14px; } .hover-card-container .profileCard ul.js-user-stats li span.value { font-size: 14px; color: #808080; } .hover-card-container .profileCard ul.js-action { padding:0px 35px; } .hover-card-container .profileCard ul.js-action li a { font-size: 14px; font-weight: bold; line-height: 12px; padding: 15px 0 15px 0; text-align: center; text-transform: uppercase; } .hover-card-container .profileCard ul.js-action li { width: 48%; text-align: center; display: inline-block !important; padding: 0px 10px 10px 10px; } .hover-card-container .profileCard ul.js-action li.send-msg { width: 48%; } .hover-card-container .profileCard ul.js-action li a { display: block; color: #fff; background: #2996CC; border-radius: 4px; font-weight: normal; font-size: 13px; } .hover-card-container .clearboth { clear: both; } /****** tb_moderntech */ .hover-card-container .profileCard .lia-badge-theme-tb_moderntech .lia-user-rank { color:#333333 !important;} /****** tb_splat */ .hover-card-container .profileCard .lia-badge-theme-tb_splat .lia-user-rank { color:#000000 !important;} /****** tb_bayfog */ /****** tb_tokyomadness */ /* Custom Css **/ .hover-card-container .lia-user-name span.userProfile a { white-space: normal; } .hover-card-container .lia-user-name span.user-role{ text-transform: uppercase; color: #9DA6B2; } .hover-card-container .profileCard .js-user-name a img.lia-user-avatar-message { height: 70px; width: 70px; border-radius: 50%; object-fit: cover; } .hover-card-container .lia-user-name span { display: block; color: #BBBDBF; } a.lia-link-navigation.lia-page-link.lia-user-name-link { color: #1B2126; } .js-badge ul li a img { width: 100%; } div.js-badge ul { margin-bottom: 0px; margin-left: 0px; margin-right: 0px; padding: 5px; } .hover-card-footer { text-align: center; } /* ----------------------- Profile Hover Cards (end) ------------------------------------- */ </style> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10