@planningcenter/topbar 10.3.0-qa-536.0 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -11
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1 -1
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/modules/not_small_topbar/index.d.ts +23 -26
- package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/small_topbar/index.d.ts +14 -24
- package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/index.d.ts +25 -8
- package/dist/types/modules/toolbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/BlankState.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/chat/BlankState.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/index.d.ts +0 -1
- package/dist/types/modules/toolbar/tools/chat/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/use_chat_config.d.ts +1 -1
- package/package.json +2 -2
- package/dist/types/classic/modules/api_request.d.ts +0 -12
- package/dist/types/classic/modules/api_request.d.ts.map +0 -1
- package/dist/types/classic/modules/avatar.d.ts +0 -7
- package/dist/types/classic/modules/avatar.d.ts.map +0 -1
- package/dist/types/classic/modules/client_storage.d.ts +0 -13
- package/dist/types/classic/modules/client_storage.d.ts.map +0 -1
- package/dist/types/classic/modules/color_app_icon.d.ts +0 -5
- package/dist/types/classic/modules/color_app_icon.d.ts.map +0 -1
- package/dist/types/classic/modules/color_app_squircles.d.ts +0 -13
- package/dist/types/classic/modules/color_app_squircles.d.ts.map +0 -1
- package/dist/types/classic/modules/colors.d.ts +0 -49
- package/dist/types/classic/modules/colors.d.ts.map +0 -1
- package/dist/types/classic/modules/components/apps_button.d.ts +0 -10
- package/dist/types/classic/modules/components/apps_button.d.ts.map +0 -1
- package/dist/types/classic/modules/components/apps_menu.d.ts +0 -11
- package/dist/types/classic/modules/components/apps_menu.d.ts.map +0 -1
- package/dist/types/classic/modules/components/eyebrow.d.ts +0 -8
- package/dist/types/classic/modules/components/eyebrow.d.ts.map +0 -1
- package/dist/types/classic/modules/components/hoverable.d.ts +0 -14
- package/dist/types/classic/modules/components/hoverable.d.ts.map +0 -1
- package/dist/types/classic/modules/components/hoverable_list_item.d.ts +0 -11
- package/dist/types/classic/modules/components/hoverable_list_item.d.ts.map +0 -1
- package/dist/types/classic/modules/components/notification_item.d.ts +0 -12
- package/dist/types/classic/modules/components/notification_item.d.ts.map +0 -1
- package/dist/types/classic/modules/components/notifications_menu_blank_state.d.ts +0 -9
- package/dist/types/classic/modules/components/notifications_menu_blank_state.d.ts.map +0 -1
- package/dist/types/classic/modules/components/outsider.d.ts +0 -14
- package/dist/types/classic/modules/components/outsider.d.ts.map +0 -1
- package/dist/types/classic/modules/components/popover_root.d.ts +0 -7
- package/dist/types/classic/modules/components/popover_root.d.ts.map +0 -1
- package/dist/types/classic/modules/components/popup.d.ts +0 -10
- package/dist/types/classic/modules/components/popup.d.ts.map +0 -1
- package/dist/types/classic/modules/components/popup_root.d.ts +0 -7
- package/dist/types/classic/modules/components/popup_root.d.ts.map +0 -1
- package/dist/types/classic/modules/connected_people_provider.d.ts +0 -23
- package/dist/types/classic/modules/connected_people_provider.d.ts.map +0 -1
- package/dist/types/classic/modules/formatters.d.ts +0 -4
- package/dist/types/classic/modules/formatters.d.ts.map +0 -1
- package/dist/types/classic/modules/get_apps_switch_product_path.d.ts +0 -2
- package/dist/types/classic/modules/get_apps_switch_product_path.d.ts.map +0 -1
- package/dist/types/classic/modules/get_login_profile_path.d.ts +0 -9
- package/dist/types/classic/modules/get_login_profile_path.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/jolt.d.ts +0 -25
- package/dist/types/classic/modules/hooks/jolt.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_cookie.d.ts +0 -3
- package/dist/types/classic/modules/hooks/use_cookie.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_fragment_routing.d.ts +0 -5
- package/dist/types/classic/modules/hooks/use_fragment_routing.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_hover.d.ts +0 -4
- package/dist/types/classic/modules/hooks/use_hover.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_media_query.d.ts +0 -3
- package/dist/types/classic/modules/hooks/use_media_query.d.ts.map +0 -1
- package/dist/types/classic/modules/hooks/use_notifications.d.ts +0 -20
- package/dist/types/classic/modules/hooks/use_notifications.d.ts.map +0 -1
- package/dist/types/classic/modules/mfa_status.d.ts +0 -6
- package/dist/types/classic/modules/mfa_status.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_icon.d.ts +0 -7
- package/dist/types/classic/modules/mono_app_icon.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_name.d.ts +0 -6
- package/dist/types/classic/modules/mono_app_name.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_symbols.d.ts +0 -40
- package/dist/types/classic/modules/mono_app_symbols.d.ts.map +0 -1
- package/dist/types/classic/modules/mono_app_text.d.ts +0 -49
- package/dist/types/classic/modules/mono_app_text.d.ts.map +0 -1
- package/dist/types/classic/modules/not_small_topbar/index.d.ts +0 -17
- package/dist/types/classic/modules/not_small_topbar/index.d.ts.map +0 -1
- package/dist/types/classic/modules/not_small_topbar/user_menu.d.ts +0 -17
- package/dist/types/classic/modules/not_small_topbar/user_menu.d.ts.map +0 -1
- package/dist/types/classic/modules/not_small_topbar/user_menu_trigger.d.ts +0 -10
- package/dist/types/classic/modules/not_small_topbar/user_menu_trigger.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/account_settings_link.d.ts +0 -5
- package/dist/types/classic/modules/small_topbar/account_settings_link.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/close_menu_button.d.ts +0 -6
- package/dist/types/classic/modules/small_topbar/close_menu_button.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/index.d.ts +0 -12
- package/dist/types/classic/modules/small_topbar/index.d.ts.map +0 -1
- package/dist/types/classic/modules/small_topbar/user_profile_menu.d.ts +0 -20
- package/dist/types/classic/modules/small_topbar/user_profile_menu.d.ts.map +0 -1
- package/dist/types/classic/modules/styled_root.d.ts +0 -6
- package/dist/types/classic/modules/styled_root.d.ts.map +0 -1
- package/dist/types/classic/modules/styles.d.ts +0 -10
- package/dist/types/classic/modules/styles.d.ts.map +0 -1
- package/dist/types/classic/modules/symbols.d.ts +0 -43
- package/dist/types/classic/modules/symbols.d.ts.map +0 -1
- package/dist/types/classic/modules/theme.d.ts +0 -14
- package/dist/types/classic/modules/theme.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/drawer.d.ts +0 -14
- package/dist/types/classic/modules/toolbar/components/drawer.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/drawer_header.d.ts +0 -8
- package/dist/types/classic/modules/toolbar/components/drawer_header.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/drawer_heading.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/components/drawer_heading.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/index.d.ts +0 -8
- package/dist/types/classic/modules/toolbar/components/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/indicator_dot.d.ts +0 -3
- package/dist/types/classic/modules/toolbar/components/indicator_dot.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/scroll_container.d.ts +0 -19
- package/dist/types/classic/modules/toolbar/components/scroll_container.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/switch_view.d.ts +0 -8
- package/dist/types/classic/modules/toolbar/components/switch_view.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/components/user_profile.d.ts +0 -11
- package/dist/types/classic/modules/toolbar/components/user_profile.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/hooks/index.d.ts +0 -2
- package/dist/types/classic/modules/toolbar/hooks/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/hooks/use_pco_meta.d.ts +0 -6
- package/dist/types/classic/modules/toolbar/hooks/use_pco_meta.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/hooks/use_toolbar_reducer.d.ts +0 -19
- package/dist/types/classic/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/index.d.ts +0 -26
- package/dist/types/classic/modules/toolbar/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/index.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/chat/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/pco_chat.d.ts +0 -10
- package/dist/types/classic/modules/toolbar/tools/chat/pco_chat.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/use_chat_config.d.ts +0 -22
- package/dist/types/classic/modules/toolbar/tools/chat/use_chat_config.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/use_handle_message_from_child_frame.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/tools/chat/use_handle_message_from_child_frame.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/chat/use_stable_iframe_src_attribute_and_sync_fragment_route.d.ts +0 -6
- package/dist/types/classic/modules/toolbar/tools/chat/use_stable_iframe_src_attribute_and_sync_fragment_route.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/CustomSearchBox.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/CustomSearchBox.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts +0 -5
- package/dist/types/classic/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/helpdesk/index.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/helpdesk/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/index.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/index.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/notifications.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/notifications.d.ts.map +0 -1
- package/dist/types/classic/modules/toolbar/tools/tasks.d.ts +0 -4
- package/dist/types/classic/modules/toolbar/tools/tasks.d.ts.map +0 -1
- package/dist/types/classic/modules/unbutton.d.ts +0 -11
- package/dist/types/classic/modules/unbutton.d.ts.map +0 -1
- package/dist/types/classic/modules/utils.d.ts +0 -5
- package/dist/types/classic/modules/utils.d.ts.map +0 -1
- package/dist/types/modules/not_small_topbar/not_small_topbar.d.ts +0 -17
- package/dist/types/modules/not_small_topbar/not_small_topbar.d.ts.map +0 -1
- package/dist/types/modules/small_topbar/small_topbar.d.ts +0 -12
- package/dist/types/modules/small_topbar/small_topbar.d.ts.map +0 -1
- package/dist/types/modules/toolbar/toolbar.d.ts +0 -26
- package/dist/types/modules/toolbar/toolbar.d.ts.map +0 -1
package/dist/topbar.module.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import*as e from"react";import t,{useEffect as n,useState as a,useMemo as r,useCallback as o,useRef as i}from"react";import l from"@planningcenter/jolt-client";import c from"@planningcenter/url";import{useSyncExternalStore as s}from"use-sync-external-store/shim";import{ThemeProvider as u,Divider as d,Button as p,StackView as m,Text as h,Icon as f,designSystem as g,Link as v,HeadingUppercase as E,List as y,Box as b,Heading as C,GridView as w,Avatar as k,Combobox as x,Logo as A,Dropdown as S,Spinner as P,Badge as Z}from"@planningcenter/tapestry-react";import*as N from"@planningcenter/icons/paths/church-center";import*as M from"@planningcenter/icons/paths/general";import*as V from"@planningcenter/icons/paths/people";import*as H from"@planningcenter/icons/paths/toolbar";import{UiExtensionFirstPartyComponent as z,components as L,UiExtensionDataContext as T}from"@planningcenter/add-ons";import{InlineWidget as _}from"react-calendly";import O from"algoliasearch";import{useSearchBox as I,useHits as U,InstantSearch as R,Configure as j}from"react-instantsearch";import{TransitionGroup as D,Transition as q}from"react-transition-group";import F from"@planningcenter/datetime-fmt";import{Chat as B}from"@planningcenter/chat/chat-topbar";function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},W.apply(this,arguments)}function J(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,G(e,t)}function G(e,t){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},G(e,t)}function X(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function K(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)t.indexOf(n=o[a])>=0||(r[n]=e[n]);return r}function Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Y=["headers"],$=function(e,t){return fetch(e,W({credentials:"include",mode:"cors"},t))},ee=function(e,t){var n,a,r,o=t.headers,i=K(t,Y);return fetch(e,W({headers:W({},o,{"X-CSRF-Token":(null==(n=window)||null==(a=n.Rails)?void 0:a.csrfToken())||(null==(r=document.querySelector('meta[name="csrf-token"]'))?void 0:r.getAttribute("content"))||null})},i,{credentials:"include",mode:"cors"}))};function te(e,t,n){var a=void 0===n?{}:n,r=a.method,o=void 0===r?"GET":r,i=a.data,l=void 0===i?null:i,c={headers:{Accept:"application/json","Content-Type":"application/json"},method:o,redirect:"follow"};return l&&"GET"!==o&&(c.body=JSON.stringify(l)),e(t,c).then(function(e){return e.json().then(function(t){return{json:t,ok:e.ok,response:e}}).catch(function(){return{json:null,ok:e.ok,response:e}})},function(e){return console.warn(e),{json:null,ok:!1,response:null}})}var ne=null;function ae(e){return e&&!!e.allSubscriptions}var re=function(e){var n=e.channelName,a=e.disconnectJoltOnUnmount,r=e.enabled,o=void 0===r||r,i=e.env,l=e.fetchSubscribeToken,s=e.joltPromise,u=t.useState(),d=u[0],p=u[1],m=t.useState(),h=m[0],f=m[1],g=t.useCallback(function(){return Promise.resolve(s).then(function(e){var t=function(e,t){try{return Promise.resolve(l(t))}catch(e){return Promise.reject(e)}},a=ae(e)?ie(e,n,t):oe(e,n,t);p(a),f(e)})},[te,n,i,c,ee]);return t.useEffect(function(){o&&g()},[o,g]),t.useEffect(function(){var e=function(e){var t,n;e.data.hasOwnProperty("PCOPageExpiredCurrentPersonACID")&&e.data.PCOPageExpiredCurrentPersonACID!==(null==(t=window)||null==(n=t.pcoPageExpired)?void 0:n.currentPersonACID)&&h&&h.disconnect()};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}},[h]),t.useEffect(function(){return function(){h&&a&&h.disconnect()}},[h]),d},oe=function(e,t,n){return e.subscriptions.find(function(e){return e.channel===t})||e.subscribe(t,{fetchSubscribeTokenFn:n})},ie=function(e,t,n){var a,r=(null==(a=e.allSubscriptions)?void 0:a.find(function(e){return e.channel===t}))||e.subscribe(t,{fetchSubscribeTokenFn:n});return r.subscribe(),r},le=function(e,t,a){return n(function(){return e?(e.bind(t,a),function(){return e.unbind(t,a)}):function(){}},[e,a])},ce=function(e,t){void 0===t&&(t=1);var n=e.replace(/[a-z()%]/g,"").split(" ");return"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+t+")"},se=function(e,t){var n;return function(){var a=[].slice.call(arguments),r=this;clearTimeout(n),(n=setTimeout(function(){n=null,e.apply(r,a)},t))||e.apply(r,a)}};function ue(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(function(e){return t[e[0]]!==e[1]})}function de(e,t){var r=a(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),o=r[0],i=r[1],l=JSON.stringify(o);return n(function(){window.localStorage.setItem(e,l)},[e,l]),{dropKey:function(){return window.localStorage.removeItem(e)},setStoredValue:i,storedValue:o}}var pe=function(){};function me(e){var t=e,n=new Set;return{getState:function(){return t},setState:function(e){t=e,n.forEach(function(e){return e(t)})},subscribe:function(e){return n.add(e),function(){return n.delete(e)}}}}var he=me({}),fe=function(e){var o,i,s,u,d,p,m,h,f,g,v,E,y,b,C,w,k,x,A,S,P,Z=e.configuredFetch,N=e.enableJoltLogging,M=e.env,V=e.formatter,H=void 0===V?ge:V,z=e.joltPromise,L=e.wssEndpoint,T=e.render,_=e.userId,O=function(e){var t=e.configuredFetch,r=e.env,o=de("Topbar",{}),i=o.setStoredValue,l=a(o.storedValue),s=l[0],u=l[1];n(function(){d()},[]);var d=function(){te(t,c(r)("api")+"/people/v2/me/topbar").then(function(e){var t=e.json;e.ok&&(u(t),i(t))})};return s}({configuredFetch:void 0===Z?$:Z,env:M}),I=H(O),U=null==O||null==(o=O.data)||null==(i=o.attributes)?void 0:i.has_connected_people,R=null==O||null==(s=O.data)||null==(u=s.attributes)||null==(d=u.features)?void 0:d.includes("mfa_enabled"),j=null==O||null==(p=O.data)||null==(m=p.attributes)||null==(h=m.features)?void 0:h.includes("notifications_context_menu"),D=!(null==O||null==(f=O.data)||null==(g=f.attributes)||!g.mfa_configured),q=null==O||null==(v=O.data)||null==(E=v.attributes)?void 0:E.name,F=!window.notificationsDisabled,B=(null==O||null==(y=O.data)||null==(b=y.attributes)?void 0:b.org_time_zone)||"America/Los_Angeles",J=null==O||null==(C=O.data)||null==(w=C.attributes)||null==(k=w.features)?void 0:k.includes("chat_enabled"),G={algoliaApplicationId:null==O||null==(x=O.data)||null==(A=x.attributes)?void 0:A.algolia_application_identifier,algoliaSearchOnlyApiKey:null==O||null==(S=O.data)||null==(P=S.attributes)?void 0:P.algolia_search_key},X=r(function(){return function(e){var t=e.enableJoltLogging,n=e.env,a=e.fetchAuthTokenFn,r=e.providedJoltPromise,o=e.wssEndpoint;return r?r():(ne||(ne=new l(o||function(e){switch(e){case"development":case"test":return"wss://1csnwvu025.execute-api.us-east-1.amazonaws.com/v1/";case"staging":return"wss://xvk2ac1o3l.execute-api.us-east-1.amazonaws.com/v1/";default:return"wss://yxe88gasn3.execute-api.us-east-1.amazonaws.com/v1/"}}(n),{fetchAuthTokenFn:a},{logToConsole:t})),Promise.resolve(ne))}({enableJoltLogging:N,env:M,fetchAuthTokenFn:function(){try{return Promise.resolve(te(ee,window.location.origin+"/~api/notifications/v2/me/notifications_jolt_authorize",{data:{data:{attributes:{}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},providedJoltPromise:z,wssEndpoint:L})},[z,L,M,N]),K=re({channelName:"notifications.people."+_,disconnectJoltOnUnmount:!z,enabled:!0,env:M,fetchSubscribeToken:function(e){try{var t=window.location.origin+"/~api/notifications/v2/me/notifications_jolt_subscribe";return Promise.resolve(te(ee,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},joltPromise:X}),Q=function(e){var n,a,r=e.enabled,o=e.joltChannel,i=de("Topbar:Notifications:hasUnread",!1),l=i.storedValue,c=i.setStoredValue,s=(n=function(){var e=window.location.origin+"/~api/notifications/v2/me/unread";te($,e).then(function(e){c(e.json.data.attributes.unread)}).catch(pe)},void 0===(a=300)&&(a=0),t.useMemo(function(){return se(n,a)},[]));return t.useEffect(function(){r&&s()},[r]),le(r?o:void 0,"notifications.v2.events.notification.created",s),le(r?o:void 0,"notifications.v2.events.notification.updated",s),le(r?o:void 0,"notifications.v2.events.notification.destroyed",s),l}({enabled:!0,env:M,joltChannel:K});return n(function(){var e=he.getState();he.setState(W({},e,{algoliaSearchAuth:G,chatEnabled:J,disconnectJoltOnUnmount:!z,hasConnectedPeople:U,indicatorVisible:W({},e.indicatorVisible,{Notifications:Q}),joltPromise:X,mfaConfigured:D,mfaEnabled:R,name:q,notifications:{enabled:F,env:M,joltChannel:K},notificationsContextMenu:j,notificationsEnabled:F,notificationsJoltChannel:K,organizationTimeZone:B,userId:_}))},[X,D,R,q,j,F,Q,B,_]),T(I||[],{fetch:function(){},remove:function(){}})};function ge(e){var t,n;return(null==e||null==(t=e.data)||null==(n=t.attributes)?void 0:n.apps)||[]}function ve(){window.localStorage.removeItem("Topbar:ConnectedPeople")}function Ee(e){window.location=e}var ye=/*#__PURE__*/function(e){function t(t){var n;return(n=e.call(this,t)||this).state={connectedPeople:[]},n}J(t,e);var n=t.prototype;return n.fetch=function(){var e=this;te(this.props.configuredFetch,c(this.props.env)("api")+"/login/v2/me/connected_people").then(function(t){var n=t.json;if(t.ok&&n){var a=n.data;return e.setState({connectedPeople:a},function(){return window.localStorage.setItem("Topbar:ConnectedPeople",JSON.stringify(a))})}})},n.unlink=function(){te(this.props.configuredFetch,c(this.props.env)("api")+"/login/v2/me/unlink",{method:"POST"}).then(function(e){var t,n=e.json;null!=n&&null!=(t=n.meta)&&t.redirect_to&&Ee(n.meta.redirect_to)})},n.switch=function(e,t){te(this.props.configuredFetch,c(this.props.env)("api")+"/login/v2/me/switch_connected_person",{data:{data:{attributes:{id:e,return_path:t}}},method:"POST"}).then(function(e){var t,n=e.json;null!=n&&null!=(t=n.meta)&&t.redirect_to&&Ee(n.meta.redirect_to)})},n.componentDidMount=function(){var e=JSON.parse(window.localStorage.getItem("Topbar:ConnectedPeople"));return e?this.setState({connectedPeople:e}):this.fetch()},n.render=function(){return this.props.render(this.state.connectedPeople||[],{fetch:this.fetch.bind(this),remove:ve.bind(this),switch:this.switch.bind(this),unlink:this.unlink.bind(this)})},t}(t.Component);ye.defaultProps={configuredFetch:$};var be=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).state={width:window.innerWidth},n.setWindowWidth=n.setWindowWidth.bind(Q(n)),n}J(n,e);var a=n.prototype;return a.setWindowWidth=function(){this.setState({width:window.innerWidth})},a.componentDidMount=function(){window.addEventListener("resize",se(this.setWindowWidth,100),!1)},a.componentWillUnmount=function(){window.removeEventListener("resize",se(this.setWindowWidth,100),!1)},a.breakpointString=function(e){return e<480?"xs":e<600?"sm":e<720?"md":e<960?"lg":"xl"},a.render=function(){return t.createElement(t.Fragment,null,this.props.render(this.breakpointString(this.state.width)))},n}(t.Component),Ce=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return J(n,e),n.prototype.render=function(){var e=this;return t.createElement(be,{render:function(t){return-1!==e.props.smallBreakpoints.indexOf(t)?e.props.smallTopbar(t):e.props.notSmallTopbar(t)}})},n}(t.Component);Ce.defaultProps={smallBreakpoints:["xs","sm"]};var we=function(e){return void 0===e&&(e=function(e){return e}),s(he.subscribe,function(){return e(he.getState())})};function ke(e){return t.createElement("path",{fill:e.color,d:"M16.95,9.28h0l-1.33-.23c-.12,0-.24-.04-.34-.11-.1-.07-.18-.16-.23-.27-.12-.45-.3-.89-.54-1.3-.04-.11-.05-.24-.03-.35,.02-.12,.08-.23,.16-.32l.78-1.1h0s0-.03,0-.04l-.03-.02-.04-.04-.87-.87-.05-.05h0s-.02-.02-.03,0l-1.11,.78c-.09,.08-.2,.13-.32,.16-.12,.02-.24,.01-.35-.03-.41-.24-.84-.42-1.3-.54-.11-.05-.2-.13-.27-.23-.07-.1-.11-.22-.11-.34l-.22-1.33h0s-.01-.03-.02-.03h-1.41s-.02,0-.02,.02l-.23,1.34c0,.12-.04,.24-.11,.34-.07,.1-.16,.18-.27,.23-.45,.12-.89,.3-1.3,.54-.11,.04-.24,.05-.35,.03-.12-.02-.23-.08-.32-.16l-1.1-.78h0s-.02-.01-.03,0l-.02,.03-.04,.04-.87,.87-.05,.05h0s0,.03,0,.04l.78,1.11c.08,.09,.13,.2,.16,.32,.02,.12,.01,.24-.03,.35-.24,.4-.42,.84-.54,1.29-.05,.11-.13,.2-.23,.27-.1,.07-.22,.11-.34,.11l-1.33,.22h0s-.02,0-.02,.02v1.41s0,.02,.02,.02l1.34,.23c.12,0,.24,.05,.34,.11,.1,.07,.18,.16,.23,.27,.12,.45,.3,.89,.54,1.29,.04,.11,.05,.24,.03,.35-.02,.12-.08,.23-.16,.32l-.78,1.11s0,.02,0,.03h0l.05,.06,.87,.87,.04,.04,.02,.02s.02,0,.03,0h0l1.1-.79c.09-.08,.2-.13,.32-.16,.12-.02,.24-.01,.35,.03,.4,.24,.84,.42,1.29,.54,.11,.05,.2,.13,.27,.23,.07,.1,.11,.22,.11,.34l.23,1.34s0,.02,.02,.02h1.41s.02,0,.02-.02h0l.22-1.34c0-.12,.05-.24,.11-.34,.07-.1,.16-.18,.27-.23,.45-.12,.89-.3,1.29-.54,.11-.04,.24-.05,.35-.03,.12,.02,.23,.08,.32,.16l1.11,.78s.02,0,.03,0h0l.05-.06,.87-.87,.04-.04,.02-.02s0-.02,0-.03h0l-.78-1.11c-.08-.09-.13-.2-.16-.32-.02-.12-.01-.24,.03-.35,.24-.4,.42-.84,.54-1.29,.05-.11,.13-.2,.23-.27s.22-.11,.34-.11l1.34-.23s.02,0,.02-.02v-1.4s0-.02-.02-.02Zm-4.67,3.01c-.45,.45-1.03,.76-1.65,.88-.63,.12-1.27,.06-1.86-.18-.59-.24-1.09-.66-1.45-1.19-.35-.53-.54-1.15-.54-1.79s.19-1.26,.54-1.79c.35-.53,.86-.94,1.45-1.19,.59-.24,1.24-.31,1.86-.18,.63,.12,1.2,.43,1.65,.88,.3,.3,.54,.66,.7,1.05,.16,.39,.25,.81,.25,1.24s-.08,.84-.25,1.24c-.16,.39-.4,.75-.7,1.05Z"})}var xe={__proto__:null,Squircle:function(e){var n=e.color;return t.createElement("path",{fill:void 0===n?"#fff":n,d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z"})},Accounts:ke,API:function(e){return t.createElement("path",{fill:e.color,d:"M11.08,12.387a3.277,3.277,0,0,0,.21-.86l1.47-.23-.25-1.63-1.48.22A3.167,3.167,0,0,0,9.93,8.5l.54-1.37-1.54-.6L8.39,7.9a3.393,3.393,0,0,0-1.76.27l-.92-1.15-1.3,1.03.93,1.16a3.462,3.462,0,0,0-.43.78A3.333,3.333,0,0,0,4.69,11l-1.49.23.25,1.69,1.59-.24a3.278,3.278,0,0,0,1.02,1.2l-.54,1.39,1.55.6.54-1.39a3.319,3.319,0,0,0,1.74-.27l.93,1.17,1.3-1.04-.93-1.17A3.258,3.258,0,0,0,11.08,12.387ZM9.81,11.9A1.953,1.953,0,0,1,7.29,13a1.942,1.942,0,1,1,2.52-1.1Zm5.89-4.32a1.581,1.581,0,0,0,.04-.38,2.066,2.066,0,0,0-1.39-1.95v-.82H12.97v.82A2.066,2.066,0,0,0,11.58,7.2a1.581,1.581,0,0,0,.04.38l-.71.41.7,1.2.7-.4a2.073,2.073,0,0,0,2.7,0l.7.4.7-1.2Zm-2.04.67A1.045,1.045,0,1,1,14.7,7.2,1.041,1.041,0,0,1,13.66,8.247Z"})},Calendar:function(e){return t.createElement("path",{fill:e.color,d:"M14.18,6.5h-.91V5.8a.55.55,0,0,0-.55-.55h-.26a.55.55,0,0,0-.55.55v.7H8.09V5.8a.55.55,0,0,0-.55-.55H7.28a.55.55,0,0,0-.55.55v.7H5.82a.58.58,0,0,0-.58.59v7.08a.58.58,0,0,0,.58.58h8.36a.58.58,0,0,0,.58-.58V7.09A.58.58,0,0,0,14.18,6.5Zm-.91,6.71H6.73V9.09h6.54Z"})},CheckIns:function(e){return t.createElement("path",{fill:e.color,d:"M14.175,8.341,9.258,13.256a1.157,1.157,0,0,1-1.638,0L5.161,10.8A1.159,1.159,0,1,1,6.8,9.16L8.439,10.8l4.1-4.1a1.159,1.159,0,0,1,1.639,1.639Z"})},ChurchCenter:function(e){return t.createElement("path",{fill:e.color,d:"M13.91,14.763a.334.334,0,0,1-.331.338l-1.959-.016a.334.334,0,0,1-.338-.331s.005-.233.005-1.8a3.674,3.674,0,0,0-1.279-2.638,3.674,3.674,0,0,0-1.279,2.638c0,1.565.005,1.8.005,1.8a.334.334,0,0,1-.338.331L6.437,15.1a.334.334,0,0,1-.331-.338s-.242-6.457-.02-6.65h0L9.671,5.021a.522.522,0,0,1,.684,0l3.58,3.092H13.93C14.152,8.325,13.91,14.763,13.91,14.763Z"})},Giving:function(e){return t.createElement("path",{fill:e.color,d:"M10.3,13.769a.508.508,0,0,1-.592,0c-1.259-.888-5.982-4.494-3.268-6.83a2.386,2.386,0,0,1,3.215.205l.349.349.349-.349a2.386,2.386,0,0,1,3.215-.205C16.286,9.275,11.563,12.881,10.3,13.769Z"})},Groups:function(e){return t.createElement("path",{fill:e.color,d:"M13.769,11.313V8.683a1.867,1.867,0,1,0-2.443-2.449H8.69A1.867,1.867,0,1,0,6.243,8.681v2.632A1.867,1.867,0,1,0,8.69,13.76h2.632a1.867,1.867,0,1,0,2.447-2.447Zm-1.455,0a1.873,1.873,0,0,0-.992.992H8.69a1.877,1.877,0,0,0-.992-.992V8.681a1.877,1.877,0,0,0,.992-.992h2.636a1.872,1.872,0,0,0,.988.99Z"})},Home:function(e){return t.createElement("path",{fill:e.color,d:"M14.7619 8.93233C14.7619 8.72768 14.6587 8.53243 14.4775 8.39414L10.5927 5.43C10.2573 5.17413 9.74265 5.17413 9.40731 5.42999L5.52252 8.39414C5.34128 8.53243 5.2381 8.72768 5.2381 8.93233V13.0794C5.2381 13.4827 5.63079 13.8095 6.11521 13.8095H13.8848C14.3692 13.8095 14.7619 13.4826 14.7619 13.0794V8.93233Z"})},People:function(e){return t.createElement("path",{fill:e.color,d:"M8.177,5.732A2.018,2.018,0,1,1,6.159,7.75,2.019,2.019,0,0,1,8.177,5.732Zm2.494,8.53H5.664A.565.565,0,0,1,5.1,13.7V12.422a1.841,1.841,0,0,1,1.841-1.841H9.394a1.841,1.841,0,0,1,1.841,1.841V13.7A.565.565,0,0,1,10.671,14.262ZM12.814,6.94A1.513,1.513,0,1,1,11.3,8.453,1.513,1.513,0,0,1,12.814,6.94Zm1.537,6.093H12.413a.565.565,0,0,1-.565-.565v-.049a2.292,2.292,0,0,0-.2-.957.555.555,0,0,0-.062-.141.8.8,0,0,0-.061-.11,1.19,1.19,0,0,0-.092-.16,1.131,1.131,0,0,1,.908-.472h1.472a1.108,1.108,0,0,1,1.105,1.1v.785A.565.565,0,0,1,14.351,13.033Z"})},Publishing:function(e){return t.createElement("path",{fill:e.color,d:"M7.287,13.575a.478.478,0,0,1-.477.477H5.856a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H6.81a.478.478,0,0,1,.477.477Zm7.293,0a.477.477,0,0,1-.477.477H9.268a.478.478,0,0,1-.477-.477V12.6a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Zm0-3.473a.477.477,0,0,1-.476.477H9.268a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Z"})},Registrations:function(e){return t.createElement("path",{fill:e.color,d:"M4.48,11.09a.51.51,0,0,0,0,.71l.7.7a.22.22,0,0,0,.27,0,1.47,1.47,0,0,1,1.8.22,1.5,1.5,0,0,1,.23,1.81.21.21,0,0,0,0,.27l.7.7a.51.51,0,0,0,.71,0l2-2a.16.16,0,0,0,0-.22L6.7,9.1a.17.17,0,0,0-.23,0Zm11-2.89-.71-.7a.21.21,0,0,0-.26,0,1.47,1.47,0,0,1-1.79-.23,1.49,1.49,0,0,1-.24-1.79.22.22,0,0,0,0-.27l-.7-.7a.51.51,0,0,0-.71,0L7.47,8.11a.14.14,0,0,0,0,.22l4.2,4.2a.14.14,0,0,0,.22,0l3.63-3.62A.51.51,0,0,0,15.52,8.2Z"})},Services:function(e){return t.createElement("path",{fill:e.color,d:"M6.5,6.559A1.059,1.059,0,1,1,5.443,5.5,1.059,1.059,0,0,1,6.5,6.559ZM5.443,8.943A1.059,1.059,0,1,0,6.5,10,1.059,1.059,0,0,0,5.443,8.943Zm0,3.443A1.059,1.059,0,1,0,6.5,13.445,1.059,1.059,0,0,0,5.443,12.386ZM15,6.087a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485V7.03a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,7.03ZM15,9.53a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,10.473Zm0,3.443a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,13.916Z"})}},Ae=["appName","colors","style","size"];function Se(e){var n=e.color;return t.createElement("path",{d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:void 0===n?"#fff":n})}function Pe(e){var n=e.appName,a=e.colors,r=e.style,o=e.size,i=void 0===o?20:o,l=K(e,Ae);return t.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20",role:"img","aria-labelledby":"title desc",style:W({display:"block"},r)},l),t.createElement("title",{id:"title"},"Planning Center ",n," App Icon"),t.createElement("desc",{id:"desc"},"An image symbolizing the Planning Center ",n," app."),"Accounts"===n?null:t.createElement(Se,null),xe[n]?t.createElement(xe[n],{color:"Accounts"!=n?a.base0:"#fff"}):t.createElement("div",null,"appName not supported"))}var Ze={__proto__:null,Accounts:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"4ce749c7-c01e-4a9b-9496-b14fd2e761aa",viewBox:"0 0 77.073 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"accounts-text"),t.createElement("path",{fill:n,d:"M4.729,5.537A10.859,10.859,0,0,0,1.262,6.1a.566.566,0,0,0-.4.717l.194.819a.579.579,0,0,0,.7.5,10.108,10.108,0,0,1,2.748-.47,1.416,1.416,0,0,1,1.065.349A2.307,2.307,0,0,1,6,9.682,7.706,7.706,0,0,0,4.1,9.418c-2.493,0-4.1,1.305-4.1,3.327a3.2,3.2,0,0,0,3.328,3.434,4.385,4.385,0,0,0,3.011-1.161l.181.509c.1.249.231.415.515.415h.712a.6.6,0,0,0,.59-.589v-5.3C8.337,7.581,8.065,5.537,4.729,5.537ZM3.78,14.181a1.343,1.343,0,0,1-1.436-1.459c0-.91.777-1.522,1.932-1.522a4.726,4.726,0,0,1,1.7.3v1.556A2.983,2.983,0,0,1,3.78,14.181ZM18.6,13.194c.4.361.326.669.2.865a4.646,4.646,0,0,1-3.977,2.12,5.2,5.2,0,0,1-5.2-5.31,5.285,5.285,0,0,1,5.225-5.332,4.461,4.461,0,0,1,3.711,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.64.056-.806-.11A2.909,2.909,0,0,0,14.9,7.816,2.938,2.938,0,0,0,12,10.847,2.921,2.921,0,0,0,14.837,13.9a2.623,2.623,0,0,0,2.03-.965c.082-.081.161-.16.241-.233a.574.574,0,0,1,.819-.049Zm9.661,0c.4.361.326.669.2.865a4.644,4.644,0,0,1-3.976,2.12,5.2,5.2,0,0,1-5.2-5.31A5.286,5.286,0,0,1,24.5,5.537a4.459,4.459,0,0,1,3.71,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.641.056-.806-.11a2.779,2.779,0,0,0-4.869,2.073A2.92,2.92,0,0,0,24.5,13.9a2.625,2.625,0,0,0,2.03-.965c.081-.081.161-.16.241-.233a.573.573,0,0,1,.818-.049Zm5.86-7.657A5.323,5.323,0,1,0,39.3,10.826,5.317,5.317,0,0,0,34.117,5.537Zm2.838,5.289a2.857,2.857,0,1,1-5.7,0,2.853,2.853,0,1,1,5.7,0ZM49.346,6.341v9.012a.616.616,0,0,1-.612.589h-.517c-.34,0-.474-.245-.561-.485l-.2-.536a4.084,4.084,0,0,1-3.1,1.258c-3.388,0-3.823-2.5-3.823-4.685V6.341a.621.621,0,0,1,.59-.588h1.207a.6.6,0,0,1,.59.588v5.3c0,1.539.58,2.256,1.825,2.256a2.357,2.357,0,0,0,2.214-1.544l0-6.016c0-.544.349-.588.676-.588h1.1A.624.624,0,0,1,49.346,6.341Zm11.089,4.01v5a.605.605,0,0,1-.591.589H58.637a.6.6,0,0,1-.59-.589V10.265c0-1.579-.655-2.449-1.846-2.449a2.939,2.939,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.6.6,0,0,1-.59-.589V6.341a.6.6,0,0,1,.59-.588h.518a.5.5,0,0,1,.522.391l.235.67a4.691,4.691,0,0,1,3.3-1.277C59.134,5.537,60.435,7.111,60.435,10.351Zm8.048,4.379a.556.556,0,0,1-.283.721,6.126,6.126,0,0,1-2.822.728c-2.337,0-2.637-1.651-2.637-3.09V7.816H61.713a.6.6,0,0,1-.589-.59V6.341a.569.569,0,0,1,.589-.588h1.028V3.088a.59.59,0,0,1,.59-.59h1.228a.573.573,0,0,1,.568.59V5.753h2.515a.582.582,0,0,1,.59.588v.885a.613.613,0,0,1-.59.59H65.127V13c0,.828.323.9.683.9a3.241,3.241,0,0,0,1.536-.458.523.523,0,0,1,.431-.064.558.558,0,0,1,.317.335Zm7.869-1.576c0,1.5-1.262,3.025-3.672,3.025a5.927,5.927,0,0,1-3.343-1.033h0a.523.523,0,0,1-.208-.663l.452-.926a.494.494,0,0,1,.3-.254.635.635,0,0,1,.505.076l.032.017a4.485,4.485,0,0,0,2.389.7c.74,0,1.2-.328,1.2-.855,0-.58-.666-.985-2.066-1.618-1.435-.648-2.763-1.49-2.763-3.253,0-1.41,1.056-2.832,3.414-2.832a5.7,5.7,0,0,1,2.973.752.706.706,0,0,1,.256.882l-.344.689a.582.582,0,0,1-.8.247,5.057,5.057,0,0,0-2.087-.485c-.8,0-1.156.385-1.156.768,0,.546.574.9,1.633,1.361C75.052,10.588,76.352,11.279,76.352,13.154Z"}))},API:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"bed028ef-58ee-4c4c-a757-08ecc3276857",viewBox:"0 0 119.5 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"api-text"),t.createElement("path",{fill:n,d:"M9.136.675H7.908a.621.621,0,0,0-.59.589V5.5a6.9,6.9,0,0,0-2.384-.469A5.013,5.013,0,0,0,.012,10.343c0,2.989,2.048,5.331,4.663,5.331a4.885,4.885,0,0,0,3.22-1.3l.16.543a.591.591,0,0,0,.564.519h.517a.6.6,0,0,0,.59-.59V1.264A.6.6,0,0,0,9.136.675ZM7.34,7.847v4.175A2.745,2.745,0,0,1,4.978,13.4,2.815,2.815,0,0,1,2.4,10.343a2.913,2.913,0,0,1,2.772-3.03A4.941,4.941,0,0,1,7.34,7.847Zm8.833-2.813A5.081,5.081,0,0,0,11.1,10.343a5.046,5.046,0,0,0,5.094,5.331,5.712,5.712,0,0,0,3.761-1.256.512.512,0,0,0,.064-.819l-.582-.906a.467.467,0,0,0-.3-.22.619.619,0,0,0-.45.147,3.737,3.737,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.755a.578.578,0,0,0,.566-.532c.023-.175.045-.524.045-.7A4.571,4.571,0,0,0,16.173,5.034ZM16.13,7.1a2.23,2.23,0,0,1,2.334,2.032H13.591A2.411,2.411,0,0,1,16.13,7.1ZM30.587,5.982l-4.3,9.366a.561.561,0,0,1-.515.326h-.129a.59.59,0,0,1-.534-.323l-4.31-9.373a.484.484,0,0,1-.024-.49.542.542,0,0,1,.493-.239h1.315a.543.543,0,0,1,.534.344l2.571,5.914,2.7-5.91c.161-.348.486-.348.773-.348h.97a.544.544,0,0,1,.494.239A.488.488,0,0,1,30.587,5.982Zm4.983-.948A5.081,5.081,0,0,0,30.5,10.343a5.045,5.045,0,0,0,5.094,5.331,5.706,5.706,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.582-.906a.467.467,0,0,0-.3-.22.616.616,0,0,0-.45.147,3.738,3.738,0,0,1-2.369.818,2.819,2.819,0,0,1-2.854-2.484h6.755a.58.58,0,0,0,.567-.532c.023-.175.044-.524.044-.7A4.57,4.57,0,0,0,35.57,5.034ZM35.527,7.1a2.23,2.23,0,0,1,2.334,2.032H32.988A2.413,2.413,0,0,1,35.527,7.1Zm8.426-5.833V14.847a.606.606,0,0,1-.59.59H42.156a.6.6,0,0,1-.59-.59V1.264a.606.606,0,0,1,.59-.589h1.207A.621.621,0,0,1,43.953,1.264Zm6.576,3.77a5.322,5.322,0,1,0,5.18,5.287A5.315,5.315,0,0,0,50.529,5.034Zm2.836,5.287a2.856,2.856,0,1,1-5.695,0,2.852,2.852,0,1,1,5.7,0Zm8.65-5.287a4.76,4.76,0,0,0-3.08,1.1l-.2-.487a.523.523,0,0,0-.539-.4h-.539a.606.606,0,0,0-.59.59V19.422a.6.6,0,0,0,.59.59h1.207a.58.58,0,0,0,.633-.59V15.066a5.6,5.6,0,0,0,2.427.608,5.075,5.075,0,0,0,4.9-5.331A5.026,5.026,0,0,0,62.015,5.034Zm2.427,5.309A2.9,2.9,0,0,1,61.648,13.4a4.112,4.112,0,0,1-2.19-.678v-4.1a2.628,2.628,0,0,1,2.277-1.3A2.787,2.787,0,0,1,64.442,10.343ZM72.73,5.034a5.081,5.081,0,0,0-5.073,5.309,5.046,5.046,0,0,0,5.095,5.331,5.711,5.711,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.583-.906a.463.463,0,0,0-.3-.22.61.61,0,0,0-.45.147,3.735,3.735,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.754a.577.577,0,0,0,.567-.532c.023-.178.045-.527.045-.7A4.57,4.57,0,0,0,72.73,5.034ZM72.687,7.1a2.23,2.23,0,0,1,2.334,2.032H70.147A2.413,2.413,0,0,1,72.687,7.1ZM85.434,5.6a.518.518,0,0,1,.009.524L84.926,7.2a.584.584,0,0,1-.334.323.543.543,0,0,1-.424-.032,2.366,2.366,0,0,0-.854-.181A2.734,2.734,0,0,0,81.08,8.561v6.286c0,.59-.485.59-.8.59h-.991a.6.6,0,0,1-.59-.59V5.839a.605.605,0,0,1,.59-.59H79.8a.576.576,0,0,1,.544.435l.213.688a3.921,3.921,0,0,1,2.971-1.338C84.277,5.034,85.17,5.183,85.434,5.6Zm11.8-5.4a.621.621,0,0,0-.469-.3h-.216a.62.62,0,0,0-.472.305l-6.615,14.5a.508.508,0,0,0,.02.5.517.517,0,0,0,.451.229h1.357a.652.652,0,0,0,.6-.392l1.284-2.884h6.9l1.306,2.884a.618.618,0,0,0,.6.392h1.358a.517.517,0,0,0,.451-.229.508.508,0,0,0,.021-.494Zm1.916,9.871H94.116l2.5-5.627ZM110.327.12h-4.913a.526.526,0,0,0-.526.525V14.912a.526.526,0,0,0,.526.525h1.4a.54.54,0,0,0,.525-.525V9.963h3.009A4.922,4.922,0,1,0,110.327.12Zm2.493,4.856a2.563,2.563,0,0,1-2.536,2.643H107.34V2.507h2.944A2.476,2.476,0,0,1,112.82,4.976ZM119.087.645V14.912a.54.54,0,0,1-.526.525h-1.422a.54.54,0,0,1-.525-.525V.645a.539.539,0,0,1,.525-.525h1.422A.539.539,0,0,1,119.087.645Z"}))},Calendar:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"Layer_1",viewBox:"0 0 73.83 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"calendar-text"),t.createElement("path",{fill:n,d:"M9,12.56c.39.36.32.66.19.85a4.65,4.65,0,0,1-4,2.12A5.21,5.21,0,0,1,0,10.21,5.3,5.3,0,0,1,5.23,4.87,4.49,4.49,0,0,1,9,6.64a.6.6,0,0,1-.1.85l-.78.71c-.35.33-.61.07-.78-.11a3,3,0,0,0-2-1,3,3,0,0,0-2.94,3.06,3,3,0,0,0,2.87,3.09,2.63,2.63,0,0,0,2.05-1l.25-.23A.55.55,0,0,1,8.32,12Zm9.25-3.17v5.33a.59.59,0,0,1-.57.57H17c-.27,0-.4-.16-.5-.4l-.19-.54a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,9.91,12.1c0-2,1.61-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.44,1.44,0,0,0,14.43,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,11,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C18,4.87,18.25,6.92,18.25,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,15.91,12.42ZM22,.47H20.79a.6.6,0,0,0-.58.57V14.72a.59.59,0,0,0,.58.57H22a.59.59,0,0,0,.57-.57V1A.61.61,0,0,0,22,.47ZM33.75,9.56c0,.18,0,.53,0,.71a.57.57,0,0,1-.55.52H26.35a2.84,2.84,0,0,0,2.89,2.53,3.84,3.84,0,0,0,2.39-.82.57.57,0,0,1,.43-.15.45.45,0,0,1,.29.21l.58.92a.48.48,0,0,1-.06.79,5.67,5.67,0,0,1-3.76,1.26A5.05,5.05,0,0,1,24,10.19a5.1,5.1,0,0,1,5.08-5.32A4.58,4.58,0,0,1,33.75,9.56ZM26.46,9h4.95A2.27,2.27,0,0,0,29,6.91,2.45,2.45,0,0,0,26.46,9Zm13.8-4.12a4.72,4.72,0,0,0-3.32,1.3l-.24-.7a.48.48,0,0,0-.51-.38h-.52a.59.59,0,0,0-.57.57v9.06a.58.58,0,0,0,.57.57h1.11c.45,0,.68-.19.68-.57V8.5A3,3,0,0,1,40,7.13c1.21,0,1.88.88,1.88,2.48v5.11a.58.58,0,0,0,.57.57h1.21a.6.6,0,0,0,.58-.57v-5C44.24,6.45,42.94,4.87,40.26,4.87ZM55.29,1V14.72a.58.58,0,0,1-.57.57H54.2a.57.57,0,0,1-.55-.5l-.17-.58a4.89,4.89,0,0,1-3.24,1.32c-2.62,0-4.67-2.34-4.67-5.34A5,5,0,0,1,50.5,4.87a6.85,6.85,0,0,1,2.39.48h0V1a.61.61,0,0,1,.58-.57h1.23A.59.59,0,0,1,55.29,1ZM52.93,11.88V7.67a5,5,0,0,0-2.19-.54,2.94,2.94,0,0,0-2.81,3.06,2.85,2.85,0,0,0,2.61,3.09A2.76,2.76,0,0,0,52.93,11.88Zm12-2.49v5.33a.59.59,0,0,1-.57.57h-.72c-.27,0-.39-.16-.5-.4L63,14.35a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,56.6,12.1c0-2,1.62-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.42,1.42,0,0,0,61.12,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,57.67,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C64.67,4.87,64.94,6.92,64.94,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,62.6,12.42Zm11-7c-.26-.42-1.18-.57-1.9-.57a4,4,0,0,0-3,1.37l-.23-.73A.56.56,0,0,0,68,5.09h-.52a.59.59,0,0,0-.58.57v9.06a.58.58,0,0,0,.58.57h1c.32,0,.79,0,.79-.57V8.4A2.77,2.77,0,0,1,71.5,7.13a2.47,2.47,0,0,1,.86.18.5.5,0,0,0,.41,0A.56.56,0,0,0,73.1,7l.52-1.09A.48.48,0,0,0,73.61,5.44Z"}))},CheckIns:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"dc713595-39c2-41c4-b1d9-3ef8c295b738",viewBox:"0 0 79.311 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"check-ins-text"),t.createElement("path",{fill:n,d:"M40.221,13.213c.4.362.326.669.2.866A4.646,4.646,0,0,1,36.44,16.2a5.2,5.2,0,0,1-5.2-5.311,5.286,5.286,0,0,1,5.225-5.331,4.462,4.462,0,0,1,3.711,1.768.605.605,0,0,1-.1.869L39.3,8.9c-.362.333-.64.055-.806-.109a2.9,2.9,0,0,0-1.967-.959,2.937,2.937,0,0,0-2.9,3.031,2.92,2.92,0,0,0,2.837,3.054,2.62,2.62,0,0,0,2.03-.965c.082-.081.162-.16.242-.234a.572.572,0,0,1,.818-.049h0Zm-9.679-2.971c0,.178-.022.526-.044.7a.579.579,0,0,1-.567.531H23.174a2.82,2.82,0,0,0,2.855,2.485,3.736,3.736,0,0,0,2.369-.818.609.609,0,0,1,.45-.147.459.459,0,0,1,.3.219l.583.907a.513.513,0,0,1-.065.819A5.708,5.708,0,0,1,25.9,16.2a5.046,5.046,0,0,1-5.1-5.332,5.081,5.081,0,0,1,5.074-5.31A4.572,4.572,0,0,1,30.542,10.242ZM23.3,9.653h4.874A2.23,2.23,0,0,0,25.835,7.62,2.412,2.412,0,0,0,23.3,9.653Zm-7.751-4.1a4.789,4.789,0,0,0-2.773.924V2.339a.621.621,0,0,0-.59-.588H10.974a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589H12.16a.575.575,0,0,0,.611-.589V9.193a2.871,2.871,0,0,1,2.493-1.357c1.2,0,1.867.884,1.867,2.492v5.045a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C19.518,7.221,18.144,5.557,15.544,5.557ZM8.315,12.674h0a.573.573,0,0,0-.818.049c-.08.074-.16.154-.242.235a2.624,2.624,0,0,1-2.029.964,2.92,2.92,0,0,1-2.838-3.054,2.938,2.938,0,0,1,2.9-3.031A2.906,2.906,0,0,1,7.257,8.8c.166.164.444.442.8.109l.775-.71a.6.6,0,0,0,.1-.869A4.464,4.464,0,0,0,5.225,5.557,5.285,5.285,0,0,0,0,10.888,5.2,5.2,0,0,0,5.2,16.2a4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM55.084,9.566h-4.1a.514.514,0,0,0-.525.525v.926a.51.51,0,0,0,.525.5h4.1a.51.51,0,0,0,.526-.5v-.926A.514.514,0,0,0,55.084,9.566Zm20.945.2C74.97,9.308,74.4,8.955,74.4,8.41c0-.383.357-.769,1.156-.769a5.059,5.059,0,0,1,2.087.486.581.581,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.882,5.705,5.705,0,0,0-2.973-.751c-2.358,0-3.413,1.422-3.413,2.831,0,1.764,1.327,2.606,2.762,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.39-.7l-.031-.018a.629.629,0,0,0-.506-.075.494.494,0,0,0-.3.254l-.452.926a.523.523,0,0,0,.21.664A5.935,5.935,0,0,0,75.639,16.2c2.41,0,3.672-1.522,3.672-3.025C79.311,11.3,78.011,10.609,76.029,9.769Zm-9.2-4.212a4.687,4.687,0,0,0-3.3,1.277l-.235-.67a.5.5,0,0,0-.522-.392h-.517a.605.605,0,0,0-.591.59v9.011a.591.591,0,0,0,.591.589h1.1c.469,0,.7-.193.7-.589V9.19A2.934,2.934,0,0,1,66.57,7.836c1.191,0,1.846.87,1.846,2.45v5.087a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C70.8,7.131,69.5,5.557,66.829,5.557Zm-8.3-4.275a1.543,1.543,0,0,0-1.538,1.581,1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm-12.215,9.1,3.949-3.716a.548.548,0,0,0,.14-.588.484.484,0,0,0-.476-.3H48.355a1.063,1.063,0,0,0-.7.331L44.008,9.4V2.339a.62.62,0,0,0-.59-.588H42.211a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V11.329l3.783,4.4a.711.711,0,0,0,.542.237H50.1a.468.468,0,0,0,.461-.256.561.561,0,0,0-.094-.582ZM59.135,5.772H57.928a.605.605,0,0,0-.59.59v9.011a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V6.362A.621.621,0,0,0,59.135,5.772Z"}))},ChurchCenter:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"e2e8a225-c349-4aea-935c-64b6ad436be8",viewBox:"0 0 118.083 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"church-center-text"),t.createElement("path",{fill:n,d:"M5.188,16.2A5.187,5.187,0,0,1,0,10.908,5.27,5.27,0,0,1,5.209,5.591a4.453,4.453,0,0,1,3.7,1.762.588.588,0,0,1-.1.844l-.776.712c-.346.319-.607.062-.779-.109a2.93,2.93,0,0,0-1.983-.966A2.959,2.959,0,0,0,2.35,10.887a2.942,2.942,0,0,0,2.859,3.076,2.642,2.642,0,0,0,2.045-.971c.082-.081.162-.16.242-.234a.552.552,0,0,1,.794-.047l.669.539c.388.352.318.651.193.841A4.629,4.629,0,0,1,5.188,16.2ZM19.5,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.788,4.788,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H10.964a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572H12.15a.558.558,0,0,0,.593-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,19.5,15.4Zm8.7-.468.2.566c.09.246.218.474.544.474h.518a.6.6,0,0,0,.592-.572V6.378a.612.612,0,0,0-.592-.57h-1.1c-.332,0-.657.044-.657.57l0,6.023a2.38,2.38,0,0,1-2.236,1.562c-1.259,0-1.845-.723-1.845-2.277V6.378a.585.585,0,0,0-.571-.57H21.843a.6.6,0,0,0-.57.57v5.156c0,2.175.433,4.67,3.807,4.67A4.06,4.06,0,0,0,28.193,14.928Zm6.2.468V9.1A2.755,2.755,0,0,1,36.65,7.834a2.382,2.382,0,0,1,.863.184.53.53,0,0,0,.41.032.571.571,0,0,0,.324-.315l.518-1.077a.5.5,0,0,0-.009-.507c-.259-.413-1.18-.56-1.89-.56a3.975,3.975,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C33.922,15.968,34.4,15.968,34.4,15.4Zm13.35-1.305c.125-.19.2-.489-.193-.841l-.669-.539a.552.552,0,0,0-.794.047c-.08.074-.16.153-.242.234a2.642,2.642,0,0,1-2.044.971,2.942,2.942,0,0,1-2.86-3.076,2.959,2.959,0,0,1,2.924-3.053A2.93,2.93,0,0,1,45.85,8.8c.172.171.433.428.779.109l.776-.712a.588.588,0,0,0,.1-.844,4.452,4.452,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,47.745,14.091ZM58.089,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.79,4.79,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H49.557a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.187a.557.557,0,0,0,.592-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,58.089,15.4Zm12.926-1.305c.126-.19.2-.489-.192-.841l-.669-.539a.553.553,0,0,0-.8.047c-.08.074-.159.153-.242.234a2.64,2.64,0,0,1-2.044.971,2.941,2.941,0,0,1-2.859-3.076A2.8,2.8,0,0,1,69.121,8.8c.171.171.433.428.778.109l.777-.712a.587.587,0,0,0,.1-.844,4.449,4.449,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,71.015,14.091Zm10.247-3.83c0,.177-.022.525-.044.7a.562.562,0,0,1-.549.516H73.887a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.436-.143.447.447,0,0,1,.283.212l.584.907a.492.492,0,0,1-.063.794A5.7,5.7,0,0,1,76.634,16.2a5.031,5.031,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.558,4.558,0,0,1,81.262,10.261Zm-2.335-.57a2.251,2.251,0,0,0-2.358-2.073,2.433,2.433,0,0,0-2.564,2.073ZM91.707,15.4V10.391c0-3.23-1.3-4.8-3.959-4.8a4.657,4.657,0,0,0-3.306,1.3l-.246-.7a.479.479,0,0,0-.5-.376h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.1c.457,0,.679-.187.679-.572V9.2a2.96,2.96,0,0,1,2.536-1.37c1.2,0,1.867.877,1.867,2.471V15.4a.58.58,0,0,0,.571.572h1.208A.594.594,0,0,0,91.707,15.4Zm7.779.081a.538.538,0,0,0,.277-.7l-.389-1.014a.537.537,0,0,0-.306-.325.493.493,0,0,0-.415.061,3.249,3.249,0,0,1-1.548.462c-.445,0-.7-.15-.7-.918V7.834h2.536a.594.594,0,0,0,.571-.571V6.378a.564.564,0,0,0-.571-.57H96.4V3.12a.555.555,0,0,0-.549-.571h-1.23a.579.579,0,0,0-.571.571V5.808H93.005a.552.552,0,0,0-.571.57v.885a.579.579,0,0,0,.571.571h1.048v5.3c0,1.431.3,3.073,2.62,3.073A6.067,6.067,0,0,0,99.486,15.477Zm10.11-5.216c0,.177-.022.525-.044.7a.561.561,0,0,1-.549.516h-6.782a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.437-.143.446.446,0,0,1,.282.212l.584.907a.491.491,0,0,1-.063.794,5.7,5.7,0,0,1-3.752,1.252,5.032,5.032,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.557,4.557,0,0,1,109.6,10.261Zm-2.335-.57A2.25,2.25,0,0,0,104.9,7.618a2.434,2.434,0,0,0-2.565,2.073Zm6.026,5.705V9.1a2.755,2.755,0,0,1,2.255-1.265,2.388,2.388,0,0,1,.864.184.528.528,0,0,0,.409.032.568.568,0,0,0,.324-.315l.519-1.077a.5.5,0,0,0-.009-.507c-.26-.413-1.181-.56-1.891-.56a3.977,3.977,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C112.814,15.968,113.287,15.968,113.287,15.4Z"}))},Giving:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"a221b42b-722d-4eb3-b043-fff7f3c6686f",viewBox:"0 0 50.486 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"giving-text"),t.createElement("path",{fill:n,d:"M9.17,5.089H8.588c-.335,0-.42.255-.474.416l-.2.473a4.791,4.791,0,0,0-3.1-1.1A5.026,5.026,0,0,0,0,10.184a5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.089Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.973,2.973,0,0,1-2.8-3.054A2.82,2.82,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.467Zm6.745-2.788v9.01a.6.6,0,0,1-.59.589H12.321a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,14.118,5.679Zm.388-3.508A1.572,1.572,0,0,1,12.924,3.73a1.532,1.532,0,0,1-1.538-1.559A1.543,1.543,0,0,1,12.924.59,1.564,1.564,0,0,1,14.506,2.171Zm10.3,3.156a.49.49,0,0,1-.027.5l-4.307,9.367a.558.558,0,0,1-.514.327h-.13a.6.6,0,0,1-.534-.323L14.984,5.817a.487.487,0,0,1-.025-.49.545.545,0,0,1,.494-.238h1.315a.547.547,0,0,1,.535.344l2.572,5.917,2.7-5.913c.16-.348.486-.348.773-.348h.97A.545.545,0,0,1,24.807,5.327Zm3.249.352v9.01a.6.6,0,0,1-.59.589H26.259a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,28.056,5.679Zm.388-3.508A1.572,1.572,0,0,1,26.863,3.73a1.532,1.532,0,0,1-1.539-1.559A1.544,1.544,0,0,1,26.863.59,1.564,1.564,0,0,1,28.444,2.171Zm10.69,7.517v5a.6.6,0,0,1-.59.589H37.337a.59.59,0,0,1-.59-.589V9.6c0-1.581-.655-2.451-1.846-2.451a2.938,2.938,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h.517a.5.5,0,0,1,.522.391l.235.67a4.692,4.692,0,0,1,3.3-1.276C37.834,4.874,39.134,6.448,39.134,9.688Zm10.456-4.6h-.582c-.336,0-.42.255-.473.416l-.2.473a4.777,4.777,0,0,0-3.1-1.1,5.026,5.026,0,0,0-4.815,5.31,5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,45.451,20a4.407,4.407,0,0,0,4.729-4.771V5.679A.605.605,0,0,0,49.59,5.089Zm-1.8,7.409a3.944,3.944,0,0,1-2.19.74,2.973,2.973,0,0,1-2.795-3.054,2.693,2.693,0,0,1,4.985-1.717Z"}))},Home:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"a221b42b-722d-4eb3-b043-fff7f3c6686f","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 47.624 20"},t.createElement("title",null,"home-text"),t.createElement("path",{fill:n,d:"M8.952,9.7V14.69a.584.584,0,0,1-.553.57H7.229a.57.57,0,0,1-.553-.57V9.658c0-1.616-.649-2.506-1.827-2.506A2.791,2.791,0,0,0,2.414,8.52v6.17a.547.547,0,0,1-.573.57H.692a.569.569,0,0,1-.553-.57v-13a.583.583,0,0,1,.553-.569H1.861a.6.6,0,0,1,.553.569V5.857a4.544,4.544,0,0,1,2.706-.94C7.627,4.917,8.952,6.571,8.952,9.7Zm11.261.473a5.239,5.239,0,0,1-5,5.322,5.185,5.185,0,0,1-5.022-5.322A5.213,5.213,0,0,1,15.21,4.917,5.2,5.2,0,0,1,20.213,10.174Zm-2.234,0a2.789,2.789,0,1,0-5.558,0,2.884,2.884,0,0,0,2.789,3.087A2.876,2.876,0,0,0,17.979,10.174Zm14.59-5.257a4.475,4.475,0,0,0-3.248,1.519,3.34,3.34,0,0,0-2.956-1.519,4.128,4.128,0,0,0-3.031,1.289L23.111,5.5a.487.487,0,0,0-.506-.367h-.48a.584.584,0,0,0-.553.569V14.69a.57.57,0,0,0,.553.57h1.169a.577.577,0,0,0,.553-.57V8.512a2.367,2.367,0,0,1,2.184-1.36c1.216,0,1.808.806,1.808,2.463V14.69a.555.555,0,0,0,.552.57h1.191a.559.559,0,0,0,.532-.57V9.551a10.249,10.249,0,0,0-.077-1.3l.06-.064a2.793,2.793,0,0,1,2.159-1.034c1.2,0,1.807.829,1.807,2.463V14.69a.538.538,0,0,0,.553.57h1.17a.549.549,0,0,0,.553-.57V9.7C36.339,7.647,35.948,4.917,32.569,4.917ZM47.042,9.572c0,.176-.021.523-.043.7a.549.549,0,0,1-.531.514H39.9A2.778,2.778,0,0,0,42.687,13.3a3.573,3.573,0,0,0,2.306-.82.6.6,0,0,1,.422-.144.431.431,0,0,1,.274.211l.566.9a.5.5,0,0,1-.061.791A5.416,5.416,0,0,1,42.562,15.5c-2.85,0-4.919-2.229-4.919-5.3a4.988,4.988,0,0,1,4.9-5.279A4.479,4.479,0,0,1,47.042,9.572ZM40.016,9h4.765A2.2,2.2,0,0,0,42.5,6.937,2.375,2.375,0,0,0,40.016,9Z"}))},Groups:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"08e4075e-8ca4-4400-a3ae-98f53270d1d0",viewBox:"0 0 58.688 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"groups-text"),t.createElement("path",{fill:n,d:"M9.17,5.09H8.588c-.335,0-.42.255-.474.416l-.2.472a4.791,4.791,0,0,0-3.1-1.1A5.027,5.027,0,0,0,0,10.185a5.085,5.085,0,0,0,4.923,5.332,5.465,5.465,0,0,0,2.428-.63v.342c0,2.113-1.285,2.557-2.363,2.557a3.631,3.631,0,0,1-2.259-.9.568.568,0,0,0-.473-.115.556.556,0,0,0-.366.3l-.516.947a.574.574,0,0,0,.126.7A5.487,5.487,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.09Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.972,2.972,0,0,1-2.8-3.053A2.821,2.821,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.468Zm11.092-2.5-.517,1.077a.588.588,0,0,1-.335.323.535.535,0,0,1-.424-.032,2.351,2.351,0,0,0-.854-.183A2.738,2.738,0,0,0,14.1,8.4v6.288c0,.59-.485.59-.806.59H12.3a.6.6,0,0,1-.59-.59V5.679a.6.6,0,0,1,.59-.589h.517a.574.574,0,0,1,.544.434l.213.688A3.931,3.931,0,0,1,16.55,4.874c.749,0,1.642.149,1.9.568A.517.517,0,0,1,18.465,5.967Zm4.994-1.093a5.323,5.323,0,0,0,0,10.643,5.323,5.323,0,0,0,0-10.643Zm0,8.364A2.907,2.907,0,0,1,20.6,10.163a2.852,2.852,0,1,1,5.7,0A2.9,2.9,0,0,1,23.459,13.238ZM38.688,5.679v9.01a.616.616,0,0,1-.611.59H37.56c-.34,0-.475-.246-.561-.486l-.2-.535a4.082,4.082,0,0,1-3.1,1.259c-3.389,0-3.824-2.5-3.824-4.686V5.679a.621.621,0,0,1,.59-.589h1.207a.605.605,0,0,1,.591.589v5.3c0,1.539.579,2.256,1.824,2.256A2.356,2.356,0,0,0,36.3,11.694l0-6.015c0-.544.334-.589.677-.589h1.1A.632.632,0,0,1,38.688,5.679Zm6.9-.805a4.752,4.752,0,0,0-3.081,1.1l-.2-.488a.523.523,0,0,0-.54-.4h-.538a.6.6,0,0,0-.59.589V19.266a.6.6,0,0,0,.59.589H42.44a.58.58,0,0,0,.633-.589V14.909a5.612,5.612,0,0,0,2.428.608,5.075,5.075,0,0,0,4.9-5.332A5.027,5.027,0,0,0,45.587,4.874ZM43.029,8.457a2.633,2.633,0,0,1,2.278-1.305,2.789,2.789,0,0,1,2.708,3.033,2.9,2.9,0,0,1-2.794,3.053,4.131,4.131,0,0,1-2.192-.676Zm15.349,4.034c0,1.5-1.262,3.026-3.672,3.026a5.921,5.921,0,0,1-3.343-1.034h0a.522.522,0,0,1-.208-.663l.452-.925a.493.493,0,0,1,.3-.254.633.633,0,0,1,.5.075l.037.02a4.488,4.488,0,0,0,2.384.7c.74,0,1.2-.329,1.2-.856,0-.581-.666-.985-2.066-1.619-1.435-.646-2.763-1.487-2.763-3.252,0-1.41,1.056-2.832,3.414-2.832a5.71,5.71,0,0,1,2.973.752.705.705,0,0,1,.256.881L57.5,7.2a.58.58,0,0,1-.8.248,5.043,5.043,0,0,0-2.087-.485c-.8,0-1.156.386-1.156.768,0,.545.574.9,1.633,1.361C57.078,9.926,58.378,10.616,58.378,12.491Z"}))},People:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"c461f8d4-1c6e-406e-af2d-8d7721d891d5",viewBox:"0 0 57.729 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"people-text"),t.createElement("path",{fill:n,d:"M4.944,5.019a4.754,4.754,0,0,0-3.08,1.1l-.2-.487a.521.521,0,0,0-.539-.4H.59A.606.606,0,0,0,0,5.823V19.41A.6.6,0,0,0,.59,20H1.8a.58.58,0,0,0,.633-.59V15.053a5.593,5.593,0,0,0,2.428.607,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,4.944,5.019ZM2.387,8.6A2.63,2.63,0,0,1,4.665,7.3a2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.795,3.054,4.109,4.109,0,0,1-2.191-.678ZM15.663,5.019a5.083,5.083,0,0,0-5.075,5.31,5.046,5.046,0,0,0,5.1,5.331A5.707,5.707,0,0,0,19.445,14.4a.511.511,0,0,0,.065-.818l-.583-.907a.459.459,0,0,0-.295-.22.609.609,0,0,0-.45.147,3.735,3.735,0,0,1-2.369.82,2.819,2.819,0,0,1-2.854-2.487h6.756a.578.578,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,15.663,5.019Zm-2.583,4.1a2.411,2.411,0,0,1,2.539-2.033,2.231,2.231,0,0,1,2.335,2.033Zm13.145-4.1a5.322,5.322,0,0,0,0,10.641,5.322,5.322,0,0,0,0-10.641Zm2.837,5.289a2.856,2.856,0,1,1-5.7,0,2.852,2.852,0,1,1,5.7,0Zm8.653-5.289a4.758,4.758,0,0,0-3.081,1.1l-.2-.487a.522.522,0,0,0-.54-.4h-.538a.606.606,0,0,0-.591.589V19.41a.592.592,0,0,0,.591.59h1.207a.58.58,0,0,0,.633-.59V15.05a5.541,5.541,0,0,0,2.428.61,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,37.715,5.019ZM35.158,8.6a2.629,2.629,0,0,1,2.277-1.3,2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.794,3.054,4.109,4.109,0,0,1-2.191-.678ZM46.324,1.247V14.834a.606.606,0,0,1-.59.59H44.527a.6.6,0,0,1-.59-.59V1.247a.6.6,0,0,1,.59-.589h1.207A.621.621,0,0,1,46.324,1.247Zm6.459,3.772a5.083,5.083,0,0,0-5.075,5.31,5.047,5.047,0,0,0,5.1,5.331A5.713,5.713,0,0,0,56.566,14.4a.511.511,0,0,0,.064-.818l-.583-.907a.459.459,0,0,0-.295-.22.6.6,0,0,0-.449.147,3.739,3.739,0,0,1-2.369.82,2.821,2.821,0,0,1-2.855-2.487h6.756a.577.577,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,52.783,5.019ZM52.74,7.081a2.231,2.231,0,0,1,2.334,2.033H50.2A2.412,2.412,0,0,1,52.74,7.081Z"}))},Publishing:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 84.973 20"},t.createElement("title",null,"publishing-text"),t.createElement("path",{d:"M4.905,5.03A4.709,4.709,0,0,0,1.829,6.141l-.2-.511a.5.5,0,0,0-.52-.385H.568A.59.59,0,0,0,0,5.812V19.374a.575.575,0,0,0,.568.568h1.2a.559.559,0,0,0,.611-.568v-4.4a5.573,5.573,0,0,0,2.437.618A5.036,5.036,0,0,0,9.681,10.3,4.988,4.988,0,0,0,4.905,5.03ZM2.338,8.575A2.642,2.642,0,0,1,4.626,7.261,2.8,2.8,0,0,1,7.343,10.3a2.908,2.908,0,0,1-2.8,3.06,4.117,4.117,0,0,1-2.2-.684Zm17.4-2.763v8.974a.6.6,0,0,1-.59.569h-.515c-.326,0-.456-.238-.541-.472l-.2-.562a4.046,4.046,0,0,1-3.1,1.27c-3.358,0-3.788-2.484-3.788-4.647V5.812a.606.606,0,0,1,.568-.567h1.2a.59.59,0,0,1,.568.567v5.282c0,1.546.584,2.266,1.837,2.266A2.368,2.368,0,0,0,17.4,11.806V5.812c0-.524.323-.567.654-.567h1.094A.609.609,0,0,1,19.737,5.812Zm6.74-.782A6.836,6.836,0,0,0,24.1,5.5l-.018.006V1.246a.606.606,0,0,0-.568-.567H22.29a.583.583,0,0,0-.568.567v13.54a.576.576,0,0,0,.568.569h.516a.569.569,0,0,0,.542-.5l.17-.576a4.845,4.845,0,0,0,3.217,1.31c2.6,0,4.711-2.374,4.711-5.291A5.071,5.071,0,0,0,26.477,5.03ZM24.061,7.76a5.243,5.243,0,0,1,2.18-.5A3,3,0,0,1,29.107,10.3a2.9,2.9,0,0,1-2.694,3.06A2.761,2.761,0,0,1,24.061,12ZM35.225,1.246v13.54a.591.591,0,0,1-.568.569h-1.2a.576.576,0,0,1-.569-.569V1.246a.59.59,0,0,1,.569-.567h1.2A.606.606,0,0,1,35.225,1.246Zm4.349,4.566v8.974a.591.591,0,0,1-.568.569H37.8a.576.576,0,0,1-.568-.569V5.812a.582.582,0,0,1,.568-.567h1.2A.606.606,0,0,1,39.574,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.508,1.508,0,0,1-1.513-1.534A1.519,1.519,0,0,1,38.405.679,1.539,1.539,0,0,1,39.961,2.235ZM48.143,12.6c0,1.488-1.25,2.994-3.638,2.994a5.875,5.875,0,0,1-3.318-1.026h0a.5.5,0,0,1-.2-.636l.45-.922a.47.47,0,0,1,.291-.243.613.613,0,0,1,.487.073l.036.02a4.489,4.489,0,0,0,2.385.7c.737,0,1.214-.342,1.214-.871,0-.589-.667-.994-2.069-1.629-1.423-.642-2.74-1.476-2.74-3.222,0-1.394,1.045-2.8,3.38-2.8a5.67,5.67,0,0,1,2.951.745.684.684,0,0,1,.248.853l-.343.687a.56.56,0,0,1-.769.238,5.05,5.05,0,0,0-2.087-.485c-.808,0-1.17.394-1.17.784,0,.554.575.91,1.638,1.372C46.853,10.057,48.143,10.742,48.143,12.6ZM58.461,9.805v4.981a.592.592,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.763c0-1.614-.668-2.5-1.879-2.5a2.881,2.881,0,0,0-2.5,1.366v6.159a.554.554,0,0,1-.589.569H49.97a.576.576,0,0,1-.568-.569V1.246A.582.582,0,0,1,49.97.679h1.2a.606.606,0,0,1,.567.567V5.967a4.766,4.766,0,0,1,2.782-.937C57.1,5.03,58.461,6.681,58.461,9.805Zm4.2-3.993v8.974a.59.59,0,0,1-.567.569h-1.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h1.2A.606.606,0,0,1,62.657,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.507,1.507,0,0,1-1.512-1.534A1.518,1.518,0,0,1,61.488.679,1.539,1.539,0,0,1,63.044,2.235Zm10.647,7.57v4.981a.591.591,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.72c0-1.586-.66-2.459-1.858-2.459a2.944,2.944,0,0,0-2.523,1.364v6.161c0,.383-.221.569-.676.569H65.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h.516a.474.474,0,0,1,.5.375l.245.7a4.64,4.64,0,0,1,3.29-1.288C72.4,5.03,73.691,6.592,73.691,9.805Zm10.432-4.56h-.579c-.32,0-.4.236-.454.4l-.2.5a4.737,4.737,0,0,0-3.1-1.112A4.988,4.988,0,0,0,75.01,10.3a5.046,5.046,0,0,0,4.884,5.291,5.429,5.429,0,0,0,2.437-.64v.372c0,2.121-1.29,2.566-2.373,2.566a3.629,3.629,0,0,1-2.261-.9.547.547,0,0,0-.456-.111.535.535,0,0,0-.352.292l-.514.944a.551.551,0,0,0,.123.673A5.444,5.444,0,0,0,80,20.056a4.371,4.371,0,0,0,4.69-4.733V5.812A.582.582,0,0,0,84.123,5.245ZM80.151,13.36a2.979,2.979,0,0,1-2.8-3.06,2.7,2.7,0,0,1,5-1.715v4.029A3.973,3.973,0,0,1,80.151,13.36Z",fill:n}))},Registrations:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"2da9f999-408b-4466-9b5d-b1268727ac81","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 105.758 20"},t.createElement("title",null,"registrations-text"),t.createElement("path",{fill:n,d:"M6.751,5.966,6.234,7.043a.589.589,0,0,1-.336.324.545.545,0,0,1-.423-.033,2.375,2.375,0,0,0-.854-.182A2.74,2.74,0,0,0,2.387,8.4v6.288c0,.59-.485.59-.8.59H.59a.6.6,0,0,1-.59-.59V5.679A.6.6,0,0,1,.59,5.09h.517a.574.574,0,0,1,.544.433l.212.685A4,4,0,0,1,4.836,4.874c.749,0,1.643.148,1.9.567A.517.517,0,0,1,6.751,5.966Zm9.583,3.593c0,.181-.022.53-.044.705a.578.578,0,0,1-.567.531H8.966a2.82,2.82,0,0,0,2.855,2.486,3.74,3.74,0,0,0,2.369-.819.608.608,0,0,1,.45-.148.465.465,0,0,1,.295.22l.583.907a.513.513,0,0,1-.065.819,5.708,5.708,0,0,1-3.762,1.256,5.046,5.046,0,0,1-5.1-5.331A5.083,5.083,0,0,1,11.67,4.874,4.572,4.572,0,0,1,16.334,9.559ZM11.627,6.937A2.411,2.411,0,0,0,9.087,8.97h4.874A2.23,2.23,0,0,0,11.627,6.937ZM26.8,5.679v9.55A4.407,4.407,0,0,1,22.071,20a5.486,5.486,0,0,1-3.53-1.284.564.564,0,0,1-.127-.7l.516-.948a.555.555,0,0,1,.365-.3.561.561,0,0,1,.474.114,3.622,3.622,0,0,0,2.259.905c1.078,0,2.364-.444,2.364-2.557v-.342a5.472,5.472,0,0,1-2.429.629,5.084,5.084,0,0,1-4.922-5.331,5.027,5.027,0,0,1,4.814-5.311,4.777,4.777,0,0,1,3.1,1.1l.2-.473c.053-.161.138-.415.473-.415h.582A.6.6,0,0,1,26.8,5.679ZM22.136,7.152a2.821,2.821,0,0,0-2.708,3.033,2.972,2.972,0,0,0,2.794,3.053,3.948,3.948,0,0,0,2.191-.74V8.468A2.834,2.834,0,0,0,22.136,7.152ZM29.965.6a1.544,1.544,0,0,0-1.538,1.582A1.55,1.55,0,0,0,29.965,3.74a1.571,1.571,0,1,0,0-3.141Zm.6,4.491H29.361a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59h1.208a.6.6,0,0,0,.589-.59V5.679A.62.62,0,0,0,30.569,5.09Zm5.91,4c-1.059-.462-1.632-.815-1.632-1.36,0-.383.357-.769,1.155-.769a5.048,5.048,0,0,1,2.088.486.582.582,0,0,0,.8-.248l.345-.689a.709.709,0,0,0-.256-.882A5.713,5.713,0,0,0,36,4.874c-2.357,0-3.413,1.422-3.413,2.831,0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.065,1.038,2.065,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.387-.7l-.034-.018a.644.644,0,0,0-.5-.076.494.494,0,0,0-.3.254l-.452.925a.517.517,0,0,0,.208.663h0a5.917,5.917,0,0,0,3.342,1.034c2.411,0,3.672-1.522,3.672-3.025C39.761,10.617,38.461,9.926,36.479,9.087Zm10.558,3.964a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H44.071V2.424a.574.574,0,0,0-.569-.59H42.273a.59.59,0,0,0-.589.59V5.09H40.657a.57.57,0,0,0-.59.589v.883a.59.59,0,0,0,.59.59h1.027v5.274c0,1.438.3,3.09,2.637,3.09a6.116,6.116,0,0,0,2.822-.729.556.556,0,0,0,.283-.721Zm8.023-7.61c-.263-.419-1.156-.567-1.905-.567a4,4,0,0,0-2.973,1.335l-.212-.686a.574.574,0,0,0-.544-.433h-.517a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59H49.9c.321,0,.806,0,.806-.59V8.4A2.738,2.738,0,0,1,52.94,7.152a2.369,2.369,0,0,1,.853.182.548.548,0,0,0,.424.033.6.6,0,0,0,.336-.324l.517-1.077A.517.517,0,0,0,55.06,5.441Zm8.351,3.946v5.3a.605.605,0,0,1-.59.59H62.11c-.284,0-.412-.166-.516-.416l-.181-.509A4.386,4.386,0,0,1,58.4,15.516a3.2,3.2,0,0,1-3.328-3.435c0-2.021,1.611-3.327,4.1-3.327a7.7,7.7,0,0,1,1.892.265,2.3,2.3,0,0,0-.417-1.668A1.414,1.414,0,0,0,59.588,7a10.1,10.1,0,0,0-2.749.47.577.577,0,0,1-.7-.494l-.194-.82a.566.566,0,0,1,.4-.717A10.865,10.865,0,0,1,59.8,4.874C63.14,4.874,63.411,6.918,63.411,9.387Zm-4.06,1.149c-1.174,0-1.933.6-1.933,1.524a1.343,1.343,0,0,0,1.436,1.458,2.987,2.987,0,0,0,2.191-1.125V10.835A4.853,4.853,0,0,0,59.351,10.536Zm11.773,2.515a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H68.158V2.424a.574.574,0,0,0-.569-.59H66.36a.591.591,0,0,0-.59.59V5.09H64.744a.57.57,0,0,0-.59.589v.883a.591.591,0,0,0,.59.59H65.77v5.274c0,1.438.3,3.09,2.638,3.09a6.107,6.107,0,0,0,2.821-.729.556.556,0,0,0,.284-.721ZM74.2,5.09H72.994a.605.605,0,0,0-.591.589v9.01a.591.591,0,0,0,.591.59H74.2a.605.605,0,0,0,.59-.59V5.679A.621.621,0,0,0,74.2,5.09ZM73.6.6a1.543,1.543,0,0,0-1.538,1.582A1.55,1.55,0,0,0,73.6,3.74,1.571,1.571,0,1,0,73.6.6Zm12.869,9.563a5.341,5.341,0,0,1-5.182,5.354,5.323,5.323,0,1,1,5.182-5.354Zm-2.344,0a2.853,2.853,0,1,0-5.7,0,2.857,2.857,0,1,0,5.7,0Zm8.867-5.288a4.7,4.7,0,0,0-3.3,1.277l-.235-.671a.5.5,0,0,0-.522-.39h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h1.1c.469,0,.7-.192.7-.59V8.507A2.939,2.939,0,0,1,92.73,7.152c1.191,0,1.847.87,1.847,2.451v5.086a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59v-5C96.964,6.448,95.664,4.874,92.989,4.874Zm9.2,4.213c-1.059-.462-1.633-.815-1.633-1.36,0-.383.358-.769,1.156-.769a5.04,5.04,0,0,1,2.087.486.585.585,0,0,0,.8-.248l.344-.689a.709.709,0,0,0-.255-.882,5.718,5.718,0,0,0-2.974-.751C99.355,4.874,98.3,6.3,98.3,7.705c0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.46.856-1.2.856a4.49,4.49,0,0,1-2.387-.7l-.034-.018A.633.633,0,0,0,99,12.64a.49.49,0,0,0-.3.253l-.452.925a.516.516,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.411,0,3.673-1.522,3.673-3.025C105.472,10.617,104.172,9.926,102.19,9.087Z"}))},Services:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"bd77a8f3-6992-4241-927e-9fdc3bf67b80","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 67.995 20"},t.createElement("title",null,"services-text"),t.createElement("path",{fill:n,d:"M7.277,12.49c0,1.5-1.262,3.026-3.672,3.026A5.924,5.924,0,0,1,.262,14.482h0a.521.521,0,0,1-.209-.663L.5,12.893a.5.5,0,0,1,.305-.254.62.62,0,0,1,.5.075l.036.019a4.479,4.479,0,0,0,2.385.7c.74,0,1.2-.328,1.2-.856,0-.582-.666-.985-2.066-1.618C1.432,10.311.105,9.469.105,7.705c0-1.41,1.055-2.832,3.413-2.832a5.717,5.717,0,0,1,2.974.752.7.7,0,0,1,.255.881L6.4,7.2a.58.58,0,0,1-.8.248,5.04,5.04,0,0,0-2.087-.485c-.8,0-1.155.386-1.155.768,0,.546.573.9,1.632,1.361C5.977,9.925,7.277,10.615,7.277,12.49ZM17.622,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.568.532H10.255a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.64.64,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.715,5.715,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332,5.083,5.083,0,0,1,5.074-5.311A4.573,4.573,0,0,1,17.622,9.559ZM15.249,8.97a2.229,2.229,0,0,0-2.334-2.034,2.412,2.412,0,0,0-2.54,2.034Zm8.511-4.1a3.929,3.929,0,0,0-2.972,1.338l-.213-.688a.575.575,0,0,0-.544-.434h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h.992c.32,0,.8,0,.8-.59V8.4a2.74,2.74,0,0,1,2.235-1.249,2.351,2.351,0,0,1,.854.183.534.534,0,0,0,.424.032.584.584,0,0,0,.334-.323l.518-1.077a.517.517,0,0,0-.01-.525C25.4,5.022,24.509,4.873,23.76,4.873Zm11.569.216H34.36c-.288,0-.613,0-.774.348l-2.695,5.912L28.319,5.433a.545.545,0,0,0-.535-.344H26.469a.544.544,0,0,0-.493.238.489.489,0,0,0,.024.49l4.311,9.376a.6.6,0,0,0,.534.323h.13a.56.56,0,0,0,.514-.327L35.8,5.822a.49.49,0,0,0,.027-.5A.545.545,0,0,0,35.329,5.089Zm3.154,0H37.276a.6.6,0,0,0-.59.589v9.01a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59V5.678A.621.621,0,0,0,38.483,5.089ZM37.879.6A1.543,1.543,0,0,0,36.341,2.18a1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm10.8,11.392a.567.567,0,0,0-.818.047c-.08.073-.16.152-.241.233a2.623,2.623,0,0,1-2.031.966,2.92,2.92,0,0,1-2.838-3.053,2.778,2.778,0,0,1,4.87-2.073c.165.164.444.443.806.11l.774-.71a.606.606,0,0,0,.1-.87,4.465,4.465,0,0,0-3.711-1.768,5.285,5.285,0,0,0-5.225,5.332,5.2,5.2,0,0,0,5.2,5.311,4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM59.784,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.567.532H52.417a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.641.641,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.712,5.712,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332A5.083,5.083,0,0,1,55.12,4.873,4.573,4.573,0,0,1,59.784,9.559ZM52.537,8.97h4.874a2.229,2.229,0,0,0-2.334-2.034A2.412,2.412,0,0,0,52.537,8.97ZM64.4,9.087c-1.06-.462-1.633-.816-1.633-1.361,0-.382.357-.768,1.156-.768a5.047,5.047,0,0,1,2.087.485.58.58,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.881,5.71,5.71,0,0,0-2.973-.752c-2.358,0-3.414,1.422-3.414,2.832,0,1.764,1.328,2.606,2.763,3.253,1.4.633,2.066,1.036,2.066,1.618,0,.528-.459.856-1.2.856a4.485,4.485,0,0,1-2.384-.7l-.037-.02a.632.632,0,0,0-.5-.075.493.493,0,0,0-.3.254l-.452.925a.521.521,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.412,0,3.673-1.522,3.673-3.026C67.685,10.615,66.385,9.925,64.4,9.087Z"}))}};function Ne(e){var n=e.appName,a=e.size;return Ze[n]?t.createElement(Ze[n],{color:e.color,size:void 0===a?20:a}):t.createElement("div",null,"appName not supported")}var Me={transition:"background-color 120ms ease-in"},Ve={fontFamily:"inherit"},He={flex:"1 1 auto"},ze=["dark","id","style"],Le=["colors","style"],Te=["fill","size","style"],_e=["fill","style"],Oe=function(e){var n=e.dark,a=void 0!==n&&n,r=e.id,o=void 0===r?"default":r,i=e.style,l=K(e,ze);return t.createElement("svg",W({fill:"none",height:"123",style:W({},i),width:"160"},l),t.createElement("g",{clipPath:"url(#clip-path-blank-state-"+o+")"},t.createElement("path",{opacity:".6",d:"M155.367 66.751c-6.081 17.955-18.824 33.158-32.579 41.991-14.045 8.977-28.96 11.294-46.19 7.529-16.941-3.764-33.738-11.583-47.638-18.968C15.204 89.63 4.344 82.533 1.593 71.385-1.013 60.525 4.78 45.61 18.68 30.842 32.435 16.362 54.3 2.896 80.362.579c25.919-2.606 49.666 6.082 63.276 18.534 13.901 12.597 17.666 29.828 11.729 47.638z",fill:a?"#414141":"#E1F0F9"}),t.createElement("g",{opacity:".2"},t.createElement("path",{opacity:".2",d:"M90.643 122.063c-9.702 0-19.258-2.606-29.25-7.674-12.741-6.66-26.352-16.796-41.41-30.841C8.832 72.688-.29 62.697 0 50.678c.145-8.542 5.503-17.81 14.914-26.352l1.448 1.593c-9.122 8.108-14.19 16.94-14.335 24.76-.29 11.294 8.543 20.85 19.403 31.42C36.344 96 49.81 105.992 62.263 112.508c13.031 6.805 25.629 8.977 38.371 6.516l.434 2.027c-3.475.724-6.95 1.013-10.425 1.013zM116.706 115.982l-.869-1.738c13.756-6.226 25.919-16.507 34.027-28.67l1.738 1.159c-8.254 12.453-20.706 22.878-34.896 29.249zM158.552 71.385l-2.027-.58c2.896-11.294.869-22.877-5.792-33.303-10.715-17.086-32-29.973-55.457-33.882-19.258-3.475-40.108-.29-58.642 8.688l-.869-1.883c18.824-9.122 40.109-12.307 59.8-8.832 24.037 3.91 45.901 17.23 56.906 34.75 7.095 11.005 9.267 23.023 6.081 35.042z",fill:"#BAC7D3"})),t.createElement("path",{d:"M115.258 20.706l-.145 4.199c0 .869.289 1.882 1.013 2.461l3.186 2.752c.724.724.29 1.882-.724 1.882l-4.199-.145c-.869 0-1.882.29-2.462 1.014l-2.896 3.33c-.724.724-1.882.29-1.882-.724l.145-4.199c0-.869-.29-1.882-1.014-2.462l-3.185-2.75c-.724-.725-.29-1.883.724-1.883l4.199.145c.869 0 1.882-.29 2.461-1.014l2.751-3.185c.724-.87 2.028-.435 2.028.579zM92.959 30.842v1.882c0 .434.144.869.579 1.158l1.448 1.159c.29.29.145.869-.29.869h-1.882c-.434 0-.869.144-1.158.579l-1.159 1.448c-.29.29-.869.145-.869-.29v-1.882c0-.435-.144-.869-.579-1.159l-1.448-1.158c-.29-.29-.145-.869.29-.869h1.882c.435 0 .869-.145 1.159-.579l1.158-1.448c.29-.434.869-.29.869.29z",fill:"#FCC846"}),t.createElement("path",{d:"M68.778 36.633l-19.982 57.63 57.919-20.127-37.937-37.502z",fill:"#48A5E5"}),t.createElement("path",{d:"M82.099 54.299H62.696l2.027-5.647h12.308l5.068 5.647zM99.91 70.082H57.194l2.027-5.648h33.737l6.95 5.648zM72.398 85.864H51.692l1.737-5.647h35.91l-16.941 5.647z",fill:"#79CAF2"}),t.createElement("path",{d:"M107.613 73.964c1.44-1.5-6.087-11.069-16.813-21.374-10.726-10.305-20.588-17.443-22.029-15.944-1.44 1.5 6.087 11.069 16.813 21.374 10.726 10.305 20.588 17.443 22.029 15.944z",fill:a?"#525252":"#636363"}),t.createElement("path",{d:"M113.086 55.747h-3.041c-.724 0-1.303.29-1.737.868l-1.883 2.607c-.434.579-1.448.29-1.448-.435l-.144-3.185c0-.724-.29-1.303-.869-1.738l-2.607-1.882c-.579-.434-.289-1.448.435-1.448l3.185-.145c.724 0 1.303-.29 1.738-.869l1.882-2.606c.435-.58 1.448-.29 1.448.434l.145 3.186c0 .724.29 1.303.869 1.738l2.606 1.882c.579.58.29 1.593-.579 1.593z",fill:"#FCC846"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip-path-blank-state-"+o},t.createElement("path",{fill:"#fff",d:"M0 0h160v122.063H0z"}))))},Ie=function(e){var n=e.colors,a=e.style,r=K(e,Le);return t.createElement("svg",W({color:n.base3,height:"16",viewBox:"0 0 16 16",width:"16"},{style:a},r),t.createElement("title",null,"chevron"),t.createElement("polygon",{fill:"currentColor",points:"11.931 4.892 8 8.824 4.069 4.892 2.927 6.034 8 11.108 9.142 9.966 13.073 6.034 11.931 4.892"}))},Ue=function(e){var n=e.fill,a=void 0===n?"#000":n,r=e.size,o=void 0===r?24:r,i=e.style,l=K(e,Te);return t.createElement("svg",W({height:o,style:W({display:"block"},i),viewBox:"0 0 16 16",width:o},l),t.createElement("title",null,"exclamation triangle icon"),t.createElement("path",{d:"M15.669 13.676L8.65499 1.56099C8.58867 1.44593 8.49322 1.35037 8.37823 1.28392C8.26325 1.21748 8.13279 1.1825 7.99999 1.1825C7.86718 1.1825 7.73672 1.21748 7.62174 1.28392C7.50675 1.35037 7.4113 1.44593 7.34499 1.56099L0.330986 13.676C0.264196 13.7911 0.228916 13.9217 0.2287 14.0548C0.228484 14.1878 0.26334 14.3186 0.329756 14.4339C0.396172 14.5492 0.491802 14.6449 0.60701 14.7115C0.722218 14.778 0.852933 14.813 0.985986 14.813H15.014C15.147 14.813 15.2778 14.778 15.393 14.7115C15.5082 14.6449 15.6038 14.5492 15.6702 14.4339C15.7366 14.3186 15.7715 14.1878 15.7713 14.0548C15.7711 13.9217 15.7358 13.7911 15.669 13.676ZM8.75699 12.542H7.24299V11.028H8.75699V12.542ZM8.75699 9.51399H7.24299V6.48499H8.75699V9.51399Z",fill:a}))},Re=function(e){var n=e.fill,a=void 0===n?"#A0A0A0":n,r=e.style,o=K(e,_e);return t.createElement("svg",W({width:"16",height:"16",viewBox:"0 0 16 16",style:W({display:"block"},r)},o),t.createElement("title",null,"close-x"),t.createElement("path",{d:"M9.142,8l3.814,3.814-1.142,1.142L8,9.142,4.186,12.956,3.044,11.814,6.858,8,3.044,4.186,4.186,3.044,8,6.858l3.814-3.814,1.142,1.142Z",fill:a}))},je=["style"];function De(e){var n=e.style,a=K(e,je);return t.createElement("button",W({style:W({WebkitAppearance:"none",appearance:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline-block",outline:0,padding:0},Ve,n)},a))}var qe=["appName","colors","displayIconOnly","expanded","onClick","style"],Fe=function(e){var n=e.appName,a=e.colors,r=e.displayIconOnly,o=e.expanded,i=e.onClick,l=e.style,c=void 0===l?null:l,s=K(e,qe),u=t.useState(!1),d=u[0],p=u[1],m=t.useState(!1),h=m[0],f=m[1];return t.createElement(De,W({onClick:i,onMouseDown:function(){return p(!0)},onMouseEnter:function(){return f(!0)},onMouseLeave:function(){return f(!1)},onMouseUp:function(){return p(!1)},style:W({alignItems:"center",backgroundColor:o&&!d?a.base1:h&&d?a.base2:h?a.base1:"transparent",display:"flex",height:"100%",outline:0,paddingLeft:"16px",paddingRight:"16px",whiteSpace:"nowrap"},Me,c)},s),t.createElement(Pe,{appName:n.replace(/[\s-]/,""),colors:a,size:24}),!r&&t.createElement(t.Fragment,null,"Accounts"===n?t.createElement("div",{style:{color:"#fff",fontSize:"14px",fontWeight:500,marginLeft:3}},"Account settings"):t.createElement(t.Fragment,null,t.createElement("div",{key:"spacer-1",style:{margin:4}}),t.createElement(Ne,{appName:n.replace(/[\s-]/,""),color:"#fff",key:"mono-app-name",size:24})),t.createElement("div",{key:"space-2",style:{margin:4}}),t.createElement(Ie,{colors:a,key:"disclosure-chevron-icon",style:{display:"block"}})))},Be={__proto__:null,Accounts:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6",x1:"1.844",y1:"1.833",x2:"18.622",y2:"18.612",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"accounts-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6)"})]},API:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"c8ec303e-a96d-4850-93ae-70864e3306bb",x1:"0.991",y1:"0.983",x2:"19.295",y2:"19.288",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"api-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,7.991-2,9.989-9.989,9.989S.019,17.991.019,10s2-9.989,9.989-9.989S20,2.009,20,10Z",fill:"url(#c8ec303e-a96d-4850-93ae-70864e3306bb)"})]},Calendar:function(){return[t.createElement("defs",{key:"defs"},t.createElement("linearGradient",{id:"calendar-gradient",x1:"2.05",y1:"2.04",x2:"17.97",y2:"17.96",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f25437"}),t.createElement("stop",{offset:"1",stopColor:"#cd4e39"}))),t.createElement("title",{key:"title"},"calendar-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,8-2,10-10,10S.06,18,.06,10,2.05.05,10,.05,20,2,20,10Z",fill:"url(#calendar-gradient)"})]},CheckIns:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"679bc2bf-38c8-45ab-9ee3-a2ff814fead7",x1:"1.75",y1:"1.739",x2:"18.156",y2:"18.145",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#a76ebe"}),t.createElement("stop",{offset:"1",stopColor:"#875e96"}))),t.createElement("title",{key:"title"},"check-ins-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#679bc2bf-38c8-45ab-9ee3-a2ff814fead7)"})]},ChurchCenter:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"6de99831-a6f8-498e-9bf3-9d55c8d887fa",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#42a5f5"}),t.createElement("stop",{offset:"1",stopColor:"#66bb6a"}))),t.createElement("title",{key:"title"},"church-center-squircle"),t.createElement("path",{key:"path",d:"M10.008.037C2.04.037.048,2.029.048,10s1.992,9.96,9.96,9.96,9.96-1.992,9.96-9.96S17.976.037,10.008.037Z",fill:"url(#6de99831-a6f8-498e-9bf3-9d55c8d887fa)"})]},Giving:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"0aae6372-b733-476d-af45-8777c08c1e24",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.959",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f5c426"}),t.createElement("stop",{offset:"1",stopColor:"#f2b327"}))),t.createElement("title",{key:"title"},"giving-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#0aae6372-b733-476d-af45-8777c08c1e24)"})]},Groups:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"86d10072-1c7f-4a02-88fe-0735565ae99a",x1:"1.939",y1:"1.928",x2:"18.146",y2:"18.135",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#ff962d"}),t.createElement("stop",{offset:"1",stopColor:"#fc7638"}))),t.createElement("title",{key:"title"},"groups-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#86d10072-1c7f-4a02-88fe-0735565ae99a)"})]},Home:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"paint0_linear_1_2",x1:"-2.23242",y1:"0.320978",x2:"19.9609",y2:"22.5228",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#289DFF"}),t.createElement("stop",{offset:"1",stopColor:"#2266F7"}))),t.createElement("title",{key:"title"},"home-squircle"),t.createElement("path",{key:"path",d:"M9.99962 0C1.99854 0 0 2.00015 0 10C0 17.9998 1.99854 20 9.99962 20C18.0007 20 20 18.0014 20 10C20 1.99862 17.9999 0 9.99962 0Z",fill:"url(#paint0_linear_1_2)"})]},People:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"7f805f16-2322-4b42-b61a-2bf71eadb25a",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"people-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#7f805f16-2322-4b42-b61a-2bf71eadb25a)"})]},Publishing:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"publishing-gradient",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#787882"}),t.createElement("stop",{offset:"1",stopColor:"#5f5f69"})),t.createElement("linearGradient",{id:"publishing-gradient-2",x1:"2.03",y1:"2.03",x2:"17.952",y2:"17.952",gradientTransform:"translate(2.563 -2.028) rotate(13.283)",xlinkHref:"#publishing-gradient"})),t.createElement("title",{key:"title"},"publishing-squircle"),t.createElement("path",{d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#publishing-gradient)",key:"path"}),t.createElement("circle",{cx:"9.991",cy:"9.991",r:"9.951",transform:"translate(-2.028 2.563) rotate(-13.283)",fill:"url(#publishing-gradient-2)",key:"circle"})]},Registrations:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"bd67604d-f11c-4431-bd82-159c57241115",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#41b99e"}),t.createElement("stop",{offset:"1",stopColor:"#46948d"}))),t.createElement("title",{key:"title"},"registrations-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#bd67604d-f11c-4431-bd82-159c57241115)"})]},Services:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"00f9217c-0536-41ea-b265-a8689874be71",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#6eaa50"}),t.createElement("stop",{offset:"1",stopColor:"#6a9639"}))),t.createElement("title",{key:"title"},"services-squircle"),t.createElement("path",{key:"path",d:"M19.968,10c0,7.968-1.992,9.96-9.96,9.96S.048,17.965.048,10,2.04.037,10.008.037,19.968,2.029,19.968,10Z",fill:"url(#00f9217c-0536-41ea-b265-a8689874be71)"})]}};function We(e){var n=e.appName,a=e.size,r=void 0===a?20:a;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 20 20",style:{display:"block"}},t.createElement(Be[n]?Be[n]:"span",{key:"key1"}),xe[n]?t.createElement(xe[n],{color:"#fff",key:"key2"}):t.createElement("div",{key:"key3"},"appName not supported"))}function Je(e){var t,n,a,r="/apps/"+e.toLowerCase(),o=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!o)return r;var i=new URLSearchParams;return i.append("referer",o),r+"?"+i.toString()}var Ge=["active","component","style"],Xe=function(e){var n=e.active,a=void 0!==n&&n,r=e.component,o=void 0===r?"span":r,i=e.style,l=void 0===i?null:i,c=K(e,Ge),s=t.useState(!1),u=s[1];return t.createElement(o,W({onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)},style:W({},l,{backgroundColor:a?"#ededed":s[0]?"#f7f7f7":"transparent"})},c))},Ke=["cleanup","onOutsideClick","visible"],Qe=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).container=void 0,n.handleOutsideClick=n.handleOutsideClick.bind(Q(n)),n}J(n,e);var a=n.prototype;return a.componentWillUnmount=function(){document.removeEventListener("click",this.handleOutsideClick,!0)},a.handleOutsideClick=function(e){if(!this.container.contains(e.target))return e.stopPropagation(),e.preventDefault(),this.props.onOutsideClick()},a.render=function(){var e=this,n=this.props,a=n.cleanup,r=K(n,Ke);return a?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),t.createElement("div",W({ref:function(t){return e.container=t}},r))},n}(t.Component),Ye=["style"],$e=function(e){var n=e.style,a=void 0===n?null:n,r=K(e,Ye);return t.createElement("div",W({style:W({alignSelf:"flex-end",display:"flex",position:"relative"},a)},r))},et=["component","style"],tt=function(e){var n=e.component,a=void 0===n?"div":n,r=e.style,o=void 0===r?null:r,i=K(e,et);return t.createElement(a,W({style:W({background:"#FFFFFF",borderRadius:"3px",boxShadow:"0 0 0 1px #D4D9E2, 0 8px 32px rgba(0,0,0,.3)",overflow:"hidden",position:"absolute"},o)},i))},nt=function(e){var n=e.appName,a=e.apps,r=e.env,o=e.toggle,i=e.visible,l=a.find(function(e){return"Accounts"===e.name}),s=a.find(function(e){return"Home"===e.name}),u=[].concat(a).filter(function(e){var t=e.name;return"Home"!==t&&"Accounts"!==t}).sort(function(e,t){return e.name.localeCompare(t.name)}),d=W({},Ve,{alignItems:"center",display:"flex",height:"48px",overflow:"hidden",padding:"0 16px",verticalAlign:"middle"});return t.createElement($e,null,t.createElement(tt,{cleanup:!i,component:Qe,onOutsideClick:o,style:W({marginTop:"8px"},i?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"})},t.createElement("menu",{"data-pendo":"app-switcher",style:{margin:0,minWidth:180,padding:0}},s&&t.createElement(Xe,{component:"a","data-pendo":"app-switcher--change-app--"+s.name,"data-turbolinks":!1,href:n===s.name?c(r)("accounts")+"/apps/"+n:c(r)("accounts")+Je(s.name),style:W({},d,{borderBottom:"1px solid #ededed"})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(We,{appName:"Home",size:20})),t.createElement(Ne,{appName:"Home",color:"#444",size:18})),u.map(function(e,a){var o=e.name,i=0===a,l=a===u.length-1;return t.createElement(Xe,{component:"a","data-pendo":"app-switcher--change-app--"+o,"data-turbolinks":!1,href:o===n?c(r)("accounts")+"/apps/"+o.toLowerCase():c(r)("accounts")+Je(o),key:o,style:W({},d,{height:"40px",paddingBottom:l?"4px":null,paddingTop:i?"4px":null})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(We,{appName:o.replace(/[\s-]/,""),size:20})),t.createElement(Ne,{appName:o.replace(/[\s-]/,""),color:"#444",size:18}))}),l&&t.createElement(Xe,{component:"a","data-pendo":"app-switcher--change-app--"+l.name,"data-turbolinks":!1,href:c(r)("accounts")+Je(l.name),style:W({},d,{borderTop:"1px solid #ededed",padding:"0 12px",textDecoration:"none"})},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(ke,{color:"#9e9e9e",key:"key2"})),t.createElement("div",{style:{color:"#737373",fontSize:"12px",lineHeight:"28px"}},"Account settings")))))},at=function(e){return(t="name",function(e){return e.slice().sort(function(e,n){return e[t].localeCompare(n[t])})})(e).reduce(function(e,t){return"Church Center"===(t.name||"")||"API"===(t.name||"")?e:"Home"===t.name?[t].concat(e):[].concat(e,[t])},[]);var t},rt=function(e){return e.slice().sort(function(e,t){return e.attributes.organization_name.localeCompare(t.attributes.organization_name)})},ot=["children","style"];function it(e){var n=e.children,a=e.style,r=K(e,ot);return t.createElement("nav",W({className:"simple","data-pendo":"topbar","aria-label":"topbar-navigation",style:W({MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",alignItems:"center",color:"white",display:"flex",height:"48px",position:"relative"},a)},r),t.createElement("style",null,"\n @media only print {\n .simple {\n display: none !important;\n }\n }\n "),n)}var lt={danger43:"hsl(8 60% 43%)",danger45:"hsl(8 60% 45%)",danger47:"hsl(8 60% 47%)",danger93:"hsl(9 59% 93%)",danger97:"hsl(7 60% 97%)",darkNeutral07:"hsl(0 0% 7%)",darkNeutral12:"hsl(0 0% 12%)",darkNeutral15:"hsl(0 0% 15%)",darkNeutral17:"hsl(0 0% 17%)",darkNeutral19:"hsl(0 0% 19%)",darkNeutral24:"hsl(0 0% 24%)",darkNeutral32:"hsl(0 0% 32%)",darkNeutral50:"hsl(0 0% 50%)",darkNeutral68:"hsl(0 0% 68%)",darkNeutral88:"hsl(0 0% 88%)",darkNeutral98:"hsl(0 0% 98%)",interaction45:"hsl(221 75% 45%)",interaction50:"hsl(221 91% 50%)",interaction55:"hsl(221 91% 55%)",interaction66:"hsl(221 91% 66%)",interaction91:"hsl(221 91% 91%)",interaction93:"hsl(221 91% 93%)",interaction97:"hsl(221 89% 97%)",lightNeutral12:"hsl(0 0% 12%)",lightNeutral24:"hsl(0 0% 24%)",lightNeutral45:"hsl(0 0% 45%)",lightNeutral62:"hsl(0 0% 62%)",lightNeutral81:"hsl(0 0% 81%)",lightNeutral88:"hsl(0 0% 88%)",lightNeutral93:"hsl(0 0% 93%)",lightNeutral95:"hsl(0 0% 95%)",lightNeutral97:"hsl(0 0% 97%)",lightNeutral98:"hsl(0 0% 98%)",lightNeutral100:"hsl(0 0% 100%)",success23:"hsl(86 91% 23%)",success25:"hsl(86 91% 25%)",success27:"hsl(86 91% 27%)",success91:"hsl(95 50% 91%)",success97:"hsl(93 53% 97%)",warning20:"hsl(42 100% 20%)",warning49:"hsl(42 84% 49%)",warning55:"hsl(42 84% 55%)",warning63:"hsl(42 84% 63%)",warning94:"hsl(42 84% 94%)",warning97:"hsl(42 84% 97%)"},ct=["style"],st=function(e){var n=e.style,a=void 0===n?null:n,r=K(e,ct);return t.createElement("div",W({style:W({alignSelf:"flex-end",display:"flex",position:"relative"},a)},r))},ut=function(e){var n=e.appName,a=e.connectedPeople,r=e.hasConnectedPeople,o=e.requestClearAppsCache,i=e.requestClearConnectedPeopleCache,l=e.requestSwitchConnectedPerson,s=e.requestUnlinkConnectedPeople,g=e.setUserMenuVisible,v=e.userMenuVisible,E=c(e.env)("login")+"/logout";return t.createElement(st,null,t.createElement(tt,{component:Qe,onOutsideClick:function(){return g(!1)},cleanup:!v,style:W({color:"#525252",marginTop:"8px",maxHeight:"75vh",maxWidth:"320px",minWidth:"242px",overflow:"auto",right:0},v?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"},{cursor:"default"})},t.createElement("div",null,r?t.createElement("div",{style:{alignItems:"center",backgroundColor:"#eee",display:"flex",lineHeight:"32px",padding:"0 16px"}},t.createElement("div",{style:W({},He,{color:"#666",fontSize:"12px",textTransform:"uppercase",whiteSpace:"nowrap"},Ve)},"Linked Accounts"),t.createElement("div",{style:W({},He,{alignItems:"center",fontSize:"12px",textAlign:"right"})},t.createElement("a",{href:"",onClick:function(e){o(),i(),s(),e.preventDefault()},style:W({color:"#666",marginLeft:"64px",textDecoration:"none"},Ve)},"unlink"))):t.createElement("noscript",null),t.createElement("style",null,"\n .NotSmallTopbar__connected-people-list > *:first-child > * { border-top-width: 0 !important }\n "),t.createElement("ul",{className:"NotSmallTopbar__connected-people-list",style:{listStyleType:"none",margin:0,padding:0}},rt(a).map(function(e){var a=e.id,r=e.attributes;return t.createElement(Xe,{component:"li",key:a},t.createElement("a",{href:"",onClick:function(e){o(),i(),l(a,n+"/"),e.preventDefault()},style:W({borderTop:"1px solid #ddd",color:"#444",display:"block",lineHeight:"48px",overflow:"hidden",paddingLeft:"16px",paddingRight:"16px",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},Ve)},r.organization_name))}))),t.createElement(u,null,r&&t.createElement(d,null),t.createElement("form",{method:"POST",action:E},t.createElement(p,{"data-turbolinks":!1,hover:{backgroundColor:lt.lightNeutral97},onClick:function(){o(),i()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(m,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:2,paddingVertical:1.5,spacing:4},t.createElement(h,{color:lt.lightNeutral45,lineHeight:"24px"},"Log out"),t.createElement(f,{name:"general.intoBox",fill:lt.lightNeutral45})))))))},dt=["active","component","hover","innerRef","style"],pt=function(e){var n=e.active,a=void 0===n?null:n,r=e.component,o=void 0===r?"div":r,i=e.hover,l=void 0===i?null:i,c=e.innerRef,s=void 0===c?null:c,u=e.style,d=void 0===u?null:u,p=K(e,dt),m=t.useState(!1),h=m[0],f=m[1],g=t.useState(!1),v=g[1];return t.createElement(o,W({onMouseDown:function(){return f(!0)},onMouseEnter:function(){return v(!0)},onMouseLeave:function(){return v(!1)},onMouseUp:function(){return f(!1)},style:W({},Ve,d,g[0]&&l,h&&a)},s&&{ref:s},p))},mt=function(e){var n=e.colors,a=e.orgName,r=e.requestConnectedPeopleFetch,o=e.setUserMenuVisible,i=e.showOrgName;return t.createElement("div",{style:{cursor:"pointer",marginLeft:"16px",position:"relative",whiteSpace:"nowrap"},"data-pendo":"topbar-org-switcher"},t.createElement(pt,{component:"button",type:"button",style:W({WebkitAppearance:"none",alignItems:"center",appearance:"none",backgroundColor:n.base1,border:"none",borderRadius:"9999px",color:n.text||"#fff",cursor:"pointer",display:"flex",fontSize:"13px",lineHeight:"32px",outline:0,padding:0},Me),active:{backgroundColor:n.base3},hover:{backgroundColor:n.base2},onClick:function(){o(function(e){return!e}),r()}},t.createElement("div",{style:{marginLeft:8}}),i?t.createElement("div",{style:{fontSize:"13px",margin:"0 8px 0 8px",maxWidth:"240px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},a):t.createElement("div",{style:{margin:"0 4px 0 4px"}}),t.createElement("div",{style:{paddingRight:"8px"}},t.createElement(Ie,{colors:n,style:{margin:"-3px"}}))))},ht=["notifications","search","showOrgName","useDummyNotifications"],ft=["active","colors","style"],gt=function(e){var n=e.notifications,a=void 0===n?function(){return null}:n,r=e.search,o=void 0===r?function(){return null}:r,i=e.showOrgName,l=void 0===i||i,c=K(e,ht),s=t.useState(!1),u=s[0],d=s[1],p=t.useState(!0),m=p[0],h=p[1],f=t.useState(!1),g=f[0],v=f[1],E=we(),y=E.hasConnectedPeople,b=E.notificationsEnabled;return t.createElement(it,{style:W({paddingLeft:"8px",paddingRight:"16px"},c.style)},t.createElement(nt,{env:c.env,appName:c.appName,apps:at(c.apps),visible:u,toggle:function(){return d(function(e){return!e})}}),t.createElement(Fe,{colors:c.colors,expanded:u,onClick:function(){d(function(e){return!e}),c.requestAppsFetch()},appName:c.appName}),t.createElement("div",{style:{margin:"12px"}}),m&&c.routes,t.createElement("div",{style:{margin:"auto"}}),!b&&a(),o({hideRoutes:function(){return h(!1)},showRoutes:function(){return h(!0)}}),t.createElement(mt,{colors:c.colors,orgName:c.orgName,requestConnectedPeopleFetch:c.requestConnectedPeopleFetch,setUserMenuVisible:v,showOrgName:l}),t.createElement(ut,{appName:c.appName,hasConnectedPeople:y,connectedPeople:c.connectedPeople,env:c.env,requestClearAppsCache:c.requestClearAppsCache,requestClearConnectedPeopleCache:c.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:c.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:c.requestUnlinkConnectedPeople,setUserMenuVisible:v,userMenuVisible:g}))},vt=function(e){var n=e.active,a=e.colors,r=e.style,o=void 0===r?null:r,i=K(e,ft),l=t.useState(!1),c=l[0],s=l[1],u=t.useState(!1),d=u[1];return t.createElement("a",W({style:W({backgroundColor:c&&u[0]?a.base2:c||n?a.base1:"transparent",borderRadius:"9999px",color:a.text||"#fff",fontSize:"14px",fontWeight:600,lineHeight:"32px",marginRight:"4px",paddingLeft:"12px",paddingRight:"12px",textDecoration:"none",textTransform:"capitalize",verticalAlign:"middle",whiteSpace:"nowrap"},Ve,Me,o),onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},onMouseDown:function(){return d(!0)},onMouseUp:function(){return d(!1)}},i))};function Et(e){return t.createElement("path",{fill:e.color,d:"M16.95,9.28h0l-1.33-.23c-.12,0-.24-.04-.34-.11-.1-.07-.18-.16-.23-.27-.12-.45-.3-.89-.54-1.3-.04-.11-.05-.24-.03-.35,.02-.12,.08-.23,.16-.32l.78-1.1h0s0-.03,0-.04l-.03-.02-.04-.04-.87-.87-.05-.05h0s-.02-.02-.03,0l-1.11,.78c-.09,.08-.2,.13-.32,.16-.12,.02-.24,.01-.35-.03-.41-.24-.84-.42-1.3-.54-.11-.05-.2-.13-.27-.23-.07-.1-.11-.22-.11-.34l-.22-1.33h0s-.01-.03-.02-.03h-1.41s-.02,0-.02,.02l-.23,1.34c0,.12-.04,.24-.11,.34-.07,.1-.16,.18-.27,.23-.45,.12-.89,.3-1.3,.54-.11,.04-.24,.05-.35,.03-.12-.02-.23-.08-.32-.16l-1.1-.78h0s-.02-.01-.03,0l-.02,.03-.04,.04-.87,.87-.05,.05h0s0,.03,0,.04l.78,1.11c.08,.09,.13,.2,.16,.32,.02,.12,.01,.24-.03,.35-.24,.4-.42,.84-.54,1.29-.05,.11-.13,.2-.23,.27-.1,.07-.22,.11-.34,.11l-1.33,.22h0s-.02,0-.02,.02v1.41s0,.02,.02,.02l1.34,.23c.12,0,.24,.05,.34,.11,.1,.07,.18,.16,.23,.27,.12,.45,.3,.89,.54,1.29,.04,.11,.05,.24,.03,.35-.02,.12-.08,.23-.16,.32l-.78,1.11s0,.02,0,.03h0l.05,.06,.87,.87,.04,.04,.02,.02s.02,0,.03,0h0l1.1-.79c.09-.08,.2-.13,.32-.16,.12-.02,.24-.01,.35,.03,.4,.24,.84,.42,1.29,.54,.11,.05,.2,.13,.27,.23,.07,.1,.11,.22,.11,.34l.23,1.34s0,.02,.02,.02h1.41s.02,0,.02-.02h0l.22-1.34c0-.12,.05-.24,.11-.34,.07-.1,.16-.18,.27-.23,.45-.12,.89-.3,1.29-.54,.11-.04,.24-.05,.35-.03,.12,.02,.23,.08,.32,.16l1.11,.78s.02,0,.03,0h0l.05-.06,.87-.87,.04-.04,.02-.02s0-.02,0-.03h0l-.78-1.11c-.08-.09-.13-.2-.16-.32-.02-.12-.01-.24,.03-.35,.24-.4,.42-.84,.54-1.29,.05-.11,.13-.2,.23-.27s.22-.11,.34-.11l1.34-.23s.02,0,.02-.02v-1.4s0-.02-.02-.02Zm-4.67,3.01c-.45,.45-1.03,.76-1.65,.88-.63,.12-1.27,.06-1.86-.18-.59-.24-1.09-.66-1.45-1.19-.35-.53-.54-1.15-.54-1.79s.19-1.26,.54-1.79c.35-.53,.86-.94,1.45-1.19,.59-.24,1.24-.31,1.86-.18,.63,.12,1.2,.43,1.65,.88,.3,.3,.54,.66,.7,1.05,.16,.39,.25,.81,.25,1.24s-.08,.84-.25,1.24c-.16,.39-.4,.75-.7,1.05Z"})}var yt={__proto__:null,Squircle:function(e){var n=e.color;return t.createElement("path",{fill:void 0===n?"#fff":n,d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z"})},Accounts:Et,API:function(e){return t.createElement("path",{fill:e.color,d:"M11.08,12.387a3.277,3.277,0,0,0,.21-.86l1.47-.23-.25-1.63-1.48.22A3.167,3.167,0,0,0,9.93,8.5l.54-1.37-1.54-.6L8.39,7.9a3.393,3.393,0,0,0-1.76.27l-.92-1.15-1.3,1.03.93,1.16a3.462,3.462,0,0,0-.43.78A3.333,3.333,0,0,0,4.69,11l-1.49.23.25,1.69,1.59-.24a3.278,3.278,0,0,0,1.02,1.2l-.54,1.39,1.55.6.54-1.39a3.319,3.319,0,0,0,1.74-.27l.93,1.17,1.3-1.04-.93-1.17A3.258,3.258,0,0,0,11.08,12.387ZM9.81,11.9A1.953,1.953,0,0,1,7.29,13a1.942,1.942,0,1,1,2.52-1.1Zm5.89-4.32a1.581,1.581,0,0,0,.04-.38,2.066,2.066,0,0,0-1.39-1.95v-.82H12.97v.82A2.066,2.066,0,0,0,11.58,7.2a1.581,1.581,0,0,0,.04.38l-.71.41.7,1.2.7-.4a2.073,2.073,0,0,0,2.7,0l.7.4.7-1.2Zm-2.04.67A1.045,1.045,0,1,1,14.7,7.2,1.041,1.041,0,0,1,13.66,8.247Z"})},Calendar:function(e){return t.createElement("path",{fill:e.color,d:"M14.18,6.5h-.91V5.8a.55.55,0,0,0-.55-.55h-.26a.55.55,0,0,0-.55.55v.7H8.09V5.8a.55.55,0,0,0-.55-.55H7.28a.55.55,0,0,0-.55.55v.7H5.82a.58.58,0,0,0-.58.59v7.08a.58.58,0,0,0,.58.58h8.36a.58.58,0,0,0,.58-.58V7.09A.58.58,0,0,0,14.18,6.5Zm-.91,6.71H6.73V9.09h6.54Z"})},CheckIns:function(e){return t.createElement("path",{fill:e.color,d:"M14.175,8.341,9.258,13.256a1.157,1.157,0,0,1-1.638,0L5.161,10.8A1.159,1.159,0,1,1,6.8,9.16L8.439,10.8l4.1-4.1a1.159,1.159,0,0,1,1.639,1.639Z"})},ChurchCenter:function(e){return t.createElement("path",{fill:e.color,d:"M13.91,14.763a.334.334,0,0,1-.331.338l-1.959-.016a.334.334,0,0,1-.338-.331s.005-.233.005-1.8a3.674,3.674,0,0,0-1.279-2.638,3.674,3.674,0,0,0-1.279,2.638c0,1.565.005,1.8.005,1.8a.334.334,0,0,1-.338.331L6.437,15.1a.334.334,0,0,1-.331-.338s-.242-6.457-.02-6.65h0L9.671,5.021a.522.522,0,0,1,.684,0l3.58,3.092H13.93C14.152,8.325,13.91,14.763,13.91,14.763Z"})},Giving:function(e){return t.createElement("path",{fill:e.color,d:"M10.3,13.769a.508.508,0,0,1-.592,0c-1.259-.888-5.982-4.494-3.268-6.83a2.386,2.386,0,0,1,3.215.205l.349.349.349-.349a2.386,2.386,0,0,1,3.215-.205C16.286,9.275,11.563,12.881,10.3,13.769Z"})},Groups:function(e){return t.createElement("path",{fill:e.color,d:"M13.769,11.313V8.683a1.867,1.867,0,1,0-2.443-2.449H8.69A1.867,1.867,0,1,0,6.243,8.681v2.632A1.867,1.867,0,1,0,8.69,13.76h2.632a1.867,1.867,0,1,0,2.447-2.447Zm-1.455,0a1.873,1.873,0,0,0-.992.992H8.69a1.877,1.877,0,0,0-.992-.992V8.681a1.877,1.877,0,0,0,.992-.992h2.636a1.872,1.872,0,0,0,.988.99Z"})},Home:function(e){return t.createElement("path",{fill:e.color,d:"M14.7619 8.93233C14.7619 8.72768 14.6587 8.53243 14.4775 8.39414L10.5927 5.43C10.2573 5.17413 9.74265 5.17413 9.40731 5.42999L5.52252 8.39414C5.34128 8.53243 5.2381 8.72768 5.2381 8.93233V13.0794C5.2381 13.4827 5.63079 13.8095 6.11521 13.8095H13.8848C14.3692 13.8095 14.7619 13.4826 14.7619 13.0794V8.93233Z"})},People:function(e){return t.createElement("path",{fill:e.color,d:"M8.177,5.732A2.018,2.018,0,1,1,6.159,7.75,2.019,2.019,0,0,1,8.177,5.732Zm2.494,8.53H5.664A.565.565,0,0,1,5.1,13.7V12.422a1.841,1.841,0,0,1,1.841-1.841H9.394a1.841,1.841,0,0,1,1.841,1.841V13.7A.565.565,0,0,1,10.671,14.262ZM12.814,6.94A1.513,1.513,0,1,1,11.3,8.453,1.513,1.513,0,0,1,12.814,6.94Zm1.537,6.093H12.413a.565.565,0,0,1-.565-.565v-.049a2.292,2.292,0,0,0-.2-.957.555.555,0,0,0-.062-.141.8.8,0,0,0-.061-.11,1.19,1.19,0,0,0-.092-.16,1.131,1.131,0,0,1,.908-.472h1.472a1.108,1.108,0,0,1,1.105,1.1v.785A.565.565,0,0,1,14.351,13.033Z"})},Publishing:function(e){return t.createElement("path",{fill:e.color,d:"M7.287,13.575a.478.478,0,0,1-.477.477H5.856a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H6.81a.478.478,0,0,1,.477.477Zm7.293,0a.477.477,0,0,1-.477.477H9.268a.478.478,0,0,1-.477-.477V12.6a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Zm0-3.473a.477.477,0,0,1-.476.477H9.268a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Z"})},Registrations:function(e){return t.createElement("path",{fill:e.color,d:"M4.48,11.09a.51.51,0,0,0,0,.71l.7.7a.22.22,0,0,0,.27,0,1.47,1.47,0,0,1,1.8.22,1.5,1.5,0,0,1,.23,1.81.21.21,0,0,0,0,.27l.7.7a.51.51,0,0,0,.71,0l2-2a.16.16,0,0,0,0-.22L6.7,9.1a.17.17,0,0,0-.23,0Zm11-2.89-.71-.7a.21.21,0,0,0-.26,0,1.47,1.47,0,0,1-1.79-.23,1.49,1.49,0,0,1-.24-1.79.22.22,0,0,0,0-.27l-.7-.7a.51.51,0,0,0-.71,0L7.47,8.11a.14.14,0,0,0,0,.22l4.2,4.2a.14.14,0,0,0,.22,0l3.63-3.62A.51.51,0,0,0,15.52,8.2Z"})},Services:function(e){return t.createElement("path",{fill:e.color,d:"M6.5,6.559A1.059,1.059,0,1,1,5.443,5.5,1.059,1.059,0,0,1,6.5,6.559ZM5.443,8.943A1.059,1.059,0,1,0,6.5,10,1.059,1.059,0,0,0,5.443,8.943Zm0,3.443A1.059,1.059,0,1,0,6.5,13.445,1.059,1.059,0,0,0,5.443,12.386ZM15,6.087a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485V7.03a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,7.03ZM15,9.53a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,10.473Zm0,3.443a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,13.916Z"})}},bt=["appName","colors","style","size"];function Ct(e){var n=e.color;return t.createElement("path",{d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:void 0===n?"#fff":n})}function wt(e){var n=e.appName,a=e.colors,r=e.style,o=e.size,i=void 0===o?20:o,l=K(e,bt);return t.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20",role:"img","aria-labelledby":"title desc",style:W({display:"block"},r)},l),t.createElement("title",{id:"title"},"Planning Center ",n," App Icon"),t.createElement("desc",{id:"desc"},"An image symbolizing the Planning Center ",n," app."),"Accounts"===n?null:t.createElement(Ct,null),yt[n]?t.createElement(yt[n],{color:"Accounts"!=n?a.base0:"#fff"}):t.createElement("div",null,"appName not supported"))}var kt={__proto__:null,Accounts:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"4ce749c7-c01e-4a9b-9496-b14fd2e761aa",viewBox:"0 0 77.073 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"accounts-text"),t.createElement("path",{fill:n,d:"M4.729,5.537A10.859,10.859,0,0,0,1.262,6.1a.566.566,0,0,0-.4.717l.194.819a.579.579,0,0,0,.7.5,10.108,10.108,0,0,1,2.748-.47,1.416,1.416,0,0,1,1.065.349A2.307,2.307,0,0,1,6,9.682,7.706,7.706,0,0,0,4.1,9.418c-2.493,0-4.1,1.305-4.1,3.327a3.2,3.2,0,0,0,3.328,3.434,4.385,4.385,0,0,0,3.011-1.161l.181.509c.1.249.231.415.515.415h.712a.6.6,0,0,0,.59-.589v-5.3C8.337,7.581,8.065,5.537,4.729,5.537ZM3.78,14.181a1.343,1.343,0,0,1-1.436-1.459c0-.91.777-1.522,1.932-1.522a4.726,4.726,0,0,1,1.7.3v1.556A2.983,2.983,0,0,1,3.78,14.181ZM18.6,13.194c.4.361.326.669.2.865a4.646,4.646,0,0,1-3.977,2.12,5.2,5.2,0,0,1-5.2-5.31,5.285,5.285,0,0,1,5.225-5.332,4.461,4.461,0,0,1,3.711,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.64.056-.806-.11A2.909,2.909,0,0,0,14.9,7.816,2.938,2.938,0,0,0,12,10.847,2.921,2.921,0,0,0,14.837,13.9a2.623,2.623,0,0,0,2.03-.965c.082-.081.161-.16.241-.233a.574.574,0,0,1,.819-.049Zm9.661,0c.4.361.326.669.2.865a4.644,4.644,0,0,1-3.976,2.12,5.2,5.2,0,0,1-5.2-5.31A5.286,5.286,0,0,1,24.5,5.537a4.459,4.459,0,0,1,3.71,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.641.056-.806-.11a2.779,2.779,0,0,0-4.869,2.073A2.92,2.92,0,0,0,24.5,13.9a2.625,2.625,0,0,0,2.03-.965c.081-.081.161-.16.241-.233a.573.573,0,0,1,.818-.049Zm5.86-7.657A5.323,5.323,0,1,0,39.3,10.826,5.317,5.317,0,0,0,34.117,5.537Zm2.838,5.289a2.857,2.857,0,1,1-5.7,0,2.853,2.853,0,1,1,5.7,0ZM49.346,6.341v9.012a.616.616,0,0,1-.612.589h-.517c-.34,0-.474-.245-.561-.485l-.2-.536a4.084,4.084,0,0,1-3.1,1.258c-3.388,0-3.823-2.5-3.823-4.685V6.341a.621.621,0,0,1,.59-.588h1.207a.6.6,0,0,1,.59.588v5.3c0,1.539.58,2.256,1.825,2.256a2.357,2.357,0,0,0,2.214-1.544l0-6.016c0-.544.349-.588.676-.588h1.1A.624.624,0,0,1,49.346,6.341Zm11.089,4.01v5a.605.605,0,0,1-.591.589H58.637a.6.6,0,0,1-.59-.589V10.265c0-1.579-.655-2.449-1.846-2.449a2.939,2.939,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.6.6,0,0,1-.59-.589V6.341a.6.6,0,0,1,.59-.588h.518a.5.5,0,0,1,.522.391l.235.67a4.691,4.691,0,0,1,3.3-1.277C59.134,5.537,60.435,7.111,60.435,10.351Zm8.048,4.379a.556.556,0,0,1-.283.721,6.126,6.126,0,0,1-2.822.728c-2.337,0-2.637-1.651-2.637-3.09V7.816H61.713a.6.6,0,0,1-.589-.59V6.341a.569.569,0,0,1,.589-.588h1.028V3.088a.59.59,0,0,1,.59-.59h1.228a.573.573,0,0,1,.568.59V5.753h2.515a.582.582,0,0,1,.59.588v.885a.613.613,0,0,1-.59.59H65.127V13c0,.828.323.9.683.9a3.241,3.241,0,0,0,1.536-.458.523.523,0,0,1,.431-.064.558.558,0,0,1,.317.335Zm7.869-1.576c0,1.5-1.262,3.025-3.672,3.025a5.927,5.927,0,0,1-3.343-1.033h0a.523.523,0,0,1-.208-.663l.452-.926a.494.494,0,0,1,.3-.254.635.635,0,0,1,.505.076l.032.017a4.485,4.485,0,0,0,2.389.7c.74,0,1.2-.328,1.2-.855,0-.58-.666-.985-2.066-1.618-1.435-.648-2.763-1.49-2.763-3.253,0-1.41,1.056-2.832,3.414-2.832a5.7,5.7,0,0,1,2.973.752.706.706,0,0,1,.256.882l-.344.689a.582.582,0,0,1-.8.247,5.057,5.057,0,0,0-2.087-.485c-.8,0-1.156.385-1.156.768,0,.546.574.9,1.633,1.361C75.052,10.588,76.352,11.279,76.352,13.154Z"}))},API:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"bed028ef-58ee-4c4c-a757-08ecc3276857",viewBox:"0 0 119.5 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"api-text"),t.createElement("path",{fill:n,d:"M9.136.675H7.908a.621.621,0,0,0-.59.589V5.5a6.9,6.9,0,0,0-2.384-.469A5.013,5.013,0,0,0,.012,10.343c0,2.989,2.048,5.331,4.663,5.331a4.885,4.885,0,0,0,3.22-1.3l.16.543a.591.591,0,0,0,.564.519h.517a.6.6,0,0,0,.59-.59V1.264A.6.6,0,0,0,9.136.675ZM7.34,7.847v4.175A2.745,2.745,0,0,1,4.978,13.4,2.815,2.815,0,0,1,2.4,10.343a2.913,2.913,0,0,1,2.772-3.03A4.941,4.941,0,0,1,7.34,7.847Zm8.833-2.813A5.081,5.081,0,0,0,11.1,10.343a5.046,5.046,0,0,0,5.094,5.331,5.712,5.712,0,0,0,3.761-1.256.512.512,0,0,0,.064-.819l-.582-.906a.467.467,0,0,0-.3-.22.619.619,0,0,0-.45.147,3.737,3.737,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.755a.578.578,0,0,0,.566-.532c.023-.175.045-.524.045-.7A4.571,4.571,0,0,0,16.173,5.034ZM16.13,7.1a2.23,2.23,0,0,1,2.334,2.032H13.591A2.411,2.411,0,0,1,16.13,7.1ZM30.587,5.982l-4.3,9.366a.561.561,0,0,1-.515.326h-.129a.59.59,0,0,1-.534-.323l-4.31-9.373a.484.484,0,0,1-.024-.49.542.542,0,0,1,.493-.239h1.315a.543.543,0,0,1,.534.344l2.571,5.914,2.7-5.91c.161-.348.486-.348.773-.348h.97a.544.544,0,0,1,.494.239A.488.488,0,0,1,30.587,5.982Zm4.983-.948A5.081,5.081,0,0,0,30.5,10.343a5.045,5.045,0,0,0,5.094,5.331,5.706,5.706,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.582-.906a.467.467,0,0,0-.3-.22.616.616,0,0,0-.45.147,3.738,3.738,0,0,1-2.369.818,2.819,2.819,0,0,1-2.854-2.484h6.755a.58.58,0,0,0,.567-.532c.023-.175.044-.524.044-.7A4.57,4.57,0,0,0,35.57,5.034ZM35.527,7.1a2.23,2.23,0,0,1,2.334,2.032H32.988A2.413,2.413,0,0,1,35.527,7.1Zm8.426-5.833V14.847a.606.606,0,0,1-.59.59H42.156a.6.6,0,0,1-.59-.59V1.264a.606.606,0,0,1,.59-.589h1.207A.621.621,0,0,1,43.953,1.264Zm6.576,3.77a5.322,5.322,0,1,0,5.18,5.287A5.315,5.315,0,0,0,50.529,5.034Zm2.836,5.287a2.856,2.856,0,1,1-5.695,0,2.852,2.852,0,1,1,5.7,0Zm8.65-5.287a4.76,4.76,0,0,0-3.08,1.1l-.2-.487a.523.523,0,0,0-.539-.4h-.539a.606.606,0,0,0-.59.59V19.422a.6.6,0,0,0,.59.59h1.207a.58.58,0,0,0,.633-.59V15.066a5.6,5.6,0,0,0,2.427.608,5.075,5.075,0,0,0,4.9-5.331A5.026,5.026,0,0,0,62.015,5.034Zm2.427,5.309A2.9,2.9,0,0,1,61.648,13.4a4.112,4.112,0,0,1-2.19-.678v-4.1a2.628,2.628,0,0,1,2.277-1.3A2.787,2.787,0,0,1,64.442,10.343ZM72.73,5.034a5.081,5.081,0,0,0-5.073,5.309,5.046,5.046,0,0,0,5.095,5.331,5.711,5.711,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.583-.906a.463.463,0,0,0-.3-.22.61.61,0,0,0-.45.147,3.735,3.735,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.754a.577.577,0,0,0,.567-.532c.023-.178.045-.527.045-.7A4.57,4.57,0,0,0,72.73,5.034ZM72.687,7.1a2.23,2.23,0,0,1,2.334,2.032H70.147A2.413,2.413,0,0,1,72.687,7.1ZM85.434,5.6a.518.518,0,0,1,.009.524L84.926,7.2a.584.584,0,0,1-.334.323.543.543,0,0,1-.424-.032,2.366,2.366,0,0,0-.854-.181A2.734,2.734,0,0,0,81.08,8.561v6.286c0,.59-.485.59-.8.59h-.991a.6.6,0,0,1-.59-.59V5.839a.605.605,0,0,1,.59-.59H79.8a.576.576,0,0,1,.544.435l.213.688a3.921,3.921,0,0,1,2.971-1.338C84.277,5.034,85.17,5.183,85.434,5.6Zm11.8-5.4a.621.621,0,0,0-.469-.3h-.216a.62.62,0,0,0-.472.305l-6.615,14.5a.508.508,0,0,0,.02.5.517.517,0,0,0,.451.229h1.357a.652.652,0,0,0,.6-.392l1.284-2.884h6.9l1.306,2.884a.618.618,0,0,0,.6.392h1.358a.517.517,0,0,0,.451-.229.508.508,0,0,0,.021-.494Zm1.916,9.871H94.116l2.5-5.627ZM110.327.12h-4.913a.526.526,0,0,0-.526.525V14.912a.526.526,0,0,0,.526.525h1.4a.54.54,0,0,0,.525-.525V9.963h3.009A4.922,4.922,0,1,0,110.327.12Zm2.493,4.856a2.563,2.563,0,0,1-2.536,2.643H107.34V2.507h2.944A2.476,2.476,0,0,1,112.82,4.976ZM119.087.645V14.912a.54.54,0,0,1-.526.525h-1.422a.54.54,0,0,1-.525-.525V.645a.539.539,0,0,1,.525-.525h1.422A.539.539,0,0,1,119.087.645Z"}))},Calendar:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"Layer_1",viewBox:"0 0 73.83 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"calendar-text"),t.createElement("path",{fill:n,d:"M9,12.56c.39.36.32.66.19.85a4.65,4.65,0,0,1-4,2.12A5.21,5.21,0,0,1,0,10.21,5.3,5.3,0,0,1,5.23,4.87,4.49,4.49,0,0,1,9,6.64a.6.6,0,0,1-.1.85l-.78.71c-.35.33-.61.07-.78-.11a3,3,0,0,0-2-1,3,3,0,0,0-2.94,3.06,3,3,0,0,0,2.87,3.09,2.63,2.63,0,0,0,2.05-1l.25-.23A.55.55,0,0,1,8.32,12Zm9.25-3.17v5.33a.59.59,0,0,1-.57.57H17c-.27,0-.4-.16-.5-.4l-.19-.54a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,9.91,12.1c0-2,1.61-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.44,1.44,0,0,0,14.43,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,11,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C18,4.87,18.25,6.92,18.25,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,15.91,12.42ZM22,.47H20.79a.6.6,0,0,0-.58.57V14.72a.59.59,0,0,0,.58.57H22a.59.59,0,0,0,.57-.57V1A.61.61,0,0,0,22,.47ZM33.75,9.56c0,.18,0,.53,0,.71a.57.57,0,0,1-.55.52H26.35a2.84,2.84,0,0,0,2.89,2.53,3.84,3.84,0,0,0,2.39-.82.57.57,0,0,1,.43-.15.45.45,0,0,1,.29.21l.58.92a.48.48,0,0,1-.06.79,5.67,5.67,0,0,1-3.76,1.26A5.05,5.05,0,0,1,24,10.19a5.1,5.1,0,0,1,5.08-5.32A4.58,4.58,0,0,1,33.75,9.56ZM26.46,9h4.95A2.27,2.27,0,0,0,29,6.91,2.45,2.45,0,0,0,26.46,9Zm13.8-4.12a4.72,4.72,0,0,0-3.32,1.3l-.24-.7a.48.48,0,0,0-.51-.38h-.52a.59.59,0,0,0-.57.57v9.06a.58.58,0,0,0,.57.57h1.11c.45,0,.68-.19.68-.57V8.5A3,3,0,0,1,40,7.13c1.21,0,1.88.88,1.88,2.48v5.11a.58.58,0,0,0,.57.57h1.21a.6.6,0,0,0,.58-.57v-5C44.24,6.45,42.94,4.87,40.26,4.87ZM55.29,1V14.72a.58.58,0,0,1-.57.57H54.2a.57.57,0,0,1-.55-.5l-.17-.58a4.89,4.89,0,0,1-3.24,1.32c-2.62,0-4.67-2.34-4.67-5.34A5,5,0,0,1,50.5,4.87a6.85,6.85,0,0,1,2.39.48h0V1a.61.61,0,0,1,.58-.57h1.23A.59.59,0,0,1,55.29,1ZM52.93,11.88V7.67a5,5,0,0,0-2.19-.54,2.94,2.94,0,0,0-2.81,3.06,2.85,2.85,0,0,0,2.61,3.09A2.76,2.76,0,0,0,52.93,11.88Zm12-2.49v5.33a.59.59,0,0,1-.57.57h-.72c-.27,0-.39-.16-.5-.4L63,14.35a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,56.6,12.1c0-2,1.62-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.42,1.42,0,0,0,61.12,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,57.67,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C64.67,4.87,64.94,6.92,64.94,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,62.6,12.42Zm11-7c-.26-.42-1.18-.57-1.9-.57a4,4,0,0,0-3,1.37l-.23-.73A.56.56,0,0,0,68,5.09h-.52a.59.59,0,0,0-.58.57v9.06a.58.58,0,0,0,.58.57h1c.32,0,.79,0,.79-.57V8.4A2.77,2.77,0,0,1,71.5,7.13a2.47,2.47,0,0,1,.86.18.5.5,0,0,0,.41,0A.56.56,0,0,0,73.1,7l.52-1.09A.48.48,0,0,0,73.61,5.44Z"}))},CheckIns:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"dc713595-39c2-41c4-b1d9-3ef8c295b738",viewBox:"0 0 79.311 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"check-ins-text"),t.createElement("path",{fill:n,d:"M40.221,13.213c.4.362.326.669.2.866A4.646,4.646,0,0,1,36.44,16.2a5.2,5.2,0,0,1-5.2-5.311,5.286,5.286,0,0,1,5.225-5.331,4.462,4.462,0,0,1,3.711,1.768.605.605,0,0,1-.1.869L39.3,8.9c-.362.333-.64.055-.806-.109a2.9,2.9,0,0,0-1.967-.959,2.937,2.937,0,0,0-2.9,3.031,2.92,2.92,0,0,0,2.837,3.054,2.62,2.62,0,0,0,2.03-.965c.082-.081.162-.16.242-.234a.572.572,0,0,1,.818-.049h0Zm-9.679-2.971c0,.178-.022.526-.044.7a.579.579,0,0,1-.567.531H23.174a2.82,2.82,0,0,0,2.855,2.485,3.736,3.736,0,0,0,2.369-.818.609.609,0,0,1,.45-.147.459.459,0,0,1,.3.219l.583.907a.513.513,0,0,1-.065.819A5.708,5.708,0,0,1,25.9,16.2a5.046,5.046,0,0,1-5.1-5.332,5.081,5.081,0,0,1,5.074-5.31A4.572,4.572,0,0,1,30.542,10.242ZM23.3,9.653h4.874A2.23,2.23,0,0,0,25.835,7.62,2.412,2.412,0,0,0,23.3,9.653Zm-7.751-4.1a4.789,4.789,0,0,0-2.773.924V2.339a.621.621,0,0,0-.59-.588H10.974a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589H12.16a.575.575,0,0,0,.611-.589V9.193a2.871,2.871,0,0,1,2.493-1.357c1.2,0,1.867.884,1.867,2.492v5.045a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C19.518,7.221,18.144,5.557,15.544,5.557ZM8.315,12.674h0a.573.573,0,0,0-.818.049c-.08.074-.16.154-.242.235a2.624,2.624,0,0,1-2.029.964,2.92,2.92,0,0,1-2.838-3.054,2.938,2.938,0,0,1,2.9-3.031A2.906,2.906,0,0,1,7.257,8.8c.166.164.444.442.8.109l.775-.71a.6.6,0,0,0,.1-.869A4.464,4.464,0,0,0,5.225,5.557,5.285,5.285,0,0,0,0,10.888,5.2,5.2,0,0,0,5.2,16.2a4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM55.084,9.566h-4.1a.514.514,0,0,0-.525.525v.926a.51.51,0,0,0,.525.5h4.1a.51.51,0,0,0,.526-.5v-.926A.514.514,0,0,0,55.084,9.566Zm20.945.2C74.97,9.308,74.4,8.955,74.4,8.41c0-.383.357-.769,1.156-.769a5.059,5.059,0,0,1,2.087.486.581.581,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.882,5.705,5.705,0,0,0-2.973-.751c-2.358,0-3.413,1.422-3.413,2.831,0,1.764,1.327,2.606,2.762,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.39-.7l-.031-.018a.629.629,0,0,0-.506-.075.494.494,0,0,0-.3.254l-.452.926a.523.523,0,0,0,.21.664A5.935,5.935,0,0,0,75.639,16.2c2.41,0,3.672-1.522,3.672-3.025C79.311,11.3,78.011,10.609,76.029,9.769Zm-9.2-4.212a4.687,4.687,0,0,0-3.3,1.277l-.235-.67a.5.5,0,0,0-.522-.392h-.517a.605.605,0,0,0-.591.59v9.011a.591.591,0,0,0,.591.589h1.1c.469,0,.7-.193.7-.589V9.19A2.934,2.934,0,0,1,66.57,7.836c1.191,0,1.846.87,1.846,2.45v5.087a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C70.8,7.131,69.5,5.557,66.829,5.557Zm-8.3-4.275a1.543,1.543,0,0,0-1.538,1.581,1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm-12.215,9.1,3.949-3.716a.548.548,0,0,0,.14-.588.484.484,0,0,0-.476-.3H48.355a1.063,1.063,0,0,0-.7.331L44.008,9.4V2.339a.62.62,0,0,0-.59-.588H42.211a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V11.329l3.783,4.4a.711.711,0,0,0,.542.237H50.1a.468.468,0,0,0,.461-.256.561.561,0,0,0-.094-.582ZM59.135,5.772H57.928a.605.605,0,0,0-.59.59v9.011a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V6.362A.621.621,0,0,0,59.135,5.772Z"}))},ChurchCenter:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"e2e8a225-c349-4aea-935c-64b6ad436be8",viewBox:"0 0 118.083 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"church-center-text"),t.createElement("path",{fill:n,d:"M5.188,16.2A5.187,5.187,0,0,1,0,10.908,5.27,5.27,0,0,1,5.209,5.591a4.453,4.453,0,0,1,3.7,1.762.588.588,0,0,1-.1.844l-.776.712c-.346.319-.607.062-.779-.109a2.93,2.93,0,0,0-1.983-.966A2.959,2.959,0,0,0,2.35,10.887a2.942,2.942,0,0,0,2.859,3.076,2.642,2.642,0,0,0,2.045-.971c.082-.081.162-.16.242-.234a.552.552,0,0,1,.794-.047l.669.539c.388.352.318.651.193.841A4.629,4.629,0,0,1,5.188,16.2ZM19.5,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.788,4.788,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H10.964a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572H12.15a.558.558,0,0,0,.593-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,19.5,15.4Zm8.7-.468.2.566c.09.246.218.474.544.474h.518a.6.6,0,0,0,.592-.572V6.378a.612.612,0,0,0-.592-.57h-1.1c-.332,0-.657.044-.657.57l0,6.023a2.38,2.38,0,0,1-2.236,1.562c-1.259,0-1.845-.723-1.845-2.277V6.378a.585.585,0,0,0-.571-.57H21.843a.6.6,0,0,0-.57.57v5.156c0,2.175.433,4.67,3.807,4.67A4.06,4.06,0,0,0,28.193,14.928Zm6.2.468V9.1A2.755,2.755,0,0,1,36.65,7.834a2.382,2.382,0,0,1,.863.184.53.53,0,0,0,.41.032.571.571,0,0,0,.324-.315l.518-1.077a.5.5,0,0,0-.009-.507c-.259-.413-1.18-.56-1.89-.56a3.975,3.975,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C33.922,15.968,34.4,15.968,34.4,15.4Zm13.35-1.305c.125-.19.2-.489-.193-.841l-.669-.539a.552.552,0,0,0-.794.047c-.08.074-.16.153-.242.234a2.642,2.642,0,0,1-2.044.971,2.942,2.942,0,0,1-2.86-3.076,2.959,2.959,0,0,1,2.924-3.053A2.93,2.93,0,0,1,45.85,8.8c.172.171.433.428.779.109l.776-.712a.588.588,0,0,0,.1-.844,4.452,4.452,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,47.745,14.091ZM58.089,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.79,4.79,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H49.557a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.187a.557.557,0,0,0,.592-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,58.089,15.4Zm12.926-1.305c.126-.19.2-.489-.192-.841l-.669-.539a.553.553,0,0,0-.8.047c-.08.074-.159.153-.242.234a2.64,2.64,0,0,1-2.044.971,2.941,2.941,0,0,1-2.859-3.076A2.8,2.8,0,0,1,69.121,8.8c.171.171.433.428.778.109l.777-.712a.587.587,0,0,0,.1-.844,4.449,4.449,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,71.015,14.091Zm10.247-3.83c0,.177-.022.525-.044.7a.562.562,0,0,1-.549.516H73.887a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.436-.143.447.447,0,0,1,.283.212l.584.907a.492.492,0,0,1-.063.794A5.7,5.7,0,0,1,76.634,16.2a5.031,5.031,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.558,4.558,0,0,1,81.262,10.261Zm-2.335-.57a2.251,2.251,0,0,0-2.358-2.073,2.433,2.433,0,0,0-2.564,2.073ZM91.707,15.4V10.391c0-3.23-1.3-4.8-3.959-4.8a4.657,4.657,0,0,0-3.306,1.3l-.246-.7a.479.479,0,0,0-.5-.376h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.1c.457,0,.679-.187.679-.572V9.2a2.96,2.96,0,0,1,2.536-1.37c1.2,0,1.867.877,1.867,2.471V15.4a.58.58,0,0,0,.571.572h1.208A.594.594,0,0,0,91.707,15.4Zm7.779.081a.538.538,0,0,0,.277-.7l-.389-1.014a.537.537,0,0,0-.306-.325.493.493,0,0,0-.415.061,3.249,3.249,0,0,1-1.548.462c-.445,0-.7-.15-.7-.918V7.834h2.536a.594.594,0,0,0,.571-.571V6.378a.564.564,0,0,0-.571-.57H96.4V3.12a.555.555,0,0,0-.549-.571h-1.23a.579.579,0,0,0-.571.571V5.808H93.005a.552.552,0,0,0-.571.57v.885a.579.579,0,0,0,.571.571h1.048v5.3c0,1.431.3,3.073,2.62,3.073A6.067,6.067,0,0,0,99.486,15.477Zm10.11-5.216c0,.177-.022.525-.044.7a.561.561,0,0,1-.549.516h-6.782a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.437-.143.446.446,0,0,1,.282.212l.584.907a.491.491,0,0,1-.063.794,5.7,5.7,0,0,1-3.752,1.252,5.032,5.032,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.557,4.557,0,0,1,109.6,10.261Zm-2.335-.57A2.25,2.25,0,0,0,104.9,7.618a2.434,2.434,0,0,0-2.565,2.073Zm6.026,5.705V9.1a2.755,2.755,0,0,1,2.255-1.265,2.388,2.388,0,0,1,.864.184.528.528,0,0,0,.409.032.568.568,0,0,0,.324-.315l.519-1.077a.5.5,0,0,0-.009-.507c-.26-.413-1.181-.56-1.891-.56a3.977,3.977,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C112.814,15.968,113.287,15.968,113.287,15.4Z"}))},Giving:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"a221b42b-722d-4eb3-b043-fff7f3c6686f",viewBox:"0 0 50.486 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"giving-text"),t.createElement("path",{fill:n,d:"M9.17,5.089H8.588c-.335,0-.42.255-.474.416l-.2.473a4.791,4.791,0,0,0-3.1-1.1A5.026,5.026,0,0,0,0,10.184a5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.089Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.973,2.973,0,0,1-2.8-3.054A2.82,2.82,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.467Zm6.745-2.788v9.01a.6.6,0,0,1-.59.589H12.321a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,14.118,5.679Zm.388-3.508A1.572,1.572,0,0,1,12.924,3.73a1.532,1.532,0,0,1-1.538-1.559A1.543,1.543,0,0,1,12.924.59,1.564,1.564,0,0,1,14.506,2.171Zm10.3,3.156a.49.49,0,0,1-.027.5l-4.307,9.367a.558.558,0,0,1-.514.327h-.13a.6.6,0,0,1-.534-.323L14.984,5.817a.487.487,0,0,1-.025-.49.545.545,0,0,1,.494-.238h1.315a.547.547,0,0,1,.535.344l2.572,5.917,2.7-5.913c.16-.348.486-.348.773-.348h.97A.545.545,0,0,1,24.807,5.327Zm3.249.352v9.01a.6.6,0,0,1-.59.589H26.259a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,28.056,5.679Zm.388-3.508A1.572,1.572,0,0,1,26.863,3.73a1.532,1.532,0,0,1-1.539-1.559A1.544,1.544,0,0,1,26.863.59,1.564,1.564,0,0,1,28.444,2.171Zm10.69,7.517v5a.6.6,0,0,1-.59.589H37.337a.59.59,0,0,1-.59-.589V9.6c0-1.581-.655-2.451-1.846-2.451a2.938,2.938,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h.517a.5.5,0,0,1,.522.391l.235.67a4.692,4.692,0,0,1,3.3-1.276C37.834,4.874,39.134,6.448,39.134,9.688Zm10.456-4.6h-.582c-.336,0-.42.255-.473.416l-.2.473a4.777,4.777,0,0,0-3.1-1.1,5.026,5.026,0,0,0-4.815,5.31,5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,45.451,20a4.407,4.407,0,0,0,4.729-4.771V5.679A.605.605,0,0,0,49.59,5.089Zm-1.8,7.409a3.944,3.944,0,0,1-2.19.74,2.973,2.973,0,0,1-2.795-3.054,2.693,2.693,0,0,1,4.985-1.717Z"}))},Home:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"a221b42b-722d-4eb3-b043-fff7f3c6686f","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 47.624 20"},t.createElement("title",null,"home-text"),t.createElement("path",{fill:n,d:"M8.952,9.7V14.69a.584.584,0,0,1-.553.57H7.229a.57.57,0,0,1-.553-.57V9.658c0-1.616-.649-2.506-1.827-2.506A2.791,2.791,0,0,0,2.414,8.52v6.17a.547.547,0,0,1-.573.57H.692a.569.569,0,0,1-.553-.57v-13a.583.583,0,0,1,.553-.569H1.861a.6.6,0,0,1,.553.569V5.857a4.544,4.544,0,0,1,2.706-.94C7.627,4.917,8.952,6.571,8.952,9.7Zm11.261.473a5.239,5.239,0,0,1-5,5.322,5.185,5.185,0,0,1-5.022-5.322A5.213,5.213,0,0,1,15.21,4.917,5.2,5.2,0,0,1,20.213,10.174Zm-2.234,0a2.789,2.789,0,1,0-5.558,0,2.884,2.884,0,0,0,2.789,3.087A2.876,2.876,0,0,0,17.979,10.174Zm14.59-5.257a4.475,4.475,0,0,0-3.248,1.519,3.34,3.34,0,0,0-2.956-1.519,4.128,4.128,0,0,0-3.031,1.289L23.111,5.5a.487.487,0,0,0-.506-.367h-.48a.584.584,0,0,0-.553.569V14.69a.57.57,0,0,0,.553.57h1.169a.577.577,0,0,0,.553-.57V8.512a2.367,2.367,0,0,1,2.184-1.36c1.216,0,1.808.806,1.808,2.463V14.69a.555.555,0,0,0,.552.57h1.191a.559.559,0,0,0,.532-.57V9.551a10.249,10.249,0,0,0-.077-1.3l.06-.064a2.793,2.793,0,0,1,2.159-1.034c1.2,0,1.807.829,1.807,2.463V14.69a.538.538,0,0,0,.553.57h1.17a.549.549,0,0,0,.553-.57V9.7C36.339,7.647,35.948,4.917,32.569,4.917ZM47.042,9.572c0,.176-.021.523-.043.7a.549.549,0,0,1-.531.514H39.9A2.778,2.778,0,0,0,42.687,13.3a3.573,3.573,0,0,0,2.306-.82.6.6,0,0,1,.422-.144.431.431,0,0,1,.274.211l.566.9a.5.5,0,0,1-.061.791A5.416,5.416,0,0,1,42.562,15.5c-2.85,0-4.919-2.229-4.919-5.3a4.988,4.988,0,0,1,4.9-5.279A4.479,4.479,0,0,1,47.042,9.572ZM40.016,9h4.765A2.2,2.2,0,0,0,42.5,6.937,2.375,2.375,0,0,0,40.016,9Z"}))},Groups:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"08e4075e-8ca4-4400-a3ae-98f53270d1d0",viewBox:"0 0 58.688 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"groups-text"),t.createElement("path",{fill:n,d:"M9.17,5.09H8.588c-.335,0-.42.255-.474.416l-.2.472a4.791,4.791,0,0,0-3.1-1.1A5.027,5.027,0,0,0,0,10.185a5.085,5.085,0,0,0,4.923,5.332,5.465,5.465,0,0,0,2.428-.63v.342c0,2.113-1.285,2.557-2.363,2.557a3.631,3.631,0,0,1-2.259-.9.568.568,0,0,0-.473-.115.556.556,0,0,0-.366.3l-.516.947a.574.574,0,0,0,.126.7A5.487,5.487,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.09Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.972,2.972,0,0,1-2.8-3.053A2.821,2.821,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.468Zm11.092-2.5-.517,1.077a.588.588,0,0,1-.335.323.535.535,0,0,1-.424-.032,2.351,2.351,0,0,0-.854-.183A2.738,2.738,0,0,0,14.1,8.4v6.288c0,.59-.485.59-.806.59H12.3a.6.6,0,0,1-.59-.59V5.679a.6.6,0,0,1,.59-.589h.517a.574.574,0,0,1,.544.434l.213.688A3.931,3.931,0,0,1,16.55,4.874c.749,0,1.642.149,1.9.568A.517.517,0,0,1,18.465,5.967Zm4.994-1.093a5.323,5.323,0,0,0,0,10.643,5.323,5.323,0,0,0,0-10.643Zm0,8.364A2.907,2.907,0,0,1,20.6,10.163a2.852,2.852,0,1,1,5.7,0A2.9,2.9,0,0,1,23.459,13.238ZM38.688,5.679v9.01a.616.616,0,0,1-.611.59H37.56c-.34,0-.475-.246-.561-.486l-.2-.535a4.082,4.082,0,0,1-3.1,1.259c-3.389,0-3.824-2.5-3.824-4.686V5.679a.621.621,0,0,1,.59-.589h1.207a.605.605,0,0,1,.591.589v5.3c0,1.539.579,2.256,1.824,2.256A2.356,2.356,0,0,0,36.3,11.694l0-6.015c0-.544.334-.589.677-.589h1.1A.632.632,0,0,1,38.688,5.679Zm6.9-.805a4.752,4.752,0,0,0-3.081,1.1l-.2-.488a.523.523,0,0,0-.54-.4h-.538a.6.6,0,0,0-.59.589V19.266a.6.6,0,0,0,.59.589H42.44a.58.58,0,0,0,.633-.589V14.909a5.612,5.612,0,0,0,2.428.608,5.075,5.075,0,0,0,4.9-5.332A5.027,5.027,0,0,0,45.587,4.874ZM43.029,8.457a2.633,2.633,0,0,1,2.278-1.305,2.789,2.789,0,0,1,2.708,3.033,2.9,2.9,0,0,1-2.794,3.053,4.131,4.131,0,0,1-2.192-.676Zm15.349,4.034c0,1.5-1.262,3.026-3.672,3.026a5.921,5.921,0,0,1-3.343-1.034h0a.522.522,0,0,1-.208-.663l.452-.925a.493.493,0,0,1,.3-.254.633.633,0,0,1,.5.075l.037.02a4.488,4.488,0,0,0,2.384.7c.74,0,1.2-.329,1.2-.856,0-.581-.666-.985-2.066-1.619-1.435-.646-2.763-1.487-2.763-3.252,0-1.41,1.056-2.832,3.414-2.832a5.71,5.71,0,0,1,2.973.752.705.705,0,0,1,.256.881L57.5,7.2a.58.58,0,0,1-.8.248,5.043,5.043,0,0,0-2.087-.485c-.8,0-1.156.386-1.156.768,0,.545.574.9,1.633,1.361C57.078,9.926,58.378,10.616,58.378,12.491Z"}))},People:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"c461f8d4-1c6e-406e-af2d-8d7721d891d5",viewBox:"0 0 57.729 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"people-text"),t.createElement("path",{fill:n,d:"M4.944,5.019a4.754,4.754,0,0,0-3.08,1.1l-.2-.487a.521.521,0,0,0-.539-.4H.59A.606.606,0,0,0,0,5.823V19.41A.6.6,0,0,0,.59,20H1.8a.58.58,0,0,0,.633-.59V15.053a5.593,5.593,0,0,0,2.428.607,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,4.944,5.019ZM2.387,8.6A2.63,2.63,0,0,1,4.665,7.3a2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.795,3.054,4.109,4.109,0,0,1-2.191-.678ZM15.663,5.019a5.083,5.083,0,0,0-5.075,5.31,5.046,5.046,0,0,0,5.1,5.331A5.707,5.707,0,0,0,19.445,14.4a.511.511,0,0,0,.065-.818l-.583-.907a.459.459,0,0,0-.295-.22.609.609,0,0,0-.45.147,3.735,3.735,0,0,1-2.369.82,2.819,2.819,0,0,1-2.854-2.487h6.756a.578.578,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,15.663,5.019Zm-2.583,4.1a2.411,2.411,0,0,1,2.539-2.033,2.231,2.231,0,0,1,2.335,2.033Zm13.145-4.1a5.322,5.322,0,0,0,0,10.641,5.322,5.322,0,0,0,0-10.641Zm2.837,5.289a2.856,2.856,0,1,1-5.7,0,2.852,2.852,0,1,1,5.7,0Zm8.653-5.289a4.758,4.758,0,0,0-3.081,1.1l-.2-.487a.522.522,0,0,0-.54-.4h-.538a.606.606,0,0,0-.591.589V19.41a.592.592,0,0,0,.591.59h1.207a.58.58,0,0,0,.633-.59V15.05a5.541,5.541,0,0,0,2.428.61,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,37.715,5.019ZM35.158,8.6a2.629,2.629,0,0,1,2.277-1.3,2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.794,3.054,4.109,4.109,0,0,1-2.191-.678ZM46.324,1.247V14.834a.606.606,0,0,1-.59.59H44.527a.6.6,0,0,1-.59-.59V1.247a.6.6,0,0,1,.59-.589h1.207A.621.621,0,0,1,46.324,1.247Zm6.459,3.772a5.083,5.083,0,0,0-5.075,5.31,5.047,5.047,0,0,0,5.1,5.331A5.713,5.713,0,0,0,56.566,14.4a.511.511,0,0,0,.064-.818l-.583-.907a.459.459,0,0,0-.295-.22.6.6,0,0,0-.449.147,3.739,3.739,0,0,1-2.369.82,2.821,2.821,0,0,1-2.855-2.487h6.756a.577.577,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,52.783,5.019ZM52.74,7.081a2.231,2.231,0,0,1,2.334,2.033H50.2A2.412,2.412,0,0,1,52.74,7.081Z"}))},Publishing:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 84.973 20"},t.createElement("title",null,"publishing-text"),t.createElement("path",{d:"M4.905,5.03A4.709,4.709,0,0,0,1.829,6.141l-.2-.511a.5.5,0,0,0-.52-.385H.568A.59.59,0,0,0,0,5.812V19.374a.575.575,0,0,0,.568.568h1.2a.559.559,0,0,0,.611-.568v-4.4a5.573,5.573,0,0,0,2.437.618A5.036,5.036,0,0,0,9.681,10.3,4.988,4.988,0,0,0,4.905,5.03ZM2.338,8.575A2.642,2.642,0,0,1,4.626,7.261,2.8,2.8,0,0,1,7.343,10.3a2.908,2.908,0,0,1-2.8,3.06,4.117,4.117,0,0,1-2.2-.684Zm17.4-2.763v8.974a.6.6,0,0,1-.59.569h-.515c-.326,0-.456-.238-.541-.472l-.2-.562a4.046,4.046,0,0,1-3.1,1.27c-3.358,0-3.788-2.484-3.788-4.647V5.812a.606.606,0,0,1,.568-.567h1.2a.59.59,0,0,1,.568.567v5.282c0,1.546.584,2.266,1.837,2.266A2.368,2.368,0,0,0,17.4,11.806V5.812c0-.524.323-.567.654-.567h1.094A.609.609,0,0,1,19.737,5.812Zm6.74-.782A6.836,6.836,0,0,0,24.1,5.5l-.018.006V1.246a.606.606,0,0,0-.568-.567H22.29a.583.583,0,0,0-.568.567v13.54a.576.576,0,0,0,.568.569h.516a.569.569,0,0,0,.542-.5l.17-.576a4.845,4.845,0,0,0,3.217,1.31c2.6,0,4.711-2.374,4.711-5.291A5.071,5.071,0,0,0,26.477,5.03ZM24.061,7.76a5.243,5.243,0,0,1,2.18-.5A3,3,0,0,1,29.107,10.3a2.9,2.9,0,0,1-2.694,3.06A2.761,2.761,0,0,1,24.061,12ZM35.225,1.246v13.54a.591.591,0,0,1-.568.569h-1.2a.576.576,0,0,1-.569-.569V1.246a.59.59,0,0,1,.569-.567h1.2A.606.606,0,0,1,35.225,1.246Zm4.349,4.566v8.974a.591.591,0,0,1-.568.569H37.8a.576.576,0,0,1-.568-.569V5.812a.582.582,0,0,1,.568-.567h1.2A.606.606,0,0,1,39.574,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.508,1.508,0,0,1-1.513-1.534A1.519,1.519,0,0,1,38.405.679,1.539,1.539,0,0,1,39.961,2.235ZM48.143,12.6c0,1.488-1.25,2.994-3.638,2.994a5.875,5.875,0,0,1-3.318-1.026h0a.5.5,0,0,1-.2-.636l.45-.922a.47.47,0,0,1,.291-.243.613.613,0,0,1,.487.073l.036.02a4.489,4.489,0,0,0,2.385.7c.737,0,1.214-.342,1.214-.871,0-.589-.667-.994-2.069-1.629-1.423-.642-2.74-1.476-2.74-3.222,0-1.394,1.045-2.8,3.38-2.8a5.67,5.67,0,0,1,2.951.745.684.684,0,0,1,.248.853l-.343.687a.56.56,0,0,1-.769.238,5.05,5.05,0,0,0-2.087-.485c-.808,0-1.17.394-1.17.784,0,.554.575.91,1.638,1.372C46.853,10.057,48.143,10.742,48.143,12.6ZM58.461,9.805v4.981a.592.592,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.763c0-1.614-.668-2.5-1.879-2.5a2.881,2.881,0,0,0-2.5,1.366v6.159a.554.554,0,0,1-.589.569H49.97a.576.576,0,0,1-.568-.569V1.246A.582.582,0,0,1,49.97.679h1.2a.606.606,0,0,1,.567.567V5.967a4.766,4.766,0,0,1,2.782-.937C57.1,5.03,58.461,6.681,58.461,9.805Zm4.2-3.993v8.974a.59.59,0,0,1-.567.569h-1.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h1.2A.606.606,0,0,1,62.657,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.507,1.507,0,0,1-1.512-1.534A1.518,1.518,0,0,1,61.488.679,1.539,1.539,0,0,1,63.044,2.235Zm10.647,7.57v4.981a.591.591,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.72c0-1.586-.66-2.459-1.858-2.459a2.944,2.944,0,0,0-2.523,1.364v6.161c0,.383-.221.569-.676.569H65.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h.516a.474.474,0,0,1,.5.375l.245.7a4.64,4.64,0,0,1,3.29-1.288C72.4,5.03,73.691,6.592,73.691,9.805Zm10.432-4.56h-.579c-.32,0-.4.236-.454.4l-.2.5a4.737,4.737,0,0,0-3.1-1.112A4.988,4.988,0,0,0,75.01,10.3a5.046,5.046,0,0,0,4.884,5.291,5.429,5.429,0,0,0,2.437-.64v.372c0,2.121-1.29,2.566-2.373,2.566a3.629,3.629,0,0,1-2.261-.9.547.547,0,0,0-.456-.111.535.535,0,0,0-.352.292l-.514.944a.551.551,0,0,0,.123.673A5.444,5.444,0,0,0,80,20.056a4.371,4.371,0,0,0,4.69-4.733V5.812A.582.582,0,0,0,84.123,5.245ZM80.151,13.36a2.979,2.979,0,0,1-2.8-3.06,2.7,2.7,0,0,1,5-1.715v4.029A3.973,3.973,0,0,1,80.151,13.36Z",fill:n}))},Registrations:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"2da9f999-408b-4466-9b5d-b1268727ac81","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 105.758 20"},t.createElement("title",null,"registrations-text"),t.createElement("path",{fill:n,d:"M6.751,5.966,6.234,7.043a.589.589,0,0,1-.336.324.545.545,0,0,1-.423-.033,2.375,2.375,0,0,0-.854-.182A2.74,2.74,0,0,0,2.387,8.4v6.288c0,.59-.485.59-.8.59H.59a.6.6,0,0,1-.59-.59V5.679A.6.6,0,0,1,.59,5.09h.517a.574.574,0,0,1,.544.433l.212.685A4,4,0,0,1,4.836,4.874c.749,0,1.643.148,1.9.567A.517.517,0,0,1,6.751,5.966Zm9.583,3.593c0,.181-.022.53-.044.705a.578.578,0,0,1-.567.531H8.966a2.82,2.82,0,0,0,2.855,2.486,3.74,3.74,0,0,0,2.369-.819.608.608,0,0,1,.45-.148.465.465,0,0,1,.295.22l.583.907a.513.513,0,0,1-.065.819,5.708,5.708,0,0,1-3.762,1.256,5.046,5.046,0,0,1-5.1-5.331A5.083,5.083,0,0,1,11.67,4.874,4.572,4.572,0,0,1,16.334,9.559ZM11.627,6.937A2.411,2.411,0,0,0,9.087,8.97h4.874A2.23,2.23,0,0,0,11.627,6.937ZM26.8,5.679v9.55A4.407,4.407,0,0,1,22.071,20a5.486,5.486,0,0,1-3.53-1.284.564.564,0,0,1-.127-.7l.516-.948a.555.555,0,0,1,.365-.3.561.561,0,0,1,.474.114,3.622,3.622,0,0,0,2.259.905c1.078,0,2.364-.444,2.364-2.557v-.342a5.472,5.472,0,0,1-2.429.629,5.084,5.084,0,0,1-4.922-5.331,5.027,5.027,0,0,1,4.814-5.311,4.777,4.777,0,0,1,3.1,1.1l.2-.473c.053-.161.138-.415.473-.415h.582A.6.6,0,0,1,26.8,5.679ZM22.136,7.152a2.821,2.821,0,0,0-2.708,3.033,2.972,2.972,0,0,0,2.794,3.053,3.948,3.948,0,0,0,2.191-.74V8.468A2.834,2.834,0,0,0,22.136,7.152ZM29.965.6a1.544,1.544,0,0,0-1.538,1.582A1.55,1.55,0,0,0,29.965,3.74a1.571,1.571,0,1,0,0-3.141Zm.6,4.491H29.361a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59h1.208a.6.6,0,0,0,.589-.59V5.679A.62.62,0,0,0,30.569,5.09Zm5.91,4c-1.059-.462-1.632-.815-1.632-1.36,0-.383.357-.769,1.155-.769a5.048,5.048,0,0,1,2.088.486.582.582,0,0,0,.8-.248l.345-.689a.709.709,0,0,0-.256-.882A5.713,5.713,0,0,0,36,4.874c-2.357,0-3.413,1.422-3.413,2.831,0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.065,1.038,2.065,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.387-.7l-.034-.018a.644.644,0,0,0-.5-.076.494.494,0,0,0-.3.254l-.452.925a.517.517,0,0,0,.208.663h0a5.917,5.917,0,0,0,3.342,1.034c2.411,0,3.672-1.522,3.672-3.025C39.761,10.617,38.461,9.926,36.479,9.087Zm10.558,3.964a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H44.071V2.424a.574.574,0,0,0-.569-.59H42.273a.59.59,0,0,0-.589.59V5.09H40.657a.57.57,0,0,0-.59.589v.883a.59.59,0,0,0,.59.59h1.027v5.274c0,1.438.3,3.09,2.637,3.09a6.116,6.116,0,0,0,2.822-.729.556.556,0,0,0,.283-.721Zm8.023-7.61c-.263-.419-1.156-.567-1.905-.567a4,4,0,0,0-2.973,1.335l-.212-.686a.574.574,0,0,0-.544-.433h-.517a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59H49.9c.321,0,.806,0,.806-.59V8.4A2.738,2.738,0,0,1,52.94,7.152a2.369,2.369,0,0,1,.853.182.548.548,0,0,0,.424.033.6.6,0,0,0,.336-.324l.517-1.077A.517.517,0,0,0,55.06,5.441Zm8.351,3.946v5.3a.605.605,0,0,1-.59.59H62.11c-.284,0-.412-.166-.516-.416l-.181-.509A4.386,4.386,0,0,1,58.4,15.516a3.2,3.2,0,0,1-3.328-3.435c0-2.021,1.611-3.327,4.1-3.327a7.7,7.7,0,0,1,1.892.265,2.3,2.3,0,0,0-.417-1.668A1.414,1.414,0,0,0,59.588,7a10.1,10.1,0,0,0-2.749.47.577.577,0,0,1-.7-.494l-.194-.82a.566.566,0,0,1,.4-.717A10.865,10.865,0,0,1,59.8,4.874C63.14,4.874,63.411,6.918,63.411,9.387Zm-4.06,1.149c-1.174,0-1.933.6-1.933,1.524a1.343,1.343,0,0,0,1.436,1.458,2.987,2.987,0,0,0,2.191-1.125V10.835A4.853,4.853,0,0,0,59.351,10.536Zm11.773,2.515a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H68.158V2.424a.574.574,0,0,0-.569-.59H66.36a.591.591,0,0,0-.59.59V5.09H64.744a.57.57,0,0,0-.59.589v.883a.591.591,0,0,0,.59.59H65.77v5.274c0,1.438.3,3.09,2.638,3.09a6.107,6.107,0,0,0,2.821-.729.556.556,0,0,0,.284-.721ZM74.2,5.09H72.994a.605.605,0,0,0-.591.589v9.01a.591.591,0,0,0,.591.59H74.2a.605.605,0,0,0,.59-.59V5.679A.621.621,0,0,0,74.2,5.09ZM73.6.6a1.543,1.543,0,0,0-1.538,1.582A1.55,1.55,0,0,0,73.6,3.74,1.571,1.571,0,1,0,73.6.6Zm12.869,9.563a5.341,5.341,0,0,1-5.182,5.354,5.323,5.323,0,1,1,5.182-5.354Zm-2.344,0a2.853,2.853,0,1,0-5.7,0,2.857,2.857,0,1,0,5.7,0Zm8.867-5.288a4.7,4.7,0,0,0-3.3,1.277l-.235-.671a.5.5,0,0,0-.522-.39h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h1.1c.469,0,.7-.192.7-.59V8.507A2.939,2.939,0,0,1,92.73,7.152c1.191,0,1.847.87,1.847,2.451v5.086a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59v-5C96.964,6.448,95.664,4.874,92.989,4.874Zm9.2,4.213c-1.059-.462-1.633-.815-1.633-1.36,0-.383.358-.769,1.156-.769a5.04,5.04,0,0,1,2.087.486.585.585,0,0,0,.8-.248l.344-.689a.709.709,0,0,0-.255-.882,5.718,5.718,0,0,0-2.974-.751C99.355,4.874,98.3,6.3,98.3,7.705c0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.46.856-1.2.856a4.49,4.49,0,0,1-2.387-.7l-.034-.018A.633.633,0,0,0,99,12.64a.49.49,0,0,0-.3.253l-.452.925a.516.516,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.411,0,3.673-1.522,3.673-3.025C105.472,10.617,104.172,9.926,102.19,9.087Z"}))},Services:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"bd77a8f3-6992-4241-927e-9fdc3bf67b80","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 67.995 20"},t.createElement("title",null,"services-text"),t.createElement("path",{fill:n,d:"M7.277,12.49c0,1.5-1.262,3.026-3.672,3.026A5.924,5.924,0,0,1,.262,14.482h0a.521.521,0,0,1-.209-.663L.5,12.893a.5.5,0,0,1,.305-.254.62.62,0,0,1,.5.075l.036.019a4.479,4.479,0,0,0,2.385.7c.74,0,1.2-.328,1.2-.856,0-.582-.666-.985-2.066-1.618C1.432,10.311.105,9.469.105,7.705c0-1.41,1.055-2.832,3.413-2.832a5.717,5.717,0,0,1,2.974.752.7.7,0,0,1,.255.881L6.4,7.2a.58.58,0,0,1-.8.248,5.04,5.04,0,0,0-2.087-.485c-.8,0-1.155.386-1.155.768,0,.546.573.9,1.632,1.361C5.977,9.925,7.277,10.615,7.277,12.49ZM17.622,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.568.532H10.255a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.64.64,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.715,5.715,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332,5.083,5.083,0,0,1,5.074-5.311A4.573,4.573,0,0,1,17.622,9.559ZM15.249,8.97a2.229,2.229,0,0,0-2.334-2.034,2.412,2.412,0,0,0-2.54,2.034Zm8.511-4.1a3.929,3.929,0,0,0-2.972,1.338l-.213-.688a.575.575,0,0,0-.544-.434h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h.992c.32,0,.8,0,.8-.59V8.4a2.74,2.74,0,0,1,2.235-1.249,2.351,2.351,0,0,1,.854.183.534.534,0,0,0,.424.032.584.584,0,0,0,.334-.323l.518-1.077a.517.517,0,0,0-.01-.525C25.4,5.022,24.509,4.873,23.76,4.873Zm11.569.216H34.36c-.288,0-.613,0-.774.348l-2.695,5.912L28.319,5.433a.545.545,0,0,0-.535-.344H26.469a.544.544,0,0,0-.493.238.489.489,0,0,0,.024.49l4.311,9.376a.6.6,0,0,0,.534.323h.13a.56.56,0,0,0,.514-.327L35.8,5.822a.49.49,0,0,0,.027-.5A.545.545,0,0,0,35.329,5.089Zm3.154,0H37.276a.6.6,0,0,0-.59.589v9.01a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59V5.678A.621.621,0,0,0,38.483,5.089ZM37.879.6A1.543,1.543,0,0,0,36.341,2.18a1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm10.8,11.392a.567.567,0,0,0-.818.047c-.08.073-.16.152-.241.233a2.623,2.623,0,0,1-2.031.966,2.92,2.92,0,0,1-2.838-3.053,2.778,2.778,0,0,1,4.87-2.073c.165.164.444.443.806.11l.774-.71a.606.606,0,0,0,.1-.87,4.465,4.465,0,0,0-3.711-1.768,5.285,5.285,0,0,0-5.225,5.332,5.2,5.2,0,0,0,5.2,5.311,4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM59.784,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.567.532H52.417a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.641.641,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.712,5.712,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332A5.083,5.083,0,0,1,55.12,4.873,4.573,4.573,0,0,1,59.784,9.559ZM52.537,8.97h4.874a2.229,2.229,0,0,0-2.334-2.034A2.412,2.412,0,0,0,52.537,8.97ZM64.4,9.087c-1.06-.462-1.633-.816-1.633-1.361,0-.382.357-.768,1.156-.768a5.047,5.047,0,0,1,2.087.485.58.58,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.881,5.71,5.71,0,0,0-2.973-.752c-2.358,0-3.414,1.422-3.414,2.832,0,1.764,1.328,2.606,2.763,3.253,1.4.633,2.066,1.036,2.066,1.618,0,.528-.459.856-1.2.856a4.485,4.485,0,0,1-2.384-.7l-.037-.02a.632.632,0,0,0-.5-.075.493.493,0,0,0-.3.254l-.452.925a.521.521,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.412,0,3.673-1.522,3.673-3.026C67.685,10.615,66.385,9.925,64.4,9.087Z"}))}};function xt(e){var n=e.appName,a=e.size;return kt[n]?t.createElement(kt[n],{color:e.color,size:void 0===a?20:a}):t.createElement("div",null,"appName not supported")}var At={transition:"background-color 120ms ease-in"},St={fontFamily:"inherit"},Pt={flex:"1 1 auto"},Zt=["dot","dotFill","fill","style"],Nt=["dark","id","style"],Mt=["colors","style"],Vt=["fill","size","style"],Ht=["fill","style"],zt=["fill","style"],Lt=function(e){var n=e.dot,a=void 0!==n&&n,r=e.dotFill,o=void 0===r?"#fff":r,i=e.fill,l=void 0===i?"#fff":i,c=e.style,s=K(e,Zt),u=t.createElement("path",{d:"M21.482,16.626,19.1,13.649V9a7,7,0,0,0-14,0v4.649L2.478,16.929A1.89,1.89,0,0,0,3.952,20H9.285a2.983,2.983,0,0,0,5.633,0H19.86a2.077,2.077,0,0,0,1.622-3.374ZM19.86,18H4.182l2.7-3.375A1,1,0,0,0,7.1,14V9a5,5,0,0,1,10,0v5a1,1,0,0,0,.219.625l2.6,3.25Z",fill:"white"});return t.createElement("svg",W({width:"24",height:"24",viewBox:"0 0 24 24",style:W({display:"block"},c)},s,{stroke:"none"}),t.createElement("title",null,"bell"),t.createElement("defs",null,t.createElement("mask",{id:"mask-no-dot"},u),t.createElement("mask",{id:"mask-dot"},u,t.createElement("circle",{cx:"18",cy:"6",fill:"black",r:"7"}))),t.createElement("rect",{fill:l,height:"24",mask:a?"url(#mask-dot)":"url(#mask-no-dot",width:"24",x:"0",y:"0"}),a&&t.createElement("circle",{cx:"18",cy:"6",r:"4",fill:o||l}))},Tt=function(e){var n=e.dark,a=void 0!==n&&n,r=e.id,o=void 0===r?"default":r,i=e.style,l=K(e,Nt);return t.createElement("svg",W({fill:"none",height:"123",style:W({},i),width:"160"},l),t.createElement("g",{clipPath:"url(#clip-path-blank-state-"+o+")"},t.createElement("path",{opacity:".6",d:"M155.367 66.751c-6.081 17.955-18.824 33.158-32.579 41.991-14.045 8.977-28.96 11.294-46.19 7.529-16.941-3.764-33.738-11.583-47.638-18.968C15.204 89.63 4.344 82.533 1.593 71.385-1.013 60.525 4.78 45.61 18.68 30.842 32.435 16.362 54.3 2.896 80.362.579c25.919-2.606 49.666 6.082 63.276 18.534 13.901 12.597 17.666 29.828 11.729 47.638z",fill:a?"#414141":"#E1F0F9"}),t.createElement("g",{opacity:".2"},t.createElement("path",{opacity:".2",d:"M90.643 122.063c-9.702 0-19.258-2.606-29.25-7.674-12.741-6.66-26.352-16.796-41.41-30.841C8.832 72.688-.29 62.697 0 50.678c.145-8.542 5.503-17.81 14.914-26.352l1.448 1.593c-9.122 8.108-14.19 16.94-14.335 24.76-.29 11.294 8.543 20.85 19.403 31.42C36.344 96 49.81 105.992 62.263 112.508c13.031 6.805 25.629 8.977 38.371 6.516l.434 2.027c-3.475.724-6.95 1.013-10.425 1.013zM116.706 115.982l-.869-1.738c13.756-6.226 25.919-16.507 34.027-28.67l1.738 1.159c-8.254 12.453-20.706 22.878-34.896 29.249zM158.552 71.385l-2.027-.58c2.896-11.294.869-22.877-5.792-33.303-10.715-17.086-32-29.973-55.457-33.882-19.258-3.475-40.108-.29-58.642 8.688l-.869-1.883c18.824-9.122 40.109-12.307 59.8-8.832 24.037 3.91 45.901 17.23 56.906 34.75 7.095 11.005 9.267 23.023 6.081 35.042z",fill:"#BAC7D3"})),t.createElement("path",{d:"M115.258 20.706l-.145 4.199c0 .869.289 1.882 1.013 2.461l3.186 2.752c.724.724.29 1.882-.724 1.882l-4.199-.145c-.869 0-1.882.29-2.462 1.014l-2.896 3.33c-.724.724-1.882.29-1.882-.724l.145-4.199c0-.869-.29-1.882-1.014-2.462l-3.185-2.75c-.724-.725-.29-1.883.724-1.883l4.199.145c.869 0 1.882-.29 2.461-1.014l2.751-3.185c.724-.87 2.028-.435 2.028.579zM92.959 30.842v1.882c0 .434.144.869.579 1.158l1.448 1.159c.29.29.145.869-.29.869h-1.882c-.434 0-.869.144-1.158.579l-1.159 1.448c-.29.29-.869.145-.869-.29v-1.882c0-.435-.144-.869-.579-1.159l-1.448-1.158c-.29-.29-.145-.869.29-.869h1.882c.435 0 .869-.145 1.159-.579l1.158-1.448c.29-.434.869-.29.869.29z",fill:"#FCC846"}),t.createElement("path",{d:"M68.778 36.633l-19.982 57.63 57.919-20.127-37.937-37.502z",fill:"#48A5E5"}),t.createElement("path",{d:"M82.099 54.299H62.696l2.027-5.647h12.308l5.068 5.647zM99.91 70.082H57.194l2.027-5.648h33.737l6.95 5.648zM72.398 85.864H51.692l1.737-5.647h35.91l-16.941 5.647z",fill:"#79CAF2"}),t.createElement("path",{d:"M107.613 73.964c1.44-1.5-6.087-11.069-16.813-21.374-10.726-10.305-20.588-17.443-22.029-15.944-1.44 1.5 6.087 11.069 16.813 21.374 10.726 10.305 20.588 17.443 22.029 15.944z",fill:a?"#525252":"#636363"}),t.createElement("path",{d:"M113.086 55.747h-3.041c-.724 0-1.303.29-1.737.868l-1.883 2.607c-.434.579-1.448.29-1.448-.435l-.144-3.185c0-.724-.29-1.303-.869-1.738l-2.607-1.882c-.579-.434-.289-1.448.435-1.448l3.185-.145c.724 0 1.303-.29 1.738-.869l1.882-2.606c.435-.58 1.448-.29 1.448.434l.145 3.186c0 .724.29 1.303.869 1.738l2.606 1.882c.579.58.29 1.593-.579 1.593z",fill:"#FCC846"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip-path-blank-state-"+o},t.createElement("path",{fill:"#fff",d:"M0 0h160v122.063H0z"}))))},_t=function(e){var n=e.colors,a=e.style,r=K(e,Mt);return t.createElement("svg",W({color:n.base3,height:"16",viewBox:"0 0 16 16",width:"16"},{style:a},r),t.createElement("title",null,"chevron"),t.createElement("polygon",{fill:"currentColor",points:"11.931 4.892 8 8.824 4.069 4.892 2.927 6.034 8 11.108 9.142 9.966 13.073 6.034 11.931 4.892"}))},Ot=function(e){var n=e.fill,a=void 0===n?"#000":n,r=e.size,o=void 0===r?24:r,i=e.style,l=K(e,Vt);return t.createElement("svg",W({height:o,style:W({display:"block"},i),viewBox:"0 0 16 16",width:o},l),t.createElement("title",null,"exclamation triangle icon"),t.createElement("path",{d:"M15.669 13.676L8.65499 1.56099C8.58867 1.44593 8.49322 1.35037 8.37823 1.28392C8.26325 1.21748 8.13279 1.1825 7.99999 1.1825C7.86718 1.1825 7.73672 1.21748 7.62174 1.28392C7.50675 1.35037 7.4113 1.44593 7.34499 1.56099L0.330986 13.676C0.264196 13.7911 0.228916 13.9217 0.2287 14.0548C0.228484 14.1878 0.26334 14.3186 0.329756 14.4339C0.396172 14.5492 0.491802 14.6449 0.60701 14.7115C0.722218 14.778 0.852933 14.813 0.985986 14.813H15.014C15.147 14.813 15.2778 14.778 15.393 14.7115C15.5082 14.6449 15.6038 14.5492 15.6702 14.4339C15.7366 14.3186 15.7715 14.1878 15.7713 14.0548C15.7711 13.9217 15.7358 13.7911 15.669 13.676ZM8.75699 12.542H7.24299V11.028H8.75699V12.542ZM8.75699 9.51399H7.24299V6.48499H8.75699V9.51399Z",fill:a}))},It=function(e){var n=e.fill,a=void 0===n?"#000":n,r=e.style,o=K(e,Ht);return t.createElement("svg",W({width:"24",height:"24",viewBox:"0 0 24 24",style:W({display:"block"},r)},o),t.createElement("title",null,"search spyglass icon"),t.createElement("path",{d:"M17.352,15.481a8.517,8.517,0,1,0-2.209,2.033l4.642,4.642,2.121-2.121Zm-6.757,1.364a6.5,6.5,0,1,1,6.5-6.5A6.508,6.508,0,0,1,10.595,16.845Z",fill:a}))},Ut=function(e){var n=e.fill,a=void 0===n?"#A0A0A0":n,r=e.style,o=K(e,zt);return t.createElement("svg",W({width:"16",height:"16",viewBox:"0 0 16 16",style:W({display:"block"},r)},o),t.createElement("title",null,"close-x"),t.createElement("path",{d:"M9.142,8l3.814,3.814-1.142,1.142L8,9.142,4.186,12.956,3.044,11.814,6.858,8,3.044,4.186,4.186,3.044,8,6.858l3.814-3.814,1.142,1.142Z",fill:a}))},Rt=["style"];function jt(e){var n=e.style,a=K(e,Rt);return t.createElement("button",W({style:W({WebkitAppearance:"none",appearance:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline-block",outline:0,padding:0},St,n)},a))}var Dt=["appName","colors","displayIconOnly","expanded","onClick","style"],qt=function(e){var n=e.appName,a=e.colors,r=e.displayIconOnly,o=e.expanded,i=e.onClick,l=e.style,c=void 0===l?null:l,s=K(e,Dt),u=t.useState(!1),d=u[0],p=u[1],m=t.useState(!1),h=m[0],f=m[1];return t.createElement(jt,W({onClick:i,onMouseDown:function(){return p(!0)},onMouseEnter:function(){return f(!0)},onMouseLeave:function(){return f(!1)},onMouseUp:function(){return p(!1)},style:W({alignItems:"center",backgroundColor:o&&!d?a.base1:h&&d?a.base2:h?a.base1:"transparent",display:"flex",height:"100%",outline:0,paddingLeft:"16px",paddingRight:"16px",whiteSpace:"nowrap"},At,c)},s),t.createElement(wt,{appName:n.replace(/[\s-]/,""),colors:a,size:24}),!r&&t.createElement(t.Fragment,null,"Accounts"===n?t.createElement("div",{style:{color:"#fff",fontSize:"14px",fontWeight:500,marginLeft:3}},"Account settings"):t.createElement(t.Fragment,null,t.createElement("div",{key:"spacer-1",style:{margin:4}}),t.createElement(xt,{appName:n.replace(/[\s-]/,""),color:"#fff",key:"mono-app-name",size:24})),t.createElement("div",{key:"space-2",style:{margin:4}}),t.createElement(_t,{colors:a,key:"disclosure-chevron-icon",style:{display:"block"}})))},Ft={__proto__:null,Accounts:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6",x1:"1.844",y1:"1.833",x2:"18.622",y2:"18.612",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"accounts-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6)"})]},API:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"c8ec303e-a96d-4850-93ae-70864e3306bb",x1:"0.991",y1:"0.983",x2:"19.295",y2:"19.288",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"api-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,7.991-2,9.989-9.989,9.989S.019,17.991.019,10s2-9.989,9.989-9.989S20,2.009,20,10Z",fill:"url(#c8ec303e-a96d-4850-93ae-70864e3306bb)"})]},Calendar:function(){return[t.createElement("defs",{key:"defs"},t.createElement("linearGradient",{id:"calendar-gradient",x1:"2.05",y1:"2.04",x2:"17.97",y2:"17.96",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f25437"}),t.createElement("stop",{offset:"1",stopColor:"#cd4e39"}))),t.createElement("title",{key:"title"},"calendar-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,8-2,10-10,10S.06,18,.06,10,2.05.05,10,.05,20,2,20,10Z",fill:"url(#calendar-gradient)"})]},CheckIns:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"679bc2bf-38c8-45ab-9ee3-a2ff814fead7",x1:"1.75",y1:"1.739",x2:"18.156",y2:"18.145",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#a76ebe"}),t.createElement("stop",{offset:"1",stopColor:"#875e96"}))),t.createElement("title",{key:"title"},"check-ins-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#679bc2bf-38c8-45ab-9ee3-a2ff814fead7)"})]},ChurchCenter:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"6de99831-a6f8-498e-9bf3-9d55c8d887fa",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#42a5f5"}),t.createElement("stop",{offset:"1",stopColor:"#66bb6a"}))),t.createElement("title",{key:"title"},"church-center-squircle"),t.createElement("path",{key:"path",d:"M10.008.037C2.04.037.048,2.029.048,10s1.992,9.96,9.96,9.96,9.96-1.992,9.96-9.96S17.976.037,10.008.037Z",fill:"url(#6de99831-a6f8-498e-9bf3-9d55c8d887fa)"})]},Giving:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"0aae6372-b733-476d-af45-8777c08c1e24",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.959",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f5c426"}),t.createElement("stop",{offset:"1",stopColor:"#f2b327"}))),t.createElement("title",{key:"title"},"giving-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#0aae6372-b733-476d-af45-8777c08c1e24)"})]},Groups:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"86d10072-1c7f-4a02-88fe-0735565ae99a",x1:"1.939",y1:"1.928",x2:"18.146",y2:"18.135",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#ff962d"}),t.createElement("stop",{offset:"1",stopColor:"#fc7638"}))),t.createElement("title",{key:"title"},"groups-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#86d10072-1c7f-4a02-88fe-0735565ae99a)"})]},Home:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"paint0_linear_1_2",x1:"-2.23242",y1:"0.320978",x2:"19.9609",y2:"22.5228",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#289DFF"}),t.createElement("stop",{offset:"1",stopColor:"#2266F7"}))),t.createElement("title",{key:"title"},"home-squircle"),t.createElement("path",{key:"path",d:"M9.99962 0C1.99854 0 0 2.00015 0 10C0 17.9998 1.99854 20 9.99962 20C18.0007 20 20 18.0014 20 10C20 1.99862 17.9999 0 9.99962 0Z",fill:"url(#paint0_linear_1_2)"})]},People:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"7f805f16-2322-4b42-b61a-2bf71eadb25a",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"people-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#7f805f16-2322-4b42-b61a-2bf71eadb25a)"})]},Publishing:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"publishing-gradient",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#787882"}),t.createElement("stop",{offset:"1",stopColor:"#5f5f69"})),t.createElement("linearGradient",{id:"publishing-gradient-2",x1:"2.03",y1:"2.03",x2:"17.952",y2:"17.952",gradientTransform:"translate(2.563 -2.028) rotate(13.283)",xlinkHref:"#publishing-gradient"})),t.createElement("title",{key:"title"},"publishing-squircle"),t.createElement("path",{d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#publishing-gradient)",key:"path"}),t.createElement("circle",{cx:"9.991",cy:"9.991",r:"9.951",transform:"translate(-2.028 2.563) rotate(-13.283)",fill:"url(#publishing-gradient-2)",key:"circle"})]},Registrations:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"bd67604d-f11c-4431-bd82-159c57241115",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#41b99e"}),t.createElement("stop",{offset:"1",stopColor:"#46948d"}))),t.createElement("title",{key:"title"},"registrations-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#bd67604d-f11c-4431-bd82-159c57241115)"})]},Services:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"00f9217c-0536-41ea-b265-a8689874be71",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#6eaa50"}),t.createElement("stop",{offset:"1",stopColor:"#6a9639"}))),t.createElement("title",{key:"title"},"services-squircle"),t.createElement("path",{key:"path",d:"M19.968,10c0,7.968-1.992,9.96-9.96,9.96S.048,17.965.048,10,2.04.037,10.008.037,19.968,2.029,19.968,10Z",fill:"url(#00f9217c-0536-41ea-b265-a8689874be71)"})]}};function Bt(e){var n=e.appName,a=e.size,r=void 0===a?20:a;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 20 20",style:{display:"block"}},t.createElement(Ft[n]?Ft[n]:"span",{key:"key1"}),yt[n]?t.createElement(yt[n],{color:"#fff",key:"key2"}):t.createElement("div",{key:"key3"},"appName not supported"))}function Wt(e){var t,n,a,r="/apps/"+e.toLowerCase(),o=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!o)return r;var i=new URLSearchParams;return i.append("referer",o),r+"?"+i.toString()}var Jt=["active","component","style"],Gt=function(e){var n=e.active,a=void 0!==n&&n,r=e.component,o=void 0===r?"span":r,i=e.style,l=void 0===i?null:i,c=K(e,Jt),s=t.useState(!1),u=s[1];return t.createElement(o,W({onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)},style:W({},l,{backgroundColor:a?"#ededed":s[0]?"#f7f7f7":"transparent"})},c))},Xt=["cleanup","onOutsideClick","visible"],Kt=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).container=void 0,n.handleOutsideClick=n.handleOutsideClick.bind(Q(n)),n}J(n,e);var a=n.prototype;return a.componentWillUnmount=function(){document.removeEventListener("click",this.handleOutsideClick,!0)},a.handleOutsideClick=function(e){if(!this.container.contains(e.target))return e.stopPropagation(),e.preventDefault(),this.props.onOutsideClick()},a.render=function(){var e=this,n=this.props,a=n.cleanup,r=K(n,Xt);return a?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),t.createElement("div",W({ref:function(t){return e.container=t}},r))},n}(t.Component),Qt=["style"],Yt=function(e){var n=e.style,a=void 0===n?null:n,r=K(e,Qt);return t.createElement("div",W({style:W({alignSelf:"flex-end",display:"flex",position:"relative"},a)},r))},$t=["component","style"],en=function(e){var n=e.component,a=void 0===n?"div":n,r=e.style,o=void 0===r?null:r,i=K(e,$t);return t.createElement(a,W({style:W({background:"#FFFFFF",borderRadius:"3px",boxShadow:"0 0 0 1px #D4D9E2, 0 8px 32px rgba(0,0,0,.3)",overflow:"hidden",position:"absolute"},o)},i))},tn=function(e){var n=e.appName,a=e.apps,r=e.env,o=e.toggle,i=e.visible,l=a.find(function(e){return"Accounts"===e.name}),s=a.find(function(e){return"Home"===e.name}),u=[].concat(a).filter(function(e){var t=e.name;return"Home"!==t&&"Accounts"!==t}).sort(function(e,t){return e.name.localeCompare(t.name)}),d=W({},St,{alignItems:"center",display:"flex",height:"48px",overflow:"hidden",padding:"0 16px",verticalAlign:"middle"});return t.createElement(Yt,null,t.createElement(en,{cleanup:!i,component:Kt,onOutsideClick:o,style:W({marginTop:"8px"},i?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"})},t.createElement("menu",{"data-pendo":"app-switcher",style:{margin:0,minWidth:180,padding:0}},s&&t.createElement(Gt,{component:"a","data-pendo":"app-switcher--change-app--"+s.name,"data-turbolinks":!1,href:n===s.name?c(r)("accounts")+"/apps/"+n:c(r)("accounts")+Wt(s.name),style:W({},d,{borderBottom:"1px solid #ededed"})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Bt,{appName:"Home",size:20})),t.createElement(xt,{appName:"Home",color:"#444",size:18})),u.map(function(e,a){var o=e.name,i=0===a,l=a===u.length-1;return t.createElement(Gt,{component:"a","data-pendo":"app-switcher--change-app--"+o,"data-turbolinks":!1,href:o===n?c(r)("accounts")+"/apps/"+o.toLowerCase():c(r)("accounts")+Wt(o),key:o,style:W({},d,{height:"40px",paddingBottom:l?"4px":null,paddingTop:i?"4px":null})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Bt,{appName:o.replace(/[\s-]/,""),size:20})),t.createElement(xt,{appName:o.replace(/[\s-]/,""),color:"#444",size:18}))}),l&&t.createElement(Gt,{component:"a","data-pendo":"app-switcher--change-app--"+l.name,"data-turbolinks":!1,href:c(r)("accounts")+Wt(l.name),style:W({},d,{borderTop:"1px solid #ededed",padding:"0 12px",textDecoration:"none"})},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(Et,{color:"#9e9e9e",key:"key2"})),t.createElement("div",{style:{color:"#737373",fontSize:"12px",lineHeight:"28px"}},"Account settings")))))},nn=function(e){return(t="name",function(e){return e.slice().sort(function(e,n){return e[t].localeCompare(n[t])})})(e).reduce(function(e,t){return"Church Center"===(t.name||"")||"API"===(t.name||"")?e:"Home"===t.name?[t].concat(e):[].concat(e,[t])},[]);var t},an=function(e){return e.slice().sort(function(e,t){return e.attributes.organization_name.localeCompare(t.attributes.organization_name)})},rn=["children","style"];function on(e){var n=e.children,a=e.style,r=K(e,rn);return t.createElement("nav",W({className:"simple","data-pendo":"topbar","aria-label":"topbar-navigation",style:W({MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",alignItems:"center",color:"white",display:"flex",height:"48px",position:"relative"},a)},r),t.createElement("style",null,"\n @media only print {\n .simple {\n display: none !important;\n }\n }\n "),n)}var ln={danger43:"hsl(8 60% 43%)",danger45:"hsl(8 60% 45%)",danger47:"hsl(8 60% 47%)",danger93:"hsl(9 59% 93%)",danger97:"hsl(7 60% 97%)",darkNeutral07:"hsl(0 0% 7%)",darkNeutral12:"hsl(0 0% 12%)",darkNeutral15:"hsl(0 0% 15%)",darkNeutral17:"hsl(0 0% 17%)",darkNeutral19:"hsl(0 0% 19%)",darkNeutral24:"hsl(0 0% 24%)",darkNeutral32:"hsl(0 0% 32%)",darkNeutral50:"hsl(0 0% 50%)",darkNeutral68:"hsl(0 0% 68%)",darkNeutral88:"hsl(0 0% 88%)",darkNeutral98:"hsl(0 0% 98%)",interaction45:"hsl(221 75% 45%)",interaction50:"hsl(221 91% 50%)",interaction55:"hsl(221 91% 55%)",interaction66:"hsl(221 91% 66%)",interaction91:"hsl(221 91% 91%)",interaction93:"hsl(221 91% 93%)",interaction97:"hsl(221 89% 97%)",lightNeutral12:"hsl(0 0% 12%)",lightNeutral24:"hsl(0 0% 24%)",lightNeutral45:"hsl(0 0% 45%)",lightNeutral62:"hsl(0 0% 62%)",lightNeutral81:"hsl(0 0% 81%)",lightNeutral88:"hsl(0 0% 88%)",lightNeutral93:"hsl(0 0% 93%)",lightNeutral95:"hsl(0 0% 95%)",lightNeutral97:"hsl(0 0% 97%)",lightNeutral98:"hsl(0 0% 98%)",lightNeutral100:"hsl(0 0% 100%)",success23:"hsl(86 91% 23%)",success25:"hsl(86 91% 25%)",success27:"hsl(86 91% 27%)",success91:"hsl(95 50% 91%)",success97:"hsl(93 53% 97%)",warning20:"hsl(42 100% 20%)",warning49:"hsl(42 84% 49%)",warning55:"hsl(42 84% 55%)",warning63:"hsl(42 84% 63%)",warning94:"hsl(42 84% 94%)",warning97:"hsl(42 84% 97%)"},cn=["style"],sn=function(e){var n=e.style,a=void 0===n?null:n,r=K(e,cn);return t.createElement("div",W({style:W({alignSelf:"flex-end",display:"flex",position:"relative"},a)},r))},un=function(e){var n=e.appName,a=e.connectedPeople,r=e.hasConnectedPeople,o=e.requestClearAppsCache,i=e.requestClearConnectedPeopleCache,l=e.requestSwitchConnectedPerson,s=e.requestUnlinkConnectedPeople,g=e.setUserMenuVisible,v=e.userMenuVisible,E=c(e.env)("login")+"/logout";return t.createElement(sn,null,t.createElement(en,{component:Kt,onOutsideClick:function(){return g(!1)},cleanup:!v,style:W({color:"#525252",marginTop:"8px",maxHeight:"75vh",maxWidth:"320px",minWidth:"242px",overflow:"auto",right:0},v?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"},{cursor:"default"})},t.createElement("div",null,r?t.createElement("div",{style:{alignItems:"center",backgroundColor:"#eee",display:"flex",lineHeight:"32px",padding:"0 16px"}},t.createElement("div",{style:W({},Pt,{color:"#666",fontSize:"12px",textTransform:"uppercase",whiteSpace:"nowrap"},St)},"Linked Accounts"),t.createElement("div",{style:W({},Pt,{alignItems:"center",fontSize:"12px",textAlign:"right"})},t.createElement("a",{href:"",onClick:function(e){o(),i(),s(),e.preventDefault()},style:W({color:"#666",marginLeft:"64px",textDecoration:"none"},St)},"unlink"))):t.createElement("noscript",null),t.createElement("style",null,"\n .NotSmallTopbar__connected-people-list > *:first-child > * { border-top-width: 0 !important }\n "),t.createElement("ul",{className:"NotSmallTopbar__connected-people-list",style:{listStyleType:"none",margin:0,padding:0}},an(a).map(function(e){var a=e.id,r=e.attributes;return t.createElement(Gt,{component:"li",key:a},t.createElement("a",{href:"",onClick:function(e){o(),i(),l(a,n+"/"),e.preventDefault()},style:W({borderTop:"1px solid #ddd",color:"#444",display:"block",lineHeight:"48px",overflow:"hidden",paddingLeft:"16px",paddingRight:"16px",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},St)},r.organization_name))}))),t.createElement(u,null,r&&t.createElement(d,null),t.createElement("form",{method:"POST",action:E},t.createElement(p,{"data-turbolinks":!1,hover:{backgroundColor:ln.lightNeutral97},onClick:function(){o(),i()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(m,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:2,paddingVertical:1.5,spacing:4},t.createElement(h,{color:ln.lightNeutral45,lineHeight:"24px"},"Log out"),t.createElement(f,{name:"general.intoBox",fill:ln.lightNeutral45})))))))},dn=["active","component","hover","innerRef","style"],pn=function(e){var n=e.active,a=void 0===n?null:n,r=e.component,o=void 0===r?"div":r,i=e.hover,l=void 0===i?null:i,c=e.innerRef,s=void 0===c?null:c,u=e.style,d=void 0===u?null:u,p=K(e,dn),m=t.useState(!1),h=m[0],f=m[1],g=t.useState(!1),v=g[1];return t.createElement(o,W({onMouseDown:function(){return f(!0)},onMouseEnter:function(){return v(!0)},onMouseLeave:function(){return v(!1)},onMouseUp:function(){return f(!1)},style:W({},St,d,g[0]&&l,h&&a)},s&&{ref:s},p))},mn=function(e){var n=e.colors,a=e.orgName,r=e.requestConnectedPeopleFetch,o=e.setUserMenuVisible,i=e.showOrgName;return t.createElement("div",{style:{cursor:"pointer",marginLeft:"16px",position:"relative",whiteSpace:"nowrap"},"data-pendo":"topbar-org-switcher"},t.createElement(pn,{component:"button",type:"button",style:W({WebkitAppearance:"none",alignItems:"center",appearance:"none",backgroundColor:n.base1,border:"none",borderRadius:"9999px",color:n.text||"#fff",cursor:"pointer",display:"flex",fontSize:"13px",lineHeight:"32px",outline:0,padding:0},At),active:{backgroundColor:n.base3},hover:{backgroundColor:n.base2},onClick:function(){o(function(e){return!e}),r()}},t.createElement("div",{style:{marginLeft:8}}),i?t.createElement("div",{style:{fontSize:"13px",margin:"0 8px 0 8px",maxWidth:"240px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},a):t.createElement("div",{style:{margin:"0 4px 0 4px"}}),t.createElement("div",{style:{paddingRight:"8px"}},t.createElement(_t,{colors:n,style:{margin:"-3px"}}))))},hn=["notifications","search","showOrgName","useDummyNotifications"],fn=["active","colors","style"],gn=function(e){var n=e.notifications,a=void 0===n?function(){return null}:n,r=e.search,o=void 0===r?function(){return null}:r,i=e.showOrgName,l=void 0===i||i,c=K(e,hn),s=t.useState(!1),u=s[0],d=s[1],p=t.useState(!0),m=p[0],h=p[1],f=t.useState(!1),g=f[0],v=f[1],E=we(),y=E.hasConnectedPeople,b=E.notificationsEnabled;return t.createElement(on,{style:W({paddingLeft:"8px",paddingRight:"16px"},c.style)},t.createElement(tn,{env:c.env,appName:c.appName,apps:nn(c.apps),visible:u,toggle:function(){return d(function(e){return!e})}}),t.createElement(qt,{colors:c.colors,expanded:u,onClick:function(){d(function(e){return!e}),c.requestAppsFetch()},appName:c.appName}),t.createElement("div",{style:{margin:"12px"}}),m&&c.routes,t.createElement("div",{style:{margin:"auto"}}),!b&&a(),o({hideRoutes:function(){return h(!1)},showRoutes:function(){return h(!0)}}),t.createElement(mn,{colors:c.colors,orgName:c.orgName,requestConnectedPeopleFetch:c.requestConnectedPeopleFetch,setUserMenuVisible:v,showOrgName:l}),t.createElement(un,{appName:c.appName,hasConnectedPeople:y,connectedPeople:c.connectedPeople,env:c.env,requestClearAppsCache:c.requestClearAppsCache,requestClearConnectedPeopleCache:c.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:c.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:c.requestUnlinkConnectedPeople,setUserMenuVisible:v,userMenuVisible:g}))},vn=function(e){var n=e.active,a=e.colors,r=e.style,o=void 0===r?null:r,i=K(e,fn),l=t.useState(!1),c=l[0],s=l[1],u=t.useState(!1),d=u[1];return t.createElement("a",W({style:W({backgroundColor:c&&u[0]?a.base2:c||n?a.base1:"transparent",borderRadius:"9999px",color:a.text||"#fff",fontSize:"14px",fontWeight:600,lineHeight:"32px",marginRight:"4px",paddingLeft:"12px",paddingRight:"12px",textDecoration:"none",textTransform:"capitalize",verticalAlign:"middle",whiteSpace:"nowrap"},St,At,o),onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},onMouseDown:function(){return d(!0)},onMouseUp:function(){return d(!1)}},i))},En=["appName","apps","colors","connectedPeople","env","orgName","requestAppsFetch","requestClearAppsCache","requestClearConnectedPeopleCache","requestConnectedPeopleFetch","requestSwitchConnectedPerson","requestUnlinkConnectedPeople","userAvatarPath","userId","userName","routes","isPhoenix"],yn=["active","children","colors","isPhoenix"];function bn(e){var n=e.appName,a=e.apps,r=e.colors,o=e.connectedPeople,i=e.env,l=e.orgName,c=e.requestAppsFetch,s=e.requestClearAppsCache,u=e.requestClearConnectedPeopleCache,d=e.requestConnectedPeopleFetch,p=e.requestSwitchConnectedPerson,m=e.requestUnlinkConnectedPeople,h=e.userAvatarPath,f=e.userId,g=e.userName,v=e.routes,E=e.isPhoenix,y=void 0!==E&&E,b=K(e,En);return t.createElement(y?gn:gt,W({appName:n,apps:a,colors:r,connectedPeople:o,env:i,orgName:l,requestAppsFetch:c,requestClearAppsCache:s,requestClearConnectedPeopleCache:u,requestConnectedPeopleFetch:d,requestSwitchConnectedPerson:p,requestUnlinkConnectedPeople:m,userAvatarPath:h,userId:f,userName:g,routes:v},b))}function Cn(e){var n=e.active,a=e.children,r=e.colors,o=e.isPhoenix,i=void 0!==o&&o,l=K(e,yn);return t.createElement(i?vn:vt,W({active:n,children:a,colors:r},l))}var wn=["style"],kn=["children","className","colors","style"],xn=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).state={announcements:t.initialAnnouncements},n}J(n,e);var a=n.prototype;return a.dismissAnnouncements=function(e){return this.setState(function(t){var n=t.announcements,a=n;return n[e]&&delete a[e],{announcements:a}}),te(this.props.configuredFetch,c(this.props.env)("api")+"/people/v2/me/platform_notifications/"+e+"/dismiss",{method:"POST"})},a.render=function(){return t.createElement(t.Fragment,null,this.props.children({announcements:this.props.formatter(this.state.announcements)},{dismissAnnouncements:this.dismissAnnouncements.bind(this)}))},n}(t.Component);xn.defaultProps={formatter:function(e){return function(e){for(var t=Object.keys(e),n=t.length,a=new Array(n);n--;)a[n]=[t[n],e[t[n]]];return a}(e).map(function(e){return{data:e[1],id:e[0]}})}};var An=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return J(n,e),n.prototype.render=function(){var e=this.props,n=e.style,a=K(e,wn);return t.createElement(be,{render:function(e){return t.createElement("div",W({style:W({alignItems:"center",display:"flex",justifyContent:"space-between",paddingBottom:14,paddingLeft:-1!==["xs","sm"].indexOf(e)?16:24,paddingRight:18,paddingTop:14},n)},a))}})},n}(t.Component),Sn=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return J(n,e),n.prototype.render=function(){var e=this.props,n=e.children,a=e.colors,r=e.style,o=K(e,kn);return t.createElement("div",W({className:["__Topbar_PlatformAnnouncements_link"].join(" ").trim(),style:W({backgroundColor:"#282828",color:"white",fontSize:"14px"},r)},o),t.createElement("style",null,"\n .__Topbar_PlatformAnnouncements_link { color: white }\n .__Topbar_PlatformAnnouncements_link a { color: "+a.base0+" }\n .__Topbar_PlatformAnnouncements_link a:hover { color: "+a.base1+" }\n .__Topbar_PlatformAnnouncements_link a:active { color: "+a.base2+" }\n "),n)},n}(t.Component),Pn=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return J(n,e),n.prototype.render=function(){var e=this;return t.createElement(Sn,{colors:this.props.colors},t.createElement(xn,{env:this.props.env,initialAnnouncements:this.props.data,configuredFetch:this.props.configuredFetch},function(n,a){return Boolean(n.announcements.length>0)?t.createElement("div",null,n.announcements.map(function(t){return e.props.renderItem({actions:a,announcement:t})})):null}))},n}(t.Component);function Zn(e){var n=W({},(X(e),e));return t.createElement("button",W({type:"button",style:{WebkitAppearance:"none",backgroundColor:"transparent",borderWidth:0,cursor:"pointer",margin:-8,padding:8}},n),t.createElement(Ut,{fill:"white",style:{height:20,width:20}}))}function Nn(e){return t.createElement(An,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}),t.createElement(Zn,{onClick:e.onClick}))}Pn.defaultProps={configuredFetch:$,renderItem:function(e){var n=e.announcement,a=e.actions;return t.createElement(Nn,{key:n.id,html:n.data.html,onClick:function(){return a.dismissAnnouncements(n.id)}})}};var Mn=["colors","html","onClick"],Vn=["children","className","colors","style"],Hn=["style"];function zn(e){var n=e.colors,a=e.html,r=void 0===a?"":a,o=e.onClick,i=void 0===o?function(e){}:o,l=K(e,Mn),c=t.useState(!1),s=c[1];return c[0]||!r?null:t.createElement(Ln,W({colors:n},l),t.createElement(Tn,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:r}}),t.createElement(_n,{onClick:function(e){i(e),s(!0)}})))}var Ln=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return J(n,e),n.prototype.render=function(){var e=this.props,n=e.children,a=e.className,r=e.colors,o=e.style,i=K(e,Vn);return t.createElement("div",W({className:["Topbar_ProductAnnouncement",a].filter(Boolean).join(" ").trim(),style:W({backgroundColor:r.base1},o)},i),t.createElement("style",null,"\n .Topbar_ProductAnnouncement {\n color: white;\n font-size: 14px;\n }\n .Topbar_ProductAnnouncement a { color: white; font-weight: bold; }\n "),n)},n}(t.Component),Tn=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return J(n,e),n.prototype.render=function(){var e=this.props,n=e.style,a=K(e,Hn);return t.createElement(be,{render:function(e){return t.createElement("div",W({style:W({alignItems:"center",boxSizing:"border-box",display:"flex",justifyContent:"space-between",paddingBottom:14,paddingLeft:-1!==["xs","sm"].indexOf(e)?16:24,paddingRight:18,paddingTop:14},n)},a))}})},n}(t.Component);function _n(e){var n=W({},(X(e),e));return t.createElement("button",W({type:"button",style:{WebkitAppearance:"none",backgroundColor:"transparent",borderWidth:0,cursor:"pointer",margin:-8,padding:8}},n),t.createElement(Ut,{fill:"white",style:{height:20,width:20}}))}var On=["env","url","style"];function In(e){var n=e.env,a=e.url,r=void 0===a?"":a,o=e.style,i=K(e,On),l=r||c(n)("people")+"/static/no_photo_thumbnail_gray.svg";return t.createElement("div",W({style:W({backgroundColor:"white",backgroundImage:"url("+l+")",backgroundPosition:"center",backgroundSize:"cover",borderRadius:"50%",height:"26px",marginLeft:"4px",width:"26px"},o)},i))}var Un=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}J(n,e);var a=n.prototype;return a.update=function(e){return window[this.props.method].setItem(this.props.item,JSON.stringify(e)),this.forceUpdate()},a.render=function(){return t.createElement(t.Fragment,null,this.props.render(JSON.parse(window[this.props.method].getItem(this.props.item))||void 0,this.update.bind(this)))},n}(t.Component);Un.defaultProps={method:"localStorage"};var Rn=function(e,t){void 0===t&&(t=1);var n=e.replace(/[a-z()%]/g,"").split(" ");return"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+t+")"};function jn(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(function(e){return t[e[0]]!==e[1]})}function Dn(e){var n="accounts";return t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingLeft:"12px",paddingRight:"16px",textDecoration:"none"},"data-pendo":"app-switcher--change-app--"+n,"data-turbolinks":!1,href:c(e.env)(n)+Je(n)},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(ke,{color:lt.lightNeutral45,key:"key2"})),t.createElement("div",{style:{color:lt.lightNeutral45,fontSize:"12px",lineHeight:"48px",textDecoration:"none"}},"Account settings"))}var qn=function(e){var n=e.color,a=e.size,r=void 0===a?22:a,o=e.style;return t.createElement("div",{style:void 0===o?{}:o},t.createElement(Re,{fill:void 0===n?lt.lightNeutral100:n,style:{height:r+"px",width:r+"px"}}))};function Fn(e){var t,n,a,r=e.appName,o=e.userId,i=c(e.env)("login")+"/people/AC"+o,l=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!l)return i;var s=new URLSearchParams;return s.append("return",r+"/"+l),i+"?"+s.toString()}var Bn=function(e){var n=e.isActive,a=n?"hsl(86, 91%, 27%)":"hsl(8, 60%, 47%)";return t.createElement("div",{style:{alignItems:"center",display:"flex",fontSize:"13px",marginBottom:2,marginTop:4}},t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},t.createElement("path",n?{d:"M12.588 5.31499H11.832V3.79999C11.8159 2.80798 11.4105 1.86207 10.7032 1.16625C9.99602 0.470436 9.04363 0.0804749 8.0515 0.0804749C7.05937 0.0804749 6.10698 0.470436 5.39976 1.16625C4.69253 1.86207 4.28713 2.80798 4.271 3.79999V5.31499H3.515C3.1138 5.31525 2.72906 5.47454 2.44508 5.75795C2.16111 6.04136 2.00106 6.42579 2 6.82699V14.388C2.00132 14.7891 2.16146 15.1734 2.44537 15.4567C2.72929 15.7401 3.11388 15.8995 3.515 15.9H12.588C12.9886 15.8987 13.3724 15.7389 13.6557 15.4557C13.939 15.1724 14.0987 14.7886 14.1 14.388V6.82699C14.0987 6.42639 13.939 6.04257 13.6557 5.7593C13.3724 5.47603 12.9886 5.31631 12.588 5.31499ZM8.051 12.115C7.75171 12.1152 7.45909 12.0266 7.21015 11.8605C6.96121 11.6944 6.76713 11.4581 6.65246 11.1817C6.53779 10.9052 6.50768 10.601 6.56595 10.3074C6.62422 10.0139 6.76824 9.74418 6.97979 9.53249C7.19135 9.32079 7.46094 9.17659 7.75446 9.11813C8.04798 9.05967 8.35225 9.08958 8.62877 9.20406C8.90529 9.31855 9.14165 9.51247 9.30794 9.7613C9.47424 10.0101 9.563 10.3027 9.563 10.602C9.56327 11.0036 9.40424 11.389 9.1208 11.6735C8.83736 11.9581 8.45264 12.1187 8.051 12.12V12.115ZM10.395 5.31499H5.707V3.79999C5.707 3.17832 5.95396 2.58211 6.39354 2.14253C6.83313 1.70294 7.42933 1.45599 8.051 1.45599C8.67267 1.45599 9.26887 1.70294 9.70846 2.14253C10.148 2.58211 10.395 3.17832 10.395 3.79999V5.31499Z",fill:a}:{d:"M13.7,5.8a1.5,1.5,0,0,0-1.1-.4H5.7V3.8a2.34,2.34,0,0,1,.7-1.7,2.19,2.19,0,0,1,1.7-.7,2.34,2.34,0,0,1,1.7.7,2.67,2.67,0,0,1,.7,1.4h1.4a4.12,4.12,0,0,0-1.1-2.4A4.73,4.73,0,0,0,8.1.1,4,4,0,0,0,5.4,1.2,3.63,3.63,0,0,0,4.3,3.8V5.3H3.5a2.1,2.1,0,0,0-1.1.4A2.1,2.1,0,0,0,2,6.8v7.6a2.1,2.1,0,0,0,.4,1.1,1.5,1.5,0,0,0,1.1.4h9.1a2.1,2.1,0,0,0,1.1-.4,1.5,1.5,0,0,0,.4-1.1V6.8A1.53,1.53,0,0,0,13.7,5.8ZM9.1,11.7a1.5,1.5,0,0,1-1.1.4H8a1.14,1.14,0,0,1-.8-.3,4.35,4.35,0,0,1-.6-.7,2.77,2.77,0,0,1-.1-.9A3,3,0,0,1,7,9.5a1.23,1.23,0,0,1,.8-.4,1.41,1.41,0,0,1,.9.1,1.34,1.34,0,0,1,.7.6,1.14,1.14,0,0,1,.3.8A2.38,2.38,0,0,1,9.1,11.7Z",fill:a})),t.createElement("span",{style:{color:"#888",marginLeft:4,whiteSpace:"nowrap"}},"Two-step verification ",n?"active":"inactive"))},Wn={colors:W({},(0,g.generateColorScale)({baseColor:"#2266f7",key:"primary"})),icons:{churchCenter:N,general:M,people:V,toolbar:H},id:"topbar"};function Jn(e){var n=e.appName,a=e.connectedPeople,r=e.env,o=e.hasConnectedPeople,i=e.linkToProfile,l=e.mfaConfigured,s=e.mfaEnabled,d=e.requestClearAppsCache,f=e.requestClearConnectedPeopleCache,g=e.requestSwitchConnectedPerson,b=e.requestUnlinkConnectedPeople,C=e.setUserMenuVisible,w=e.userId,k=e.userName;return t.createElement(u,{theme:Wn},t.createElement(m,{axis:"vertical",width:"100%"},t.createElement(m,{axis:"horizontal",alignItems:"start",distribution:"space-between"},t.createElement(m,{axis:"horizontal",spacing:2,padding:2,paddingRight:0,shrink:1},t.createElement(m,{shrink:0},t.createElement(In,{env:r,url:e.userAvatarPath,style:{height:48,width:48}})),t.createElement(m,{spacing:1,shrink:1},t.createElement(h,{color:lt.lightNeutral24,weight:700,truncate:!0},k),i&&t.createElement(v,{as:"a",href:"/people/AC"+w,color:lt.lightNeutral45,underline:!1},"My profile"),s&&t.createElement(v,{as:"a",href:Fn({appName:n,env:r,userId:w}),color:lt.lightNeutral45,underline:!1},"My login settings",t.createElement(Bn,{isActive:l})),t.createElement("form",{method:"POST",action:c(r)("login")+"/logout"},t.createElement(p,{color:lt.lightNeutral45,"data-turbolinks":!1,onClick:function(){d(),f()},type:"submit"},"Log out")))),t.createElement(p,{color:lt.lightNeutral45,icon:"general.x",onClick:function(){return C(!1)},padding:2,variant:"naked",title:"Close Menu"})),o&&t.createElement(t.Fragment,null,t.createElement(m,{backgroundColor:lt.lightNeutral95,paddingVertical:1.5,paddingHorizontal:2,marginTop:1,borderBottom:"1px solid "+lt.lightNeutral88},t.createElement(E,{color:lt.lightNeutral62,fontWeight:500},"Linked Accounts")),t.createElement(y,{dividerColor:lt.lightNeutral88,width:"100%"},rt(a).map(function(e){var a=e.id;return t.createElement(y.Item,{key:a,onClick:function(e){d(),f(),g(a,n+"/"),e.preventDefault()},color:lt.lightNeutral45,padding:2},t.createElement(h,{truncate:!0},e.attributes.organization_name))}),t.createElement(y.Item,{onClick:function(e){d(),f(),b(),e.preventDefault()},color:lt.danger47,padding:2,underline:!1},t.createElement(h,{size:3},"Unlink my accounts"))))))}var Gn=["currentRouteComponent","linkToProfile"],Xn=["active"],Kn=function(e){var n=e.appName.replace(/[\s-]/,"");return t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(We,{appName:n,size:20})),t.createElement(Ne,{appName:n,color:lt.lightNeutral24,size:18}))},Qn=function(e){var n,a,r,o=e.currentRouteComponent,i=void 0===o?function(e){return t.createElement("span",W({},e))}:o,l=e.linkToProfile,s=void 0===l||l,u=K(e,Gn),d=t.useState(!1),p=d[0],m=d[1],h=t.useState(!1),f=h[0],g=h[1],v=t.useState(!1),E=v[0],y=v[1],b=we(),C=b.hasConnectedPeople,w=b.mfaConfigured,k=b.mfaEnabled,x=b.userId,A=b.name,S=u.colors,P=u.routes.filter(function(e){return e.props.active})||[],Z=i,N=P&&P[0]&&P[0].props&&P[0].props.children||u.appName,M=u.apps.find(function(e){return"Accounts"===e.name}),V=u.apps.find(function(e){return"Home"===e.name}),H=[].concat(u.apps).filter(function(e){var t=e.name;return"Home"!==t&&"Accounts"!==t}),z=lt.lightNeutral88;return t.useEffect(function(){m(!1)},[P&&(null==(n=P[0])||null==(a=n.props)?void 0:a.href)]),t.createElement(it,{style:W({},u.style)},t.createElement("div",{style:{alignItems:"center",display:"flex",height:"48px",justifyContent:"center",paddingLeft:"16px",paddingRight:"16px"},onClick:function(){u.requestAppsFetch(),u.requestConnectedPeopleFetch(),m(!1),g(function(e){return!e})}},t.createElement(Pe,{appName:u.appName.replace(/[\s-]/,""),colors:S,size:26})),t.createElement("div",{style:{left:0,position:"absolute",top:"48px",width:"100%"}},p&&u.routes),t.createElement(Un,{item:"Topbar:Small:Menus:Products:visibility",render:function(){return t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",backgroundColor:Rn(lt.lightNeutral12,.75),bottom:0,color:"black",display:f?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"},onClick:function(){g(function(e){return!e}),y(!1)}},t.createElement(qn,{style:{position:"absolute",right:"17px",top:"12px"}}),t.createElement("div",{onClick:function(e){e.forcePropagation||e.stopPropagation()},style:{backgroundColor:lt.lightNeutral100,borderRight:"1px solid "+z,display:"flex",flexDirection:"column",height:"calc(100% - 52px - env(safe-area-inset-bottom))",position:"relative",width:"calc(100% - 57px)"}},t.createElement("div",{style:{alignItems:"center",backgroundColor:lt.lightNeutral98,borderBottom:"1px solid "+z,display:"flex",height:"48px",paddingLeft:"16px",paddingRight:"16px"}},t.createElement("div",{style:W({},He)},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingRight:"16px"},"data-pendo":"app-switcher--change-app--"+(null==V?void 0:V.name),"data-turbolinks":!1,href:V?c(u.env)("accounts")+Je(null==V?void 0:V.name):void 0},t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement(Kn,{appName:V?V.name:u.appName}))))),t.createElement("div",{style:W({},He,{WebkitOverflowScrolling:"touch",overflowY:"scroll"})},t.createElement("ul",{"data-pendo":"app-switcher",style:{margin:0,padding:0}},at(H).map(function(e,n){var a=e.name,r=0===n,o=n===at(H).length-1;return t.createElement("li",{key:a,style:{listStyleType:"none"}},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"40px",paddingBottom:o?"4px":0,paddingLeft:"16px",paddingRight:"16px",paddingTop:r?"4px":0},"data-pendo":"app-switcher--change-app--"+a,"data-turbolinks":!1,href:c(u.env)("accounts")+Je(a)},t.createElement(Kn,{appName:a})))})),M&&t.createElement("div",{style:{borderTop:"1px solid "+z}},t.createElement(Dn,{env:u.env})))))}}),t.createElement("div",{style:W({},He,{fontWeight:600,lineHeight:"48px",textAlign:"center"}),onClick:u.routes.length>0?function(){g(!1),m(function(e){return!e})}:null},t.createElement(Z,null,(r=N).charAt(0).toUpperCase()+r.slice(1)),u.routes.length>0&&t.createElement(Ie,{colors:S,style:{marginLeft:"4px",verticalAlign:"middle"}})),t.createElement("button",{onClick:function(){return y(!E)},style:{background:"none",border:"none",margin:"0 12px",padding:0}},t.createElement(In,{env:u.env,url:u.userAvatarPath})),t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",bottom:0,color:"black",display:E?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"}},t.createElement("div",{onClick:function(e){return e.stopPropagation()},style:{WebkitOverflowScrolling:"touch",backgroundColor:"#fff",display:"flex",flexDirection:"column",height:"100%",overflowY:"scroll",position:"relative",width:"100%"}},t.createElement(Jn,{appName:u.appName,env:u.env,connectedPeople:u.connectedPeople,hasConnectedPeople:C,linkToProfile:s,mfaConfigured:w,mfaEnabled:k,requestClearAppsCache:u.requestClearAppsCache,requestClearConnectedPeopleCache:u.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:u.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:u.requestUnlinkConnectedPeople,setUserMenuVisible:y,userAvatarPath:u.userAvatarPath,userId:x,userName:A}))))},Yn=function(e){var n=e.active,a=K(e,Xn);return t.createElement("a",W({style:W({backgroundColor:"#444",borderBottom:"1px solid #333",color:"#fff",display:"block",fontWeight:600,lineHeight:"47px",position:"relative",textAlign:"center",textDecoration:"none",textTransform:"capitalize",whiteSpace:"nowrap"},Ve,n&&{backgroundColor:"#333"})},a))},$n=["env","url","style"];function ea(e){var n=e.env,a=e.url,r=void 0===a?"":a,o=e.style,i=K(e,$n),l=r||c(n)("people")+"/static/no_photo_thumbnail_gray.svg";return t.createElement("div",W({style:W({backgroundColor:"white",backgroundImage:"url("+l+")",backgroundPosition:"center",backgroundSize:"cover",borderRadius:"50%",height:"26px",marginLeft:"4px",width:"26px"},o)},i))}var ta=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}J(n,e);var a=n.prototype;return a.update=function(e){return window[this.props.method].setItem(this.props.item,JSON.stringify(e)),this.forceUpdate()},a.render=function(){return t.createElement(t.Fragment,null,this.props.render(JSON.parse(window[this.props.method].getItem(this.props.item))||void 0,this.update.bind(this)))},n}(t.Component);function na(e){var n="accounts";return t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingLeft:"12px",paddingRight:"16px",textDecoration:"none"},"data-pendo":"app-switcher--change-app--"+n,"data-turbolinks":!1,href:c(e.env)(n)+Wt(n)},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(Et,{color:ln.lightNeutral45,key:"key2"})),t.createElement("div",{style:{color:ln.lightNeutral45,fontSize:"12px",lineHeight:"48px",textDecoration:"none"}},"Account settings"))}ta.defaultProps={method:"localStorage"};var aa=function(e){var n=e.color,a=e.size,r=void 0===a?22:a,o=e.style;return t.createElement("div",{style:void 0===o?{}:o},t.createElement(Ut,{fill:void 0===n?ln.lightNeutral100:n,style:{height:r+"px",width:r+"px"}}))};function ra(e){var t,n,a,r=e.appName,o=e.userId,i=c(e.env)("login")+"/people/AC"+o,l=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!l)return i;var s=new URLSearchParams;return s.append("return",r+"/"+l),i+"?"+s.toString()}var oa=function(e){var n=e.isActive,a=n?"hsl(86, 91%, 27%)":"hsl(8, 60%, 47%)";return t.createElement("div",{style:{alignItems:"center",display:"flex",fontSize:"13px",marginBottom:2,marginTop:4}},t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},t.createElement("path",n?{d:"M12.588 5.31499H11.832V3.79999C11.8159 2.80798 11.4105 1.86207 10.7032 1.16625C9.99602 0.470436 9.04363 0.0804749 8.0515 0.0804749C7.05937 0.0804749 6.10698 0.470436 5.39976 1.16625C4.69253 1.86207 4.28713 2.80798 4.271 3.79999V5.31499H3.515C3.1138 5.31525 2.72906 5.47454 2.44508 5.75795C2.16111 6.04136 2.00106 6.42579 2 6.82699V14.388C2.00132 14.7891 2.16146 15.1734 2.44537 15.4567C2.72929 15.7401 3.11388 15.8995 3.515 15.9H12.588C12.9886 15.8987 13.3724 15.7389 13.6557 15.4557C13.939 15.1724 14.0987 14.7886 14.1 14.388V6.82699C14.0987 6.42639 13.939 6.04257 13.6557 5.7593C13.3724 5.47603 12.9886 5.31631 12.588 5.31499ZM8.051 12.115C7.75171 12.1152 7.45909 12.0266 7.21015 11.8605C6.96121 11.6944 6.76713 11.4581 6.65246 11.1817C6.53779 10.9052 6.50768 10.601 6.56595 10.3074C6.62422 10.0139 6.76824 9.74418 6.97979 9.53249C7.19135 9.32079 7.46094 9.17659 7.75446 9.11813C8.04798 9.05967 8.35225 9.08958 8.62877 9.20406C8.90529 9.31855 9.14165 9.51247 9.30794 9.7613C9.47424 10.0101 9.563 10.3027 9.563 10.602C9.56327 11.0036 9.40424 11.389 9.1208 11.6735C8.83736 11.9581 8.45264 12.1187 8.051 12.12V12.115ZM10.395 5.31499H5.707V3.79999C5.707 3.17832 5.95396 2.58211 6.39354 2.14253C6.83313 1.70294 7.42933 1.45599 8.051 1.45599C8.67267 1.45599 9.26887 1.70294 9.70846 2.14253C10.148 2.58211 10.395 3.17832 10.395 3.79999V5.31499Z",fill:a}:{d:"M13.7,5.8a1.5,1.5,0,0,0-1.1-.4H5.7V3.8a2.34,2.34,0,0,1,.7-1.7,2.19,2.19,0,0,1,1.7-.7,2.34,2.34,0,0,1,1.7.7,2.67,2.67,0,0,1,.7,1.4h1.4a4.12,4.12,0,0,0-1.1-2.4A4.73,4.73,0,0,0,8.1.1,4,4,0,0,0,5.4,1.2,3.63,3.63,0,0,0,4.3,3.8V5.3H3.5a2.1,2.1,0,0,0-1.1.4A2.1,2.1,0,0,0,2,6.8v7.6a2.1,2.1,0,0,0,.4,1.1,1.5,1.5,0,0,0,1.1.4h9.1a2.1,2.1,0,0,0,1.1-.4,1.5,1.5,0,0,0,.4-1.1V6.8A1.53,1.53,0,0,0,13.7,5.8ZM9.1,11.7a1.5,1.5,0,0,1-1.1.4H8a1.14,1.14,0,0,1-.8-.3,4.35,4.35,0,0,1-.6-.7,2.77,2.77,0,0,1-.1-.9A3,3,0,0,1,7,9.5a1.23,1.23,0,0,1,.8-.4,1.41,1.41,0,0,1,.9.1,1.34,1.34,0,0,1,.7.6,1.14,1.14,0,0,1,.3.8A2.38,2.38,0,0,1,9.1,11.7Z",fill:a})),t.createElement("span",{style:{color:"#888",marginLeft:4,whiteSpace:"nowrap"}},"Two-step verification ",n?"active":"inactive"))},ia={colors:W({},(0,g.generateColorScale)({baseColor:"#2266f7",key:"primary"})),icons:{churchCenter:N,general:M,people:V,toolbar:H},id:"topbar"};function la(e){var n=e.appName,a=e.connectedPeople,r=e.env,o=e.hasConnectedPeople,i=e.linkToProfile,l=e.mfaConfigured,s=e.mfaEnabled,d=e.requestClearAppsCache,f=e.requestClearConnectedPeopleCache,g=e.requestSwitchConnectedPerson,b=e.requestUnlinkConnectedPeople,C=e.setUserMenuVisible,w=e.userId,k=e.userName;return t.createElement(u,{theme:ia},t.createElement(m,{axis:"vertical",width:"100%"},t.createElement(m,{axis:"horizontal",alignItems:"start",distribution:"space-between"},t.createElement(m,{axis:"horizontal",spacing:2,padding:2,paddingRight:0,shrink:1},t.createElement(m,{shrink:0},t.createElement(ea,{env:r,url:e.userAvatarPath,style:{height:48,width:48}})),t.createElement(m,{spacing:1,shrink:1},t.createElement(h,{color:ln.lightNeutral24,weight:700,truncate:!0},k),i&&t.createElement(v,{as:"a",href:"/people/AC"+w,color:ln.lightNeutral45,underline:!1},"My profile"),s&&t.createElement(v,{as:"a",href:ra({appName:n,env:r,userId:w}),color:ln.lightNeutral45,underline:!1},"My login settings",t.createElement(oa,{isActive:l})),t.createElement("form",{method:"POST",action:c(r)("login")+"/logout"},t.createElement(p,{color:ln.lightNeutral45,"data-turbolinks":!1,onClick:function(){d(),f()},type:"submit"},"Log out")))),t.createElement(p,{color:ln.lightNeutral45,icon:"general.x",onClick:function(){return C(!1)},padding:2,variant:"naked",title:"Close Menu"})),o&&t.createElement(t.Fragment,null,t.createElement(m,{backgroundColor:ln.lightNeutral95,paddingVertical:1.5,paddingHorizontal:2,marginTop:1,borderBottom:"1px solid "+ln.lightNeutral88},t.createElement(E,{color:ln.lightNeutral62,fontWeight:500},"Linked Accounts")),t.createElement(y,{dividerColor:ln.lightNeutral88,width:"100%"},an(a).map(function(e){var a=e.id;return t.createElement(y.Item,{key:a,onClick:function(e){d(),f(),g(a,n+"/"),e.preventDefault()},color:ln.lightNeutral45,padding:2},t.createElement(h,{truncate:!0},e.attributes.organization_name))}),t.createElement(y.Item,{onClick:function(e){d(),f(),b(),e.preventDefault()},color:ln.danger47,padding:2,underline:!1},t.createElement(h,{size:3},"Unlink my accounts"))))))}var ca=["currentRouteComponent","linkToProfile"],sa=["active"],ua=function(e){var n=e.appName.replace(/[\s-]/,"");return t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Bt,{appName:n,size:20})),t.createElement(xt,{appName:n,color:ln.lightNeutral24,size:18}))},da=function(e){var n,a,r,o=e.currentRouteComponent,i=void 0===o?function(e){return t.createElement("span",W({},e))}:o,l=e.linkToProfile,s=void 0===l||l,u=K(e,ca),d=t.useState(!1),p=d[0],m=d[1],h=t.useState(!1),f=h[0],g=h[1],v=t.useState(!1),E=v[0],y=v[1],b=we(),C=b.hasConnectedPeople,w=b.mfaConfigured,k=b.mfaEnabled,x=b.userId,A=b.name,S=u.colors,P=u.routes.filter(function(e){return e.props.active})||[],Z=i,N=P&&P[0]&&P[0].props&&P[0].props.children||u.appName,M=u.apps.find(function(e){return"Accounts"===e.name}),V=u.apps.find(function(e){return"Home"===e.name}),H=[].concat(u.apps).filter(function(e){var t=e.name;return"Home"!==t&&"Accounts"!==t}),z=ln.lightNeutral88;return t.useEffect(function(){m(!1)},[P&&(null==(n=P[0])||null==(a=n.props)?void 0:a.href)]),t.createElement(on,{style:W({},u.style)},t.createElement("div",{style:{alignItems:"center",display:"flex",height:"48px",justifyContent:"center",paddingLeft:"16px",paddingRight:"16px"},onClick:function(){u.requestAppsFetch(),u.requestConnectedPeopleFetch(),m(!1),g(function(e){return!e})}},t.createElement(wt,{appName:u.appName.replace(/[\s-]/,""),colors:S,size:26})),t.createElement("div",{style:{left:0,position:"absolute",top:"48px",width:"100%"}},p&&u.routes),t.createElement(ta,{item:"Topbar:Small:Menus:Products:visibility",render:function(){return t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",backgroundColor:ce(ln.lightNeutral12,.75),bottom:0,color:"black",display:f?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"},onClick:function(){g(function(e){return!e}),y(!1)}},t.createElement(aa,{style:{position:"absolute",right:"17px",top:"12px"}}),t.createElement("div",{onClick:function(e){e.forcePropagation||e.stopPropagation()},style:{backgroundColor:ln.lightNeutral100,borderRight:"1px solid "+z,display:"flex",flexDirection:"column",height:"calc(100% - 52px - env(safe-area-inset-bottom))",position:"relative",width:"calc(100% - 57px)"}},t.createElement("div",{style:{alignItems:"center",backgroundColor:ln.lightNeutral98,borderBottom:"1px solid "+z,display:"flex",height:"48px",paddingLeft:"16px",paddingRight:"16px"}},t.createElement("div",{style:W({},Pt)},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingRight:"16px"},"data-pendo":"app-switcher--change-app--"+(null==V?void 0:V.name),"data-turbolinks":!1,href:V?c(u.env)("accounts")+Wt(null==V?void 0:V.name):void 0},t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement(ua,{appName:V?V.name:u.appName}))))),t.createElement("div",{style:W({},Pt,{WebkitOverflowScrolling:"touch",overflowY:"scroll"})},t.createElement("ul",{"data-pendo":"app-switcher",style:{margin:0,padding:0}},nn(H).map(function(e,n){var a=e.name,r=0===n,o=n===nn(H).length-1;return t.createElement("li",{key:a,style:{listStyleType:"none"}},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"40px",paddingBottom:o?"4px":0,paddingLeft:"16px",paddingRight:"16px",paddingTop:r?"4px":0},"data-pendo":"app-switcher--change-app--"+a,"data-turbolinks":!1,href:c(u.env)("accounts")+Wt(a)},t.createElement(ua,{appName:a})))})),M&&t.createElement("div",{style:{borderTop:"1px solid "+z}},t.createElement(na,{env:u.env})))))}}),t.createElement("div",{style:W({},Pt,{fontWeight:600,lineHeight:"48px",textAlign:"center"}),onClick:u.routes.length>0?function(){g(!1),m(function(e){return!e})}:null},t.createElement(Z,null,(r=N).charAt(0).toUpperCase()+r.slice(1)),u.routes.length>0&&t.createElement(_t,{colors:S,style:{marginLeft:"4px",verticalAlign:"middle"}})),t.createElement("button",{onClick:function(){return y(!E)},style:{background:"none",border:"none",margin:"0 12px",padding:0}},t.createElement(ea,{env:u.env,url:u.userAvatarPath})),t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",bottom:0,color:"black",display:E?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"}},t.createElement("div",{onClick:function(e){return e.stopPropagation()},style:{WebkitOverflowScrolling:"touch",backgroundColor:"#fff",display:"flex",flexDirection:"column",height:"100%",overflowY:"scroll",position:"relative",width:"100%"}},t.createElement(la,{appName:u.appName,env:u.env,connectedPeople:u.connectedPeople,hasConnectedPeople:C,linkToProfile:s,mfaConfigured:w,mfaEnabled:k,requestClearAppsCache:u.requestClearAppsCache,requestClearConnectedPeopleCache:u.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:u.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:u.requestUnlinkConnectedPeople,setUserMenuVisible:y,userAvatarPath:u.userAvatarPath,userId:x,userName:A}))))},pa=function(e){var n=e.active,a=K(e,sa);return t.createElement("a",W({style:W({backgroundColor:"#444",borderBottom:"1px solid #333",color:"#fff",display:"block",fontWeight:600,lineHeight:"47px",position:"relative",textAlign:"center",textDecoration:"none",textTransform:"capitalize",whiteSpace:"nowrap"},St,n&&{backgroundColor:"#333"})},a))},ma=["appName","apps","colors","connectedPeople","env","orgName","requestAppsFetch","requestClearAppsCache","requestClearConnectedPeopleCache","requestConnectedPeopleFetch","requestSwitchConnectedPerson","requestUnlinkConnectedPeople","userAvatarPath","userId","userName","routes","isPhoenix"],ha=["active","children","isPhoenix"];function fa(e){var n=e.appName,a=e.apps,r=e.colors,o=e.connectedPeople,i=e.env,l=e.orgName,c=e.requestAppsFetch,s=e.requestClearAppsCache,u=e.requestClearConnectedPeopleCache,d=e.requestConnectedPeopleFetch,p=e.requestSwitchConnectedPerson,m=e.requestUnlinkConnectedPeople,h=e.userAvatarPath,f=e.userId,g=e.userName,v=e.routes,E=e.isPhoenix,y=void 0!==E&&E,b=K(e,ma);return t.createElement(y?da:Qn,W({appName:n,apps:a,colors:r,connectedPeople:o,env:i,orgName:l,requestAppsFetch:c,requestClearAppsCache:s,requestClearConnectedPeopleCache:u,requestConnectedPeopleFetch:d,requestSwitchConnectedPerson:p,requestUnlinkConnectedPeople:m,userAvatarPath:h,userId:f,userName:g,routes:v},b))}function ga(e){var n=e.active,a=e.children,r=e.isPhoenix,o=void 0!==r&&r,i=K(e,ha);return t.createElement(o?pa:Yn,W({active:n,children:a},i))}var va={domain:window.location.host.split(".").slice(-2).join("."),"max-age":2592e3},Ea=Object.entries(va).map(function(e){return e[0]+"="+e[1]}).join("; ");function ya(e){var n=e.bottom,a=e.children,r=e.hasShadow,o=e.height,i=e.id,l=e.overflow,c=e.position,s=e.width;return t.createElement(m,W({backgroundColor:"surface",boxShadow:void 0!==r&&r&&open?"0 4px 12px rgba(0, 0, 0, 0.25)":null,left:0,position:"absolute",zIndex:1},{bottom:void 0===n?"auto":n,height:void 0===o?"100%":o,id:void 0===i?"toolbarDrawer":i,overflow:void 0===l?"visible":l,position:void 0===c?"absolute":c,width:void 0===s?"100%":s}),a)}function ba(e){var n=e.closeDrawer;return t.createElement(m,{alignment:"start",axis:"horizontal",color:"foreground",distribution:"space-between",padding:2,paddingTop:1},t.createElement(b,{flex:1},e.children),n&&t.createElement(p,{icon:{fill:lt.lightNeutral12,name:"general.x",size:"md"},onClick:function(){return n()},title:"Close",theme:!1,hover:{backgroundColor:lt.lightNeutral93},marginTop:.25}))}var Ca=["children"];function wa(e){var n=e.children,a=K(e,Ca);return t.createElement(C,W({color:lt.lightNeutral12,letterSpacing:".002em",level:2,lineHeight:"35px",weight:700},a),n)}var ka=function(e){return t.createElement(b,W({backgroundColor:lt.interaction66,height:1.5,pointerEvents:"none",position:"absolute",radius:"50%",width:1.5,zIndex:6},e))},xa=["children"],Aa={bottom:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.07))",bottom:0},top:{background:"linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0))",top:0}},Sa=function(e){var r=e.children,o=K(e,xa),l=a(!1),c=l[0],s=l[1],u=a(!1),d=u[0],p=u[1],h=i(null),f=i(null),g=i(null),v=function(){var e=null==h?void 0:h.current;e&&p(e.scrollHeight-e.clientHeight>e.scrollTop+1)};return n(function(){var e=null==h?void 0:h.current;if(!e)return function(){};p(e.scrollHeight>e.clientHeight);var t={root:e,threshold:1},n=new IntersectionObserver(function(e){return p(!e[0].isIntersecting)},t),a=new IntersectionObserver(function(e){return s(!e[0].isIntersecting)},t),r=null==f?void 0:f.current,o=null==g?void 0:g.current;r&&n.observe(r),o&&a.observe(o);var i=new ResizeObserver(v);return i.observe(e),function(){r&&n.unobserve(r),o&&a.unobserve(o),i.unobserve(e)}},[]),t.createElement(m,{grow:1,position:"relative",shrink:1},c&&t.createElement(Pa,{edge:"top"}),d&&t.createElement(Pa,{edge:"bottom"}),t.createElement(m,W({basis:2,grow:1,innerRef:h,overflow:"auto",role:"region",shrink:1,css:{overscrollBehavior:"contain"}},o),t.createElement(b,{innerRef:g}),r,t.createElement(b,{innerRef:f})))},Pa=function(e){return t.createElement(b,W({height:1,left:0,pointerEvents:"none",position:"absolute",right:0,role:"presentation",zIndex:10},Aa[e.edge]))},Za=function(e){var n=e.activeIndex,a=e.children,r=t.Children.count(a),o=n<0?0:n>r-1?r-1:n;return t.createElement(m,{grow:1,overflow:"hidden",position:"relative"},t.Children.map(a,function(e,a){var r=a===o;return t.createElement(m,{"aria-hidden":!r,visibility:r?"visible":"hidden",height:"100%",key:a,opacity:r?1:0,pointerEvents:r?"auto":"none",position:"absolute",top:0,width:"100%",transform:r?"translateX(0)":a<n?"translateX(-100px)":"translateX(100px)",transition:"visibility 100ms 50ms ease-in-out, transform 200ms ease-in-out, opacity 100ms 50ms ease-in-out"},e)}))},Na=["headers"],Ma=function(e,t){return fetch(e,W({credentials:"include",mode:"cors"},t))},Va=function(e,t){var n,a,r,o=t.headers,i=K(t,Na);return fetch(e,W({headers:W({},o,{"X-CSRF-Token":(null==(n=window)||null==(a=n.Rails)?void 0:a.csrfToken())||(null==(r=document.querySelector('meta[name="csrf-token"]'))?void 0:r.getAttribute("content"))||null})},i,{credentials:"include",mode:"cors"}))};function Ha(e,t,n){var a=void 0===n?{}:n,r=a.method,o=void 0===r?"GET":r,i=a.data,l=void 0===i?null:i,c={headers:{Accept:"application/json","Content-Type":"application/json"},method:o,redirect:"follow"};return l&&"GET"!==o&&(c.body=JSON.stringify(l)),e(t,c).then(function(e){return e.json().then(function(t){return{json:t,ok:e.ok,response:e}}).catch(function(){return{json:null,ok:e.ok,response:e}})},function(e){return console.warn(e),{json:null,ok:!1,response:null}})}var za,La=function(){window.localStorage.removeItem("Topbar:ConnectedPeople")};!function(e){e.close="close",e.mount="mount",e.open="open",e.unmount="unmount"}(za||(za={}));var Ta={currentContent:null,open:!1},_a=function(e,t){switch(t.type){case za.mount:return W({},e,{currentContent:t.payload.content});case za.unmount:return W({},e,{currentContent:null});case za.open:return W({},e,{open:!0});case za.close:return W({},e,{open:!1})}},Oa=function(t){return e.useReducer(_a,W({},Ta,t))},Ia=function(e){var n=e.currentAppName,a=e.sectionName.toLowerCase();return"account information"===a||"recent updates"===a?t.createElement(f,{name:"account information"===a?"general.cogPerson":"general.outlinedGenericFile",color:"foregroundSecondary"}):"Accounts"===n?t.createElement(f,{name:"general.cog",color:"foregroundSecondary"}):t.createElement(m,{width:2,height:2},t.createElement(A,{name:n.toLowerCase().replace(/[\s]/,"-"),size:"sm",theme:"color",markOnly:!0}))},Ua=function(e){var n=e.hit;return t.createElement(x.Item,{key:n.objectID,index:e.index,value:n,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},n.title))},Ra=function(e){var n=e.currentAppName,a=e.indexName,r=I(),o=r.query,i=r.refine,l=U(),c=l.hits,s=l.results,u=null==s?void 0:s.hits.reduce(function(e,t){var n=t.category.title;return e[n]||(e[n]=[]),e[n].push(t),e},{}),p=0;return t.createElement(m,{id:"helpdesk-search",position:"relative"},t.createElement(x.Popover,{renderTo:"#helpdesk-search",popoverProps:{zIndex:2},placeholder:"Search our documentation",value:o,renderRight:t.createElement(f,{name:"general.search"}),onChange:function(e){return i(e.target.value)},onSelect:function(e){return function(e,t){var n=t.split("_")[1],a=window.open("https://"+n+".zendesk.com/hc/"+e.locale.locale+"/articles/"+e.id,"_blank");a&&a.focus()}(e,a)},placement:"bottom-start"},!c.length&&t.createElement(t.Fragment,null,t.createElement(m,{axis:"horizontal",alignment:"center",paddingHorizontal:2,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},"No results match your search"))),u&&Object.keys(u).map(function(e){var a=u[e];return t.createElement(t.Fragment,{key:e},p>0&&t.createElement(d,{margin:1}),t.createElement(m,{axis:"horizontal",alignment:"center",spacing:.5,paddingHorizontal:2,paddingVertical:1},t.createElement(Ia,{currentAppName:n,sectionName:e}),t.createElement(h,{size:5,color:"foregroundSecondary",fontWeight:500},e)),a.map(function(e){return t.createElement(Ua,{key:e.objectID,hit:e,index:p++})}))})))},ja=function(e){var n=e.indexName,a=e.currentAppName,r=we().algoliaSearchAuth,o=O(r.algoliaApplicationId,r.algoliaSearchOnlyApiKey);return t.createElement(R,{indexName:n,searchClient:o},t.createElement(j,{hitsPerPage:5}),t.createElement(Ra,{currentAppName:a,indexName:n}))},Da=L.LoadingIndicator,qa=L.StackView,Fa={component:function(e){var n=e.appName,a=e.closeDrawer,r=e.helpdeskConfig;return t.createElement(z,{grow:1,display:"flex",extensionId:"staging"===e.env?"42":"11",loadingFallback:t.createElement(qa,{flex:1,axis:"vertical"},t.createElement(ba,{closeDrawer:a},t.createElement(qa,{axis:"horizontal",spacing:1},t.createElement(wa,null,"Help and support"),t.createElement(Da,null)))),additionalComponents:{CalendlyWidget:_,DocumentationSearch:ja,DrawerHeader:ba,DrawerHeading:wa,ScrollContainer:Sa,SwitchView:Za},args:{appName:n,closeDrawer:a,currentPageParams:location.search,helpdeskConfig:r}})},icons:{active:"general.questionCircle",static:"general.outlinedQuestionCircle"},name:"Helpdesk"},Ba=["dark","style"],Wa=function(e){var n=e.dark,a=e.style,r=K(e,Ba);return t.createElement("div",W({style:W({color:n?lt.lightNeutral62:lt.lightNeutral24,fontSize:"12px",fontWeight:400,textTransform:"uppercase"},a)},r))},Ja=function(e){var r,o,i,l,c,s,u=e.isRead,d=void 0!==u&&u,p=e.onClick,m=t.useRef(null),h=(r=m,i=(o=a(!1))[0],l=o[1],c=function(){return l(!0)},s=function(){return l(!1)},n(function(){var e=null==r?void 0:r.current;if(e)return e.addEventListener("mouseenter",c),e.addEventListener("mouseleave",s),function(){e.removeEventListener("mouseenter",c),e.removeEventListener("mouseleave",s)}},[r]),i);return t.createElement("div",W({ref:m,style:{alignItems:"center",display:"flex",height:"12px",justifyContent:"center",width:"12px"}},{onClick:p}),t.createElement("svg",{height:"12",viewBox:"0 0 12 12",width:"12"},t.createElement("title",null,"unread dot"),t.createElement("circle",{cx:"6",cy:"6",fill:h?lt.interaction66:lt.lightNeutral81,r:"6",style:{transition:"all 0.2s"}}),t.createElement("circle",{cx:"6",cy:"6",fill:lt.lightNeutral100,r:"5"}),!d&&t.createElement("circle",{cx:"6",cy:"6",r:"4",fill:lt.interaction66})))},Ga=function(e){var n=e.mobile,a=void 0!==n&&n,r=e.isLast,o=e.onCreateTask,i=e.onMarkAsRead,l=void 0===i?function(){try{return Promise.resolve({})}catch(e){return Promise.reject(e)}}:i,c=e.onToggleRead,s=e.showBottomBorder,u=e.notification,d=u.appName,p=u.createdAt,m=u.isRead,h=u.link,f=u.title,g=we(),v=g.organizationTimeZone,E=g.notificationsContextMenu,y=t.useState(!1),b=y[0],C=y[1],w={style:"relative"};return v&&(w.timeZone=v),t.createElement(Xe,{active:b,"data-turbolinks":!1,href:h,onClick:function(e){try{return C(!0),Promise.resolve(l(u)).then(function(){window.location.href=h})}catch(e){return Promise.reject(e)}},style:W({alignItems:"flex-start",borderBottom:s||!r?"1px solid "+(a?lt.lightNeutral24:lt.lightNeutral93):"none",cursor:"pointer",display:"flex",overflow:"hidden",padding:"12px 16px",textDecoration:"none",verticalAlign:"middle"},Ve)},t.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"}},t.createElement("div",{style:{alignItems:"center",borderLeft:"4px solid hsl("+({Calendar:"9 61% 50%","Check-Ins":"283 22% 48%",Giving:"43 88% 64%",Groups:"17 96% 62%",People:"220 74% 57%",Publishing:"220 12% 31%",Registrations:"175 36% 43%",Services:"88 45% 41%"}[d]||"0 0% 81%")+" / "+(m?"40%":"100%"),display:"flex",marginBottom:"10px",paddingLeft:"8px"}},t.createElement("div",{style:{flexGrow:1,marginRight:"16px"}},t.createElement(Wa,{dark:a,style:{marginBottom:"6px",userSelect:"none"}},d),t.createElement("h1",{style:{color:a?lt.lightNeutral88:lt.darkNeutral12,fontSize:"16px",fontWeight:500,lineHeight:"1.3em",margin:0,userSelect:"none"}},f)),!a&&!E&&t.createElement(Ja,W({onClick:function(e){e.preventDefault(),e.stopPropagation(),c()}},{isRead:m})),!a&&E&&t.createElement(S,{icon:{name:"general.threeDots"},title:"More options",variant:"naked",iconRight:null,placement:"bottom-end",onClick:function(e){e.stopPropagation()}},t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),c()}},"Mark ",m?"unread":"as read"),u.taskUrl?t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),window.location.href=u.taskUrl}},"Open task"):t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),o(u)}},"Create task"))),t.createElement("div",{style:{color:a?lt.lightNeutral62:lt.lightNeutral24,fontSize:"12px",paddingLeft:"12px",userSelect:"none"}},F.datetime(p,w))))},Xa=function(e){var n=e.dark,a=void 0!==n&&n,r=e.description,o=e.title,i=void 0===o?"No notifications":o;return t.createElement(m,{alignment:"center",distribution:"center",padding:4},t.createElement(Oe,W({id:e.context},{dark:a})),t.createElement(C,{color:a?"#fafafa":"#3d3d3d",fontWeight:500,marginTop:1,size:3},i),t.createElement(h,{align:"center",color:a?"#fafafa":"#3d3d3d",size:4},r))};function Ka(e){return e&&!!e.allSubscriptions}function Qa(e){var t=a(!1),r=t[0],o=t[1];return n(function(){Promise.resolve(e).then(function(e){o(Ka(e))})},[e]),r}var Ya=function(e){var n=e.channelName,a=e.disconnectJoltOnUnmount,r=e.enabled,o=void 0===r||r,i=e.env,l=e.fetchSubscribeToken,s=e.joltPromise,u=t.useState(),d=u[0],p=u[1],m=t.useState(),h=m[0],f=m[1],g=t.useCallback(function(){return Promise.resolve(s).then(function(e){var t=function(e,t){try{return Promise.resolve(l(t))}catch(e){return Promise.reject(e)}},a=Ka(e)?er(e,n,t):$a(e,n,t);p(a),f(e)})},[Ha,n,i,c,Va]);return t.useEffect(function(){o&&g()},[o,g]),t.useEffect(function(){var e=function(e){var t,n;e.data.hasOwnProperty("PCOPageExpiredCurrentPersonACID")&&e.data.PCOPageExpiredCurrentPersonACID!==(null==(t=window)||null==(n=t.pcoPageExpired)?void 0:n.currentPersonACID)&&h&&h.disconnect()};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}},[h]),t.useEffect(function(){return function(){h&&a&&h.disconnect()}},[h]),d},$a=function(e,t,n){return e.subscriptions.find(function(e){return e.channel===t})||e.subscribe(t,{fetchSubscribeTokenFn:n})},er=function(e,t,n){var a,r=(null==(a=e.allSubscriptions)?void 0:a.find(function(e){return e.channel===t}))||e.subscribe(t,{fetchSubscribeTokenFn:n});return r.subscribe(),r},tr=function(e,t,a){return n(function(){return e?(e.bind(t,a),function(){return e.unbind(t,a)}):function(){}},[e,a])},nr=function(e,t){var n,a,r,o,i,l,c,s,u=function(e,t){var n=e.type,a=e.id;return t.find(function(e){return e.type===n&&e.id===a})},d=null==(n=u(e.relationships.app.data,t.included))||null==(a=n.attributes)?void 0:a.name,p=JSON.parse(null==(r=u({id:null==e||null==(i=e.relationships)||null==(l=i.web_payloads)||null==(c=l.data[0])?void 0:c.id,type:"Payload"},t.included))||null==(o=r.attributes)?void 0:o.content);return{appName:d,createdAt:new Date(e.attributes.created_at),id:e.id,isRead:(null==(s=e.attributes.read_at)?void 0:s.length)>0,link:null==p?void 0:p.link,title:null==p?void 0:p.title}},ar=["disabled","onClick","title"],rr=function(e){var n=e.disabled,a=e.onClick,r=e.title,o=K(e,ar);return t.createElement(m,W({color:n?lt.lightNeutral62:lt.interaction66,cursor:n?"default":"pointer",fontSize:5,fontWeight:600,userSelect:"none",onClick:!n&&a},o),r)},or=function(e){var n=W({},(X(e),e));return t.createElement(C,W({color:lt.lightNeutral12,lineHeight:2,size:5,textTransform:"uppercase",userSelect:"none"},n))},ir={component:function(e){var n=e.closeDrawer,a=t.useState(!1),r=a[0],i=a[1],l={transition:"opacity 300ms ease-in-out"},s={entered:{opacity:1},entering:{opacity:.2}},u=he.getState().notifications,d=function(e){var n=e.enabled,a=e.env,r=e.joltChannel,i=t.useState([]),l=i[0],s=i[1],u=t.useState(!0),d=u[0],p=u[1],m=t.useState(!1),h=m[0],f=m[1],g=function(e){var t=[].concat(e).sort(function(e,t){return e.createdAt<t.createdAt?1:-1}).reduce(function(e,t){return W({},e,t.isRead?{read:[].concat(e.read,[t])}:{unread:[].concat(e.unread,[t])})},{read:[],unread:[]});return{read:t.read,unread:t.unread}}(l),v=g.read,E=g.unread,y=function(){try{f(!1),Ha(Ma,window.location.origin+"/~api/notifications/v2/me/notifications?include=app,web_payloads&per_page=100&order=read_at,-created_at").then(function(e){var t=e.json,n=t.data.map(function(e){return nr(e,t)});p(!1),s(n)})}catch(e){f(!0),console.error("topbar encountered error when fetching all notifications",e)}};t.useEffect(function(){n&&y()},[n]);var b=function(e){return"string"==typeof e.data?JSON.parse(e.data):e.data},C=t.useCallback(function(e){try{(function(e){try{try{return f(!1),Promise.resolve(Ha(Ma,window.location.origin+"/~api/notifications/v2/me/notifications/"+e+"?include=app,web_payloads").then(function(e){return e.json}))}catch(e){f(!0),console.error("topbar encountered error when fetching a single notification",e)}return Promise.resolve()}catch(e){return Promise.reject(e)}})(b(e).data.id).then(function(e){var t=nr(e.data,e);s(function(e){return[].concat(e.filter(function(e){return e.id!==t.id}),[t])})})}catch(e){console.error("topbar encountered error when updating state from jolt message",e)}},[nr,b,y,v,s,E]),w=t.useCallback(function(e){var t=b(e),n=l.filter(function(e){return e.id!==t.data.id});s(n)},[b,l,s]);tr(n?r:void 0,"notifications.v2.events.notification.created",C),tr(n?r:void 0,"notifications.v2.events.notification.updated",C),tr(n?r:void 0,"notifications.v2.events.notification.destroyed",w);var k=function(e,t){try{var n=e.reduce(function(e,n){return[].concat(e,[{attributes:{action:t},id:n,type:"graph_notification"}])},[]);return Promise.resolve(Ha(Va,c(a)("api")+"/notifications/v2/me/bulk_update",{data:{data:{attributes:{},relationships:{notifications:{data:{source:"/included/graph_notification/*"}}},type:"BulkUpdate"},included:n},method:"POST"}).then(function(t){t.ok||(p(!1),f(!0),s(function(t){return t.map(function(t){return e.includes(t.id)?W({},t,{isRead:!t.isRead}):t})}))}))}catch(e){return Promise.reject(e)}},x=o(function(e){try{return Promise.resolve(Ha(Va,c(a)("api")+"/home/v2/me/task_lists/inbox/tasks",{data:{data:{attributes:{description:e.link?'<a href="'+e.link+'">Link</a>':void 0,title:e.title}}},method:"POST"}).then(function(t){t.ok&&s(function(n){return n.map(function(n){return e.id===n.id?W({},n,{taskUrl:t.json.data.links.html}):n})})}))}catch(e){return Promise.reject(e)}},[]);return{handleCreateTask:x,handleMarkAllAsRead:function(){var e=E.map(function(e){return e.id});s(function(t){return t.map(function(t){return e.includes(t.id)?W({},t,{isRead:!0}):t})}),k(E.map(function(e){return e.id}),"read")},handleMarkAsRead:function(e){try{return k([e.id],"read")}catch(e){return Promise.reject(e)}},handleToggleRead:function(e){try{var t=e.isRead?"unread":"read";return s(function(n){return n.map(function(n){return e.id==n.id?W({},n,{isRead:"read"===t}):n})}),k([e.id],t)}catch(e){return Promise.reject(e)}},hasError:h,isLoading:d,read:v,unread:E}}({enabled:u.enabled,env:u.env,joltChannel:u.joltChannel}),p=d.handleCreateTask,h=d.handleMarkAllAsRead,f=d.handleMarkAsRead,g=d.handleToggleRead,v=d.hasError,E=d.isLoading,y=d.read,b=d.unread;return t.createElement(t.Fragment,null,t.createElement(ba,{closeDrawer:n},t.createElement(m,{spacing:.5},t.createElement(m,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(wa,null,"Notifications"),E&&t.createElement(P,{color:"hsl(0 0% 62%)",thickness:2,trackColor:"hsl(0 0% 97%)"}),v&&t.createElement(Ue,{fill:"hsl(8 60% 47%)",size:16})),y.length>0&&t.createElement(rr,{onClick:function(){return i(function(e){return!e})},title:(r?"Hide":"Show")+" read"}))),t.createElement(Sa,null,t.createElement(m,{alignment:"stretch",spacing:2},t.createElement("div",{style:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",margin:0,padding:"4px 0"}},!E&&0===b.length&&t.createElement(Xa,W({context:"toolbar",description:"When you have "+(y.length>0?"unread ":"")+"notifications they will show up here."},y.length>0&&{title:"No unread notifications"})),b.length>0&&t.createElement(m,{axis:"horizontal",alignment:"center",distribution:"space-between",padding:2},t.createElement(or,null,"Unread"),b.length>0&&t.createElement(rr,{onClick:function(){return h()},title:"Mark "+b.length+" as read"})),t.createElement(D,{exit:!1},b.map(function(e,n){return t.createElement(q,{key:e.id,timeout:0},function(a){return t.createElement("div",{style:W({},l,s[a])},t.createElement(Ga,W({isLast:b.length===n+1,key:e.id,onMarkAsRead:f,onToggleRead:function(){return g(e)},onCreateTask:p,showBottomBorder:y.length>0},{notification:e})))})})),y.length>0&&r&&t.createElement(t.Fragment,null,t.createElement(or,{padding:2},"Read"),t.createElement(D,{exit:!1},y.map(function(e){return t.createElement(q,{key:e.id,timeout:0},function(n){return t.createElement("div",{style:W({},l,s[n])},t.createElement("div",{style:{opacity:.6}},t.createElement(Ga,W({key:e.id,onToggleRead:function(){return g(e)},onCreateTask:p,showBottomBorder:!0},{notification:e}))))})})))))))},icons:{active:"toolbar.notification",static:"toolbar.notificationO"},name:"Notifications"};function lr(){var e=document.head.querySelectorAll('meta[property^="pco:"]'),t={};return e.forEach(function(e){var n,a=e.getAttribute("property");t[a.substring("pco:".length)]="boolean"===(n=e).getAttribute("datatype")?"true"===n.content||"1"===n.content:n.content}),t}var cr=me(lr()),sr=new MutationObserver(function(){var e=cr.getState(),t=lr();jn(e,t)||cr.setState(t)}),ur=!1,dr=["children","badge","onClick"],pr=L.LoadingIndicator,mr=L.StackView;function hr(e){var n=e.children,a=e.badge,r=e.onClick,o=K(e,dr);return t.createElement(m,W({as:"button",axis:"horizontal",distribution:"space-between",alignment:"center",paddingBottom:.75,onClick:function(){return r()},spacing:1},o),n,a&&t.createElement(Z,W({size:"sm",fontWeight:"600"},a)))}function fr(e){var n=e.onMessage,a=e.requestedJoltChannel,r=e.joltPromise,o=e.env,i=we().disconnectJoltOnUnmount,l=Qa(r),c=Ya({channelName:null==a?void 0:a.channelName,disconnectJoltOnUnmount:i,enabled:!!a,env:o,fetchSubscribeToken:function(e){try{return Promise.resolve(Ha(Va,a.subscribeUrl,{data:{data:{attributes:{connection_id:e}}},method:"POST"})).then(function(e){return e.json.data.id})}catch(e){return Promise.reject(e)}},joltPromise:r});return t.createElement(l?gr:vr,{channel:c,onMessage:n})}function gr(e){return tr(e.channel,"*",e.onMessage),null}function vr(e){return tr(e.channel,"",e.onMessage),null}var Er={component:function(e){var n=e.closeDrawer,r=e.env,i=e.isOpen,l=e.joltPromise,c=e.onReceiveWorker,u=e.openDrawer,d=e.currentPath,p=e.onChangePath,m=(ur||(ur=!0,sr.observe(document.head,{attributes:!0,childList:!0,subtree:!0})),s(cr.subscribe,function(){return cr.getState()})),h=a(),f=h[0],g=h[1],v=a(),E=v[0],y=v[1],b=o(function(e){g(W({},e,{timestamp:(new Date).getTime()}))},[]),C=o(function(e,t){var n;if(void 0===t&&(t={}),null==(n=window)||!n.pendo)return console.warn("`window.pendo` is undefined");window.pendo.track(e,t)},[]);return t.createElement(t.Fragment,null,t.createElement(fr,{onMessage:b,requestedJoltChannel:E,joltPromise:l,env:r}),t.createElement(z,{grow:1,display:"flex",extensionId:"staging"===r?"41":"2",onReceiveWorker:c,loadingFallback:t.createElement(mr,{flex:1,axis:"vertical"},t.createElement(ba,{closeDrawer:n},t.createElement(mr,{axis:"horizontal",spacing:1},t.createElement(wa,null,"To do"),t.createElement(pr,null)))),additionalComponents:{DrawerHeader:ba,DrawerHeading:wa,NavLinkWithBadge:hr,ScrollContainer:Sa,SwitchView:Za},args:{closeDrawer:n,currentPath:d,isOpen:i,latestJoltMessage:f,onChangePath:p,openDrawer:u,pcoMeta:m,requestJoltChannel:y,trackPendo:C}}))},icons:{active:"toolbar.checklist",static:"toolbar.checklistO"},name:"Tasks"};function yr(e,t){var a=t.messageType,r=t.allowedOrigin;n(function(){var t=function(t){t.origin===r&&t.data.type===a&&e(t)};return window.addEventListener("message",t),function(){window.removeEventListener("message",t)}},[])}function br(e){var r=e.env,l=e.closeDrawer,s=function(e){var t=e.currentPath,r=e.setFragmentRoute,l=e.env,s=a(t),u=s[0],d=s[1],p=c(l)("chat"),m=i(t);return yr(o(function(e){var t=e.data.payload.replace(/^\/?topbar/,"").replace(/^\/+/,"");m.current=t,r(t)},[r]),{allowedOrigin:p,messageType:"NEW_ROUTE_RENDERED"}),n(function(){m.current!==t&&d(t)},[t]),[p,"topbar",u].filter(Boolean).join("/")}({currentPath:e.currentPath,env:r,setFragmentRoute:e.onChangePath});return yr(l,{allowedOrigin:c(r)("chat"),messageType:"CLOSE_DRAWER"}),t.createElement(b,{as:"iframe",src:s,title:"Chat",width:"100%",height:"calc(100svh - 52px)",mediaQueries:{sm:{height:"100%"}}})}var Cr={component:function(e){var n=e.pcoChatEnabled?br:B.component;return"blankstate"===e.currentPath?t.createElement(wr,null):t.createElement(n,W({},e))},icons:{active:"general.textMessage",static:"general.outlinedTextMessage"},name:"Chat"};function wr(){return t.createElement(ba,null,t.createElement(m,null,t.createElement(wa,null,"Chat"),t.createElement(P,null)))}var kr=["token"],xr=function(){},Ar=function(e){var t=e.disconnectJoltOnUnmount,r=e.enableJoltLogging,o=e.env,i=e.userId,l=e.isEnabled,s=e.joltPromise,u=e.onConnectionFailure,d=void 0===u?xr:u,p=a(null),m=p[0],h=p[1],f=a(!1),g=f[0],v=f[1],E=a(!1),y=E[0],b=E[1],C=a(0),w=C[0],k=C[1],x=Ya({channelName:"chat.people."+i,disconnectJoltOnUnmount:t,enableJoltLogging:r,enabled:l,env:o,fetchSubscribeToken:function(e){try{var t=c(o)("api")+"/chat/v2/me/jolt_subscribe";return Promise.resolve(Ha(Va,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},joltPromise:s}),A=function(){return function(){try{var e=c(o)("api")+"/chat/v2/me",t="?include=stream_user&context=linked_accounts&fields[Person]="+["pco_chat_enabled","satisfies_age_check_requirements","display_chat_icon","unread_count"].join(",")+"&fields[StreamUser]="+["api_key","token","unread"].join(",");return Promise.resolve(Ha(Ma,""+e+t)).then(function(e){return e.json})}catch(e){return Promise.reject(e)}}().then(function(e){var t=e.included,n=e.data.attributes,a=n.pco_chat_enabled,r=n.display_chat_icon;k(n.unread_count),v(a),b(r);var i=t.find(function(e){return"StreamUser"===e.type}),l=i.id,s=i.attributes,u=s.token,p=K(s,kr);u?h(function(e){return W({id:l},e,p,{tokenProvider:function(){return Promise.resolve(function(){try{var e=c(o)("api")+"/chat/v2/me/stream_user";return Promise.resolve(Ha(Ma,e+"?context=linked_accounts&fields[StreamUser]=token")).then(function(e){return e.json.data})}catch(e){return Promise.reject(e)}}()).then(function(e){return e.attributes.token})}})}):(d(),h(null))}).catch(xr)};return tr(l?x:void 0,"STREAM_USER_UPDATED",A),n(function(){l&&A()},[l]),{chatStreamUser:m,displayChatIcon:y,pcoChatEnabled:g,unreadIndicator:g?w>0:null==m?void 0:m.unread}},Sr=48,Pr=360,Zr=100,Nr=52,Mr={Chat:Cr,Notifications:ir,Tasks:Er},Vr=Object.fromEntries(Object.entries(Mr).map(function(e){var t=e[1];return[e[0].toLowerCase(),t]}));function Hr(e){var i,l,s,g,E,y,C,x,A,S,P=e.appName,Z=e.autoMountTool,N=e.enableJoltLogging,M=e.env,V=e.helpdeskConfig,H=void 0===V?{}:V,z=e.linkToProfile,L=void 0===z||z,_=e.userAvatarPath,O=e.userName,I=e.onReceiveTasksWorker,U=e._storeDataOverride,R=(C=function(e){var t=r(function(){return new RegExp(e+"=([^&]+)")},[e]),i=o(function(e){var n=e.match(t);return n?n[1]:null},[t]),l=a(function(){return i(location.hash)}),c=l[0],s=l[1],u=o(function(e){s(i(e))},[]);return n(function(){function e(){u(location.hash)}return window.addEventListener("hashchange",e),function(){return window.removeEventListener("hashchange",e)}},[u]),[c,u]}("toolbar"),x=C[0],S=o(function(e,t){void 0===t&&(t="");var n="#toolbar="+e+"/"+t;history.replaceState(void 0,void 0,n),A(n)},[A=C[1]]),[r(function(){if(x){var e=x.split("/"),t=e[0];return{path:e.slice(1).join("/"),tool:t}}return null},[x]),S,o(function(){history.replaceState(void 0,void 0,"#"),A("")},[])]),j=R[0],D=R[1],q=R[2],F=(g="topbarToolbarToolState",E=a(function(){return function(e){var t=document.cookie.split(";").map(function(e){return e.trim()}).find(function(t){return t.startsWith(e+"=")});return t&&decodeURIComponent(t.split("=")[1])}(g)}),y=E[1],i=[E[0],o(function(e){document.cookie=g+"="+encodeURIComponent(e)+"; "+Ea,y(e)},[g])],s=i[1],[r(function(){if(!l)return{};try{return JSON.parse(l)}catch(e){return{}}},[l=i[0]]),o(function(e){return s(JSON.stringify(e))},[s])]),B=F[0],J=F[1],G=Oa({currentContent:Z?Mr[Z]:null}),X=G[0],K=G[1],Q=X.currentContent,Y=X.open,$=!!Q,ee=W({},we(),"development"===M&&null!=U?U:{}),te=ee.chatEnabled,ne=ee.disconnectJoltOnUnmount,ae=ee.hasConnectedPeople,re=ee.indicatorVisible,oe=ee.joltPromise,ie=ee.userId;t.useEffect(function(){Y?(document.body.style.overflow="hidden",window.scrollTo(0,0)):document.body.style.overflow="auto"},[Y]),t.useEffect(function(){return window.openHelpdesk=function(){return Pe(Fa)},function(){delete window.openHelpdesk}},[Fa]);var le=Fn({appName:P.replace(/[\s-]/,""),env:M,userId:ie}),ce=c(M)("login")+"/logout",se="/people/AC"+ie,ue=Fa,de=null!=H&&H.onClick?H.onClick:function(){return fe(ue)},pe=o(function(e){K({payload:{content:e},type:za.mount}),setTimeout(function(){return K({type:za.open})})},[]),me=o(function(e){e.name.toLowerCase()in Vr?D(e.name.toLowerCase(),B[e.name.toLowerCase()]):(q(),pe(e))},[D,q,pe,B]),he=o(function(){q(),K({type:za.close}),setTimeout(function(){return K({type:za.unmount})},Zr)},[q]);t.useEffect(function(){var e;if(j){var t=W({},B,((e={})[j.tool]=j.path,e));jn(t,B)||J(t)}},[j,B]),t.useEffect(function(){null==j||!j.tool||Q===Vr[j.tool]&&Y||pe(Vr[j.tool])},[pe,null==j?void 0:j.tool,Q,Y]);var fe=function(e){return Y&&(null==Q?void 0:Q.name)===e.name?he():me(e)},ge=Ar({disconnectJoltOnUnmount:ne,enableJoltLogging:N,env:M,isEnabled:Boolean(ie&&te),joltPromise:oe,onConnectionFailure:function(){return Q===Cr&&he()},userId:ie}),ve=ge.chatStreamUser,Ee=ge.pcoChatEnabled,ye=ge.unreadIndicator,be=[ir,Er,ge.displayChatIcon&&Cr].filter(Boolean),Ce={component:function(){return function(e){var n=e.closeDrawer,a=e.linkToProfile,r=e.loginSettingsUrl,o=e.logoutUrl,i=e.profileUrl,l=e.userAvatarPath,c=we(),s=c.mfaConfigured,u=c.mfaEnabled,g=c.name;return t.createElement(m,{axis:"vertical",spacing:t.createElement(d,null)},t.createElement(w,{columns:"auto 1fr auto",alignment:"start",spacing:2,padding:2,paddingTop:1,width:"100%"},t.createElement(k,{source:l,size:"md"}),t.createElement(m,{axis:"vertical",spacing:1,grow:0,shrink:1},t.createElement(wa,{paddingTop:.5,lineHeight:3.25},g),a&&t.createElement(v,{to:i,style:{color:lt.lightNeutral45},size:3},"My profile"),u&&t.createElement(t.Fragment,null,t.createElement(v,{to:r,style:{color:lt.lightNeutral45},size:3},"My login settings"),t.createElement(m,{axis:"horizontal",alignment:"center",spacing:.5,width:"100%"},t.createElement(f,{name:s?"general.lock":"general.unlock",size:"sm",color:s?lt.success25:lt.danger45}),t.createElement(h,{size:5,weight:400,color:lt.lightNeutral62,wrap:!0},"Two-step verification ",s?"active":"inactive")))),t.createElement(p,{icon:{fill:lt.lightNeutral24,name:"general.x",size:"md"},onClick:n,title:"Close",variant:"naked",theme:!1,marginTop:.25,hover:{backgroundColor:lt.lightNeutral95}})),t.createElement("form",{method:"POST",action:o},t.createElement(p,{"data-turbolinks":!1,onClick:function(){La()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(m,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:3,paddingVertical:2},t.createElement(h,{color:lt.lightNeutral45,size:3},"Log out"),t.createElement(f,{name:"general.intoBox",fill:lt.lightNeutral45})))))}({closeDrawer:he,linkToProfile:L,loginSettingsUrl:le,logoutUrl:ce,profileUrl:se,userAvatarPath:_})},name:"Profile"},ke=function(e){var t=function(e){return"undefined"!=typeof window&&window.matchMedia(e).matches},r=a(t(e)),o=r[0],i=r[1];function l(){i(t(e))}return n(function(){var t=window.matchMedia(e);return l(),t.addListener?t.addListener(l):t.addEventListener("change",l),function(){t.removeListener?t.removeListener(l):t.removeEventListener("change",l)}},[e]),o}("(max-width: 599px)"),xe=t.useState(0),Ae=xe[0],Se=xe[1];t.useLayoutEffect(function(){var e=function(){Se(window.innerHeight)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]);var Pe=function(e){var t;me(e),null==(t=document.getElementById("toolbarDrawer"+e.name))||t.scrollTo({behavior:"smooth",top:0})},Ze={Chat:{chatStreamUser:ve,hasConnectedPeople:ae,pcoChatEnabled:Ee},Tasks:{onReceiveWorker:I}},Ne=o(function(e){D(null==Q?void 0:Q.name.toLowerCase(),e)},[null==Q?void 0:Q.name]),Me=W({appName:P,closeDrawer:he,currentPath:(null==j?void 0:j.tool)&&Vr[j.tool]===Q?null==j?void 0:j.path:null,env:M,helpdeskConfig:H,isOpen:Y,joltPromise:oe,onChangePath:Ne,openDrawer:function(){return Q&&me(Q)},userId:ie},Q?Ze[Q.name]:{}),Ve=W({},re,{Chat:ye});return t.createElement(u,{theme:Wn},t.createElement(T,null,ke?t.createElement(t.Fragment,null,t.createElement(m,{left:0,position:"absolute",right:0,pointerEvents:"none",style:{minHeight:Ae},top:0,zIndex:10001},t.createElement(m,{alignItems:"start",axis:"horizontal",backgroundColor:"white",borderTopColor:"separatorTertiary",borderTopWidth:1,bottom:0,distribution:"fill",height:"calc("+Nr+"px + env(safe-area-inset-bottom))",left:0,position:"fixed",pointerEvents:"auto",right:0},t.createElement(m,{alignment:"center",flex:"1",position:"relative"},t.createElement(p,{css:{WebkitTapHighlightColor:"transparent"},color:Y?lt.lightNeutral62:lt.lightNeutral24,hover:{color:lt.lightNeutral24},icon:{name:Y?"toolbar.planningCenterO":"toolbar.planningCenter",size:"20px"},onClick:function(){return he()},padding:2,theme:!1,title:"Home"})),[ue].concat(be).map(function(e){return t.createElement(m,{alignment:"center",flex:"1",key:e.name,position:"relative"},t.createElement(p,{id:"toolbar-"+e.name.toLowerCase(),"aria-label":""+e.name,color:Y&&Q===e?lt.lightNeutral24:lt.lightNeutral62,css:{WebkitTapHighlightColor:"transparent"},hover:{color:lt.lightNeutral24},key:e.name,onClick:function(){return Pe(e)},paddingHorizontal:2,paddingVertical:2,theme:!1},t.createElement(b,{position:"relative"},Ve[e.name]&&t.createElement(ka,{right:-.5,top:-.5}),t.createElement(f,{name:Y&&Q===e?e.icons.active:e.icons.static,size:"20px"}))))}))),$&&t.createElement(ya,{id:"toolbarDrawer"+Q.name,bottom:Nr+"px",height:Y?"calc(100% - "+Nr+"px)":"0px",overflow:"auto",position:"absolute"},t.createElement(Q.component,W({},Me)))):t.createElement(m,{height:"100%",position:"absolute",right:0,width:Y?"calc("+Pr+"px + "+Sr+"px)":Sr+"px",transition:"all "+Zr+"ms ease-in-out"},t.createElement(m,{backgroundColor:"surface",borderLeftColor:"separatorTertiary",borderLeftWidth:1,grow:1,paddingVertical:1,spacing:t.createElement(d,{margin:1.5}),zIndex:2,position:"absolute",right:0,height:"100%",width:Sr+"px"},t.createElement(m,{alignment:"center","data-pendo":"toolbar-profile-support-wrapper",spacing:2},t.createElement(p,{"data-pendo":"toolbar-profile",onClick:function(){return fe(Ce)},radius:0,theme:!1},t.createElement(k,{alt:O+"'s avatar",hover:{outlineColor:lt.lightNeutral62},outlineColor:Y&&$&&"Profile"==Q.name?lt.lightNeutral62:"transparent",outlineOffset:"2px",outlineStyle:"solid",outlineWidth:"2px",size:"sm",source:_})),t.createElement(zr,{currentContent:Q,indicatorState:Ve,key:ue.name,onClick:de,open:Y,tool:ue})),t.createElement(m,{alignment:"center",spacing:2},be.map(function(e){return t.createElement(zr,{currentContent:Q,indicatorState:Ve,key:e.name,onClick:function(){return fe(e)},open:Y,tool:e})}))),$&&t.createElement(ya,{hasShadow:!0,id:"toolbarDrawer"+Q.name,width:Pr+"px"},t.createElement(Q.component,W({},Me))))))}var zr=function(e){var n=e.currentContent,a=e.indicatorState,r=e.onClick,o=e.open,i=e.tool;return t.createElement(b,{"data-pendo":"toolbar-"+i.name.toLowerCase(),key:i.name,position:"relative"},a[i.name]&&t.createElement(ka,{right:.25,top:.25}),t.createElement(p,{id:"toolbar-"+i.name.toLowerCase(),color:o&&n===i?lt.lightNeutral24:lt.lightNeutral62,hover:{color:lt.lightNeutral24},icon:{name:o&&n===i?i.icons.active:i.icons.static,size:"20px"},key:i.name,onClick:r,title:"Open "+i.name+" drawer",theme:!1}))},Lr={domain:window.location.host.split(".").slice(-2).join("."),"max-age":2592e3},Tr=Object.entries(Lr).map(function(e){return e[0]+"="+e[1]}).join("; ");function _r(e){var n=e.bottom,a=e.children,r=e.hasShadow,o=e.height,i=e.id,l=e.overflow,c=e.position,s=e.width;return t.createElement(m,W({backgroundColor:"surface",boxShadow:void 0!==r&&r&&open?"0 4px 12px rgba(0, 0, 0, 0.25)":null,left:0,position:"absolute",zIndex:1},{bottom:void 0===n?"auto":n,height:void 0===o?"100%":o,id:void 0===i?"toolbarDrawer":i,overflow:void 0===l?"visible":l,position:void 0===c?"absolute":c,width:void 0===s?"100%":s}),a)}function Or(e){var n=e.closeDrawer;return t.createElement(m,{alignment:"start",axis:"horizontal",color:"foreground",distribution:"space-between",padding:2,paddingTop:1},t.createElement(b,{flex:1},e.children),n&&t.createElement(p,{icon:{fill:ln.lightNeutral12,name:"general.x",size:"md"},onClick:function(){return n()},title:"Close",theme:!1,hover:{backgroundColor:ln.lightNeutral93},marginTop:.25}))}var Ir=["children"];function Ur(e){var n=e.children,a=K(e,Ir);return t.createElement(C,W({color:ln.lightNeutral12,letterSpacing:".002em",level:2,lineHeight:"35px",weight:700},a),n)}var Rr,jr=function(e){return t.createElement(b,W({backgroundColor:ln.interaction66,height:1.5,pointerEvents:"none",position:"absolute",radius:"50%",width:1.5,zIndex:6},e))},Dr=["children"],qr={bottom:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.07))",bottom:0},top:{background:"linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0))",top:0}},Fr=function(e){var r=e.children,o=K(e,Dr),l=a(!1),c=l[0],s=l[1],u=a(!1),d=u[0],p=u[1],h=i(null),f=i(null),g=i(null),v=function(){var e=null==h?void 0:h.current;e&&p(e.scrollHeight-e.clientHeight>e.scrollTop+1)};return n(function(){var e=null==h?void 0:h.current;if(!e)return function(){};p(e.scrollHeight>e.clientHeight);var t={root:e,threshold:1},n=new IntersectionObserver(function(e){return p(!e[0].isIntersecting)},t),a=new IntersectionObserver(function(e){return s(!e[0].isIntersecting)},t),r=null==f?void 0:f.current,o=null==g?void 0:g.current;r&&n.observe(r),o&&a.observe(o);var i=new ResizeObserver(v);return i.observe(e),function(){r&&n.unobserve(r),o&&a.unobserve(o),i.unobserve(e)}},[]),t.createElement(m,{grow:1,position:"relative",shrink:1},c&&t.createElement(Br,{edge:"top"}),d&&t.createElement(Br,{edge:"bottom"}),t.createElement(m,W({basis:2,grow:1,innerRef:h,overflow:"auto",role:"region",shrink:1,css:{overscrollBehavior:"contain"}},o),t.createElement(b,{innerRef:g}),r,t.createElement(b,{innerRef:f})))},Br=function(e){return t.createElement(b,W({height:1,left:0,pointerEvents:"none",position:"absolute",right:0,role:"presentation",zIndex:10},qr[e.edge]))},Wr=function(e){var n=e.activeIndex,a=e.children,r=t.Children.count(a),o=n<0?0:n>r-1?r-1:n;return t.createElement(m,{grow:1,overflow:"hidden",position:"relative"},t.Children.map(a,function(e,a){var r=a===o;return t.createElement(m,{"aria-hidden":!r,visibility:r?"visible":"hidden",height:"100%",key:a,opacity:r?1:0,pointerEvents:r?"auto":"none",position:"absolute",top:0,width:"100%",transform:r?"translateX(0)":a<n?"translateX(-100px)":"translateX(100px)",transition:"visibility 100ms 50ms ease-in-out, transform 200ms ease-in-out, opacity 100ms 50ms ease-in-out"},e)}))},Jr=function(){return ve()};!function(e){e.close="close",e.mount="mount",e.open="open",e.unmount="unmount"}(Rr||(Rr={}));var Gr={currentContent:null,open:!1},Xr=function(e,t){switch(t.type){case Rr.mount:return W({},e,{currentContent:t.payload.content});case Rr.unmount:return W({},e,{currentContent:null});case Rr.open:return W({},e,{open:!0});case Rr.close:return W({},e,{open:!1})}},Kr=function(t){return e.useReducer(Xr,W({},Gr,t))},Qr=function(e){var n=e.currentAppName,a=e.sectionName.toLowerCase();return"account information"===a||"recent updates"===a?t.createElement(f,{name:"account information"===a?"general.cogPerson":"general.outlinedGenericFile",color:"foregroundSecondary"}):"Accounts"===n?t.createElement(f,{name:"general.cog",color:"foregroundSecondary"}):t.createElement(m,{width:2,height:2},t.createElement(A,{name:n.toLowerCase().replace(/[\s]/,"-"),size:"sm",theme:"color",markOnly:!0}))},Yr=function(e){var n=e.hit;return t.createElement(x.Item,{key:n.objectID,index:e.index,value:n,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},n.title))},$r=function(e){var n=e.currentAppName,a=e.indexName,r=I(),o=r.query,i=r.refine,l=U(),c=l.hits,s=l.results,u=null==s?void 0:s.hits.reduce(function(e,t){var n=t.category.title;return e[n]||(e[n]=[]),e[n].push(t),e},{}),p=0;return t.createElement(m,{id:"helpdesk-search",position:"relative"},t.createElement(x.Popover,{renderTo:"#helpdesk-search",popoverProps:{zIndex:2},placeholder:"Search our documentation",value:o,renderRight:t.createElement(f,{name:"general.search"}),onChange:function(e){return i(e.target.value)},onSelect:function(e){return function(e,t){var n=t.split("_")[1],a=window.open("https://"+n+".zendesk.com/hc/"+e.locale.locale+"/articles/"+e.id,"_blank");a&&a.focus()}(e,a)},placement:"bottom-start"},!c.length&&t.createElement(t.Fragment,null,t.createElement(m,{axis:"horizontal",alignment:"center",paddingHorizontal:2,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},"No results match your search"))),u&&Object.keys(u).map(function(e){var a=u[e];return t.createElement(t.Fragment,{key:e},p>0&&t.createElement(d,{margin:1}),t.createElement(m,{axis:"horizontal",alignment:"center",spacing:.5,paddingHorizontal:2,paddingVertical:1},t.createElement(Qr,{currentAppName:n,sectionName:e}),t.createElement(h,{size:5,color:"foregroundSecondary",fontWeight:500},e)),a.map(function(e){return t.createElement(Yr,{key:e.objectID,hit:e,index:p++})}))})))},eo=function(e){var n=e.indexName,a=e.currentAppName,r=we().algoliaSearchAuth,o=O(r.algoliaApplicationId,r.algoliaSearchOnlyApiKey);return t.createElement(R,{indexName:n,searchClient:o},t.createElement(j,{hitsPerPage:5}),t.createElement($r,{currentAppName:a,indexName:n}))},to=L.LoadingIndicator,no=L.StackView,ao={component:function(e){var n=e.appName,a=e.closeDrawer,r=e.helpdeskConfig;return t.createElement(z,{grow:1,display:"flex",extensionId:"staging"===e.env?"42":"11",loadingFallback:t.createElement(no,{flex:1,axis:"vertical"},t.createElement(Or,{closeDrawer:a},t.createElement(no,{axis:"horizontal",spacing:1},t.createElement(Ur,null,"Help and support"),t.createElement(to,null)))),additionalComponents:{CalendlyWidget:_,DocumentationSearch:eo,DrawerHeader:Or,DrawerHeading:Ur,ScrollContainer:Fr,SwitchView:Wr},args:{appName:n,closeDrawer:a,currentPageParams:location.search,helpdeskConfig:r}})},icons:{active:"general.questionCircle",static:"general.outlinedQuestionCircle"},name:"Helpdesk"},ro=["dark","style"],oo=function(e){var n=e.dark,a=e.style,r=K(e,ro);return t.createElement("div",W({style:W({color:n?ln.lightNeutral62:ln.lightNeutral24,fontSize:"12px",fontWeight:400,textTransform:"uppercase"},a)},r))},io=function(e){var r,o,i,l,c,s,u=e.isRead,d=void 0!==u&&u,p=e.onClick,m=t.useRef(null),h=(r=m,i=(o=a(!1))[0],l=o[1],c=function(){return l(!0)},s=function(){return l(!1)},n(function(){var e=null==r?void 0:r.current;if(e)return e.addEventListener("mouseenter",c),e.addEventListener("mouseleave",s),function(){e.removeEventListener("mouseenter",c),e.removeEventListener("mouseleave",s)}},[r]),i);return t.createElement("div",W({ref:m,style:{alignItems:"center",display:"flex",height:"12px",justifyContent:"center",width:"12px"}},{onClick:p}),t.createElement("svg",{height:"12",viewBox:"0 0 12 12",width:"12"},t.createElement("title",null,"unread dot"),t.createElement("circle",{cx:"6",cy:"6",fill:h?ln.interaction66:ln.lightNeutral81,r:"6",style:{transition:"all 0.2s"}}),t.createElement("circle",{cx:"6",cy:"6",fill:ln.lightNeutral100,r:"5"}),!d&&t.createElement("circle",{cx:"6",cy:"6",r:"4",fill:ln.interaction66})))},lo=function(e){var n=e.mobile,a=void 0!==n&&n,r=e.isLast,o=e.onCreateTask,i=e.onMarkAsRead,l=void 0===i?function(){try{return Promise.resolve({})}catch(e){return Promise.reject(e)}}:i,c=e.onToggleRead,s=e.showBottomBorder,u=e.notification,d=u.appName,p=u.createdAt,m=u.isRead,h=u.link,f=u.title,g=we(),v=g.organizationTimeZone,E=g.notificationsContextMenu,y=t.useState(!1),b=y[0],C=y[1],w={style:"relative"};return v&&(w.timeZone=v),t.createElement(Gt,{active:b,"data-turbolinks":!1,href:h,onClick:function(e){try{return C(!0),Promise.resolve(l(u)).then(function(){window.location.href=h})}catch(e){return Promise.reject(e)}},style:W({alignItems:"flex-start",borderBottom:s||!r?"1px solid "+(a?ln.lightNeutral24:ln.lightNeutral93):"none",cursor:"pointer",display:"flex",overflow:"hidden",padding:"12px 16px",textDecoration:"none",verticalAlign:"middle"},St)},t.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"}},t.createElement("div",{style:{alignItems:"center",borderLeft:"4px solid hsl("+({Calendar:"9 61% 50%","Check-Ins":"283 22% 48%",Giving:"43 88% 64%",Groups:"17 96% 62%",People:"220 74% 57%",Publishing:"220 12% 31%",Registrations:"175 36% 43%",Services:"88 45% 41%"}[d]||"0 0% 81%")+" / "+(m?"40%":"100%"),display:"flex",marginBottom:"10px",paddingLeft:"8px"}},t.createElement("div",{style:{flexGrow:1,marginRight:"16px"}},t.createElement(oo,{dark:a,style:{marginBottom:"6px",userSelect:"none"}},d),t.createElement("h1",{style:{color:a?ln.lightNeutral88:ln.darkNeutral12,fontSize:"16px",fontWeight:500,lineHeight:"1.3em",margin:0,userSelect:"none"}},f)),!a&&!E&&t.createElement(io,W({onClick:function(e){e.preventDefault(),e.stopPropagation(),c()}},{isRead:m})),!a&&E&&t.createElement(S,{icon:{name:"general.threeDots"},title:"More options",variant:"naked",iconRight:null,placement:"bottom-end",onClick:function(e){e.stopPropagation()}},t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),c()}},"Mark ",m?"unread":"as read"),u.taskUrl?t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),window.location.href=u.taskUrl}},"Open task"):t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),o(u)}},"Create task"))),t.createElement("div",{style:{color:a?ln.lightNeutral62:ln.lightNeutral24,fontSize:"12px",paddingLeft:"12px",userSelect:"none"}},F.datetime(p,w))))},co=function(e){var n=e.dark,a=void 0!==n&&n,r=e.description,o=e.title,i=void 0===o?"No notifications":o;return t.createElement(m,{alignment:"center",distribution:"center",padding:4},t.createElement(Tt,W({id:e.context},{dark:a})),t.createElement(C,{color:a?"#fafafa":"#3d3d3d",fontWeight:500,marginTop:1,size:3},i),t.createElement(h,{align:"center",color:a?"#fafafa":"#3d3d3d",size:4},r))},so=function(e,t){var n,a,r,o,i,l,c,s,u=function(e,t){var n=e.type,a=e.id;return t.find(function(e){return e.type===n&&e.id===a})},d=null==(n=u(e.relationships.app.data,t.included))||null==(a=n.attributes)?void 0:a.name,p=JSON.parse(null==(r=u({id:null==e||null==(i=e.relationships)||null==(l=i.web_payloads)||null==(c=l.data[0])?void 0:c.id,type:"Payload"},t.included))||null==(o=r.attributes)?void 0:o.content);return{appName:d,createdAt:new Date(e.attributes.created_at),id:e.id,isRead:(null==(s=e.attributes.read_at)?void 0:s.length)>0,link:null==p?void 0:p.link,title:null==p?void 0:p.title}},uo=["disabled","onClick","title"],po=function(e){var n=e.disabled,a=e.onClick,r=e.title,o=K(e,uo);return t.createElement(m,W({color:n?ln.lightNeutral62:ln.interaction66,cursor:n?"default":"pointer",fontSize:5,fontWeight:600,userSelect:"none",onClick:!n&&a},o),r)},mo=function(e){var n=W({},(X(e),e));return t.createElement(C,W({color:ln.lightNeutral12,lineHeight:2,size:5,textTransform:"uppercase",userSelect:"none"},n))},ho={component:function(e){var n=e.closeDrawer,a=t.useState(!1),r=a[0],i=a[1],l={transition:"opacity 300ms ease-in-out"},s={entered:{opacity:1},entering:{opacity:.2}},u=he.getState().notifications,d=function(e){var n=e.enabled,a=e.env,r=e.joltChannel,i=t.useState([]),l=i[0],s=i[1],u=t.useState(!0),d=u[0],p=u[1],m=t.useState(!1),h=m[0],f=m[1],g=function(e){var t=[].concat(e).sort(function(e,t){return e.createdAt<t.createdAt?1:-1}).reduce(function(e,t){return W({},e,t.isRead?{read:[].concat(e.read,[t])}:{unread:[].concat(e.unread,[t])})},{read:[],unread:[]});return{read:t.read,unread:t.unread}}(l),v=g.read,E=g.unread,y=function(){try{f(!1),te($,window.location.origin+"/~api/notifications/v2/me/notifications?include=app,web_payloads&per_page=100&order=read_at,-created_at").then(function(e){var t=e.json,n=t.data.map(function(e){return so(e,t)});p(!1),s(n)})}catch(e){f(!0),console.error("topbar encountered error when fetching all notifications",e)}};t.useEffect(function(){n&&y()},[n]);var b=function(e){return"string"==typeof e.data?JSON.parse(e.data):e.data},C=t.useCallback(function(e){try{(function(e){try{try{return f(!1),Promise.resolve(te($,window.location.origin+"/~api/notifications/v2/me/notifications/"+e+"?include=app,web_payloads").then(function(e){return e.json}))}catch(e){f(!0),console.error("topbar encountered error when fetching a single notification",e)}return Promise.resolve()}catch(e){return Promise.reject(e)}})(b(e).data.id).then(function(e){var t=so(e.data,e);s(function(e){return[].concat(e.filter(function(e){return e.id!==t.id}),[t])})})}catch(e){console.error("topbar encountered error when updating state from jolt message",e)}},[so,b,y,v,s,E]),w=t.useCallback(function(e){var t=b(e),n=l.filter(function(e){return e.id!==t.data.id});s(n)},[b,l,s]);le(n?r:void 0,"notifications.v2.events.notification.created",C),le(n?r:void 0,"notifications.v2.events.notification.updated",C),le(n?r:void 0,"notifications.v2.events.notification.destroyed",w);var k=function(e,t){try{var n=e.reduce(function(e,n){return[].concat(e,[{attributes:{action:t},id:n,type:"graph_notification"}])},[]);return Promise.resolve(te(ee,c(a)("api")+"/notifications/v2/me/bulk_update",{data:{data:{attributes:{},relationships:{notifications:{data:{source:"/included/graph_notification/*"}}},type:"BulkUpdate"},included:n},method:"POST"}).then(function(t){t.ok||(p(!1),f(!0),s(function(t){return t.map(function(t){return e.includes(t.id)?W({},t,{isRead:!t.isRead}):t})}))}))}catch(e){return Promise.reject(e)}},x=o(function(e){try{return Promise.resolve(te(ee,c(a)("api")+"/home/v2/me/task_lists/inbox/tasks",{data:{data:{attributes:{description:e.link?'<a href="'+e.link+'">Link</a>':void 0,title:e.title}}},method:"POST"}).then(function(t){t.ok&&s(function(n){return n.map(function(n){return e.id===n.id?W({},n,{taskUrl:t.json.data.links.html}):n})})}))}catch(e){return Promise.reject(e)}},[]);return{handleCreateTask:x,handleMarkAllAsRead:function(){var e=E.map(function(e){return e.id});s(function(t){return t.map(function(t){return e.includes(t.id)?W({},t,{isRead:!0}):t})}),k(E.map(function(e){return e.id}),"read")},handleMarkAsRead:function(e){try{return k([e.id],"read")}catch(e){return Promise.reject(e)}},handleToggleRead:function(e){try{var t=e.isRead?"unread":"read";return s(function(n){return n.map(function(n){return e.id==n.id?W({},n,{isRead:"read"===t}):n})}),k([e.id],t)}catch(e){return Promise.reject(e)}},hasError:h,isLoading:d,read:v,unread:E}}({enabled:u.enabled,env:u.env,joltChannel:u.joltChannel}),p=d.handleCreateTask,h=d.handleMarkAllAsRead,f=d.handleMarkAsRead,g=d.handleToggleRead,v=d.hasError,E=d.isLoading,y=d.read,b=d.unread;return t.createElement(t.Fragment,null,t.createElement(Or,{closeDrawer:n},t.createElement(m,{spacing:.5},t.createElement(m,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(Ur,null,"Notifications"),E&&t.createElement(P,{color:"hsl(0 0% 62%)",thickness:2,trackColor:"hsl(0 0% 97%)"}),v&&t.createElement(Ot,{fill:"hsl(8 60% 47%)",size:16})),y.length>0&&t.createElement(po,{onClick:function(){return i(function(e){return!e})},title:(r?"Hide":"Show")+" read"}))),t.createElement(Fr,null,t.createElement(m,{alignment:"stretch",spacing:2},t.createElement("div",{style:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",margin:0,padding:"4px 0"}},!E&&0===b.length&&t.createElement(co,W({context:"toolbar",description:"When you have "+(y.length>0?"unread ":"")+"notifications they will show up here."},y.length>0&&{title:"No unread notifications"})),b.length>0&&t.createElement(m,{axis:"horizontal",alignment:"center",distribution:"space-between",padding:2},t.createElement(mo,null,"Unread"),b.length>0&&t.createElement(po,{onClick:function(){return h()},title:"Mark "+b.length+" as read"})),t.createElement(D,{exit:!1},b.map(function(e,n){return t.createElement(q,{key:e.id,timeout:0},function(a){return t.createElement("div",{style:W({},l,s[a])},t.createElement(lo,W({isLast:b.length===n+1,key:e.id,onMarkAsRead:f,onToggleRead:function(){return g(e)},onCreateTask:p,showBottomBorder:y.length>0},{notification:e})))})})),y.length>0&&r&&t.createElement(t.Fragment,null,t.createElement(mo,{padding:2},"Read"),t.createElement(D,{exit:!1},y.map(function(e){return t.createElement(q,{key:e.id,timeout:0},function(n){return t.createElement("div",{style:W({},l,s[n])},t.createElement("div",{style:{opacity:.6}},t.createElement(lo,W({key:e.id,onToggleRead:function(){return g(e)},onCreateTask:p,showBottomBorder:!0},{notification:e}))))})})))))))},icons:{active:"toolbar.notification",static:"toolbar.notificationO"},name:"Notifications"};function fo(){var e=document.head.querySelectorAll('meta[property^="pco:"]'),t={};return e.forEach(function(e){var n,a=e.getAttribute("property");t[a.substring("pco:".length)]="boolean"===(n=e).getAttribute("datatype")?"true"===n.content||"1"===n.content:n.content}),t}var go=me(fo()),vo=new MutationObserver(function(){var e=go.getState(),t=fo();ue(e,t)||go.setState(t)}),Eo=!1,yo=["children","badge","onClick"],bo=L.LoadingIndicator,Co=L.StackView;function wo(e){var n=e.children,a=e.badge,r=e.onClick,o=K(e,yo);return t.createElement(m,W({as:"button",axis:"horizontal",distribution:"space-between",alignment:"center",paddingBottom:.75,onClick:function(){return r()},spacing:1},o),n,a&&t.createElement(Z,W({size:"sm",fontWeight:"600"},a)))}function ko(e){var r=e.onMessage,o=e.requestedJoltChannel,i=e.joltPromise,l=e.env,c=we().disconnectJoltOnUnmount,s=function(e){var t=a(!1),r=t[0],o=t[1];return n(function(){Promise.resolve(e).then(function(e){o(ae(e))})},[e]),r}(i),u=re({channelName:null==o?void 0:o.channelName,disconnectJoltOnUnmount:c,enabled:!!o,env:l,fetchSubscribeToken:function(e){try{return Promise.resolve(te(ee,o.subscribeUrl,{data:{data:{attributes:{connection_id:e}}},method:"POST"})).then(function(e){return e.json.data.id})}catch(e){return Promise.reject(e)}},joltPromise:i});return t.createElement(s?xo:Ao,{channel:u,onMessage:r})}function xo(e){return le(e.channel,"*",e.onMessage),null}function Ao(e){return le(e.channel,"",e.onMessage),null}var So={component:function(e){var n=e.closeDrawer,r=e.env,i=e.isOpen,l=e.joltPromise,c=e.onReceiveWorker,u=e.openDrawer,d=e.currentPath,p=e.onChangePath,m=(Eo||(Eo=!0,vo.observe(document.head,{attributes:!0,childList:!0,subtree:!0})),s(go.subscribe,function(){return go.getState()})),h=a(),f=h[0],g=h[1],v=a(),E=v[0],y=v[1],b=o(function(e){g(W({},e,{timestamp:(new Date).getTime()}))},[]),C=o(function(e,t){var n;if(void 0===t&&(t={}),null==(n=window)||!n.pendo)return console.warn("`window.pendo` is undefined");window.pendo.track(e,t)},[]);return t.createElement(t.Fragment,null,t.createElement(ko,{onMessage:b,requestedJoltChannel:E,joltPromise:l,env:r}),t.createElement(z,{grow:1,display:"flex",extensionId:"staging"===r?"41":"2",onReceiveWorker:c,loadingFallback:t.createElement(Co,{flex:1,axis:"vertical"},t.createElement(Or,{closeDrawer:n},t.createElement(Co,{axis:"horizontal",spacing:1},t.createElement(Ur,null,"To do"),t.createElement(bo,null)))),additionalComponents:{DrawerHeader:Or,DrawerHeading:Ur,NavLinkWithBadge:wo,ScrollContainer:Fr,SwitchView:Wr},args:{closeDrawer:n,currentPath:d,isOpen:i,latestJoltMessage:f,onChangePath:p,openDrawer:u,pcoMeta:m,requestJoltChannel:y,trackPendo:C}}))},icons:{active:"toolbar.checklist",static:"toolbar.checklistO"},name:"Tasks"};function Po(e,t){var a=t.messageType,r=t.allowedOrigin;n(function(){var t=function(t){t.origin===r&&t.data.type===a&&e(t)};return window.addEventListener("message",t),function(){window.removeEventListener("message",t)}},[])}function Zo(e){var r=e.env,l=e.closeDrawer,s=function(e){var t=e.currentPath,r=e.setFragmentRoute,l=e.env,s=a(t),u=s[0],d=s[1],p=c(l)("chat"),m=i(t);return Po(o(function(e){var t=e.data.payload.replace(/^\/?topbar/,"").replace(/^\/+/,"");m.current=t,r(t)},[r]),{allowedOrigin:p,messageType:"NEW_ROUTE_RENDERED"}),n(function(){m.current!==t&&d(t)},[t]),[p,"topbar",u].filter(Boolean).join("/")}({currentPath:e.currentPath,env:r,setFragmentRoute:e.onChangePath});return Po(l,{allowedOrigin:c(r)("chat"),messageType:"CLOSE_DRAWER"}),t.createElement(b,{as:"iframe",src:s,title:"Chat",width:"100%",height:"calc(100svh - 52px)",mediaQueries:{sm:{height:"100%"}}})}var No={component:function(e){var n=e.pcoChatEnabled?Zo:B.component;return"blankstate"===e.currentPath?t.createElement(Mo,null):t.createElement(n,W({},e))},icons:{active:"general.textMessage",static:"general.outlinedTextMessage"},name:"Chat"};function Mo(){return t.createElement(Or,null,t.createElement(m,null,t.createElement(Ur,null,"Chat"),t.createElement(P,null)))}var Vo=["token"],Ho=function(){},zo=function(e){var t=e.disconnectJoltOnUnmount,r=e.enableJoltLogging,o=e.env,i=e.userId,l=e.isEnabled,s=e.joltPromise,u=e.onConnectionFailure,d=void 0===u?Ho:u,p=a(null),m=p[0],h=p[1],f=a(!1),g=f[0],v=f[1],E=a(!1),y=E[0],b=E[1],C=a(0),w=C[0],k=C[1],x=re({channelName:"chat.people."+i,disconnectJoltOnUnmount:t,enableJoltLogging:r,enabled:l,env:o,fetchSubscribeToken:function(e){try{var t=c(o)("api")+"/chat/v2/me/jolt_subscribe";return Promise.resolve(te(ee,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},joltPromise:s}),A=function(){return function(){try{var e=c(o)("api")+"/chat/v2/me",t="?include=stream_user&context=linked_accounts&fields[Person]="+["pco_chat_enabled","satisfies_age_check_requirements","display_chat_icon","unread_count"].join(",")+"&fields[StreamUser]="+["api_key","token","unread"].join(",");return Promise.resolve(te($,""+e+t)).then(function(e){return e.json})}catch(e){return Promise.reject(e)}}().then(function(e){var t=e.included,n=e.data.attributes,a=n.pco_chat_enabled,r=n.display_chat_icon;k(n.unread_count),v(a),b(r);var i=t.find(function(e){return"StreamUser"===e.type}),l=i.id,s=i.attributes,u=s.token,p=K(s,Vo);u?h(function(e){return W({id:l},e,p,{tokenProvider:function(){return Promise.resolve(function(){try{var e=c(o)("api")+"/chat/v2/me/stream_user";return Promise.resolve(te($,e+"?context=linked_accounts&fields[StreamUser]=token")).then(function(e){return e.json.data})}catch(e){return Promise.reject(e)}}()).then(function(e){return e.attributes.token})}})}):(d(),h(null))}).catch(Ho)};return le(l?x:void 0,"STREAM_USER_UPDATED",A),n(function(){l&&A()},[l]),{chatStreamUser:m,displayChatIcon:y,pcoChatEnabled:g,unreadIndicator:g?w>0:null==m?void 0:m.unread}},Lo=48,To=360,_o=100,Oo=52,Io={Chat:No,Notifications:ho,Tasks:So},Uo=Object.fromEntries(Object.entries(Io).map(function(e){var t=e[1];return[e[0].toLowerCase(),t]}));function Ro(e){var i,l,s,g,E,y,C,x,A,S,P=e.appName,Z=e.autoMountTool,N=e.enableJoltLogging,M=e.env,V=e.helpdeskConfig,H=void 0===V?{}:V,z=e.linkToProfile,L=void 0===z||z,_=e.userAvatarPath,O=e.userName,I=e.onReceiveTasksWorker,U=e._storeDataOverride,R=(C=function(e){var t=r(function(){return new RegExp(e+"=([^&]+)")},[e]),i=o(function(e){var n=e.match(t);return n?n[1]:null},[t]),l=a(function(){return i(location.hash)}),c=l[0],s=l[1],u=o(function(e){s(i(e))},[]);return n(function(){function e(){u(location.hash)}return window.addEventListener("hashchange",e),function(){return window.removeEventListener("hashchange",e)}},[u]),[c,u]}("toolbar"),x=C[0],S=o(function(e,t){void 0===t&&(t="");var n="#toolbar="+e+"/"+t;history.replaceState(void 0,void 0,n),A(n)},[A=C[1]]),[r(function(){if(x){var e=x.split("/"),t=e[0];return{path:e.slice(1).join("/"),tool:t}}return null},[x]),S,o(function(){history.replaceState(void 0,void 0,"#"),A("")},[])]),j=R[0],D=R[1],q=R[2],F=(g="topbarToolbarToolState",E=a(function(){return function(e){var t=document.cookie.split(";").map(function(e){return e.trim()}).find(function(t){return t.startsWith(e+"=")});return t&&decodeURIComponent(t.split("=")[1])}(g)}),y=E[1],i=[E[0],o(function(e){document.cookie=g+"="+encodeURIComponent(e)+"; "+Tr,y(e)},[g])],s=i[1],[r(function(){if(!l)return{};try{return JSON.parse(l)}catch(e){return{}}},[l=i[0]]),o(function(e){return s(JSON.stringify(e))},[s])]),B=F[0],J=F[1],G=Kr({currentContent:Z?Io[Z]:null}),X=G[0],K=G[1],Q=X.currentContent,Y=X.open,$=!!Q,ee=W({},we(),"development"===M&&null!=U?U:{}),te=ee.chatEnabled,ne=ee.disconnectJoltOnUnmount,ae=ee.hasConnectedPeople,re=ee.indicatorVisible,oe=ee.joltPromise,ie=ee.userId;t.useEffect(function(){Y?(document.body.style.overflow="hidden",window.scrollTo(0,0)):document.body.style.overflow="auto"},[Y]),t.useEffect(function(){return window.openHelpdesk=function(){return Ze(ao)},function(){delete window.openHelpdesk}},[ao]);var le=ra({appName:P.replace(/[\s-]/,""),env:M,userId:ie}),ce=c(M)("login")+"/logout",se="/people/AC"+ie,de=ao,pe=null!=H&&H.onClick?H.onClick:function(){return ge(de)},me=o(function(e){K({payload:{content:e},type:Rr.mount}),setTimeout(function(){return K({type:Rr.open})})},[]),he=o(function(e){e.name.toLowerCase()in Uo?D(e.name.toLowerCase(),B[e.name.toLowerCase()]):(q(),me(e))},[D,q,me,B]),fe=o(function(){q(),K({type:Rr.close}),setTimeout(function(){return K({type:Rr.unmount})},_o)},[q]);t.useEffect(function(){var e;if(j){var t=W({},B,((e={})[j.tool]=j.path,e));ue(t,B)||J(t)}},[j,B]),t.useEffect(function(){null==j||!j.tool||Q===Uo[j.tool]&&Y||me(Uo[j.tool])},[me,null==j?void 0:j.tool,Q,Y]);var ge=function(e){return Y&&(null==Q?void 0:Q.name)===e.name?fe():he(e)},ve=zo({disconnectJoltOnUnmount:ne,enableJoltLogging:N,env:M,isEnabled:Boolean(ie&&te),joltPromise:oe,onConnectionFailure:function(){return Q===No&&fe()},userId:ie}),Ee=ve.chatStreamUser,ye=ve.pcoChatEnabled,be=ve.unreadIndicator,Ce=[ho,So,ve.displayChatIcon&&No].filter(Boolean),ke={component:function(){return function(e){var n=e.closeDrawer,a=e.linkToProfile,r=e.loginSettingsUrl,o=e.logoutUrl,i=e.profileUrl,l=e.userAvatarPath,c=we(),s=c.mfaConfigured,u=c.mfaEnabled,g=c.name;return t.createElement(m,{axis:"vertical",spacing:t.createElement(d,null)},t.createElement(w,{columns:"auto 1fr auto",alignment:"start",spacing:2,padding:2,paddingTop:1,width:"100%"},t.createElement(k,{source:l,size:"md"}),t.createElement(m,{axis:"vertical",spacing:1,grow:0,shrink:1},t.createElement(Ur,{paddingTop:.5,lineHeight:3.25},g),a&&t.createElement(v,{to:i,style:{color:ln.lightNeutral45},size:3},"My profile"),u&&t.createElement(t.Fragment,null,t.createElement(v,{to:r,style:{color:ln.lightNeutral45},size:3},"My login settings"),t.createElement(m,{axis:"horizontal",alignment:"center",spacing:.5,width:"100%"},t.createElement(f,{name:s?"general.lock":"general.unlock",size:"sm",color:s?ln.success25:ln.danger45}),t.createElement(h,{size:5,weight:400,color:ln.lightNeutral62,wrap:!0},"Two-step verification ",s?"active":"inactive")))),t.createElement(p,{icon:{fill:ln.lightNeutral24,name:"general.x",size:"md"},onClick:n,title:"Close",variant:"naked",theme:!1,marginTop:.25,hover:{backgroundColor:ln.lightNeutral95}})),t.createElement("form",{method:"POST",action:o},t.createElement(p,{"data-turbolinks":!1,onClick:function(){Jr()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(m,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:3,paddingVertical:2},t.createElement(h,{color:ln.lightNeutral45,size:3},"Log out"),t.createElement(f,{name:"general.intoBox",fill:ln.lightNeutral45})))))}({closeDrawer:fe,linkToProfile:L,loginSettingsUrl:le,logoutUrl:ce,profileUrl:se,userAvatarPath:_})},name:"Profile"},xe=function(e){var t=function(e){return"undefined"!=typeof window&&window.matchMedia(e).matches},r=a(t(e)),o=r[0],i=r[1];function l(){i(t(e))}return n(function(){var t=window.matchMedia(e);return l(),t.addListener?t.addListener(l):t.addEventListener("change",l),function(){t.removeListener?t.removeListener(l):t.removeEventListener("change",l)}},[e]),o}("(max-width: 599px)"),Ae=t.useState(0),Se=Ae[0],Pe=Ae[1];t.useLayoutEffect(function(){var e=function(){Pe(window.innerHeight)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]);var Ze=function(e){var t;he(e),null==(t=document.getElementById("toolbarDrawer"+e.name))||t.scrollTo({behavior:"smooth",top:0})},Ne={Chat:{chatStreamUser:Ee,hasConnectedPeople:ae,pcoChatEnabled:ye},Tasks:{onReceiveWorker:I}},Me=o(function(e){D(null==Q?void 0:Q.name.toLowerCase(),e)},[null==Q?void 0:Q.name]),Ve=W({appName:P,closeDrawer:fe,currentPath:(null==j?void 0:j.tool)&&Uo[j.tool]===Q?null==j?void 0:j.path:null,env:M,helpdeskConfig:H,isOpen:Y,joltPromise:oe,onChangePath:Me,openDrawer:function(){return Q&&he(Q)},userId:ie},Q?Ne[Q.name]:{}),He=W({},re,{Chat:be});return t.createElement(u,{theme:ia},t.createElement(T,null,xe?t.createElement(t.Fragment,null,t.createElement(m,{left:0,position:"absolute",right:0,pointerEvents:"none",style:{minHeight:Se},top:0,zIndex:10001},t.createElement(m,{alignItems:"start",axis:"horizontal",backgroundColor:"white",borderTopColor:"separatorTertiary",borderTopWidth:1,bottom:0,distribution:"fill",height:"calc("+Oo+"px + env(safe-area-inset-bottom))",left:0,position:"fixed",pointerEvents:"auto",right:0},t.createElement(m,{alignment:"center",flex:"1",position:"relative"},t.createElement(p,{css:{WebkitTapHighlightColor:"transparent"},color:Y?ln.lightNeutral62:ln.lightNeutral24,hover:{color:ln.lightNeutral24},icon:{name:Y?"toolbar.planningCenterO":"toolbar.planningCenter",size:"20px"},onClick:function(){return fe()},padding:2,theme:!1,title:"Home"})),[de].concat(Ce).map(function(e){return t.createElement(m,{alignment:"center",flex:"1",key:e.name,position:"relative"},t.createElement(p,{id:"toolbar-"+e.name.toLowerCase(),"aria-label":""+e.name,color:Y&&Q===e?ln.lightNeutral24:ln.lightNeutral62,css:{WebkitTapHighlightColor:"transparent"},hover:{color:ln.lightNeutral24},key:e.name,onClick:function(){return Ze(e)},paddingHorizontal:2,paddingVertical:2,theme:!1},t.createElement(b,{position:"relative"},He[e.name]&&t.createElement(jr,{right:-.5,top:-.5}),t.createElement(f,{name:Y&&Q===e?e.icons.active:e.icons.static,size:"20px"}))))}))),$&&t.createElement(_r,{id:"toolbarDrawer"+Q.name,bottom:Oo+"px",height:Y?"calc(100% - "+Oo+"px)":"0px",overflow:"auto",position:"absolute"},t.createElement(Q.component,W({},Ve)))):t.createElement(m,{height:"100%",position:"absolute",right:0,width:Y?"calc("+To+"px + "+Lo+"px)":Lo+"px",transition:"all "+_o+"ms ease-in-out"},t.createElement(m,{backgroundColor:"surface",borderLeftColor:"separatorTertiary",borderLeftWidth:1,grow:1,paddingVertical:1,spacing:t.createElement(d,{margin:1.5}),zIndex:2,position:"absolute",right:0,height:"100%",width:Lo+"px"},t.createElement(m,{alignment:"center","data-pendo":"toolbar-profile-support-wrapper",spacing:2},t.createElement(p,{"data-pendo":"toolbar-profile",onClick:function(){return ge(ke)},radius:0,theme:!1},t.createElement(k,{alt:O+"'s avatar",hover:{outlineColor:ln.lightNeutral62},outlineColor:Y&&$&&"Profile"==Q.name?ln.lightNeutral62:"transparent",outlineOffset:"2px",outlineStyle:"solid",outlineWidth:"2px",size:"sm",source:_})),t.createElement(jo,{currentContent:Q,indicatorState:He,key:de.name,onClick:pe,open:Y,tool:de})),t.createElement(m,{alignment:"center",spacing:2},Ce.map(function(e){return t.createElement(jo,{currentContent:Q,indicatorState:He,key:e.name,onClick:function(){return ge(e)},open:Y,tool:e})}))),$&&t.createElement(_r,{hasShadow:!0,id:"toolbarDrawer"+Q.name,width:To+"px"},t.createElement(Q.component,W({},Ve))))))}var jo=function(e){var n=e.currentContent,a=e.indicatorState,r=e.onClick,o=e.open,i=e.tool;return t.createElement(b,{"data-pendo":"toolbar-"+i.name.toLowerCase(),key:i.name,position:"relative"},a[i.name]&&t.createElement(jr,{right:.25,top:.25}),t.createElement(p,{id:"toolbar-"+i.name.toLowerCase(),color:o&&n===i?ln.lightNeutral24:ln.lightNeutral62,hover:{color:ln.lightNeutral24},icon:{name:o&&n===i?i.icons.active:i.icons.static,size:"20px"},key:i.name,onClick:r,title:"Open "+i.name+" drawer",theme:!1}))},Do=["appName","env","userAvatarPath","userName","isPhoenix"];function qo(e){var n=e.appName,a=e.env,r=e.userAvatarPath,o=e.userName,i=e.isPhoenix,l=void 0!==i&&i,c=K(e,Do);return t.createElement(l?Ro:Hr,W({appName:n,env:a,userAvatarPath:r,userName:o},c))}export{fe as AppsProvider,Lt as BellIcon,ye as ConnectedPeopleProvider,Ce as DisplaySwitch,Cn as NotSmallRoute,bn as NotSmallTopbar,Pn as PlatformAnnouncements,Sn as PlatformAnnouncementsStyleProvider,zn as ProductAnnouncement,Ln as ProductAnnouncementStyleProvider,ga as SmallRoute,fa as SmallTopbar,It as SpyglassIcon,An as StyledPlatformAnnouncement,Tn as StyledProductAnnouncement,_n as StyledProductAnnouncementDimissButton,Wr as SwitchView,qo as Toolbar,Ut as XIcon,ge as mapApps,ee as railsCsrfFetch};
|
|
1
|
+
import*as e from"react";import t,{useEffect as n,useState as a,useMemo as r,useCallback as o,useRef as i}from"react";import l from"@planningcenter/jolt-client";import c from"@planningcenter/url";import{useSyncExternalStore as s}from"use-sync-external-store/shim";import{ThemeProvider as u,Divider as d,Button as m,StackView as p,Text as h,Icon as f,designSystem as g,Link as v,HeadingUppercase as E,List as b,Box as y,Heading as w,GridView as C,Avatar as k,Combobox as x,Logo as A,Dropdown as S,Spinner as Z,Badge as P}from"@planningcenter/tapestry-react";import*as M from"@planningcenter/icons/paths/church-center";import*as N from"@planningcenter/icons/paths/general";import*as V from"@planningcenter/icons/paths/people";import*as H from"@planningcenter/icons/paths/toolbar";import{UiExtensionFirstPartyComponent as z,components as _,UiExtensionDataContext as L}from"@planningcenter/add-ons";import{InlineWidget as T}from"react-calendly";import O from"algoliasearch";import{useSearchBox as I,useHits as R,InstantSearch as j,Configure as U}from"react-instantsearch";import{TransitionGroup as D,Transition as F}from"react-transition-group";import B from"@planningcenter/datetime-fmt";import{Chat as W}from"@planningcenter/chat/chat-topbar";function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},J.apply(null,arguments)}function G(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Y(e,t)}function X(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function K(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}function Y(e,t){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Y(e,t)}var Q=["headers"],$=function(e,t){return fetch(e,J({credentials:"include",mode:"cors"},t))},ee=function(e,t){var n,a,r,o=t.headers,i=K(t,Q);return fetch(e,J({headers:J({},o,{"X-CSRF-Token":(null==(n=window)||null==(a=n.Rails)?void 0:a.csrfToken())||(null==(r=document.querySelector('meta[name="csrf-token"]'))?void 0:r.getAttribute("content"))||null})},i,{credentials:"include",mode:"cors"}))};function te(e,t,n){var a=void 0===n?{}:n,r=a.method,o=void 0===r?"GET":r,i=a.data,l=void 0===i?null:i,c={headers:{Accept:"application/json","Content-Type":"application/json"},method:o,redirect:"follow"};return l&&"GET"!==o&&(c.body=JSON.stringify(l)),e(t,c).then(function(e){return e.json().then(function(t){return{json:t,ok:e.ok,response:e}}).catch(function(){return{json:null,ok:e.ok,response:e}})},function(e){return console.warn(e),{json:null,ok:!1,response:null}})}var ne=null;function ae(e){return e&&!!e.allSubscriptions}function re(e){var t=a(!1),r=t[0],o=t[1];return n(function(){Promise.resolve(e).then(function(e){o(ae(e))})},[e]),r}var oe=function(e){var n=e.channelName,a=e.disconnectJoltOnUnmount,r=e.enabled,o=void 0===r||r,i=e.env,l=e.fetchSubscribeToken,s=e.joltPromise,u=t.useState(),d=u[0],m=u[1],p=t.useState(),h=p[0],f=p[1],g=t.useCallback(function(){return Promise.resolve(s).then(function(e){var t=function(e,t){try{return Promise.resolve(l(t))}catch(e){return Promise.reject(e)}},a=ae(e)?le(e,n,t):ie(e,n,t);m(a),f(e)})},[te,n,i,c,ee]);return t.useEffect(function(){o&&g()},[o,g]),t.useEffect(function(){var e=function(e){var t,n;e.data.hasOwnProperty("PCOPageExpiredCurrentPersonACID")&&e.data.PCOPageExpiredCurrentPersonACID!==(null==(t=window)||null==(n=t.pcoPageExpired)?void 0:n.currentPersonACID)&&h&&h.disconnect()};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}},[h]),t.useEffect(function(){return function(){h&&a&&h.disconnect()}},[h]),d},ie=function(e,t,n){return e.subscriptions.find(function(e){return e.channel===t})||e.subscribe(t,{fetchSubscribeTokenFn:n})},le=function(e,t,n){var a,r=(null==(a=e.allSubscriptions)?void 0:a.find(function(e){return e.channel===t}))||e.subscribe(t,{fetchSubscribeTokenFn:n});return r.subscribe(),r},ce=function(e,t,a){return n(function(){return e?(e.bind(t,a),function(){return e.unbind(t,a)}):function(){}},[e,a])},se=function(e,t){void 0===t&&(t=1);var n=e.replace(/[a-z()%]/g,"").split(" ");return"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+t+")"},ue=function(e,t){var n;return function(){var a=[].slice.call(arguments),r=this;clearTimeout(n),(n=setTimeout(function(){n=null,e.apply(r,a)},t))||e.apply(r,a)}};function de(e,t){return Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(function(e){return t[e[0]]!==e[1]})}function me(e,t){var r=a(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),o=r[0],i=r[1],l=JSON.stringify(o);return n(function(){window.localStorage.setItem(e,l)},[e,l]),{dropKey:function(){return window.localStorage.removeItem(e)},setStoredValue:i,storedValue:o}}var pe=function(){};function he(e){var t=e,n=new Set;return{getState:function(){return t},setState:function(e){t=e,n.forEach(function(e){return e(t)})},subscribe:function(e){return n.add(e),function(){return n.delete(e)}}}}var fe=he({}),ge=function(e){var o,i,s,u,d,m,p,h,f,g,v,E,b,y,w,C,k,x,A,S,Z,P=e.configuredFetch,M=e.enableJoltLogging,N=e.env,V=e.formatter,H=void 0===V?ve:V,z=e.joltPromise,_=e.wssEndpoint,L=e.render,T=e.userId,O=function(e){var t=e.configuredFetch,r=e.env,o=me("Topbar",{}),i=o.setStoredValue,l=a(o.storedValue),s=l[0],u=l[1];n(function(){d()},[]);var d=function(){te(t,c(r)("api")+"/people/v2/me/topbar").then(function(e){var t=e.json;e.ok&&(u(t),i(t))})};return s}({configuredFetch:void 0===P?$:P,env:N}),I=H(O),R=null==O||null==(o=O.data)||null==(i=o.attributes)?void 0:i.has_connected_people,j=null==O||null==(s=O.data)||null==(u=s.attributes)||null==(d=u.features)?void 0:d.includes("mfa_enabled"),U=null==O||null==(m=O.data)||null==(p=m.attributes)||null==(h=p.features)?void 0:h.includes("notifications_context_menu"),D=!(null==O||null==(f=O.data)||null==(g=f.attributes)||!g.mfa_configured),F=null==O||null==(v=O.data)||null==(E=v.attributes)?void 0:E.name,B=!window.notificationsDisabled,W=(null==O||null==(b=O.data)||null==(y=b.attributes)?void 0:y.org_time_zone)||"America/Los_Angeles",q=null==O||null==(w=O.data)||null==(C=w.attributes)||null==(k=C.features)?void 0:k.includes("chat_enabled"),G={algoliaApplicationId:null==O||null==(x=O.data)||null==(A=x.attributes)?void 0:A.algolia_application_identifier,algoliaSearchOnlyApiKey:null==O||null==(S=O.data)||null==(Z=S.attributes)?void 0:Z.algolia_search_key},X=r(function(){return function(e){var t=e.enableJoltLogging,n=e.env,a=e.fetchAuthTokenFn,r=e.providedJoltPromise,o=e.wssEndpoint;return r?r():(ne||(ne=new l(o||function(e){switch(e){case"development":case"test":return"wss://1csnwvu025.execute-api.us-east-1.amazonaws.com/v1/";case"staging":return"wss://xvk2ac1o3l.execute-api.us-east-1.amazonaws.com/v1/";default:return"wss://yxe88gasn3.execute-api.us-east-1.amazonaws.com/v1/"}}(n),{fetchAuthTokenFn:a},{logToConsole:t})),Promise.resolve(ne))}({enableJoltLogging:M,env:N,fetchAuthTokenFn:function(){try{return Promise.resolve(te(ee,window.location.origin+"/~api/notifications/v2/me/notifications_jolt_authorize",{data:{data:{attributes:{}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},providedJoltPromise:z,wssEndpoint:_})},[z,_,N,M]),K=oe({channelName:"notifications.people."+T,disconnectJoltOnUnmount:!z,enabled:!0,env:N,fetchSubscribeToken:function(e){try{var t=window.location.origin+"/~api/notifications/v2/me/notifications_jolt_subscribe";return Promise.resolve(te(ee,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},joltPromise:X}),Y=function(e){var n,a,r=e.enabled,o=e.joltChannel,i=me("Topbar:Notifications:hasUnread",!1),l=i.storedValue,c=i.setStoredValue,s=(n=function(){var e=window.location.origin+"/~api/notifications/v2/me/unread";te($,e).then(function(e){c(e.json.data.attributes.unread)}).catch(pe)},void 0===(a=300)&&(a=0),t.useMemo(function(){return ue(n,a)},[]));return t.useEffect(function(){r&&s()},[r]),ce(r?o:void 0,"notifications.v2.events.notification.created",s),ce(r?o:void 0,"notifications.v2.events.notification.updated",s),ce(r?o:void 0,"notifications.v2.events.notification.destroyed",s),l}({enabled:!0,env:N,joltChannel:K});return n(function(){var e=fe.getState();fe.setState(J({},e,{algoliaSearchAuth:G,chatEnabled:q,disconnectJoltOnUnmount:!z,hasConnectedPeople:R,indicatorVisible:J({},e.indicatorVisible,{Notifications:Y}),joltPromise:X,mfaConfigured:D,mfaEnabled:j,name:F,notifications:{enabled:B,env:N,joltChannel:K},notificationsContextMenu:U,notificationsEnabled:B,notificationsJoltChannel:K,organizationTimeZone:W,userId:T}))},[X,D,j,F,U,B,Y,W,T]),L(I||[],{fetch:function(){},remove:function(){}})};function ve(e){var t,n;return(null==e||null==(t=e.data)||null==(n=t.attributes)?void 0:n.apps)||[]}function Ee(){window.localStorage.removeItem("Topbar:ConnectedPeople")}function be(e){window.location=e}var ye=/*#__PURE__*/function(e){function t(t){var n;return(n=e.call(this,t)||this).state={connectedPeople:[]},n}G(t,e);var n=t.prototype;return n.fetch=function(){var e=this;te(this.props.configuredFetch,c(this.props.env)("api")+"/login/v2/me/connected_people").then(function(t){var n=t.json;if(t.ok&&n){var a=n.data;return e.setState({connectedPeople:a},function(){return window.localStorage.setItem("Topbar:ConnectedPeople",JSON.stringify(a))})}})},n.unlink=function(){te(this.props.configuredFetch,c(this.props.env)("api")+"/login/v2/me/unlink",{method:"POST"}).then(function(e){var t,n=e.json;null!=n&&null!=(t=n.meta)&&t.redirect_to&&be(n.meta.redirect_to)})},n.switch=function(e,t){te(this.props.configuredFetch,c(this.props.env)("api")+"/login/v2/me/switch_connected_person",{data:{data:{attributes:{id:e,return_path:t}}},method:"POST"}).then(function(e){var t,n=e.json;null!=n&&null!=(t=n.meta)&&t.redirect_to&&be(n.meta.redirect_to)})},n.componentDidMount=function(){var e=JSON.parse(window.localStorage.getItem("Topbar:ConnectedPeople"));return e?this.setState({connectedPeople:e}):this.fetch()},n.render=function(){return this.props.render(this.state.connectedPeople||[],{fetch:this.fetch.bind(this),remove:Ee.bind(this),switch:this.switch.bind(this),unlink:this.unlink.bind(this)})},t}(t.Component);ye.defaultProps={configuredFetch:$};var we=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).state={width:window.innerWidth},n.setWindowWidth=n.setWindowWidth.bind(q(n)),n}G(n,e);var a=n.prototype;return a.setWindowWidth=function(){this.setState({width:window.innerWidth})},a.componentDidMount=function(){window.addEventListener("resize",ue(this.setWindowWidth,100),!1)},a.componentWillUnmount=function(){window.removeEventListener("resize",ue(this.setWindowWidth,100),!1)},a.breakpointString=function(e){return e<480?"xs":e<600?"sm":e<720?"md":e<960?"lg":"xl"},a.render=function(){return t.createElement(t.Fragment,null,this.props.render(this.breakpointString(this.state.width)))},n}(t.Component),Ce=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return G(n,e),n.prototype.render=function(){var e=this;return t.createElement(we,{render:function(t){return-1!==e.props.smallBreakpoints.indexOf(t)?e.props.smallTopbar(t):e.props.notSmallTopbar(t)}})},n}(t.Component);function ke(e){return t.createElement("path",{fill:e.color,d:"M16.95,9.28h0l-1.33-.23c-.12,0-.24-.04-.34-.11-.1-.07-.18-.16-.23-.27-.12-.45-.3-.89-.54-1.3-.04-.11-.05-.24-.03-.35,.02-.12,.08-.23,.16-.32l.78-1.1h0s0-.03,0-.04l-.03-.02-.04-.04-.87-.87-.05-.05h0s-.02-.02-.03,0l-1.11,.78c-.09,.08-.2,.13-.32,.16-.12,.02-.24,.01-.35-.03-.41-.24-.84-.42-1.3-.54-.11-.05-.2-.13-.27-.23-.07-.1-.11-.22-.11-.34l-.22-1.33h0s-.01-.03-.02-.03h-1.41s-.02,0-.02,.02l-.23,1.34c0,.12-.04,.24-.11,.34-.07,.1-.16,.18-.27,.23-.45,.12-.89,.3-1.3,.54-.11,.04-.24,.05-.35,.03-.12-.02-.23-.08-.32-.16l-1.1-.78h0s-.02-.01-.03,0l-.02,.03-.04,.04-.87,.87-.05,.05h0s0,.03,0,.04l.78,1.11c.08,.09,.13,.2,.16,.32,.02,.12,.01,.24-.03,.35-.24,.4-.42,.84-.54,1.29-.05,.11-.13,.2-.23,.27-.1,.07-.22,.11-.34,.11l-1.33,.22h0s-.02,0-.02,.02v1.41s0,.02,.02,.02l1.34,.23c.12,0,.24,.05,.34,.11,.1,.07,.18,.16,.23,.27,.12,.45,.3,.89,.54,1.29,.04,.11,.05,.24,.03,.35-.02,.12-.08,.23-.16,.32l-.78,1.11s0,.02,0,.03h0l.05,.06,.87,.87,.04,.04,.02,.02s.02,0,.03,0h0l1.1-.79c.09-.08,.2-.13,.32-.16,.12-.02,.24-.01,.35,.03,.4,.24,.84,.42,1.29,.54,.11,.05,.2,.13,.27,.23,.07,.1,.11,.22,.11,.34l.23,1.34s0,.02,.02,.02h1.41s.02,0,.02-.02h0l.22-1.34c0-.12,.05-.24,.11-.34,.07-.1,.16-.18,.27-.23,.45-.12,.89-.3,1.29-.54,.11-.04,.24-.05,.35-.03,.12,.02,.23,.08,.32,.16l1.11,.78s.02,0,.03,0h0l.05-.06,.87-.87,.04-.04,.02-.02s0-.02,0-.03h0l-.78-1.11c-.08-.09-.13-.2-.16-.32-.02-.12-.01-.24,.03-.35,.24-.4,.42-.84,.54-1.29,.05-.11,.13-.2,.23-.27s.22-.11,.34-.11l1.34-.23s.02,0,.02-.02v-1.4s0-.02-.02-.02Zm-4.67,3.01c-.45,.45-1.03,.76-1.65,.88-.63,.12-1.27,.06-1.86-.18-.59-.24-1.09-.66-1.45-1.19-.35-.53-.54-1.15-.54-1.79s.19-1.26,.54-1.79c.35-.53,.86-.94,1.45-1.19,.59-.24,1.24-.31,1.86-.18,.63,.12,1.2,.43,1.65,.88,.3,.3,.54,.66,.7,1.05,.16,.39,.25,.81,.25,1.24s-.08,.84-.25,1.24c-.16,.39-.4,.75-.7,1.05Z"})}Ce.defaultProps={smallBreakpoints:["xs","sm"]};var xe={__proto__:null,Squircle:function(e){var n=e.color;return t.createElement("path",{fill:void 0===n?"#fff":n,d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z"})},Accounts:ke,API:function(e){return t.createElement("path",{fill:e.color,d:"M11.08,12.387a3.277,3.277,0,0,0,.21-.86l1.47-.23-.25-1.63-1.48.22A3.167,3.167,0,0,0,9.93,8.5l.54-1.37-1.54-.6L8.39,7.9a3.393,3.393,0,0,0-1.76.27l-.92-1.15-1.3,1.03.93,1.16a3.462,3.462,0,0,0-.43.78A3.333,3.333,0,0,0,4.69,11l-1.49.23.25,1.69,1.59-.24a3.278,3.278,0,0,0,1.02,1.2l-.54,1.39,1.55.6.54-1.39a3.319,3.319,0,0,0,1.74-.27l.93,1.17,1.3-1.04-.93-1.17A3.258,3.258,0,0,0,11.08,12.387ZM9.81,11.9A1.953,1.953,0,0,1,7.29,13a1.942,1.942,0,1,1,2.52-1.1Zm5.89-4.32a1.581,1.581,0,0,0,.04-.38,2.066,2.066,0,0,0-1.39-1.95v-.82H12.97v.82A2.066,2.066,0,0,0,11.58,7.2a1.581,1.581,0,0,0,.04.38l-.71.41.7,1.2.7-.4a2.073,2.073,0,0,0,2.7,0l.7.4.7-1.2Zm-2.04.67A1.045,1.045,0,1,1,14.7,7.2,1.041,1.041,0,0,1,13.66,8.247Z"})},Calendar:function(e){return t.createElement("path",{fill:e.color,d:"M14.18,6.5h-.91V5.8a.55.55,0,0,0-.55-.55h-.26a.55.55,0,0,0-.55.55v.7H8.09V5.8a.55.55,0,0,0-.55-.55H7.28a.55.55,0,0,0-.55.55v.7H5.82a.58.58,0,0,0-.58.59v7.08a.58.58,0,0,0,.58.58h8.36a.58.58,0,0,0,.58-.58V7.09A.58.58,0,0,0,14.18,6.5Zm-.91,6.71H6.73V9.09h6.54Z"})},CheckIns:function(e){return t.createElement("path",{fill:e.color,d:"M14.175,8.341,9.258,13.256a1.157,1.157,0,0,1-1.638,0L5.161,10.8A1.159,1.159,0,1,1,6.8,9.16L8.439,10.8l4.1-4.1a1.159,1.159,0,0,1,1.639,1.639Z"})},ChurchCenter:function(e){return t.createElement("path",{fill:e.color,d:"M13.91,14.763a.334.334,0,0,1-.331.338l-1.959-.016a.334.334,0,0,1-.338-.331s.005-.233.005-1.8a3.674,3.674,0,0,0-1.279-2.638,3.674,3.674,0,0,0-1.279,2.638c0,1.565.005,1.8.005,1.8a.334.334,0,0,1-.338.331L6.437,15.1a.334.334,0,0,1-.331-.338s-.242-6.457-.02-6.65h0L9.671,5.021a.522.522,0,0,1,.684,0l3.58,3.092H13.93C14.152,8.325,13.91,14.763,13.91,14.763Z"})},Giving:function(e){return t.createElement("path",{fill:e.color,d:"M10.3,13.769a.508.508,0,0,1-.592,0c-1.259-.888-5.982-4.494-3.268-6.83a2.386,2.386,0,0,1,3.215.205l.349.349.349-.349a2.386,2.386,0,0,1,3.215-.205C16.286,9.275,11.563,12.881,10.3,13.769Z"})},Groups:function(e){return t.createElement("path",{fill:e.color,d:"M13.769,11.313V8.683a1.867,1.867,0,1,0-2.443-2.449H8.69A1.867,1.867,0,1,0,6.243,8.681v2.632A1.867,1.867,0,1,0,8.69,13.76h2.632a1.867,1.867,0,1,0,2.447-2.447Zm-1.455,0a1.873,1.873,0,0,0-.992.992H8.69a1.877,1.877,0,0,0-.992-.992V8.681a1.877,1.877,0,0,0,.992-.992h2.636a1.872,1.872,0,0,0,.988.99Z"})},Home:function(e){return t.createElement("path",{fill:e.color,d:"M14.7619 8.93233C14.7619 8.72768 14.6587 8.53243 14.4775 8.39414L10.5927 5.43C10.2573 5.17413 9.74265 5.17413 9.40731 5.42999L5.52252 8.39414C5.34128 8.53243 5.2381 8.72768 5.2381 8.93233V13.0794C5.2381 13.4827 5.63079 13.8095 6.11521 13.8095H13.8848C14.3692 13.8095 14.7619 13.4826 14.7619 13.0794V8.93233Z"})},People:function(e){return t.createElement("path",{fill:e.color,d:"M8.177,5.732A2.018,2.018,0,1,1,6.159,7.75,2.019,2.019,0,0,1,8.177,5.732Zm2.494,8.53H5.664A.565.565,0,0,1,5.1,13.7V12.422a1.841,1.841,0,0,1,1.841-1.841H9.394a1.841,1.841,0,0,1,1.841,1.841V13.7A.565.565,0,0,1,10.671,14.262ZM12.814,6.94A1.513,1.513,0,1,1,11.3,8.453,1.513,1.513,0,0,1,12.814,6.94Zm1.537,6.093H12.413a.565.565,0,0,1-.565-.565v-.049a2.292,2.292,0,0,0-.2-.957.555.555,0,0,0-.062-.141.8.8,0,0,0-.061-.11,1.19,1.19,0,0,0-.092-.16,1.131,1.131,0,0,1,.908-.472h1.472a1.108,1.108,0,0,1,1.105,1.1v.785A.565.565,0,0,1,14.351,13.033Z"})},Publishing:function(e){return t.createElement("path",{fill:e.color,d:"M7.287,13.575a.478.478,0,0,1-.477.477H5.856a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H6.81a.478.478,0,0,1,.477.477Zm7.293,0a.477.477,0,0,1-.477.477H9.268a.478.478,0,0,1-.477-.477V12.6a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Zm0-3.473a.477.477,0,0,1-.476.477H9.268a.478.478,0,0,1-.477-.477V6.407a.478.478,0,0,1,.477-.477H14.1a.477.477,0,0,1,.477.477Z"})},Registrations:function(e){return t.createElement("path",{fill:e.color,d:"M4.48,11.09a.51.51,0,0,0,0,.71l.7.7a.22.22,0,0,0,.27,0,1.47,1.47,0,0,1,1.8.22,1.5,1.5,0,0,1,.23,1.81.21.21,0,0,0,0,.27l.7.7a.51.51,0,0,0,.71,0l2-2a.16.16,0,0,0,0-.22L6.7,9.1a.17.17,0,0,0-.23,0Zm11-2.89-.71-.7a.21.21,0,0,0-.26,0,1.47,1.47,0,0,1-1.79-.23,1.49,1.49,0,0,1-.24-1.79.22.22,0,0,0,0-.27l-.7-.7a.51.51,0,0,0-.71,0L7.47,8.11a.14.14,0,0,0,0,.22l4.2,4.2a.14.14,0,0,0,.22,0l3.63-3.62A.51.51,0,0,0,15.52,8.2Z"})},Services:function(e){return t.createElement("path",{fill:e.color,d:"M6.5,6.559A1.059,1.059,0,1,1,5.443,5.5,1.059,1.059,0,0,1,6.5,6.559ZM5.443,8.943A1.059,1.059,0,1,0,6.5,10,1.059,1.059,0,0,0,5.443,8.943Zm0,3.443A1.059,1.059,0,1,0,6.5,13.445,1.059,1.059,0,0,0,5.443,12.386ZM15,6.087a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485V7.03a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,7.03ZM15,9.53a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,10.473Zm0,3.443a.485.485,0,0,0-.485-.485H8.136a.485.485,0,0,0-.485.485v.943a.485.485,0,0,0,.485.485h6.38A.485.485,0,0,0,15,13.916Z"})}},Ae=["appName","colors","style","size"];function Se(e){var n=e.color;return t.createElement("path",{d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:void 0===n?"#fff":n})}function Ze(e){var n=e.appName,a=e.colors,r=e.style,o=e.size,i=void 0===o?20:o,l=K(e,Ae);return t.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 20 20",role:"img","aria-labelledby":"title desc",style:J({display:"block"},r)},l),t.createElement("title",{id:"title"},"Planning Center ",n," App Icon"),t.createElement("desc",{id:"desc"},"An image symbolizing the Planning Center ",n," app."),"Accounts"===n?null:t.createElement(Se,null),xe[n]?t.createElement(xe[n],{color:"Accounts"!=n?a.base0:"#fff"}):t.createElement("div",null,"appName not supported"))}var Pe={__proto__:null,Accounts:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"4ce749c7-c01e-4a9b-9496-b14fd2e761aa",viewBox:"0 0 77.073 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"accounts-text"),t.createElement("path",{fill:n,d:"M4.729,5.537A10.859,10.859,0,0,0,1.262,6.1a.566.566,0,0,0-.4.717l.194.819a.579.579,0,0,0,.7.5,10.108,10.108,0,0,1,2.748-.47,1.416,1.416,0,0,1,1.065.349A2.307,2.307,0,0,1,6,9.682,7.706,7.706,0,0,0,4.1,9.418c-2.493,0-4.1,1.305-4.1,3.327a3.2,3.2,0,0,0,3.328,3.434,4.385,4.385,0,0,0,3.011-1.161l.181.509c.1.249.231.415.515.415h.712a.6.6,0,0,0,.59-.589v-5.3C8.337,7.581,8.065,5.537,4.729,5.537ZM3.78,14.181a1.343,1.343,0,0,1-1.436-1.459c0-.91.777-1.522,1.932-1.522a4.726,4.726,0,0,1,1.7.3v1.556A2.983,2.983,0,0,1,3.78,14.181ZM18.6,13.194c.4.361.326.669.2.865a4.646,4.646,0,0,1-3.977,2.12,5.2,5.2,0,0,1-5.2-5.31,5.285,5.285,0,0,1,5.225-5.332,4.461,4.461,0,0,1,3.711,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.64.056-.806-.11A2.909,2.909,0,0,0,14.9,7.816,2.938,2.938,0,0,0,12,10.847,2.921,2.921,0,0,0,14.837,13.9a2.623,2.623,0,0,0,2.03-.965c.082-.081.161-.16.241-.233a.574.574,0,0,1,.819-.049Zm9.661,0c.4.361.326.669.2.865a4.644,4.644,0,0,1-3.976,2.12,5.2,5.2,0,0,1-5.2-5.31A5.286,5.286,0,0,1,24.5,5.537a4.459,4.459,0,0,1,3.71,1.768.6.6,0,0,1-.1.869l-.775.71c-.361.335-.641.056-.806-.11a2.779,2.779,0,0,0-4.869,2.073A2.92,2.92,0,0,0,24.5,13.9a2.625,2.625,0,0,0,2.03-.965c.081-.081.161-.16.241-.233a.573.573,0,0,1,.818-.049Zm5.86-7.657A5.323,5.323,0,1,0,39.3,10.826,5.317,5.317,0,0,0,34.117,5.537Zm2.838,5.289a2.857,2.857,0,1,1-5.7,0,2.853,2.853,0,1,1,5.7,0ZM49.346,6.341v9.012a.616.616,0,0,1-.612.589h-.517c-.34,0-.474-.245-.561-.485l-.2-.536a4.084,4.084,0,0,1-3.1,1.258c-3.388,0-3.823-2.5-3.823-4.685V6.341a.621.621,0,0,1,.59-.588h1.207a.6.6,0,0,1,.59.588v5.3c0,1.539.58,2.256,1.825,2.256a2.357,2.357,0,0,0,2.214-1.544l0-6.016c0-.544.349-.588.676-.588h1.1A.624.624,0,0,1,49.346,6.341Zm11.089,4.01v5a.605.605,0,0,1-.591.589H58.637a.6.6,0,0,1-.59-.589V10.265c0-1.579-.655-2.449-1.846-2.449a2.939,2.939,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.6.6,0,0,1-.59-.589V6.341a.6.6,0,0,1,.59-.588h.518a.5.5,0,0,1,.522.391l.235.67a4.691,4.691,0,0,1,3.3-1.277C59.134,5.537,60.435,7.111,60.435,10.351Zm8.048,4.379a.556.556,0,0,1-.283.721,6.126,6.126,0,0,1-2.822.728c-2.337,0-2.637-1.651-2.637-3.09V7.816H61.713a.6.6,0,0,1-.589-.59V6.341a.569.569,0,0,1,.589-.588h1.028V3.088a.59.59,0,0,1,.59-.59h1.228a.573.573,0,0,1,.568.59V5.753h2.515a.582.582,0,0,1,.59.588v.885a.613.613,0,0,1-.59.59H65.127V13c0,.828.323.9.683.9a3.241,3.241,0,0,0,1.536-.458.523.523,0,0,1,.431-.064.558.558,0,0,1,.317.335Zm7.869-1.576c0,1.5-1.262,3.025-3.672,3.025a5.927,5.927,0,0,1-3.343-1.033h0a.523.523,0,0,1-.208-.663l.452-.926a.494.494,0,0,1,.3-.254.635.635,0,0,1,.505.076l.032.017a4.485,4.485,0,0,0,2.389.7c.74,0,1.2-.328,1.2-.855,0-.58-.666-.985-2.066-1.618-1.435-.648-2.763-1.49-2.763-3.253,0-1.41,1.056-2.832,3.414-2.832a5.7,5.7,0,0,1,2.973.752.706.706,0,0,1,.256.882l-.344.689a.582.582,0,0,1-.8.247,5.057,5.057,0,0,0-2.087-.485c-.8,0-1.156.385-1.156.768,0,.546.574.9,1.633,1.361C75.052,10.588,76.352,11.279,76.352,13.154Z"}))},API:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"bed028ef-58ee-4c4c-a757-08ecc3276857",viewBox:"0 0 119.5 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"api-text"),t.createElement("path",{fill:n,d:"M9.136.675H7.908a.621.621,0,0,0-.59.589V5.5a6.9,6.9,0,0,0-2.384-.469A5.013,5.013,0,0,0,.012,10.343c0,2.989,2.048,5.331,4.663,5.331a4.885,4.885,0,0,0,3.22-1.3l.16.543a.591.591,0,0,0,.564.519h.517a.6.6,0,0,0,.59-.59V1.264A.6.6,0,0,0,9.136.675ZM7.34,7.847v4.175A2.745,2.745,0,0,1,4.978,13.4,2.815,2.815,0,0,1,2.4,10.343a2.913,2.913,0,0,1,2.772-3.03A4.941,4.941,0,0,1,7.34,7.847Zm8.833-2.813A5.081,5.081,0,0,0,11.1,10.343a5.046,5.046,0,0,0,5.094,5.331,5.712,5.712,0,0,0,3.761-1.256.512.512,0,0,0,.064-.819l-.582-.906a.467.467,0,0,0-.3-.22.619.619,0,0,0-.45.147,3.737,3.737,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.755a.578.578,0,0,0,.566-.532c.023-.175.045-.524.045-.7A4.571,4.571,0,0,0,16.173,5.034ZM16.13,7.1a2.23,2.23,0,0,1,2.334,2.032H13.591A2.411,2.411,0,0,1,16.13,7.1ZM30.587,5.982l-4.3,9.366a.561.561,0,0,1-.515.326h-.129a.59.59,0,0,1-.534-.323l-4.31-9.373a.484.484,0,0,1-.024-.49.542.542,0,0,1,.493-.239h1.315a.543.543,0,0,1,.534.344l2.571,5.914,2.7-5.91c.161-.348.486-.348.773-.348h.97a.544.544,0,0,1,.494.239A.488.488,0,0,1,30.587,5.982Zm4.983-.948A5.081,5.081,0,0,0,30.5,10.343a5.045,5.045,0,0,0,5.094,5.331,5.706,5.706,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.582-.906a.467.467,0,0,0-.3-.22.616.616,0,0,0-.45.147,3.738,3.738,0,0,1-2.369.818,2.819,2.819,0,0,1-2.854-2.484h6.755a.58.58,0,0,0,.567-.532c.023-.175.044-.524.044-.7A4.57,4.57,0,0,0,35.57,5.034ZM35.527,7.1a2.23,2.23,0,0,1,2.334,2.032H32.988A2.413,2.413,0,0,1,35.527,7.1Zm8.426-5.833V14.847a.606.606,0,0,1-.59.59H42.156a.6.6,0,0,1-.59-.59V1.264a.606.606,0,0,1,.59-.589h1.207A.621.621,0,0,1,43.953,1.264Zm6.576,3.77a5.322,5.322,0,1,0,5.18,5.287A5.315,5.315,0,0,0,50.529,5.034Zm2.836,5.287a2.856,2.856,0,1,1-5.695,0,2.852,2.852,0,1,1,5.7,0Zm8.65-5.287a4.76,4.76,0,0,0-3.08,1.1l-.2-.487a.523.523,0,0,0-.539-.4h-.539a.606.606,0,0,0-.59.59V19.422a.6.6,0,0,0,.59.59h1.207a.58.58,0,0,0,.633-.59V15.066a5.6,5.6,0,0,0,2.427.608,5.075,5.075,0,0,0,4.9-5.331A5.026,5.026,0,0,0,62.015,5.034Zm2.427,5.309A2.9,2.9,0,0,1,61.648,13.4a4.112,4.112,0,0,1-2.19-.678v-4.1a2.628,2.628,0,0,1,2.277-1.3A2.787,2.787,0,0,1,64.442,10.343ZM72.73,5.034a5.081,5.081,0,0,0-5.073,5.309,5.046,5.046,0,0,0,5.095,5.331,5.711,5.711,0,0,0,3.76-1.256.512.512,0,0,0,.065-.819l-.583-.906a.463.463,0,0,0-.3-.22.61.61,0,0,0-.45.147,3.735,3.735,0,0,1-2.368.818,2.818,2.818,0,0,1-2.854-2.484h6.754a.577.577,0,0,0,.567-.532c.023-.178.045-.527.045-.7A4.57,4.57,0,0,0,72.73,5.034ZM72.687,7.1a2.23,2.23,0,0,1,2.334,2.032H70.147A2.413,2.413,0,0,1,72.687,7.1ZM85.434,5.6a.518.518,0,0,1,.009.524L84.926,7.2a.584.584,0,0,1-.334.323.543.543,0,0,1-.424-.032,2.366,2.366,0,0,0-.854-.181A2.734,2.734,0,0,0,81.08,8.561v6.286c0,.59-.485.59-.8.59h-.991a.6.6,0,0,1-.59-.59V5.839a.605.605,0,0,1,.59-.59H79.8a.576.576,0,0,1,.544.435l.213.688a3.921,3.921,0,0,1,2.971-1.338C84.277,5.034,85.17,5.183,85.434,5.6Zm11.8-5.4a.621.621,0,0,0-.469-.3h-.216a.62.62,0,0,0-.472.305l-6.615,14.5a.508.508,0,0,0,.02.5.517.517,0,0,0,.451.229h1.357a.652.652,0,0,0,.6-.392l1.284-2.884h6.9l1.306,2.884a.618.618,0,0,0,.6.392h1.358a.517.517,0,0,0,.451-.229.508.508,0,0,0,.021-.494Zm1.916,9.871H94.116l2.5-5.627ZM110.327.12h-4.913a.526.526,0,0,0-.526.525V14.912a.526.526,0,0,0,.526.525h1.4a.54.54,0,0,0,.525-.525V9.963h3.009A4.922,4.922,0,1,0,110.327.12Zm2.493,4.856a2.563,2.563,0,0,1-2.536,2.643H107.34V2.507h2.944A2.476,2.476,0,0,1,112.82,4.976ZM119.087.645V14.912a.54.54,0,0,1-.526.525h-1.422a.54.54,0,0,1-.525-.525V.645a.539.539,0,0,1,.525-.525h1.422A.539.539,0,0,1,119.087.645Z"}))},Calendar:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"Layer_1",viewBox:"0 0 73.83 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"calendar-text"),t.createElement("path",{fill:n,d:"M9,12.56c.39.36.32.66.19.85a4.65,4.65,0,0,1-4,2.12A5.21,5.21,0,0,1,0,10.21,5.3,5.3,0,0,1,5.23,4.87,4.49,4.49,0,0,1,9,6.64a.6.6,0,0,1-.1.85l-.78.71c-.35.33-.61.07-.78-.11a3,3,0,0,0-2-1,3,3,0,0,0-2.94,3.06,3,3,0,0,0,2.87,3.09,2.63,2.63,0,0,0,2.05-1l.25-.23A.55.55,0,0,1,8.32,12Zm9.25-3.17v5.33a.59.59,0,0,1-.57.57H17c-.27,0-.4-.16-.5-.4l-.19-.54a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,9.91,12.1c0-2,1.61-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.44,1.44,0,0,0,14.43,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,11,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C18,4.87,18.25,6.92,18.25,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,15.91,12.42ZM22,.47H20.79a.6.6,0,0,0-.58.57V14.72a.59.59,0,0,0,.58.57H22a.59.59,0,0,0,.57-.57V1A.61.61,0,0,0,22,.47ZM33.75,9.56c0,.18,0,.53,0,.71a.57.57,0,0,1-.55.52H26.35a2.84,2.84,0,0,0,2.89,2.53,3.84,3.84,0,0,0,2.39-.82.57.57,0,0,1,.43-.15.45.45,0,0,1,.29.21l.58.92a.48.48,0,0,1-.06.79,5.67,5.67,0,0,1-3.76,1.26A5.05,5.05,0,0,1,24,10.19a5.1,5.1,0,0,1,5.08-5.32A4.58,4.58,0,0,1,33.75,9.56ZM26.46,9h4.95A2.27,2.27,0,0,0,29,6.91,2.45,2.45,0,0,0,26.46,9Zm13.8-4.12a4.72,4.72,0,0,0-3.32,1.3l-.24-.7a.48.48,0,0,0-.51-.38h-.52a.59.59,0,0,0-.57.57v9.06a.58.58,0,0,0,.57.57h1.11c.45,0,.68-.19.68-.57V8.5A3,3,0,0,1,40,7.13c1.21,0,1.88.88,1.88,2.48v5.11a.58.58,0,0,0,.57.57h1.21a.6.6,0,0,0,.58-.57v-5C44.24,6.45,42.94,4.87,40.26,4.87ZM55.29,1V14.72a.58.58,0,0,1-.57.57H54.2a.57.57,0,0,1-.55-.5l-.17-.58a4.89,4.89,0,0,1-3.24,1.32c-2.62,0-4.67-2.34-4.67-5.34A5,5,0,0,1,50.5,4.87a6.85,6.85,0,0,1,2.39.48h0V1a.61.61,0,0,1,.58-.57h1.23A.59.59,0,0,1,55.29,1ZM52.93,11.88V7.67a5,5,0,0,0-2.19-.54,2.94,2.94,0,0,0-2.81,3.06,2.85,2.85,0,0,0,2.61,3.09A2.76,2.76,0,0,0,52.93,11.88Zm12-2.49v5.33a.59.59,0,0,1-.57.57h-.72c-.27,0-.39-.16-.5-.4L63,14.35a4.39,4.39,0,0,1-3,1.18A3.2,3.2,0,0,1,56.6,12.1c0-2,1.62-3.33,4.11-3.33a7.24,7.24,0,0,1,1.92.28,2.33,2.33,0,0,0-.43-1.72A1.42,1.42,0,0,0,61.12,7a10.27,10.27,0,0,0-2.77.48A.56.56,0,0,1,57.67,7l-.2-.82a.56.56,0,0,1,.39-.7,10.9,10.9,0,0,1,3.48-.57C64.67,4.87,64.94,6.92,64.94,9.39Zm-2.34,3V10.83a4.91,4.91,0,0,0-1.72-.3c-1.17,0-2,.62-2,1.55a1.37,1.37,0,0,0,1.46,1.48A3,3,0,0,0,62.6,12.42Zm11-7c-.26-.42-1.18-.57-1.9-.57a4,4,0,0,0-3,1.37l-.23-.73A.56.56,0,0,0,68,5.09h-.52a.59.59,0,0,0-.58.57v9.06a.58.58,0,0,0,.58.57h1c.32,0,.79,0,.79-.57V8.4A2.77,2.77,0,0,1,71.5,7.13a2.47,2.47,0,0,1,.86.18.5.5,0,0,0,.41,0A.56.56,0,0,0,73.1,7l.52-1.09A.48.48,0,0,0,73.61,5.44Z"}))},CheckIns:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"dc713595-39c2-41c4-b1d9-3ef8c295b738",viewBox:"0 0 79.311 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"check-ins-text"),t.createElement("path",{fill:n,d:"M40.221,13.213c.4.362.326.669.2.866A4.646,4.646,0,0,1,36.44,16.2a5.2,5.2,0,0,1-5.2-5.311,5.286,5.286,0,0,1,5.225-5.331,4.462,4.462,0,0,1,3.711,1.768.605.605,0,0,1-.1.869L39.3,8.9c-.362.333-.64.055-.806-.109a2.9,2.9,0,0,0-1.967-.959,2.937,2.937,0,0,0-2.9,3.031,2.92,2.92,0,0,0,2.837,3.054,2.62,2.62,0,0,0,2.03-.965c.082-.081.162-.16.242-.234a.572.572,0,0,1,.818-.049h0Zm-9.679-2.971c0,.178-.022.526-.044.7a.579.579,0,0,1-.567.531H23.174a2.82,2.82,0,0,0,2.855,2.485,3.736,3.736,0,0,0,2.369-.818.609.609,0,0,1,.45-.147.459.459,0,0,1,.3.219l.583.907a.513.513,0,0,1-.065.819A5.708,5.708,0,0,1,25.9,16.2a5.046,5.046,0,0,1-5.1-5.332,5.081,5.081,0,0,1,5.074-5.31A4.572,4.572,0,0,1,30.542,10.242ZM23.3,9.653h4.874A2.23,2.23,0,0,0,25.835,7.62,2.412,2.412,0,0,0,23.3,9.653Zm-7.751-4.1a4.789,4.789,0,0,0-2.773.924V2.339a.621.621,0,0,0-.59-.588H10.974a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589H12.16a.575.575,0,0,0,.611-.589V9.193a2.871,2.871,0,0,1,2.493-1.357c1.2,0,1.867.884,1.867,2.492v5.045a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C19.518,7.221,18.144,5.557,15.544,5.557ZM8.315,12.674h0a.573.573,0,0,0-.818.049c-.08.074-.16.154-.242.235a2.624,2.624,0,0,1-2.029.964,2.92,2.92,0,0,1-2.838-3.054,2.938,2.938,0,0,1,2.9-3.031A2.906,2.906,0,0,1,7.257,8.8c.166.164.444.442.8.109l.775-.71a.6.6,0,0,0,.1-.869A4.464,4.464,0,0,0,5.225,5.557,5.285,5.285,0,0,0,0,10.888,5.2,5.2,0,0,0,5.2,16.2a4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM55.084,9.566h-4.1a.514.514,0,0,0-.525.525v.926a.51.51,0,0,0,.525.5h4.1a.51.51,0,0,0,.526-.5v-.926A.514.514,0,0,0,55.084,9.566Zm20.945.2C74.97,9.308,74.4,8.955,74.4,8.41c0-.383.357-.769,1.156-.769a5.059,5.059,0,0,1,2.087.486.581.581,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.882,5.705,5.705,0,0,0-2.973-.751c-2.358,0-3.413,1.422-3.413,2.831,0,1.764,1.327,2.606,2.762,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.39-.7l-.031-.018a.629.629,0,0,0-.506-.075.494.494,0,0,0-.3.254l-.452.926a.523.523,0,0,0,.21.664A5.935,5.935,0,0,0,75.639,16.2c2.41,0,3.672-1.522,3.672-3.025C79.311,11.3,78.011,10.609,76.029,9.769Zm-9.2-4.212a4.687,4.687,0,0,0-3.3,1.277l-.235-.67a.5.5,0,0,0-.522-.392h-.517a.605.605,0,0,0-.591.59v9.011a.591.591,0,0,0,.591.589h1.1c.469,0,.7-.193.7-.589V9.19A2.934,2.934,0,0,1,66.57,7.836c1.191,0,1.846.87,1.846,2.45v5.087a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589v-5C70.8,7.131,69.5,5.557,66.829,5.557Zm-8.3-4.275a1.543,1.543,0,0,0-1.538,1.581,1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm-12.215,9.1,3.949-3.716a.548.548,0,0,0,.14-.588.484.484,0,0,0-.476-.3H48.355a1.063,1.063,0,0,0-.7.331L44.008,9.4V2.339a.62.62,0,0,0-.59-.588H42.211a.6.6,0,0,0-.59.588V15.373a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V11.329l3.783,4.4a.711.711,0,0,0,.542.237H50.1a.468.468,0,0,0,.461-.256.561.561,0,0,0-.094-.582ZM59.135,5.772H57.928a.605.605,0,0,0-.59.59v9.011a.59.59,0,0,0,.59.589h1.207a.606.606,0,0,0,.59-.589V6.362A.621.621,0,0,0,59.135,5.772Z"}))},ChurchCenter:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"e2e8a225-c349-4aea-935c-64b6ad436be8",viewBox:"0 0 118.083 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"church-center-text"),t.createElement("path",{fill:n,d:"M5.188,16.2A5.187,5.187,0,0,1,0,10.908,5.27,5.27,0,0,1,5.209,5.591a4.453,4.453,0,0,1,3.7,1.762.588.588,0,0,1-.1.844l-.776.712c-.346.319-.607.062-.779-.109a2.93,2.93,0,0,0-1.983-.966A2.959,2.959,0,0,0,2.35,10.887a2.942,2.942,0,0,0,2.859,3.076,2.642,2.642,0,0,0,2.045-.971c.082-.081.162-.16.242-.234a.552.552,0,0,1,.794-.047l.669.539c.388.352.318.651.193.841A4.629,4.629,0,0,1,5.188,16.2ZM19.5,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.788,4.788,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H10.964a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572H12.15a.558.558,0,0,0,.593-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,19.5,15.4Zm8.7-.468.2.566c.09.246.218.474.544.474h.518a.6.6,0,0,0,.592-.572V6.378a.612.612,0,0,0-.592-.57h-1.1c-.332,0-.657.044-.657.57l0,6.023a2.38,2.38,0,0,1-2.236,1.562c-1.259,0-1.845-.723-1.845-2.277V6.378a.585.585,0,0,0-.571-.57H21.843a.6.6,0,0,0-.57.57v5.156c0,2.175.433,4.67,3.807,4.67A4.06,4.06,0,0,0,28.193,14.928Zm6.2.468V9.1A2.755,2.755,0,0,1,36.65,7.834a2.382,2.382,0,0,1,.863.184.53.53,0,0,0,.41.032.571.571,0,0,0,.324-.315l.518-1.077a.5.5,0,0,0-.009-.507c-.259-.413-1.18-.56-1.89-.56a3.975,3.975,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C33.922,15.968,34.4,15.968,34.4,15.4Zm13.35-1.305c.125-.19.2-.489-.193-.841l-.669-.539a.552.552,0,0,0-.794.047c-.08.074-.16.153-.242.234a2.642,2.642,0,0,1-2.044.971,2.942,2.942,0,0,1-2.86-3.076,2.959,2.959,0,0,1,2.924-3.053A2.93,2.93,0,0,1,45.85,8.8c.172.171.433.428.779.109l.776-.712a.588.588,0,0,0,.1-.844,4.452,4.452,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,47.745,14.091ZM58.089,15.4V10.391c0-3.14-1.368-4.8-3.959-4.8a4.79,4.79,0,0,0-2.788.939l-.006-4.209a.609.609,0,0,0-.571-.57H49.557a.592.592,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.187a.557.557,0,0,0,.592-.572V9.207a2.893,2.893,0,0,1,2.515-1.373c1.217,0,1.888.893,1.888,2.514V15.4a.579.579,0,0,0,.571.572h1.208A.593.593,0,0,0,58.089,15.4Zm12.926-1.305c.126-.19.2-.489-.192-.841l-.669-.539a.553.553,0,0,0-.8.047c-.08.074-.159.153-.242.234a2.64,2.64,0,0,1-2.044.971,2.941,2.941,0,0,1-2.859-3.076A2.8,2.8,0,0,1,69.121,8.8c.171.171.433.428.778.109l.777-.712a.587.587,0,0,0,.1-.844,4.449,4.449,0,0,0-3.7-1.762,5.271,5.271,0,0,0-5.21,5.317,5.187,5.187,0,0,0,5.188,5.3A4.629,4.629,0,0,0,71.015,14.091Zm10.247-3.83c0,.177-.022.525-.044.7a.562.562,0,0,1-.549.516H73.887a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.436-.143.447.447,0,0,1,.283.212l.584.907a.492.492,0,0,1-.063.794A5.7,5.7,0,0,1,76.634,16.2a5.031,5.031,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.558,4.558,0,0,1,81.262,10.261Zm-2.335-.57a2.251,2.251,0,0,0-2.358-2.073,2.433,2.433,0,0,0-2.564,2.073ZM91.707,15.4V10.391c0-3.23-1.3-4.8-3.959-4.8a4.657,4.657,0,0,0-3.306,1.3l-.246-.7a.479.479,0,0,0-.5-.376h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h1.1c.457,0,.679-.187.679-.572V9.2a2.96,2.96,0,0,1,2.536-1.37c1.2,0,1.867.877,1.867,2.471V15.4a.58.58,0,0,0,.571.572h1.208A.594.594,0,0,0,91.707,15.4Zm7.779.081a.538.538,0,0,0,.277-.7l-.389-1.014a.537.537,0,0,0-.306-.325.493.493,0,0,0-.415.061,3.249,3.249,0,0,1-1.548.462c-.445,0-.7-.15-.7-.918V7.834h2.536a.594.594,0,0,0,.571-.571V6.378a.564.564,0,0,0-.571-.57H96.4V3.12a.555.555,0,0,0-.549-.571h-1.23a.579.579,0,0,0-.571.571V5.808H93.005a.552.552,0,0,0-.571.57v.885a.579.579,0,0,0,.571.571h1.048v5.3c0,1.431.3,3.073,2.62,3.073A6.067,6.067,0,0,0,99.486,15.477Zm10.11-5.216c0,.177-.022.525-.044.7a.561.561,0,0,1-.549.516h-6.782a2.838,2.838,0,0,0,2.877,2.526,3.743,3.743,0,0,0,2.382-.824.6.6,0,0,1,.437-.143.446.446,0,0,1,.282.212l.584.907a.491.491,0,0,1-.063.794,5.7,5.7,0,0,1-3.752,1.252,5.032,5.032,0,0,1-5.08-5.317,5.068,5.068,0,0,1,5.059-5.3A4.557,4.557,0,0,1,109.6,10.261Zm-2.335-.57A2.25,2.25,0,0,0,104.9,7.618a2.434,2.434,0,0,0-2.565,2.073Zm6.026,5.705V9.1a2.755,2.755,0,0,1,2.255-1.265,2.388,2.388,0,0,1,.864.184.528.528,0,0,0,.409.032.568.568,0,0,0,.324-.315l.519-1.077a.5.5,0,0,0-.009-.507c-.26-.413-1.181-.56-1.891-.56a3.977,3.977,0,0,0-2.984,1.356l-.223-.719a.555.555,0,0,0-.525-.42h-.518a.585.585,0,0,0-.571.57V15.4a.58.58,0,0,0,.571.572h.993C112.814,15.968,113.287,15.968,113.287,15.4Z"}))},Giving:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"a221b42b-722d-4eb3-b043-fff7f3c6686f",viewBox:"0 0 50.486 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"giving-text"),t.createElement("path",{fill:n,d:"M9.17,5.089H8.588c-.335,0-.42.255-.474.416l-.2.473a4.791,4.791,0,0,0-3.1-1.1A5.026,5.026,0,0,0,0,10.184a5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.089Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.973,2.973,0,0,1-2.8-3.054A2.82,2.82,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.467Zm6.745-2.788v9.01a.6.6,0,0,1-.59.589H12.321a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,14.118,5.679Zm.388-3.508A1.572,1.572,0,0,1,12.924,3.73a1.532,1.532,0,0,1-1.538-1.559A1.543,1.543,0,0,1,12.924.59,1.564,1.564,0,0,1,14.506,2.171Zm10.3,3.156a.49.49,0,0,1-.027.5l-4.307,9.367a.558.558,0,0,1-.514.327h-.13a.6.6,0,0,1-.534-.323L14.984,5.817a.487.487,0,0,1-.025-.49.545.545,0,0,1,.494-.238h1.315a.547.547,0,0,1,.535.344l2.572,5.917,2.7-5.913c.16-.348.486-.348.773-.348h.97A.545.545,0,0,1,24.807,5.327Zm3.249.352v9.01a.6.6,0,0,1-.59.589H26.259a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h1.207A.62.62,0,0,1,28.056,5.679Zm.388-3.508A1.572,1.572,0,0,1,26.863,3.73a1.532,1.532,0,0,1-1.539-1.559A1.544,1.544,0,0,1,26.863.59,1.564,1.564,0,0,1,28.444,2.171Zm10.69,7.517v5a.6.6,0,0,1-.59.589H37.337a.59.59,0,0,1-.59-.589V9.6c0-1.581-.655-2.451-1.846-2.451a2.938,2.938,0,0,0-2.514,1.355v6.182c0,.4-.229.589-.7.589h-1.1a.59.59,0,0,1-.59-.589V5.679a.605.605,0,0,1,.59-.59h.517a.5.5,0,0,1,.522.391l.235.67a4.692,4.692,0,0,1,3.3-1.276C37.834,4.874,39.134,6.448,39.134,9.688Zm10.456-4.6h-.582c-.336,0-.42.255-.473.416l-.2.473a4.777,4.777,0,0,0-3.1-1.1,5.026,5.026,0,0,0-4.815,5.31,5.085,5.085,0,0,0,4.923,5.332,5.459,5.459,0,0,0,2.428-.629v.342c0,2.113-1.285,2.557-2.363,2.557a3.619,3.619,0,0,1-2.259-.905.567.567,0,0,0-.474-.114.553.553,0,0,0-.365.3l-.516.948a.563.563,0,0,0,.126.7A5.489,5.489,0,0,0,45.451,20a4.407,4.407,0,0,0,4.729-4.771V5.679A.605.605,0,0,0,49.59,5.089Zm-1.8,7.409a3.944,3.944,0,0,1-2.19.74,2.973,2.973,0,0,1-2.795-3.054,2.693,2.693,0,0,1,4.985-1.717Z"}))},Home:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"a221b42b-722d-4eb3-b043-fff7f3c6686f","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 47.624 20"},t.createElement("title",null,"home-text"),t.createElement("path",{fill:n,d:"M8.952,9.7V14.69a.584.584,0,0,1-.553.57H7.229a.57.57,0,0,1-.553-.57V9.658c0-1.616-.649-2.506-1.827-2.506A2.791,2.791,0,0,0,2.414,8.52v6.17a.547.547,0,0,1-.573.57H.692a.569.569,0,0,1-.553-.57v-13a.583.583,0,0,1,.553-.569H1.861a.6.6,0,0,1,.553.569V5.857a4.544,4.544,0,0,1,2.706-.94C7.627,4.917,8.952,6.571,8.952,9.7Zm11.261.473a5.239,5.239,0,0,1-5,5.322,5.185,5.185,0,0,1-5.022-5.322A5.213,5.213,0,0,1,15.21,4.917,5.2,5.2,0,0,1,20.213,10.174Zm-2.234,0a2.789,2.789,0,1,0-5.558,0,2.884,2.884,0,0,0,2.789,3.087A2.876,2.876,0,0,0,17.979,10.174Zm14.59-5.257a4.475,4.475,0,0,0-3.248,1.519,3.34,3.34,0,0,0-2.956-1.519,4.128,4.128,0,0,0-3.031,1.289L23.111,5.5a.487.487,0,0,0-.506-.367h-.48a.584.584,0,0,0-.553.569V14.69a.57.57,0,0,0,.553.57h1.169a.577.577,0,0,0,.553-.57V8.512a2.367,2.367,0,0,1,2.184-1.36c1.216,0,1.808.806,1.808,2.463V14.69a.555.555,0,0,0,.552.57h1.191a.559.559,0,0,0,.532-.57V9.551a10.249,10.249,0,0,0-.077-1.3l.06-.064a2.793,2.793,0,0,1,2.159-1.034c1.2,0,1.807.829,1.807,2.463V14.69a.538.538,0,0,0,.553.57h1.17a.549.549,0,0,0,.553-.57V9.7C36.339,7.647,35.948,4.917,32.569,4.917ZM47.042,9.572c0,.176-.021.523-.043.7a.549.549,0,0,1-.531.514H39.9A2.778,2.778,0,0,0,42.687,13.3a3.573,3.573,0,0,0,2.306-.82.6.6,0,0,1,.422-.144.431.431,0,0,1,.274.211l.566.9a.5.5,0,0,1-.061.791A5.416,5.416,0,0,1,42.562,15.5c-2.85,0-4.919-2.229-4.919-5.3a4.988,4.988,0,0,1,4.9-5.279A4.479,4.479,0,0,1,47.042,9.572ZM40.016,9h4.765A2.2,2.2,0,0,0,42.5,6.937,2.375,2.375,0,0,0,40.016,9Z"}))},Groups:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"08e4075e-8ca4-4400-a3ae-98f53270d1d0",viewBox:"0 0 58.688 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"groups-text"),t.createElement("path",{fill:n,d:"M9.17,5.09H8.588c-.335,0-.42.255-.474.416l-.2.472a4.791,4.791,0,0,0-3.1-1.1A5.027,5.027,0,0,0,0,10.185a5.085,5.085,0,0,0,4.923,5.332,5.465,5.465,0,0,0,2.428-.63v.342c0,2.113-1.285,2.557-2.363,2.557a3.631,3.631,0,0,1-2.259-.9.568.568,0,0,0-.473-.115.556.556,0,0,0-.366.3l-.516.947a.574.574,0,0,0,.126.7A5.487,5.487,0,0,0,5.031,20a4.407,4.407,0,0,0,4.728-4.771V5.679A.6.6,0,0,0,9.17,5.09Zm-1.8,3.378V12.5a3.951,3.951,0,0,1-2.191.74,2.972,2.972,0,0,1-2.8-3.053A2.821,2.821,0,0,1,5.1,7.152,2.835,2.835,0,0,1,7.373,8.468Zm11.092-2.5-.517,1.077a.588.588,0,0,1-.335.323.535.535,0,0,1-.424-.032,2.351,2.351,0,0,0-.854-.183A2.738,2.738,0,0,0,14.1,8.4v6.288c0,.59-.485.59-.806.59H12.3a.6.6,0,0,1-.59-.59V5.679a.6.6,0,0,1,.59-.589h.517a.574.574,0,0,1,.544.434l.213.688A3.931,3.931,0,0,1,16.55,4.874c.749,0,1.642.149,1.9.568A.517.517,0,0,1,18.465,5.967Zm4.994-1.093a5.323,5.323,0,0,0,0,10.643,5.323,5.323,0,0,0,0-10.643Zm0,8.364A2.907,2.907,0,0,1,20.6,10.163a2.852,2.852,0,1,1,5.7,0A2.9,2.9,0,0,1,23.459,13.238ZM38.688,5.679v9.01a.616.616,0,0,1-.611.59H37.56c-.34,0-.475-.246-.561-.486l-.2-.535a4.082,4.082,0,0,1-3.1,1.259c-3.389,0-3.824-2.5-3.824-4.686V5.679a.621.621,0,0,1,.59-.589h1.207a.605.605,0,0,1,.591.589v5.3c0,1.539.579,2.256,1.824,2.256A2.356,2.356,0,0,0,36.3,11.694l0-6.015c0-.544.334-.589.677-.589h1.1A.632.632,0,0,1,38.688,5.679Zm6.9-.805a4.752,4.752,0,0,0-3.081,1.1l-.2-.488a.523.523,0,0,0-.54-.4h-.538a.6.6,0,0,0-.59.589V19.266a.6.6,0,0,0,.59.589H42.44a.58.58,0,0,0,.633-.589V14.909a5.612,5.612,0,0,0,2.428.608,5.075,5.075,0,0,0,4.9-5.332A5.027,5.027,0,0,0,45.587,4.874ZM43.029,8.457a2.633,2.633,0,0,1,2.278-1.305,2.789,2.789,0,0,1,2.708,3.033,2.9,2.9,0,0,1-2.794,3.053,4.131,4.131,0,0,1-2.192-.676Zm15.349,4.034c0,1.5-1.262,3.026-3.672,3.026a5.921,5.921,0,0,1-3.343-1.034h0a.522.522,0,0,1-.208-.663l.452-.925a.493.493,0,0,1,.3-.254.633.633,0,0,1,.5.075l.037.02a4.488,4.488,0,0,0,2.384.7c.74,0,1.2-.329,1.2-.856,0-.581-.666-.985-2.066-1.619-1.435-.646-2.763-1.487-2.763-3.252,0-1.41,1.056-2.832,3.414-2.832a5.71,5.71,0,0,1,2.973.752.705.705,0,0,1,.256.881L57.5,7.2a.58.58,0,0,1-.8.248,5.043,5.043,0,0,0-2.087-.485c-.8,0-1.156.386-1.156.768,0,.545.574.9,1.633,1.361C57.078,9.926,58.378,10.616,58.378,12.491Z"}))},People:function(e){var n=e.color,a=e.size;return t.createElement("svg",{"data-name":"Layer 1",height:void 0===a?20:a,id:"c461f8d4-1c6e-406e-af2d-8d7721d891d5",viewBox:"0 0 57.729 20",xmlns:"http://www.w3.org/2000/svg"},t.createElement("title",null,"people-text"),t.createElement("path",{fill:n,d:"M4.944,5.019a4.754,4.754,0,0,0-3.08,1.1l-.2-.487a.521.521,0,0,0-.539-.4H.59A.606.606,0,0,0,0,5.823V19.41A.6.6,0,0,0,.59,20H1.8a.58.58,0,0,0,.633-.59V15.053a5.593,5.593,0,0,0,2.428.607,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,4.944,5.019ZM2.387,8.6A2.63,2.63,0,0,1,4.665,7.3a2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.795,3.054,4.109,4.109,0,0,1-2.191-.678ZM15.663,5.019a5.083,5.083,0,0,0-5.075,5.31,5.046,5.046,0,0,0,5.1,5.331A5.707,5.707,0,0,0,19.445,14.4a.511.511,0,0,0,.065-.818l-.583-.907a.459.459,0,0,0-.295-.22.609.609,0,0,0-.45.147,3.735,3.735,0,0,1-2.369.82,2.819,2.819,0,0,1-2.854-2.487h6.756a.578.578,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,15.663,5.019Zm-2.583,4.1a2.411,2.411,0,0,1,2.539-2.033,2.231,2.231,0,0,1,2.335,2.033Zm13.145-4.1a5.322,5.322,0,0,0,0,10.641,5.322,5.322,0,0,0,0-10.641Zm2.837,5.289a2.856,2.856,0,1,1-5.7,0,2.852,2.852,0,1,1,5.7,0Zm8.653-5.289a4.758,4.758,0,0,0-3.081,1.1l-.2-.487a.522.522,0,0,0-.54-.4h-.538a.606.606,0,0,0-.591.589V19.41a.592.592,0,0,0,.591.59h1.207a.58.58,0,0,0,.633-.59V15.05a5.541,5.541,0,0,0,2.428.61,5.075,5.075,0,0,0,4.9-5.331A5.027,5.027,0,0,0,37.715,5.019ZM35.158,8.6a2.629,2.629,0,0,1,2.277-1.3,2.789,2.789,0,0,1,2.708,3.032,2.9,2.9,0,0,1-2.794,3.054,4.109,4.109,0,0,1-2.191-.678ZM46.324,1.247V14.834a.606.606,0,0,1-.59.59H44.527a.6.6,0,0,1-.59-.59V1.247a.6.6,0,0,1,.59-.589h1.207A.621.621,0,0,1,46.324,1.247Zm6.459,3.772a5.083,5.083,0,0,0-5.075,5.31,5.047,5.047,0,0,0,5.1,5.331A5.713,5.713,0,0,0,56.566,14.4a.511.511,0,0,0,.064-.818l-.583-.907a.459.459,0,0,0-.295-.22.6.6,0,0,0-.449.147,3.739,3.739,0,0,1-2.369.82,2.821,2.821,0,0,1-2.855-2.487h6.756a.577.577,0,0,0,.567-.531c.022-.177.045-.525.045-.7A4.572,4.572,0,0,0,52.783,5.019ZM52.74,7.081a2.231,2.231,0,0,1,2.334,2.033H50.2A2.412,2.412,0,0,1,52.74,7.081Z"}))},Publishing:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 84.973 20"},t.createElement("title",null,"publishing-text"),t.createElement("path",{d:"M4.905,5.03A4.709,4.709,0,0,0,1.829,6.141l-.2-.511a.5.5,0,0,0-.52-.385H.568A.59.59,0,0,0,0,5.812V19.374a.575.575,0,0,0,.568.568h1.2a.559.559,0,0,0,.611-.568v-4.4a5.573,5.573,0,0,0,2.437.618A5.036,5.036,0,0,0,9.681,10.3,4.988,4.988,0,0,0,4.905,5.03ZM2.338,8.575A2.642,2.642,0,0,1,4.626,7.261,2.8,2.8,0,0,1,7.343,10.3a2.908,2.908,0,0,1-2.8,3.06,4.117,4.117,0,0,1-2.2-.684Zm17.4-2.763v8.974a.6.6,0,0,1-.59.569h-.515c-.326,0-.456-.238-.541-.472l-.2-.562a4.046,4.046,0,0,1-3.1,1.27c-3.358,0-3.788-2.484-3.788-4.647V5.812a.606.606,0,0,1,.568-.567h1.2a.59.59,0,0,1,.568.567v5.282c0,1.546.584,2.266,1.837,2.266A2.368,2.368,0,0,0,17.4,11.806V5.812c0-.524.323-.567.654-.567h1.094A.609.609,0,0,1,19.737,5.812Zm6.74-.782A6.836,6.836,0,0,0,24.1,5.5l-.018.006V1.246a.606.606,0,0,0-.568-.567H22.29a.583.583,0,0,0-.568.567v13.54a.576.576,0,0,0,.568.569h.516a.569.569,0,0,0,.542-.5l.17-.576a4.845,4.845,0,0,0,3.217,1.31c2.6,0,4.711-2.374,4.711-5.291A5.071,5.071,0,0,0,26.477,5.03ZM24.061,7.76a5.243,5.243,0,0,1,2.18-.5A3,3,0,0,1,29.107,10.3a2.9,2.9,0,0,1-2.694,3.06A2.761,2.761,0,0,1,24.061,12ZM35.225,1.246v13.54a.591.591,0,0,1-.568.569h-1.2a.576.576,0,0,1-.569-.569V1.246a.59.59,0,0,1,.569-.567h1.2A.606.606,0,0,1,35.225,1.246Zm4.349,4.566v8.974a.591.591,0,0,1-.568.569H37.8a.576.576,0,0,1-.568-.569V5.812a.582.582,0,0,1,.568-.567h1.2A.606.606,0,0,1,39.574,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.508,1.508,0,0,1-1.513-1.534A1.519,1.519,0,0,1,38.405.679,1.539,1.539,0,0,1,39.961,2.235ZM48.143,12.6c0,1.488-1.25,2.994-3.638,2.994a5.875,5.875,0,0,1-3.318-1.026h0a.5.5,0,0,1-.2-.636l.45-.922a.47.47,0,0,1,.291-.243.613.613,0,0,1,.487.073l.036.02a4.489,4.489,0,0,0,2.385.7c.737,0,1.214-.342,1.214-.871,0-.589-.667-.994-2.069-1.629-1.423-.642-2.74-1.476-2.74-3.222,0-1.394,1.045-2.8,3.38-2.8a5.67,5.67,0,0,1,2.951.745.684.684,0,0,1,.248.853l-.343.687a.56.56,0,0,1-.769.238,5.05,5.05,0,0,0-2.087-.485c-.808,0-1.17.394-1.17.784,0,.554.575.91,1.638,1.372C46.853,10.057,48.143,10.742,48.143,12.6ZM58.461,9.805v4.981a.592.592,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.763c0-1.614-.668-2.5-1.879-2.5a2.881,2.881,0,0,0-2.5,1.366v6.159a.554.554,0,0,1-.589.569H49.97a.576.576,0,0,1-.568-.569V1.246A.582.582,0,0,1,49.97.679h1.2a.606.606,0,0,1,.567.567V5.967a4.766,4.766,0,0,1,2.782-.937C57.1,5.03,58.461,6.681,58.461,9.805Zm4.2-3.993v8.974a.59.59,0,0,1-.567.569h-1.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h1.2A.606.606,0,0,1,62.657,5.812Zm.387-3.577a1.547,1.547,0,0,1-1.556,1.534,1.507,1.507,0,0,1-1.512-1.534A1.518,1.518,0,0,1,61.488.679,1.539,1.539,0,0,1,63.044,2.235Zm10.647,7.57v4.981a.591.591,0,0,1-.569.569h-1.2a.576.576,0,0,1-.568-.569V9.72c0-1.586-.66-2.459-1.858-2.459a2.944,2.944,0,0,0-2.523,1.364v6.161c0,.383-.221.569-.676.569H65.2a.576.576,0,0,1-.568-.569V5.812a.59.59,0,0,1,.568-.567h.516a.474.474,0,0,1,.5.375l.245.7a4.64,4.64,0,0,1,3.29-1.288C72.4,5.03,73.691,6.592,73.691,9.805Zm10.432-4.56h-.579c-.32,0-.4.236-.454.4l-.2.5a4.737,4.737,0,0,0-3.1-1.112A4.988,4.988,0,0,0,75.01,10.3a5.046,5.046,0,0,0,4.884,5.291,5.429,5.429,0,0,0,2.437-.64v.372c0,2.121-1.29,2.566-2.373,2.566a3.629,3.629,0,0,1-2.261-.9.547.547,0,0,0-.456-.111.535.535,0,0,0-.352.292l-.514.944a.551.551,0,0,0,.123.673A5.444,5.444,0,0,0,80,20.056a4.371,4.371,0,0,0,4.69-4.733V5.812A.582.582,0,0,0,84.123,5.245ZM80.151,13.36a2.979,2.979,0,0,1-2.8-3.06,2.7,2.7,0,0,1,5-1.715v4.029A3.973,3.973,0,0,1,80.151,13.36Z",fill:n}))},Registrations:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"2da9f999-408b-4466-9b5d-b1268727ac81","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 105.758 20"},t.createElement("title",null,"registrations-text"),t.createElement("path",{fill:n,d:"M6.751,5.966,6.234,7.043a.589.589,0,0,1-.336.324.545.545,0,0,1-.423-.033,2.375,2.375,0,0,0-.854-.182A2.74,2.74,0,0,0,2.387,8.4v6.288c0,.59-.485.59-.8.59H.59a.6.6,0,0,1-.59-.59V5.679A.6.6,0,0,1,.59,5.09h.517a.574.574,0,0,1,.544.433l.212.685A4,4,0,0,1,4.836,4.874c.749,0,1.643.148,1.9.567A.517.517,0,0,1,6.751,5.966Zm9.583,3.593c0,.181-.022.53-.044.705a.578.578,0,0,1-.567.531H8.966a2.82,2.82,0,0,0,2.855,2.486,3.74,3.74,0,0,0,2.369-.819.608.608,0,0,1,.45-.148.465.465,0,0,1,.295.22l.583.907a.513.513,0,0,1-.065.819,5.708,5.708,0,0,1-3.762,1.256,5.046,5.046,0,0,1-5.1-5.331A5.083,5.083,0,0,1,11.67,4.874,4.572,4.572,0,0,1,16.334,9.559ZM11.627,6.937A2.411,2.411,0,0,0,9.087,8.97h4.874A2.23,2.23,0,0,0,11.627,6.937ZM26.8,5.679v9.55A4.407,4.407,0,0,1,22.071,20a5.486,5.486,0,0,1-3.53-1.284.564.564,0,0,1-.127-.7l.516-.948a.555.555,0,0,1,.365-.3.561.561,0,0,1,.474.114,3.622,3.622,0,0,0,2.259.905c1.078,0,2.364-.444,2.364-2.557v-.342a5.472,5.472,0,0,1-2.429.629,5.084,5.084,0,0,1-4.922-5.331,5.027,5.027,0,0,1,4.814-5.311,4.777,4.777,0,0,1,3.1,1.1l.2-.473c.053-.161.138-.415.473-.415h.582A.6.6,0,0,1,26.8,5.679ZM22.136,7.152a2.821,2.821,0,0,0-2.708,3.033,2.972,2.972,0,0,0,2.794,3.053,3.948,3.948,0,0,0,2.191-.74V8.468A2.834,2.834,0,0,0,22.136,7.152ZM29.965.6a1.544,1.544,0,0,0-1.538,1.582A1.55,1.55,0,0,0,29.965,3.74a1.571,1.571,0,1,0,0-3.141Zm.6,4.491H29.361a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59h1.208a.6.6,0,0,0,.589-.59V5.679A.62.62,0,0,0,30.569,5.09Zm5.91,4c-1.059-.462-1.632-.815-1.632-1.36,0-.383.357-.769,1.155-.769a5.048,5.048,0,0,1,2.088.486.582.582,0,0,0,.8-.248l.345-.689a.709.709,0,0,0-.256-.882A5.713,5.713,0,0,0,36,4.874c-2.357,0-3.413,1.422-3.413,2.831,0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.065,1.038,2.065,1.618,0,.528-.459.856-1.2.856a4.5,4.5,0,0,1-2.387-.7l-.034-.018a.644.644,0,0,0-.5-.076.494.494,0,0,0-.3.254l-.452.925a.517.517,0,0,0,.208.663h0a5.917,5.917,0,0,0,3.342,1.034c2.411,0,3.672-1.522,3.672-3.025C39.761,10.617,38.461,9.926,36.479,9.087Zm10.558,3.964a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H44.071V2.424a.574.574,0,0,0-.569-.59H42.273a.59.59,0,0,0-.589.59V5.09H40.657a.57.57,0,0,0-.59.589v.883a.59.59,0,0,0,.59.59h1.027v5.274c0,1.438.3,3.09,2.637,3.09a6.116,6.116,0,0,0,2.822-.729.556.556,0,0,0,.283-.721Zm8.023-7.61c-.263-.419-1.156-.567-1.905-.567a4,4,0,0,0-2.973,1.335l-.212-.686a.574.574,0,0,0-.544-.433h-.517a.6.6,0,0,0-.59.589v9.01a.59.59,0,0,0,.59.59H49.9c.321,0,.806,0,.806-.59V8.4A2.738,2.738,0,0,1,52.94,7.152a2.369,2.369,0,0,1,.853.182.548.548,0,0,0,.424.033.6.6,0,0,0,.336-.324l.517-1.077A.517.517,0,0,0,55.06,5.441Zm8.351,3.946v5.3a.605.605,0,0,1-.59.59H62.11c-.284,0-.412-.166-.516-.416l-.181-.509A4.386,4.386,0,0,1,58.4,15.516a3.2,3.2,0,0,1-3.328-3.435c0-2.021,1.611-3.327,4.1-3.327a7.7,7.7,0,0,1,1.892.265,2.3,2.3,0,0,0-.417-1.668A1.414,1.414,0,0,0,59.588,7a10.1,10.1,0,0,0-2.749.47.577.577,0,0,1-.7-.494l-.194-.82a.566.566,0,0,1,.4-.717A10.865,10.865,0,0,1,59.8,4.874C63.14,4.874,63.411,6.918,63.411,9.387Zm-4.06,1.149c-1.174,0-1.933.6-1.933,1.524a1.343,1.343,0,0,0,1.436,1.458,2.987,2.987,0,0,0,2.191-1.125V10.835A4.853,4.853,0,0,0,59.351,10.536Zm11.773,2.515a.556.556,0,0,0-.316-.335.523.523,0,0,0-.432.063,3.244,3.244,0,0,1-1.537.459c-.359,0-.681-.069-.681-.9V7.152h2.514a.605.605,0,0,0,.59-.59V5.679a.577.577,0,0,0-.59-.589H68.158V2.424a.574.574,0,0,0-.569-.59H66.36a.591.591,0,0,0-.59.59V5.09H64.744a.57.57,0,0,0-.59.589v.883a.591.591,0,0,0,.59.59H65.77v5.274c0,1.438.3,3.09,2.638,3.09a6.107,6.107,0,0,0,2.821-.729.556.556,0,0,0,.284-.721ZM74.2,5.09H72.994a.605.605,0,0,0-.591.589v9.01a.591.591,0,0,0,.591.59H74.2a.605.605,0,0,0,.59-.59V5.679A.621.621,0,0,0,74.2,5.09ZM73.6.6a1.543,1.543,0,0,0-1.538,1.582A1.55,1.55,0,0,0,73.6,3.74,1.571,1.571,0,1,0,73.6.6Zm12.869,9.563a5.341,5.341,0,0,1-5.182,5.354,5.323,5.323,0,1,1,5.182-5.354Zm-2.344,0a2.853,2.853,0,1,0-5.7,0,2.857,2.857,0,1,0,5.7,0Zm8.867-5.288a4.7,4.7,0,0,0-3.3,1.277l-.235-.671a.5.5,0,0,0-.522-.39h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h1.1c.469,0,.7-.192.7-.59V8.507A2.939,2.939,0,0,1,92.73,7.152c1.191,0,1.847.87,1.847,2.451v5.086a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59v-5C96.964,6.448,95.664,4.874,92.989,4.874Zm9.2,4.213c-1.059-.462-1.633-.815-1.633-1.36,0-.383.358-.769,1.156-.769a5.04,5.04,0,0,1,2.087.486.585.585,0,0,0,.8-.248l.344-.689a.709.709,0,0,0-.255-.882,5.718,5.718,0,0,0-2.974-.751C99.355,4.874,98.3,6.3,98.3,7.705c0,1.764,1.328,2.606,2.763,3.253,1.4.634,2.066,1.038,2.066,1.618,0,.528-.46.856-1.2.856a4.49,4.49,0,0,1-2.387-.7l-.034-.018A.633.633,0,0,0,99,12.64a.49.49,0,0,0-.3.253l-.452.925a.516.516,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.411,0,3.673-1.522,3.673-3.025C105.472,10.617,104.172,9.926,102.19,9.087Z"}))},Services:function(e){var n=e.color,a=e.size;return t.createElement("svg",{id:"bd77a8f3-6992-4241-927e-9fdc3bf67b80","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",height:void 0===a?20:a,viewBox:"0 0 67.995 20"},t.createElement("title",null,"services-text"),t.createElement("path",{fill:n,d:"M7.277,12.49c0,1.5-1.262,3.026-3.672,3.026A5.924,5.924,0,0,1,.262,14.482h0a.521.521,0,0,1-.209-.663L.5,12.893a.5.5,0,0,1,.305-.254.62.62,0,0,1,.5.075l.036.019a4.479,4.479,0,0,0,2.385.7c.74,0,1.2-.328,1.2-.856,0-.582-.666-.985-2.066-1.618C1.432,10.311.105,9.469.105,7.705c0-1.41,1.055-2.832,3.413-2.832a5.717,5.717,0,0,1,2.974.752.7.7,0,0,1,.255.881L6.4,7.2a.58.58,0,0,1-.8.248,5.04,5.04,0,0,0-2.087-.485c-.8,0-1.155.386-1.155.768,0,.546.573.9,1.632,1.361C5.977,9.925,7.277,10.615,7.277,12.49ZM17.622,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.568.532H10.255a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.64.64,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.715,5.715,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332,5.083,5.083,0,0,1,5.074-5.311A4.573,4.573,0,0,1,17.622,9.559ZM15.249,8.97a2.229,2.229,0,0,0-2.334-2.034,2.412,2.412,0,0,0-2.54,2.034Zm8.511-4.1a3.929,3.929,0,0,0-2.972,1.338l-.213-.688a.575.575,0,0,0-.544-.434h-.518a.6.6,0,0,0-.589.589v9.01a.6.6,0,0,0,.589.59h.992c.32,0,.8,0,.8-.59V8.4a2.74,2.74,0,0,1,2.235-1.249,2.351,2.351,0,0,1,.854.183.534.534,0,0,0,.424.032.584.584,0,0,0,.334-.323l.518-1.077a.517.517,0,0,0-.01-.525C25.4,5.022,24.509,4.873,23.76,4.873Zm11.569.216H34.36c-.288,0-.613,0-.774.348l-2.695,5.912L28.319,5.433a.545.545,0,0,0-.535-.344H26.469a.544.544,0,0,0-.493.238.489.489,0,0,0,.024.49l4.311,9.376a.6.6,0,0,0,.534.323h.13a.56.56,0,0,0,.514-.327L35.8,5.822a.49.49,0,0,0,.027-.5A.545.545,0,0,0,35.329,5.089Zm3.154,0H37.276a.6.6,0,0,0-.59.589v9.01a.6.6,0,0,0,.59.59h1.207a.605.605,0,0,0,.59-.59V5.678A.621.621,0,0,0,38.483,5.089ZM37.879.6A1.543,1.543,0,0,0,36.341,2.18a1.532,1.532,0,0,0,1.538,1.559,1.57,1.57,0,1,0,0-3.14Zm10.8,11.392a.567.567,0,0,0-.818.047c-.08.073-.16.152-.241.233a2.623,2.623,0,0,1-2.031.966,2.92,2.92,0,0,1-2.838-3.053,2.778,2.778,0,0,1,4.87-2.073c.165.164.444.443.806.11l.774-.71a.606.606,0,0,0,.1-.87,4.465,4.465,0,0,0-3.711-1.768,5.285,5.285,0,0,0-5.225,5.332,5.2,5.2,0,0,0,5.2,5.311,4.647,4.647,0,0,0,3.977-2.12c.13-.2.2-.5-.2-.866ZM59.784,9.559c0,.178-.022.528-.044.7a.58.58,0,0,1-.567.532H52.417a2.818,2.818,0,0,0,2.854,2.485,3.734,3.734,0,0,0,2.369-.819.641.641,0,0,1,.451-.148.472.472,0,0,1,.294.22l.583.907a.513.513,0,0,1-.065.82,5.712,5.712,0,0,1-3.761,1.256,5.047,5.047,0,0,1-5.1-5.332A5.083,5.083,0,0,1,55.12,4.873,4.573,4.573,0,0,1,59.784,9.559ZM52.537,8.97h4.874a2.229,2.229,0,0,0-2.334-2.034A2.412,2.412,0,0,0,52.537,8.97ZM64.4,9.087c-1.06-.462-1.633-.816-1.633-1.361,0-.382.357-.768,1.156-.768a5.047,5.047,0,0,1,2.087.485.58.58,0,0,0,.8-.248l.344-.689a.706.706,0,0,0-.256-.881,5.71,5.71,0,0,0-2.973-.752c-2.358,0-3.414,1.422-3.414,2.832,0,1.764,1.328,2.606,2.763,3.253,1.4.633,2.066,1.036,2.066,1.618,0,.528-.459.856-1.2.856a4.485,4.485,0,0,1-2.384-.7l-.037-.02a.632.632,0,0,0-.5-.075.493.493,0,0,0-.3.254l-.452.925a.521.521,0,0,0,.209.663h0a5.923,5.923,0,0,0,3.342,1.034c2.412,0,3.673-1.522,3.673-3.026C67.685,10.615,66.385,9.925,64.4,9.087Z"}))}};function Me(e){var n=e.appName,a=e.size;return Pe[n]?t.createElement(Pe[n],{color:e.color,size:void 0===a?20:a}):t.createElement("div",null,"appName not supported")}var Ne={transition:"background-color 120ms ease-in"},Ve={fontFamily:"inherit"},He={flex:"1 1 auto"},ze=["dot","dotFill","fill","style"],_e=["dark","id","style"],Le=["colors","style"],Te=["fill","size","style"],Oe=["fill","style"],Ie=["fill","style"],Re=function(e){var n=e.dot,a=void 0!==n&&n,r=e.dotFill,o=void 0===r?"#fff":r,i=e.fill,l=void 0===i?"#fff":i,c=e.style,s=K(e,ze),u=t.createElement("path",{d:"M21.482,16.626,19.1,13.649V9a7,7,0,0,0-14,0v4.649L2.478,16.929A1.89,1.89,0,0,0,3.952,20H9.285a2.983,2.983,0,0,0,5.633,0H19.86a2.077,2.077,0,0,0,1.622-3.374ZM19.86,18H4.182l2.7-3.375A1,1,0,0,0,7.1,14V9a5,5,0,0,1,10,0v5a1,1,0,0,0,.219.625l2.6,3.25Z",fill:"white"});return t.createElement("svg",J({width:"24",height:"24",viewBox:"0 0 24 24",style:J({display:"block"},c)},s,{stroke:"none"}),t.createElement("title",null,"bell"),t.createElement("defs",null,t.createElement("mask",{id:"mask-no-dot"},u),t.createElement("mask",{id:"mask-dot"},u,t.createElement("circle",{cx:"18",cy:"6",fill:"black",r:"7"}))),t.createElement("rect",{fill:l,height:"24",mask:a?"url(#mask-dot)":"url(#mask-no-dot",width:"24",x:"0",y:"0"}),a&&t.createElement("circle",{cx:"18",cy:"6",r:"4",fill:o||l}))},je=function(e){var n=e.dark,a=void 0!==n&&n,r=e.id,o=void 0===r?"default":r,i=e.style,l=K(e,_e);return t.createElement("svg",J({fill:"none",height:"123",style:J({},i),width:"160"},l),t.createElement("g",{clipPath:"url(#clip-path-blank-state-"+o+")"},t.createElement("path",{opacity:".6",d:"M155.367 66.751c-6.081 17.955-18.824 33.158-32.579 41.991-14.045 8.977-28.96 11.294-46.19 7.529-16.941-3.764-33.738-11.583-47.638-18.968C15.204 89.63 4.344 82.533 1.593 71.385-1.013 60.525 4.78 45.61 18.68 30.842 32.435 16.362 54.3 2.896 80.362.579c25.919-2.606 49.666 6.082 63.276 18.534 13.901 12.597 17.666 29.828 11.729 47.638z",fill:a?"#414141":"#E1F0F9"}),t.createElement("g",{opacity:".2"},t.createElement("path",{opacity:".2",d:"M90.643 122.063c-9.702 0-19.258-2.606-29.25-7.674-12.741-6.66-26.352-16.796-41.41-30.841C8.832 72.688-.29 62.697 0 50.678c.145-8.542 5.503-17.81 14.914-26.352l1.448 1.593c-9.122 8.108-14.19 16.94-14.335 24.76-.29 11.294 8.543 20.85 19.403 31.42C36.344 96 49.81 105.992 62.263 112.508c13.031 6.805 25.629 8.977 38.371 6.516l.434 2.027c-3.475.724-6.95 1.013-10.425 1.013zM116.706 115.982l-.869-1.738c13.756-6.226 25.919-16.507 34.027-28.67l1.738 1.159c-8.254 12.453-20.706 22.878-34.896 29.249zM158.552 71.385l-2.027-.58c2.896-11.294.869-22.877-5.792-33.303-10.715-17.086-32-29.973-55.457-33.882-19.258-3.475-40.108-.29-58.642 8.688l-.869-1.883c18.824-9.122 40.109-12.307 59.8-8.832 24.037 3.91 45.901 17.23 56.906 34.75 7.095 11.005 9.267 23.023 6.081 35.042z",fill:"#BAC7D3"})),t.createElement("path",{d:"M115.258 20.706l-.145 4.199c0 .869.289 1.882 1.013 2.461l3.186 2.752c.724.724.29 1.882-.724 1.882l-4.199-.145c-.869 0-1.882.29-2.462 1.014l-2.896 3.33c-.724.724-1.882.29-1.882-.724l.145-4.199c0-.869-.29-1.882-1.014-2.462l-3.185-2.75c-.724-.725-.29-1.883.724-1.883l4.199.145c.869 0 1.882-.29 2.461-1.014l2.751-3.185c.724-.87 2.028-.435 2.028.579zM92.959 30.842v1.882c0 .434.144.869.579 1.158l1.448 1.159c.29.29.145.869-.29.869h-1.882c-.434 0-.869.144-1.158.579l-1.159 1.448c-.29.29-.869.145-.869-.29v-1.882c0-.435-.144-.869-.579-1.159l-1.448-1.158c-.29-.29-.145-.869.29-.869h1.882c.435 0 .869-.145 1.159-.579l1.158-1.448c.29-.434.869-.29.869.29z",fill:"#FCC846"}),t.createElement("path",{d:"M68.778 36.633l-19.982 57.63 57.919-20.127-37.937-37.502z",fill:"#48A5E5"}),t.createElement("path",{d:"M82.099 54.299H62.696l2.027-5.647h12.308l5.068 5.647zM99.91 70.082H57.194l2.027-5.648h33.737l6.95 5.648zM72.398 85.864H51.692l1.737-5.647h35.91l-16.941 5.647z",fill:"#79CAF2"}),t.createElement("path",{d:"M107.613 73.964c1.44-1.5-6.087-11.069-16.813-21.374-10.726-10.305-20.588-17.443-22.029-15.944-1.44 1.5 6.087 11.069 16.813 21.374 10.726 10.305 20.588 17.443 22.029 15.944z",fill:a?"#525252":"#636363"}),t.createElement("path",{d:"M113.086 55.747h-3.041c-.724 0-1.303.29-1.737.868l-1.883 2.607c-.434.579-1.448.29-1.448-.435l-.144-3.185c0-.724-.29-1.303-.869-1.738l-2.607-1.882c-.579-.434-.289-1.448.435-1.448l3.185-.145c.724 0 1.303-.29 1.738-.869l1.882-2.606c.435-.58 1.448-.29 1.448.434l.145 3.186c0 .724.29 1.303.869 1.738l2.606 1.882c.579.58.29 1.593-.579 1.593z",fill:"#FCC846"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip-path-blank-state-"+o},t.createElement("path",{fill:"#fff",d:"M0 0h160v122.063H0z"}))))},Ue=function(e){var n=e.colors,a=e.style,r=K(e,Le);return t.createElement("svg",J({color:n.base3,height:"16",viewBox:"0 0 16 16",width:"16"},{style:a},r),t.createElement("title",null,"chevron"),t.createElement("polygon",{fill:"currentColor",points:"11.931 4.892 8 8.824 4.069 4.892 2.927 6.034 8 11.108 9.142 9.966 13.073 6.034 11.931 4.892"}))},De=function(e){var n=e.fill,a=void 0===n?"#000":n,r=e.size,o=void 0===r?24:r,i=e.style,l=K(e,Te);return t.createElement("svg",J({height:o,style:J({display:"block"},i),viewBox:"0 0 16 16",width:o},l),t.createElement("title",null,"exclamation triangle icon"),t.createElement("path",{d:"M15.669 13.676L8.65499 1.56099C8.58867 1.44593 8.49322 1.35037 8.37823 1.28392C8.26325 1.21748 8.13279 1.1825 7.99999 1.1825C7.86718 1.1825 7.73672 1.21748 7.62174 1.28392C7.50675 1.35037 7.4113 1.44593 7.34499 1.56099L0.330986 13.676C0.264196 13.7911 0.228916 13.9217 0.2287 14.0548C0.228484 14.1878 0.26334 14.3186 0.329756 14.4339C0.396172 14.5492 0.491802 14.6449 0.60701 14.7115C0.722218 14.778 0.852933 14.813 0.985986 14.813H15.014C15.147 14.813 15.2778 14.778 15.393 14.7115C15.5082 14.6449 15.6038 14.5492 15.6702 14.4339C15.7366 14.3186 15.7715 14.1878 15.7713 14.0548C15.7711 13.9217 15.7358 13.7911 15.669 13.676ZM8.75699 12.542H7.24299V11.028H8.75699V12.542ZM8.75699 9.51399H7.24299V6.48499H8.75699V9.51399Z",fill:a}))},Fe=function(e){var n=e.fill,a=void 0===n?"#000":n,r=e.style,o=K(e,Oe);return t.createElement("svg",J({width:"24",height:"24",viewBox:"0 0 24 24",style:J({display:"block"},r)},o),t.createElement("title",null,"search spyglass icon"),t.createElement("path",{d:"M17.352,15.481a8.517,8.517,0,1,0-2.209,2.033l4.642,4.642,2.121-2.121Zm-6.757,1.364a6.5,6.5,0,1,1,6.5-6.5A6.508,6.508,0,0,1,10.595,16.845Z",fill:a}))},Be=function(e){var n=e.fill,a=void 0===n?"#A0A0A0":n,r=e.style,o=K(e,Ie);return t.createElement("svg",J({width:"16",height:"16",viewBox:"0 0 16 16",style:J({display:"block"},r)},o),t.createElement("title",null,"close-x"),t.createElement("path",{d:"M9.142,8l3.814,3.814-1.142,1.142L8,9.142,4.186,12.956,3.044,11.814,6.858,8,3.044,4.186,4.186,3.044,8,6.858l3.814-3.814,1.142,1.142Z",fill:a}))},We=["style"];function qe(e){var n=e.style,a=K(e,We);return t.createElement("button",J({style:J({WebkitAppearance:"none",appearance:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline-block",outline:0,padding:0},Ve,n)},a))}var Je=["appName","colors","displayIconOnly","expanded","onClick","style"],Ge=function(e){var n=e.appName,a=e.colors,r=e.displayIconOnly,o=e.expanded,i=e.onClick,l=e.style,c=void 0===l?null:l,s=K(e,Je),u=t.useState(!1),d=u[0],m=u[1],p=t.useState(!1),h=p[0],f=p[1];return t.createElement(qe,J({onClick:i,onMouseDown:function(){return m(!0)},onMouseEnter:function(){return f(!0)},onMouseLeave:function(){return f(!1)},onMouseUp:function(){return m(!1)},style:J({alignItems:"center",backgroundColor:o&&!d?a.base1:h&&d?a.base2:h?a.base1:"transparent",display:"flex",height:"100%",outline:0,paddingLeft:"16px",paddingRight:"16px",whiteSpace:"nowrap"},Ne,c)},s),t.createElement(Ze,{appName:n.replace(/[\s-]/,""),colors:a,size:24}),!r&&t.createElement(t.Fragment,null,"Accounts"===n?t.createElement("div",{style:{color:"#fff",fontSize:"14px",fontWeight:500,marginLeft:3}},"Account settings"):t.createElement(t.Fragment,null,t.createElement("div",{key:"spacer-1",style:{margin:4}}),t.createElement(Me,{appName:n.replace(/[\s-]/,""),color:"#fff",key:"mono-app-name",size:24})),t.createElement("div",{key:"space-2",style:{margin:4}}),t.createElement(Ue,{colors:a,key:"disclosure-chevron-icon",style:{display:"block"}})))},Xe={__proto__:null,Accounts:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6",x1:"1.844",y1:"1.833",x2:"18.622",y2:"18.612",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"accounts-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#2e1ed2e7-b842-4126-8f57-f6b6dd63ddb6)"})]},API:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"c8ec303e-a96d-4850-93ae-70864e3306bb",x1:"0.991",y1:"0.983",x2:"19.295",y2:"19.288",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"api-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,7.991-2,9.989-9.989,9.989S.019,17.991.019,10s2-9.989,9.989-9.989S20,2.009,20,10Z",fill:"url(#c8ec303e-a96d-4850-93ae-70864e3306bb)"})]},Calendar:function(){return[t.createElement("defs",{key:"defs"},t.createElement("linearGradient",{id:"calendar-gradient",x1:"2.05",y1:"2.04",x2:"17.97",y2:"17.96",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f25437"}),t.createElement("stop",{offset:"1",stopColor:"#cd4e39"}))),t.createElement("title",{key:"title"},"calendar-squircle"),t.createElement("path",{key:"path",d:"M20,10c0,8-2,10-10,10S.06,18,.06,10,2.05.05,10,.05,20,2,20,10Z",fill:"url(#calendar-gradient)"})]},CheckIns:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"679bc2bf-38c8-45ab-9ee3-a2ff814fead7",x1:"1.75",y1:"1.739",x2:"18.156",y2:"18.145",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#a76ebe"}),t.createElement("stop",{offset:"1",stopColor:"#875e96"}))),t.createElement("title",{key:"title"},"check-ins-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#679bc2bf-38c8-45ab-9ee3-a2ff814fead7)"})]},ChurchCenter:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"6de99831-a6f8-498e-9bf3-9d55c8d887fa",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#42a5f5"}),t.createElement("stop",{offset:"1",stopColor:"#66bb6a"}))),t.createElement("title",{key:"title"},"church-center-squircle"),t.createElement("path",{key:"path",d:"M10.008.037C2.04.037.048,2.029.048,10s1.992,9.96,9.96,9.96,9.96-1.992,9.96-9.96S17.976.037,10.008.037Z",fill:"url(#6de99831-a6f8-498e-9bf3-9d55c8d887fa)"})]},Giving:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"0aae6372-b733-476d-af45-8777c08c1e24",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.959",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#f5c426"}),t.createElement("stop",{offset:"1",stopColor:"#f2b327"}))),t.createElement("title",{key:"title"},"giving-squircle"),t.createElement("path",{key:"path",d:"M10.008.045C2.047.045.056,2.036.056,10s1.991,9.952,9.952,9.952S19.96,17.959,19.96,10,17.969.045,10.008.045Z",fill:"url(#0aae6372-b733-476d-af45-8777c08c1e24)"})]},Groups:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"86d10072-1c7f-4a02-88fe-0735565ae99a",x1:"1.939",y1:"1.928",x2:"18.146",y2:"18.135",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#ff962d"}),t.createElement("stop",{offset:"1",stopColor:"#fc7638"}))),t.createElement("title",{key:"title"},"groups-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#86d10072-1c7f-4a02-88fe-0735565ae99a)"})]},Home:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"paint0_linear_1_2",x1:"-2.23242",y1:"0.320978",x2:"19.9609",y2:"22.5228",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#289DFF"}),t.createElement("stop",{offset:"1",stopColor:"#2266F7"}))),t.createElement("title",{key:"title"},"home-squircle"),t.createElement("path",{key:"path",d:"M9.99962 0C1.99854 0 0 2.00015 0 10C0 17.9998 1.99854 20 9.99962 20C18.0007 20 20 18.0014 20 10C20 1.99862 17.9999 0 9.99962 0Z",fill:"url(#paint0_linear_1_2)"})]},People:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"7f805f16-2322-4b42-b61a-2bf71eadb25a",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#32a0f0"}),t.createElement("stop",{offset:"1",stopColor:"#3f75e5"}))),t.createElement("title",{key:"title"},"people-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#7f805f16-2322-4b42-b61a-2bf71eadb25a)"})]},Publishing:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"publishing-gradient",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#787882"}),t.createElement("stop",{offset:"1",stopColor:"#5f5f69"})),t.createElement("linearGradient",{id:"publishing-gradient-2",x1:"2.03",y1:"2.03",x2:"17.952",y2:"17.952",gradientTransform:"translate(2.563 -2.028) rotate(13.283)",xlinkHref:"#publishing-gradient"})),t.createElement("title",{key:"title"},"publishing-squircle"),t.createElement("path",{d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#publishing-gradient)",key:"path"}),t.createElement("circle",{cx:"9.991",cy:"9.991",r:"9.951",transform:"translate(-2.028 2.563) rotate(-13.283)",fill:"url(#publishing-gradient-2)",key:"circle"})]},Registrations:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"bd67604d-f11c-4431-bd82-159c57241115",x1:"2.047",y1:"2.036",x2:"17.969",y2:"17.958",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#41b99e"}),t.createElement("stop",{offset:"1",stopColor:"#46948d"}))),t.createElement("title",{key:"title"},"registrations-squircle"),t.createElement("path",{key:"path",d:"M19.96,10c0,7.962-1.991,9.952-9.952,9.952S.056,17.959.056,10,2.047.045,10.008.045,19.96,2.036,19.96,10Z",fill:"url(#bd67604d-f11c-4431-bd82-159c57241115)"})]},Services:function(){return[t.createElement("defs",{key:"def"},t.createElement("linearGradient",{id:"00f9217c-0536-41ea-b265-a8689874be71",x1:"2.04",y1:"2.029",x2:"17.976",y2:"17.965",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:"0",stopColor:"#6eaa50"}),t.createElement("stop",{offset:"1",stopColor:"#6a9639"}))),t.createElement("title",{key:"title"},"services-squircle"),t.createElement("path",{key:"path",d:"M19.968,10c0,7.968-1.992,9.96-9.96,9.96S.048,17.965.048,10,2.04.037,10.008.037,19.968,2.029,19.968,10Z",fill:"url(#00f9217c-0536-41ea-b265-a8689874be71)"})]}};function Ke(e){var n=e.appName,a=e.size,r=void 0===a?20:a;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 20 20",style:{display:"block"}},t.createElement(Xe[n]?Xe[n]:"span",{key:"key1"}),xe[n]?t.createElement(xe[n],{color:"#fff",key:"key2"}):t.createElement("div",{key:"key3"},"appName not supported"))}function Ye(e){var t,n,a,r="/apps/"+e.toLowerCase(),o=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!o)return r;var i=new URLSearchParams;return i.append("referer",o),r+"?"+i.toString()}var Qe=["active","component","style"],$e=function(e){var n=e.active,a=void 0!==n&&n,r=e.component,o=void 0===r?"span":r,i=e.style,l=void 0===i?null:i,c=K(e,Qe),s=t.useState(!1),u=s[1];return t.createElement(o,J({onMouseEnter:function(){return u(!0)},onMouseLeave:function(){return u(!1)},style:J({},l,{backgroundColor:a?"#ededed":s[0]?"#f7f7f7":"transparent"})},c))},et=["cleanup","onOutsideClick","visible"],tt=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).container=void 0,n.handleOutsideClick=n.handleOutsideClick.bind(q(n)),n}G(n,e);var a=n.prototype;return a.componentWillUnmount=function(){document.removeEventListener("click",this.handleOutsideClick,!0)},a.handleOutsideClick=function(e){if(!this.container.contains(e.target))return e.stopPropagation(),e.preventDefault(),this.props.onOutsideClick()},a.render=function(){var e=this,n=this.props,a=n.cleanup,r=K(n,et);return a?document.removeEventListener("click",this.handleOutsideClick,!0):document.addEventListener("click",this.handleOutsideClick,!0),t.createElement("div",J({ref:function(t){return e.container=t}},r))},n}(t.Component),nt=["style"],at=function(e){var n=e.style,a=void 0===n?null:n,r=K(e,nt);return t.createElement("div",J({style:J({alignSelf:"flex-end",display:"flex",position:"relative"},a)},r))},rt=["component","style"],ot=function(e){var n=e.component,a=void 0===n?"div":n,r=e.style,o=void 0===r?null:r,i=K(e,rt);return t.createElement(a,J({style:J({background:"#FFFFFF",borderRadius:"3px",boxShadow:"0 0 0 1px #D4D9E2, 0 8px 32px rgba(0,0,0,.3)",overflow:"hidden",position:"absolute"},o)},i))},it=function(e){var n=e.appName,a=e.apps,r=e.env,o=e.toggle,i=e.visible,l=a.find(function(e){return"Accounts"===e.name}),s=a.find(function(e){return"Home"===e.name}),u=[].concat(a).filter(function(e){var t=e.name;return"Home"!==t&&"Accounts"!==t}).sort(function(e,t){return e.name.localeCompare(t.name)}),d=J({},Ve,{alignItems:"center",display:"flex",height:"48px",overflow:"hidden",padding:"0 16px",verticalAlign:"middle"});return t.createElement(at,null,t.createElement(ot,{cleanup:!i,component:tt,onOutsideClick:o,style:J({marginTop:"8px"},i?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"})},t.createElement("menu",{"data-pendo":"app-switcher",style:{margin:0,minWidth:180,padding:0}},s&&t.createElement($e,{component:"a","data-pendo":"app-switcher--change-app--"+s.name,"data-turbolinks":!1,href:n===s.name?c(r)("accounts")+"/apps/"+n:c(r)("accounts")+Ye(s.name),style:J({},d,{borderBottom:"1px solid #ededed"})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Ke,{appName:"Home",size:20})),t.createElement(Me,{appName:"Home",color:"#444",size:18})),u.map(function(e,a){var o=e.name,i=0===a,l=a===u.length-1;return t.createElement($e,{component:"a","data-pendo":"app-switcher--change-app--"+o,"data-turbolinks":!1,href:o===n?c(r)("accounts")+"/apps/"+o.toLowerCase():c(r)("accounts")+Ye(o),key:o,style:J({},d,{height:"40px",paddingBottom:l?"4px":null,paddingTop:i?"4px":null})},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Ke,{appName:o.replace(/[\s-]/,""),size:20})),t.createElement(Me,{appName:o.replace(/[\s-]/,""),color:"#444",size:18}))}),l&&t.createElement($e,{component:"a","data-pendo":"app-switcher--change-app--"+l.name,"data-turbolinks":!1,href:c(r)("accounts")+Ye(l.name),style:J({},d,{borderTop:"1px solid #ededed",padding:"0 12px",textDecoration:"none"})},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(ke,{color:"#9e9e9e",key:"key2"})),t.createElement("div",{style:{color:"#737373",fontSize:"12px",lineHeight:"28px"}},"Account settings")))))},lt=function(e){return(t="name",function(e){return e.slice().sort(function(e,n){return e[t].localeCompare(n[t])})})(e).reduce(function(e,t){return"Church Center"===(t.name||"")||"API"===(t.name||"")?e:"Home"===t.name?[t].concat(e):[].concat(e,[t])},[]);var t},ct=function(e){return e.slice().sort(function(e,t){return e.attributes.organization_name.localeCompare(t.attributes.organization_name)})},st=function(e){return void 0===e&&(e=function(e){return e}),s(fe.subscribe,function(){return e(fe.getState())})},ut=["children","style"];function dt(e){var n=e.children,a=e.style,r=K(e,ut);return t.createElement("nav",J({className:"simple","data-pendo":"topbar","aria-label":"topbar-navigation",style:J({MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",alignItems:"center",color:"white",display:"flex",height:"48px",position:"relative"},a)},r),t.createElement("style",null,"\n @media only print {\n .simple {\n display: none !important;\n }\n }\n "),n)}var mt={danger43:"hsl(8 60% 43%)",danger45:"hsl(8 60% 45%)",danger47:"hsl(8 60% 47%)",danger93:"hsl(9 59% 93%)",danger97:"hsl(7 60% 97%)",darkNeutral07:"hsl(0 0% 7%)",darkNeutral12:"hsl(0 0% 12%)",darkNeutral15:"hsl(0 0% 15%)",darkNeutral17:"hsl(0 0% 17%)",darkNeutral19:"hsl(0 0% 19%)",darkNeutral24:"hsl(0 0% 24%)",darkNeutral32:"hsl(0 0% 32%)",darkNeutral50:"hsl(0 0% 50%)",darkNeutral68:"hsl(0 0% 68%)",darkNeutral88:"hsl(0 0% 88%)",darkNeutral98:"hsl(0 0% 98%)",interaction45:"hsl(221 75% 45%)",interaction50:"hsl(221 91% 50%)",interaction55:"hsl(221 91% 55%)",interaction66:"hsl(221 91% 66%)",interaction91:"hsl(221 91% 91%)",interaction93:"hsl(221 91% 93%)",interaction97:"hsl(221 89% 97%)",lightNeutral12:"hsl(0 0% 12%)",lightNeutral24:"hsl(0 0% 24%)",lightNeutral45:"hsl(0 0% 45%)",lightNeutral62:"hsl(0 0% 62%)",lightNeutral81:"hsl(0 0% 81%)",lightNeutral88:"hsl(0 0% 88%)",lightNeutral93:"hsl(0 0% 93%)",lightNeutral95:"hsl(0 0% 95%)",lightNeutral97:"hsl(0 0% 97%)",lightNeutral98:"hsl(0 0% 98%)",lightNeutral100:"hsl(0 0% 100%)",success23:"hsl(86 91% 23%)",success25:"hsl(86 91% 25%)",success27:"hsl(86 91% 27%)",success91:"hsl(95 50% 91%)",success97:"hsl(93 53% 97%)",warning20:"hsl(42 100% 20%)",warning49:"hsl(42 84% 49%)",warning55:"hsl(42 84% 55%)",warning63:"hsl(42 84% 63%)",warning94:"hsl(42 84% 94%)",warning97:"hsl(42 84% 97%)"},pt=["style"],ht=function(e){var n=e.style,a=void 0===n?null:n,r=K(e,pt);return t.createElement("div",J({style:J({alignSelf:"flex-end",display:"flex",position:"relative"},a)},r))},ft=function(e){var n=e.appName,a=e.connectedPeople,r=e.hasConnectedPeople,o=e.requestClearAppsCache,i=e.requestClearConnectedPeopleCache,l=e.requestSwitchConnectedPerson,s=e.requestUnlinkConnectedPeople,g=e.setUserMenuVisible,v=e.userMenuVisible,E=c(e.env)("login")+"/logout";return t.createElement(ht,null,t.createElement(ot,{component:tt,onOutsideClick:function(){return g(!1)},cleanup:!v,style:J({color:"#525252",marginTop:"8px",maxHeight:"75vh",maxWidth:"320px",minWidth:"242px",overflow:"auto",right:0},v?{opacity:1,transition:"none",visibility:"visible"}:{opacity:0,transition:"all 120ms ease-in",visibility:"hidden"},{cursor:"default"})},t.createElement("div",null,r?t.createElement("div",{style:{alignItems:"center",backgroundColor:"#eee",display:"flex",lineHeight:"32px",padding:"0 16px"}},t.createElement("div",{style:J({},He,{color:"#666",fontSize:"12px",textTransform:"uppercase",whiteSpace:"nowrap"},Ve)},"Linked Accounts"),t.createElement("div",{style:J({},He,{alignItems:"center",fontSize:"12px",textAlign:"right"})},t.createElement("a",{href:"",onClick:function(e){o(),i(),s(),e.preventDefault()},style:J({color:"#666",marginLeft:"64px",textDecoration:"none"},Ve)},"unlink"))):t.createElement("noscript",null),t.createElement("style",null,"\n .NotSmallTopbar__connected-people-list > *:first-child > * { border-top-width: 0 !important }\n "),t.createElement("ul",{className:"NotSmallTopbar__connected-people-list",style:{listStyleType:"none",margin:0,padding:0}},ct(a).map(function(e){var a=e.id,r=e.attributes;return t.createElement($e,{component:"li",key:a},t.createElement("a",{href:"",onClick:function(e){o(),i(),l(a,n+"/"),e.preventDefault()},style:J({borderTop:"1px solid #ddd",color:"#444",display:"block",lineHeight:"48px",overflow:"hidden",paddingLeft:"16px",paddingRight:"16px",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap"},Ve)},r.organization_name))}))),t.createElement(u,null,r&&t.createElement(d,null),t.createElement("form",{method:"POST",action:E},t.createElement(m,{"data-turbolinks":!1,hover:{backgroundColor:mt.lightNeutral97},onClick:function(){o(),i()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(p,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:2,paddingVertical:1.5,spacing:4},t.createElement(h,{color:mt.lightNeutral45,lineHeight:"24px"},"Log out"),t.createElement(f,{name:"general.intoBox",fill:mt.lightNeutral45})))))))},gt=["active","component","hover","innerRef","style"],vt=function(e){var n=e.active,a=void 0===n?null:n,r=e.component,o=void 0===r?"div":r,i=e.hover,l=void 0===i?null:i,c=e.innerRef,s=void 0===c?null:c,u=e.style,d=void 0===u?null:u,m=K(e,gt),p=t.useState(!1),h=p[0],f=p[1],g=t.useState(!1),v=g[1];return t.createElement(o,J({onMouseDown:function(){return f(!0)},onMouseEnter:function(){return v(!0)},onMouseLeave:function(){return v(!1)},onMouseUp:function(){return f(!1)},style:J({},Ve,d,g[0]&&l,h&&a)},s&&{ref:s},m))},Et=function(e){var n=e.colors,a=e.orgName,r=e.requestConnectedPeopleFetch,o=e.setUserMenuVisible,i=e.showOrgName;return t.createElement("div",{style:{cursor:"pointer",marginLeft:"16px",position:"relative",whiteSpace:"nowrap"},"data-pendo":"topbar-org-switcher"},t.createElement(vt,{component:"button",type:"button",style:J({WebkitAppearance:"none",alignItems:"center",appearance:"none",backgroundColor:n.base1,border:"none",borderRadius:"9999px",color:n.text||"#fff",cursor:"pointer",display:"flex",fontSize:"13px",lineHeight:"32px",outline:0,padding:0},Ne),active:{backgroundColor:n.base3},hover:{backgroundColor:n.base2},onClick:function(){o(function(e){return!e}),r()}},t.createElement("div",{style:{marginLeft:8}}),i?t.createElement("div",{style:{fontSize:"13px",margin:"0 8px 0 8px",maxWidth:"240px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},a):t.createElement("div",{style:{margin:"0 4px 0 4px"}}),t.createElement("div",{style:{paddingRight:"8px"}},t.createElement(Ue,{colors:n,style:{margin:"-3px"}}))))},bt=["active","colors","style"],yt=function(e){var n=t.useState(!1),a=n[0],r=n[1],o=t.useState(!0),i=o[0],l=o[1],c=t.useState(!1),s=c[0],u=c[1],d=st(),m=d.hasConnectedPeople,p=d.notificationsEnabled;return t.createElement(dt,{style:J({paddingLeft:"8px",paddingRight:"16px"},e.style)},t.createElement(it,{env:e.env,appName:e.appName,apps:lt(e.apps),visible:a,toggle:function(){return r(function(e){return!e})}}),t.createElement(Ge,{colors:e.colors,expanded:a,onClick:function(){r(function(e){return!e}),e.requestAppsFetch()},appName:e.appName}),t.createElement("div",{style:{margin:"12px"}}),i&&e.routes,t.createElement("div",{style:{margin:"auto"}}),!p&&e.notifications(),e.search({hideRoutes:function(){return l(!1)},showRoutes:function(){return l(!0)}}),t.createElement(Et,{colors:e.colors,orgName:e.orgName,requestConnectedPeopleFetch:e.requestConnectedPeopleFetch,setUserMenuVisible:u,showOrgName:e.showOrgName}),t.createElement(ft,{appName:e.appName,hasConnectedPeople:m,connectedPeople:e.connectedPeople,env:e.env,requestClearAppsCache:e.requestClearAppsCache,requestClearConnectedPeopleCache:e.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:e.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:e.requestUnlinkConnectedPeople,setUserMenuVisible:u,userMenuVisible:s}))};yt.defaultProps={notifications:function(){return null},search:function(){return null},showOrgName:!0,useDummyNotifications:!1};var wt=function(e){var n=e.active,a=e.colors,r=e.style,o=void 0===r?null:r,i=K(e,bt),l=t.useState(!1),c=l[0],s=l[1],u=t.useState(!1),d=u[1];return t.createElement("a",J({style:J({backgroundColor:c&&u[0]?a.base2:c||n?a.base1:"transparent",borderRadius:"9999px",color:a.text||"#fff",fontSize:"14px",fontWeight:600,lineHeight:"32px",marginRight:"4px",paddingLeft:"12px",paddingRight:"12px",textDecoration:"none",textTransform:"capitalize",verticalAlign:"middle",whiteSpace:"nowrap"},Ve,Ne,o),onMouseEnter:function(){return s(!0)},onMouseLeave:function(){return s(!1)},onMouseDown:function(){return d(!0)},onMouseUp:function(){return d(!1)}},i))},Ct=["style"],kt=["children","className","colors","style"],xt=/*#__PURE__*/function(e){function n(t){var n;return(n=e.call(this,t)||this).state={announcements:t.initialAnnouncements},n}G(n,e);var a=n.prototype;return a.dismissAnnouncements=function(e){return this.setState(function(t){var n=t.announcements,a=n;return n[e]&&delete a[e],{announcements:a}}),te(this.props.configuredFetch,c(this.props.env)("api")+"/people/v2/me/platform_notifications/"+e+"/dismiss",{method:"POST"})},a.render=function(){return t.createElement(t.Fragment,null,this.props.children({announcements:this.props.formatter(this.state.announcements)},{dismissAnnouncements:this.dismissAnnouncements.bind(this)}))},n}(t.Component);xt.defaultProps={formatter:function(e){return function(e){for(var t=Object.keys(e),n=t.length,a=new Array(n);n--;)a[n]=[t[n],e[t[n]]];return a}(e).map(function(e){return{data:e[1],id:e[0]}})}};var At=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return G(n,e),n.prototype.render=function(){var e=this.props,n=e.style,a=K(e,Ct);return t.createElement(we,{render:function(e){return t.createElement("div",J({style:J({alignItems:"center",display:"flex",justifyContent:"space-between",paddingBottom:14,paddingLeft:-1!==["xs","sm"].indexOf(e)?16:24,paddingRight:18,paddingTop:14},n)},a))}})},n}(t.Component),St=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return G(n,e),n.prototype.render=function(){var e=this.props,n=e.children,a=e.colors,r=e.style,o=K(e,kt);return t.createElement("div",J({className:["__Topbar_PlatformAnnouncements_link"].join(" ").trim(),style:J({backgroundColor:"#282828",color:"white",fontSize:"14px"},r)},o),t.createElement("style",null,"\n .__Topbar_PlatformAnnouncements_link { color: white }\n .__Topbar_PlatformAnnouncements_link a { color: "+a.base0+" }\n .__Topbar_PlatformAnnouncements_link a:hover { color: "+a.base1+" }\n .__Topbar_PlatformAnnouncements_link a:active { color: "+a.base2+" }\n "),n)},n}(t.Component),Zt=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return G(n,e),n.prototype.render=function(){var e=this;return t.createElement(St,{colors:this.props.colors},t.createElement(xt,{env:this.props.env,initialAnnouncements:this.props.data,configuredFetch:this.props.configuredFetch},function(n,a){return Boolean(n.announcements.length>0)?t.createElement("div",null,n.announcements.map(function(t){return e.props.renderItem({actions:a,announcement:t})})):null}))},n}(t.Component);function Pt(e){var n=J({},(X(e),e));return t.createElement("button",J({type:"button",style:{WebkitAppearance:"none",backgroundColor:"transparent",borderWidth:0,cursor:"pointer",margin:-8,padding:8}},n),t.createElement(Be,{fill:"white",style:{height:20,width:20}}))}function Mt(e){return t.createElement(At,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}}),t.createElement(Pt,{onClick:e.onClick}))}Zt.defaultProps={configuredFetch:$,renderItem:function(e){var n=e.announcement,a=e.actions;return t.createElement(Mt,{key:n.id,html:n.data.html,onClick:function(){return a.dismissAnnouncements(n.id)}})}};var Nt=["colors","html","onClick"],Vt=["children","className","colors","style"],Ht=["style"];function zt(e){var n=e.colors,a=e.html,r=void 0===a?"":a,o=e.onClick,i=void 0===o?function(e){}:o,l=K(e,Nt),c=t.useState(!1),s=c[1];return c[0]||!r?null:t.createElement(_t,J({colors:n},l),t.createElement(Lt,null,t.createElement("span",{dangerouslySetInnerHTML:{__html:r}}),t.createElement(Tt,{onClick:function(e){i(e),s(!0)}})))}var _t=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return G(n,e),n.prototype.render=function(){var e=this.props,n=e.children,a=e.className,r=e.colors,o=e.style,i=K(e,Vt);return t.createElement("div",J({className:["Topbar_ProductAnnouncement",a].filter(Boolean).join(" ").trim(),style:J({backgroundColor:r.base1},o)},i),t.createElement("style",null,"\n .Topbar_ProductAnnouncement {\n color: white;\n font-size: 14px;\n }\n .Topbar_ProductAnnouncement a { color: white; font-weight: bold; }\n "),n)},n}(t.Component),Lt=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}return G(n,e),n.prototype.render=function(){var e=this.props,n=e.style,a=K(e,Ht);return t.createElement(we,{render:function(e){return t.createElement("div",J({style:J({alignItems:"center",boxSizing:"border-box",display:"flex",justifyContent:"space-between",paddingBottom:14,paddingLeft:-1!==["xs","sm"].indexOf(e)?16:24,paddingRight:18,paddingTop:14},n)},a))}})},n}(t.Component);function Tt(e){var n=J({},(X(e),e));return t.createElement("button",J({type:"button",style:{WebkitAppearance:"none",backgroundColor:"transparent",borderWidth:0,cursor:"pointer",margin:-8,padding:8}},n),t.createElement(Be,{fill:"white",style:{height:20,width:20}}))}var Ot=["env","url","style"];function It(e){var n=e.env,a=e.url,r=void 0===a?"":a,o=e.style,i=K(e,Ot),l=r||c(n)("people")+"/static/no_photo_thumbnail_gray.svg";return t.createElement("div",J({style:J({backgroundColor:"white",backgroundImage:"url("+l+")",backgroundPosition:"center",backgroundSize:"cover",borderRadius:"50%",height:"26px",marginLeft:"4px",width:"26px"},o)},i))}var Rt=/*#__PURE__*/function(e){function n(){return e.apply(this,arguments)||this}G(n,e);var a=n.prototype;return a.update=function(e){return window[this.props.method].setItem(this.props.item,JSON.stringify(e)),this.forceUpdate()},a.render=function(){return t.createElement(t.Fragment,null,this.props.render(JSON.parse(window[this.props.method].getItem(this.props.item))||void 0,this.update.bind(this)))},n}(t.Component);function jt(e){var n="accounts";return t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingLeft:"12px",paddingRight:"16px",textDecoration:"none"},"data-pendo":"app-switcher--change-app--"+n,"data-turbolinks":!1,href:c(e.env)(n)+Ye(n)},t.createElement("svg",{height:22,style:{display:"block",marginRight:"2px"},viewBox:"0 0 20 20",width:22,xmlns:"http://www.w3.org/2000/svg"},t.createElement(ke,{color:mt.lightNeutral45,key:"key2"})),t.createElement("div",{style:{color:mt.lightNeutral45,fontSize:"12px",lineHeight:"48px",textDecoration:"none"}},"Account settings"))}Rt.defaultProps={method:"localStorage"};var Ut=function(e){var n=e.color,a=e.size,r=void 0===a?22:a,o=e.style;return t.createElement("div",{style:void 0===o?{}:o},t.createElement(Be,{fill:void 0===n?mt.lightNeutral100:n,style:{height:r+"px",width:r+"px"}}))};function Dt(e){var t,n,a,r=e.appName,o=e.userId,i=c(e.env)("login")+"/people/AC"+o,l=null==(t=window)||null==(n=t.location)||null==(a=n.pathname)?void 0:a.toString();if(!l)return i;var s=new URLSearchParams;return s.append("return",r+"/"+l),i+"?"+s.toString()}var Ft=function(e){var n=e.isActive,a=n?"hsl(86, 91%, 27%)":"hsl(8, 60%, 47%)";return t.createElement("div",{style:{alignItems:"center",display:"flex",fontSize:"13px",marginBottom:2,marginTop:4}},t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},t.createElement("path",n?{d:"M12.588 5.31499H11.832V3.79999C11.8159 2.80798 11.4105 1.86207 10.7032 1.16625C9.99602 0.470436 9.04363 0.0804749 8.0515 0.0804749C7.05937 0.0804749 6.10698 0.470436 5.39976 1.16625C4.69253 1.86207 4.28713 2.80798 4.271 3.79999V5.31499H3.515C3.1138 5.31525 2.72906 5.47454 2.44508 5.75795C2.16111 6.04136 2.00106 6.42579 2 6.82699V14.388C2.00132 14.7891 2.16146 15.1734 2.44537 15.4567C2.72929 15.7401 3.11388 15.8995 3.515 15.9H12.588C12.9886 15.8987 13.3724 15.7389 13.6557 15.4557C13.939 15.1724 14.0987 14.7886 14.1 14.388V6.82699C14.0987 6.42639 13.939 6.04257 13.6557 5.7593C13.3724 5.47603 12.9886 5.31631 12.588 5.31499ZM8.051 12.115C7.75171 12.1152 7.45909 12.0266 7.21015 11.8605C6.96121 11.6944 6.76713 11.4581 6.65246 11.1817C6.53779 10.9052 6.50768 10.601 6.56595 10.3074C6.62422 10.0139 6.76824 9.74418 6.97979 9.53249C7.19135 9.32079 7.46094 9.17659 7.75446 9.11813C8.04798 9.05967 8.35225 9.08958 8.62877 9.20406C8.90529 9.31855 9.14165 9.51247 9.30794 9.7613C9.47424 10.0101 9.563 10.3027 9.563 10.602C9.56327 11.0036 9.40424 11.389 9.1208 11.6735C8.83736 11.9581 8.45264 12.1187 8.051 12.12V12.115ZM10.395 5.31499H5.707V3.79999C5.707 3.17832 5.95396 2.58211 6.39354 2.14253C6.83313 1.70294 7.42933 1.45599 8.051 1.45599C8.67267 1.45599 9.26887 1.70294 9.70846 2.14253C10.148 2.58211 10.395 3.17832 10.395 3.79999V5.31499Z",fill:a}:{d:"M13.7,5.8a1.5,1.5,0,0,0-1.1-.4H5.7V3.8a2.34,2.34,0,0,1,.7-1.7,2.19,2.19,0,0,1,1.7-.7,2.34,2.34,0,0,1,1.7.7,2.67,2.67,0,0,1,.7,1.4h1.4a4.12,4.12,0,0,0-1.1-2.4A4.73,4.73,0,0,0,8.1.1,4,4,0,0,0,5.4,1.2,3.63,3.63,0,0,0,4.3,3.8V5.3H3.5a2.1,2.1,0,0,0-1.1.4A2.1,2.1,0,0,0,2,6.8v7.6a2.1,2.1,0,0,0,.4,1.1,1.5,1.5,0,0,0,1.1.4h9.1a2.1,2.1,0,0,0,1.1-.4,1.5,1.5,0,0,0,.4-1.1V6.8A1.53,1.53,0,0,0,13.7,5.8ZM9.1,11.7a1.5,1.5,0,0,1-1.1.4H8a1.14,1.14,0,0,1-.8-.3,4.35,4.35,0,0,1-.6-.7,2.77,2.77,0,0,1-.1-.9A3,3,0,0,1,7,9.5a1.23,1.23,0,0,1,.8-.4,1.41,1.41,0,0,1,.9.1,1.34,1.34,0,0,1,.7.6,1.14,1.14,0,0,1,.3.8A2.38,2.38,0,0,1,9.1,11.7Z",fill:a})),t.createElement("span",{style:{color:"#888",marginLeft:4,whiteSpace:"nowrap"}},"Two-step verification ",n?"active":"inactive"))},Bt={colors:J({},(0,g.generateColorScale)({baseColor:"#2266f7",key:"primary"})),icons:{churchCenter:M,general:N,people:V,toolbar:H},id:"topbar"};function Wt(e){var n=e.appName,a=e.connectedPeople,r=e.env,o=e.hasConnectedPeople,i=e.linkToProfile,l=e.mfaConfigured,s=e.mfaEnabled,d=e.requestClearAppsCache,f=e.requestClearConnectedPeopleCache,g=e.requestSwitchConnectedPerson,y=e.requestUnlinkConnectedPeople,w=e.setUserMenuVisible,C=e.userId,k=e.userName;return t.createElement(u,{theme:Bt},t.createElement(p,{axis:"vertical",width:"100%"},t.createElement(p,{axis:"horizontal",alignItems:"start",distribution:"space-between"},t.createElement(p,{axis:"horizontal",spacing:2,padding:2,paddingRight:0,shrink:1},t.createElement(p,{shrink:0},t.createElement(It,{env:r,url:e.userAvatarPath,style:{height:48,width:48}})),t.createElement(p,{spacing:1,shrink:1},t.createElement(h,{color:mt.lightNeutral24,weight:700,truncate:!0},k),i&&t.createElement(v,{as:"a",href:"/people/AC"+C,color:mt.lightNeutral45,underline:!1},"My profile"),s&&t.createElement(v,{as:"a",href:Dt({appName:n,env:r,userId:C}),color:mt.lightNeutral45,underline:!1},"My login settings",t.createElement(Ft,{isActive:l})),t.createElement("form",{method:"POST",action:c(r)("login")+"/logout"},t.createElement(m,{color:mt.lightNeutral45,"data-turbolinks":!1,onClick:function(){d(),f()},type:"submit"},"Log out")))),t.createElement(m,{color:mt.lightNeutral45,icon:"general.x",onClick:function(){return w(!1)},padding:2,variant:"naked",title:"Close Menu"})),o&&t.createElement(t.Fragment,null,t.createElement(p,{backgroundColor:mt.lightNeutral95,paddingVertical:1.5,paddingHorizontal:2,marginTop:1,borderBottom:"1px solid "+mt.lightNeutral88},t.createElement(E,{color:mt.lightNeutral62,fontWeight:500},"Linked Accounts")),t.createElement(b,{dividerColor:mt.lightNeutral88,width:"100%"},ct(a).map(function(e){var a=e.id;return t.createElement(b.Item,{key:a,onClick:function(e){d(),f(),g(a,n+"/"),e.preventDefault()},color:mt.lightNeutral45,padding:2},t.createElement(h,{truncate:!0},e.attributes.organization_name))}),t.createElement(b.Item,{onClick:function(e){d(),f(),y(),e.preventDefault()},color:mt.danger47,padding:2,underline:!1},t.createElement(h,{size:3},"Unlink my accounts"))))))}var qt=["active"],Jt=function(e){var n=e.appName.replace(/[\s-]/,"");return t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement("div",{style:{marginRight:"6px"}},t.createElement(Ke,{appName:n,size:20})),t.createElement(Me,{appName:n,color:mt.lightNeutral24,size:18}))},Gt=function(e){var n,a,r,o=t.useState(!1),i=o[0],l=o[1],s=t.useState(!1),u=s[0],d=s[1],m=t.useState(!1),p=m[0],h=m[1],f=st(),g=f.hasConnectedPeople,v=f.mfaConfigured,E=f.mfaEnabled,b=f.userId,y=f.name,w=e.colors,C=e.routes.filter(function(e){return e.props.active})||[],k=e.currentRouteComponent,x=C&&C[0]&&C[0].props&&C[0].props.children||e.appName,A=e.apps.find(function(e){return"Accounts"===e.name}),S=e.apps.find(function(e){return"Home"===e.name}),Z=[].concat(e.apps).filter(function(e){var t=e.name;return"Home"!==t&&"Accounts"!==t}),P=mt.lightNeutral88;return t.useEffect(function(){l(!1)},[C&&(null==(n=C[0])||null==(a=n.props)?void 0:a.href)]),t.createElement(dt,{style:J({},e.style)},t.createElement("div",{style:{alignItems:"center",display:"flex",height:"48px",justifyContent:"center",paddingLeft:"16px",paddingRight:"16px"},onClick:function(){e.requestAppsFetch(),e.requestConnectedPeopleFetch(),l(!1),d(function(e){return!e})}},t.createElement(Ze,{appName:e.appName.replace(/[\s-]/,""),colors:w,size:26})),t.createElement("div",{style:{left:0,position:"absolute",top:"48px",width:"100%"}},i&&e.routes),t.createElement(Rt,{item:"Topbar:Small:Menus:Products:visibility",render:function(){return t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",backgroundColor:se(mt.lightNeutral12,.75),bottom:0,color:"black",display:u?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"},onClick:function(){d(function(e){return!e}),h(!1)}},t.createElement(Ut,{style:{position:"absolute",right:"17px",top:"12px"}}),t.createElement("div",{onClick:function(e){e.forcePropagation||e.stopPropagation()},style:{backgroundColor:mt.lightNeutral100,borderRight:"1px solid "+P,display:"flex",flexDirection:"column",height:"calc(100% - 52px - env(safe-area-inset-bottom))",position:"relative",width:"calc(100% - 57px)"}},t.createElement("div",{style:{alignItems:"center",backgroundColor:mt.lightNeutral98,borderBottom:"1px solid "+P,display:"flex",height:"48px",paddingLeft:"16px",paddingRight:"16px"}},t.createElement("div",{style:J({},He)},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"48px",paddingRight:"16px"},"data-pendo":"app-switcher--change-app--"+(null==S?void 0:S.name),"data-turbolinks":!1,href:S?c(e.env)("accounts")+Ye(null==S?void 0:S.name):void 0},t.createElement("div",{style:{alignItems:"center",display:"flex"}},t.createElement(Jt,{appName:S?S.name:e.appName}))))),t.createElement("div",{style:J({},He,{WebkitOverflowScrolling:"touch",overflowY:"scroll"})},t.createElement("ul",{"data-pendo":"app-switcher",style:{margin:0,padding:0}},lt(Z).map(function(n,a){var r=n.name,o=0===a,i=a===lt(Z).length-1;return t.createElement("li",{key:r,style:{listStyleType:"none"}},t.createElement("a",{style:{alignItems:"center",display:"flex",height:"40px",paddingBottom:i?"4px":0,paddingLeft:"16px",paddingRight:"16px",paddingTop:o?"4px":0},"data-pendo":"app-switcher--change-app--"+r,"data-turbolinks":!1,href:c(e.env)("accounts")+Ye(r)},t.createElement(Jt,{appName:r})))})),A&&t.createElement("div",{style:{borderTop:"1px solid "+P}},t.createElement(jt,{env:e.env})))))}}),t.createElement("div",{style:J({},He,{fontWeight:600,lineHeight:"48px",textAlign:"center"}),onClick:e.routes.length>0?function(){d(!1),l(function(e){return!e})}:null},t.createElement(k,null,(r=x).charAt(0).toUpperCase()+r.slice(1)),e.routes.length>0&&t.createElement(Ue,{colors:w,style:{marginLeft:"4px",verticalAlign:"middle"}})),t.createElement("button",{onClick:function(){return h(!p)},style:{background:"none",border:"none",margin:"0 12px",padding:0}},t.createElement(It,{env:e.env,url:e.userAvatarPath})),t.createElement("div",{style:{MozUserSelect:"none",WebkitTapHighlightColor:"transparent",WebkitUserSelect:"none",bottom:0,color:"black",display:p?"block":"none",left:0,msUserSelect:"none",position:"fixed",right:0,top:0,userSelect:"none"}},t.createElement("div",{onClick:function(e){return e.stopPropagation()},style:{WebkitOverflowScrolling:"touch",backgroundColor:"#fff",display:"flex",flexDirection:"column",height:"100%",overflowY:"scroll",position:"relative",width:"100%"}},t.createElement(Wt,{appName:e.appName,env:e.env,connectedPeople:e.connectedPeople,hasConnectedPeople:g,linkToProfile:e.linkToProfile,mfaConfigured:v,mfaEnabled:E,requestClearAppsCache:e.requestClearAppsCache,requestClearConnectedPeopleCache:e.requestClearConnectedPeopleCache,requestSwitchConnectedPerson:e.requestSwitchConnectedPerson,requestUnlinkConnectedPeople:e.requestUnlinkConnectedPeople,setUserMenuVisible:h,userAvatarPath:e.userAvatarPath,userId:b,userName:y}))))};Gt.defaultProps={currentRouteComponent:function(e){return t.createElement("span",J({},e))},linkToProfile:!0};var Xt=function(e){var n=e.active,a=K(e,qt);return t.createElement("a",J({style:J({backgroundColor:"#444",borderBottom:"1px solid #333",color:"#fff",display:"block",fontWeight:600,lineHeight:"47px",position:"relative",textAlign:"center",textDecoration:"none",textTransform:"capitalize",whiteSpace:"nowrap"},Ve,n&&{backgroundColor:"#333"})},a))},Kt={domain:window.location.host.split(".").slice(-2).join("."),"max-age":2592e3},Yt=Object.entries(Kt).map(function(e){return e[0]+"="+e[1]}).join("; ");function Qt(e){var n=e.bottom,a=e.children,r=e.hasShadow,o=e.height,i=e.id,l=e.overflow,c=e.position,s=e.width;return t.createElement(p,J({backgroundColor:"surface",boxShadow:void 0!==r&&r&&open?"0 4px 12px rgba(0, 0, 0, 0.25)":null,left:0,position:"absolute",zIndex:1},{bottom:void 0===n?"auto":n,height:void 0===o?"100%":o,id:void 0===i?"toolbarDrawer":i,overflow:void 0===l?"visible":l,position:void 0===c?"absolute":c,width:void 0===s?"100%":s}),a)}function $t(e){var n=e.closeDrawer;return t.createElement(p,{alignment:"start",axis:"horizontal",color:"foreground",distribution:"space-between",padding:2,paddingTop:1},t.createElement(y,{flex:1},e.children),n&&t.createElement(m,{icon:{fill:mt.lightNeutral12,name:"general.x",size:"md"},onClick:function(){return n()},title:"Close",theme:!1,hover:{backgroundColor:mt.lightNeutral93},marginTop:.25}))}var en=["children"];function tn(e){var n=e.children,a=K(e,en);return t.createElement(w,J({color:mt.lightNeutral12,letterSpacing:".002em",level:2,lineHeight:"35px",weight:700},a),n)}var nn,an=function(e){return t.createElement(y,J({backgroundColor:mt.interaction66,height:1.5,pointerEvents:"none",position:"absolute",radius:"50%",width:1.5,zIndex:6},e))},rn=["children"],on={bottom:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.07))",bottom:0},top:{background:"linear-gradient(rgba(0, 0, 0, 0.07), rgba(255, 255, 255, 0))",top:0}},ln=function(e){var r=e.children,o=K(e,rn),l=a(!1),c=l[0],s=l[1],u=a(!1),d=u[0],m=u[1],h=i(null),f=i(null),g=i(null),v=function(){var e=null==h?void 0:h.current;e&&m(e.scrollHeight-e.clientHeight>e.scrollTop+1)};return n(function(){var e=null==h?void 0:h.current;if(!e)return function(){};m(e.scrollHeight>e.clientHeight);var t={root:e,threshold:1},n=new IntersectionObserver(function(e){return m(!e[0].isIntersecting)},t),a=new IntersectionObserver(function(e){return s(!e[0].isIntersecting)},t),r=null==f?void 0:f.current,o=null==g?void 0:g.current;r&&n.observe(r),o&&a.observe(o);var i=new ResizeObserver(v);return i.observe(e),function(){r&&n.unobserve(r),o&&a.unobserve(o),i.unobserve(e)}},[]),t.createElement(p,{grow:1,position:"relative",shrink:1},c&&t.createElement(cn,{edge:"top"}),d&&t.createElement(cn,{edge:"bottom"}),t.createElement(p,J({basis:2,grow:1,innerRef:h,overflow:"auto",role:"region",shrink:1,css:{overscrollBehavior:"contain"}},o),t.createElement(y,{innerRef:g}),r,t.createElement(y,{innerRef:f})))},cn=function(e){return t.createElement(y,J({height:1,left:0,pointerEvents:"none",position:"absolute",right:0,role:"presentation",zIndex:10},on[e.edge]))},sn=function(e){var n=e.activeIndex,a=e.children,r=t.Children.count(a),o=n<0?0:n>r-1?r-1:n;return t.createElement(p,{grow:1,overflow:"hidden",position:"relative"},t.Children.map(a,function(e,a){var r=a===o;return t.createElement(p,{"aria-hidden":!r,visibility:r?"visible":"hidden",height:"100%",key:a,opacity:r?1:0,pointerEvents:r?"auto":"none",position:"absolute",top:0,width:"100%",transform:r?"translateX(0)":a<n?"translateX(-100px)":"translateX(100px)",transition:"visibility 100ms 50ms ease-in-out, transform 200ms ease-in-out, opacity 100ms 50ms ease-in-out"},e)}))};!function(e){e.close="close",e.mount="mount",e.open="open",e.unmount="unmount"}(nn||(nn={}));var un={currentContent:null,open:!1},dn=function(e,t){switch(t.type){case nn.mount:return J({},e,{currentContent:t.payload.content});case nn.unmount:return J({},e,{currentContent:null});case nn.open:return J({},e,{open:!0});case nn.close:return J({},e,{open:!1})}},mn=function(e){var n=e.currentAppName,a=e.sectionName.toLowerCase();return"account information"===a||"recent updates"===a?t.createElement(f,{name:"account information"===a?"general.cogPerson":"general.outlinedGenericFile",color:"foregroundSecondary"}):"Accounts"===n?t.createElement(f,{name:"general.cog",color:"foregroundSecondary"}):t.createElement(p,{width:2,height:2},t.createElement(A,{name:n.toLowerCase().replace(/[\s]/,"-"),size:"sm",theme:"color",markOnly:!0}))},pn=function(e){var n=e.hit;return t.createElement(x.Item,{key:n.objectID,index:e.index,value:n,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},n.title))},hn=function(e){var n=e.currentAppName,a=e.indexName,r=I(),o=r.query,i=r.refine,l=R(),c=l.hits,s=l.results,u=null==s?void 0:s.hits.reduce(function(e,t){var n=t.category.title;return e[n]||(e[n]=[]),e[n].push(t),e},{}),m=0;return t.createElement(p,{id:"helpdesk-search",position:"relative"},t.createElement(x.Popover,{renderTo:"#helpdesk-search",popoverProps:{zIndex:2},placeholder:"Search our documentation",value:o,renderRight:t.createElement(f,{name:"general.search"}),onChange:function(e){return i(e.target.value)},onSelect:function(e){return function(e,t){var n=t.split("_")[1],a=window.open("https://"+n+".zendesk.com/hc/"+e.locale.locale+"/articles/"+e.id,"_blank");a&&a.focus()}(e,a)},placement:"bottom-start"},!c.length&&t.createElement(t.Fragment,null,t.createElement(p,{axis:"horizontal",alignment:"center",paddingHorizontal:2,paddingVertical:1},t.createElement(h,{color:"neutralDarker",size:4,whiteSpace:"normal"},"No results match your search"))),u&&Object.keys(u).map(function(e){var a=u[e];return t.createElement(t.Fragment,{key:e},m>0&&t.createElement(d,{margin:1}),t.createElement(p,{axis:"horizontal",alignment:"center",spacing:.5,paddingHorizontal:2,paddingVertical:1},t.createElement(mn,{currentAppName:n,sectionName:e}),t.createElement(h,{size:5,color:"foregroundSecondary",fontWeight:500},e)),a.map(function(e){return t.createElement(pn,{key:e.objectID,hit:e,index:m++})}))})))},fn=function(e){var n=e.indexName,a=e.currentAppName,r=st().algoliaSearchAuth,o=O(r.algoliaApplicationId,r.algoliaSearchOnlyApiKey);return t.createElement(j,{indexName:n,searchClient:o},t.createElement(U,{hitsPerPage:5}),t.createElement(hn,{currentAppName:a,indexName:n}))},gn=_.LoadingIndicator,vn=_.StackView,En={component:function(e){var n=e.appName,a=e.closeDrawer,r=e.helpdeskConfig;return t.createElement(z,{grow:1,display:"flex",extensionId:"staging"===e.env?"42":"11",loadingFallback:t.createElement(vn,{flex:1,axis:"vertical"},t.createElement($t,{closeDrawer:a},t.createElement(vn,{axis:"horizontal",spacing:1},t.createElement(tn,null,"Help and support"),t.createElement(gn,null)))),additionalComponents:{CalendlyWidget:T,DocumentationSearch:fn,DrawerHeader:$t,DrawerHeading:tn,ScrollContainer:ln,SwitchView:sn},args:{appName:n,closeDrawer:a,currentPageParams:location.search,helpdeskConfig:r}})},icons:{active:"general.questionCircle",static:"general.outlinedQuestionCircle"},name:"Helpdesk"},bn=["dark","style"],yn=function(e){var n=e.dark,a=e.style,r=K(e,bn);return t.createElement("div",J({style:J({color:n?mt.lightNeutral62:mt.lightNeutral24,fontSize:"12px",fontWeight:400,textTransform:"uppercase"},a)},r))},wn=function(e){var r,o,i,l,c,s,u=e.isRead,d=void 0!==u&&u,m=e.onClick,p=t.useRef(null),h=(r=p,i=(o=a(!1))[0],l=o[1],c=function(){return l(!0)},s=function(){return l(!1)},n(function(){var e=null==r?void 0:r.current;if(e)return e.addEventListener("mouseenter",c),e.addEventListener("mouseleave",s),function(){e.removeEventListener("mouseenter",c),e.removeEventListener("mouseleave",s)}},[r]),i);return t.createElement("div",J({ref:p,style:{alignItems:"center",display:"flex",height:"12px",justifyContent:"center",width:"12px"}},{onClick:m}),t.createElement("svg",{height:"12",viewBox:"0 0 12 12",width:"12"},t.createElement("title",null,"unread dot"),t.createElement("circle",{cx:"6",cy:"6",fill:h?mt.interaction66:mt.lightNeutral81,r:"6",style:{transition:"all 0.2s"}}),t.createElement("circle",{cx:"6",cy:"6",fill:mt.lightNeutral100,r:"5"}),!d&&t.createElement("circle",{cx:"6",cy:"6",r:"4",fill:mt.interaction66})))},Cn=function(e){var n=e.mobile,a=void 0!==n&&n,r=e.isLast,o=e.onCreateTask,i=e.onMarkAsRead,l=void 0===i?function(){try{return Promise.resolve({})}catch(e){return Promise.reject(e)}}:i,c=e.onToggleRead,s=e.showBottomBorder,u=e.notification,d=u.appName,m=u.createdAt,p=u.isRead,h=u.link,f=u.title,g=st(),v=g.organizationTimeZone,E=g.notificationsContextMenu,b=t.useState(!1),y=b[0],w=b[1],C={style:"relative"};return v&&(C.timeZone=v),t.createElement($e,{active:y,"data-turbolinks":!1,href:h,onClick:function(e){try{return w(!0),Promise.resolve(l(u)).then(function(){window.location.href=h})}catch(e){return Promise.reject(e)}},style:J({alignItems:"flex-start",borderBottom:s||!r?"1px solid "+(a?mt.lightNeutral24:mt.lightNeutral93):"none",cursor:"pointer",display:"flex",overflow:"hidden",padding:"12px 16px",textDecoration:"none",verticalAlign:"middle"},Ve)},t.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1,justifyContent:"center"}},t.createElement("div",{style:{alignItems:"center",borderLeft:"4px solid hsl("+({Calendar:"9 61% 50%","Check-Ins":"283 22% 48%",Giving:"43 88% 64%",Groups:"17 96% 62%",People:"220 74% 57%",Publishing:"220 12% 31%",Registrations:"175 36% 43%",Services:"88 45% 41%"}[d]||"0 0% 81%")+" / "+(p?"40%":"100%"),display:"flex",marginBottom:"10px",paddingLeft:"8px"}},t.createElement("div",{style:{flexGrow:1,marginRight:"16px"}},t.createElement(yn,{dark:a,style:{marginBottom:"6px",userSelect:"none"}},d),t.createElement("h1",{style:{color:a?mt.lightNeutral88:mt.darkNeutral12,fontSize:"16px",fontWeight:500,lineHeight:"1.3em",margin:0,userSelect:"none"}},f)),!a&&!E&&t.createElement(wn,J({onClick:function(e){e.preventDefault(),e.stopPropagation(),c()}},{isRead:p})),!a&&E&&t.createElement(S,{icon:{name:"general.threeDots"},title:"More options",variant:"naked",iconRight:null,placement:"bottom-end",onClick:function(e){e.stopPropagation()}},t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),c()}},"Mark ",p?"unread":"as read"),u.taskUrl?t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),window.location.href=u.taskUrl}},"Open task"):t.createElement(S.Item,{onClick:function(e){e.preventDefault(),e.stopPropagation(),o(u)}},"Create task"))),t.createElement("div",{style:{color:a?mt.lightNeutral62:mt.lightNeutral24,fontSize:"12px",paddingLeft:"12px",userSelect:"none"}},B.datetime(m,C))))},kn=function(e){var n=e.dark,a=void 0!==n&&n,r=e.description,o=e.title,i=void 0===o?"No notifications":o;return t.createElement(p,{alignment:"center",distribution:"center",padding:4},t.createElement(je,J({id:e.context},{dark:a})),t.createElement(w,{color:a?"#fafafa":"#3d3d3d",fontWeight:500,marginTop:1,size:3},i),t.createElement(h,{align:"center",color:a?"#fafafa":"#3d3d3d",size:4},r))},xn=function(e,t){var n,a,r,o,i,l,c,s,u=function(e,t){var n=e.type,a=e.id;return t.find(function(e){return e.type===n&&e.id===a})},d=null==(n=u(e.relationships.app.data,t.included))||null==(a=n.attributes)?void 0:a.name,m=JSON.parse(null==(r=u({id:null==e||null==(i=e.relationships)||null==(l=i.web_payloads)||null==(c=l.data[0])?void 0:c.id,type:"Payload"},t.included))||null==(o=r.attributes)?void 0:o.content);return{appName:d,createdAt:new Date(e.attributes.created_at),id:e.id,isRead:(null==(s=e.attributes.read_at)?void 0:s.length)>0,link:null==m?void 0:m.link,title:null==m?void 0:m.title}},An=["disabled","onClick","title"],Sn=function(e){var n=e.disabled,a=e.onClick,r=e.title,o=K(e,An);return t.createElement(p,J({color:n?mt.lightNeutral62:mt.interaction66,cursor:n?"default":"pointer",fontSize:5,fontWeight:600,userSelect:"none",onClick:!n&&a},o),r)},Zn=function(e){var n=J({},(X(e),e));return t.createElement(w,J({color:mt.lightNeutral12,lineHeight:2,size:5,textTransform:"uppercase",userSelect:"none"},n))},Pn={component:function(e){var n=e.closeDrawer,a=t.useState(!1),r=a[0],i=a[1],l={transition:"opacity 300ms ease-in-out"},s={entered:{opacity:1},entering:{opacity:.2}},u=fe.getState().notifications,d=function(e){var n=e.enabled,a=e.env,r=e.joltChannel,i=t.useState([]),l=i[0],s=i[1],u=t.useState(!0),d=u[0],m=u[1],p=t.useState(!1),h=p[0],f=p[1],g=function(e){var t=[].concat(e).sort(function(e,t){return e.createdAt<t.createdAt?1:-1}).reduce(function(e,t){return J({},e,t.isRead?{read:[].concat(e.read,[t])}:{unread:[].concat(e.unread,[t])})},{read:[],unread:[]});return{read:t.read,unread:t.unread}}(l),v=g.read,E=g.unread,b=function(){try{f(!1),te($,window.location.origin+"/~api/notifications/v2/me/notifications?include=app,web_payloads&per_page=100&order=read_at,-created_at").then(function(e){var t=e.json,n=t.data.map(function(e){return xn(e,t)});m(!1),s(n)})}catch(e){f(!0),console.error("topbar encountered error when fetching all notifications",e)}};t.useEffect(function(){n&&b()},[n]);var y=function(e){return"string"==typeof e.data?JSON.parse(e.data):e.data},w=t.useCallback(function(e){try{(function(e){try{try{return f(!1),Promise.resolve(te($,window.location.origin+"/~api/notifications/v2/me/notifications/"+e+"?include=app,web_payloads").then(function(e){return e.json}))}catch(e){f(!0),console.error("topbar encountered error when fetching a single notification",e)}return Promise.resolve()}catch(e){return Promise.reject(e)}})(y(e).data.id).then(function(e){var t=xn(e.data,e);s(function(e){return[].concat(e.filter(function(e){return e.id!==t.id}),[t])})})}catch(e){console.error("topbar encountered error when updating state from jolt message",e)}},[xn,y,b,v,s,E]),C=t.useCallback(function(e){var t=y(e),n=l.filter(function(e){return e.id!==t.data.id});s(n)},[y,l,s]);ce(n?r:void 0,"notifications.v2.events.notification.created",w),ce(n?r:void 0,"notifications.v2.events.notification.updated",w),ce(n?r:void 0,"notifications.v2.events.notification.destroyed",C);var k=function(e,t){try{var n=e.reduce(function(e,n){return[].concat(e,[{attributes:{action:t},id:n,type:"graph_notification"}])},[]);return Promise.resolve(te(ee,c(a)("api")+"/notifications/v2/me/bulk_update",{data:{data:{attributes:{},relationships:{notifications:{data:{source:"/included/graph_notification/*"}}},type:"BulkUpdate"},included:n},method:"POST"}).then(function(t){t.ok||(m(!1),f(!0),s(function(t){return t.map(function(t){return e.includes(t.id)?J({},t,{isRead:!t.isRead}):t})}))}))}catch(e){return Promise.reject(e)}},x=o(function(e){try{return Promise.resolve(te(ee,c(a)("api")+"/home/v2/me/task_lists/inbox/tasks",{data:{data:{attributes:{description:e.link?'<a href="'+e.link+'">Link</a>':void 0,title:e.title}}},method:"POST"}).then(function(t){t.ok&&s(function(n){return n.map(function(n){return e.id===n.id?J({},n,{taskUrl:t.json.data.links.html}):n})})}))}catch(e){return Promise.reject(e)}},[]);return{handleCreateTask:x,handleMarkAllAsRead:function(){var e=E.map(function(e){return e.id});s(function(t){return t.map(function(t){return e.includes(t.id)?J({},t,{isRead:!0}):t})}),k(E.map(function(e){return e.id}),"read")},handleMarkAsRead:function(e){try{return k([e.id],"read")}catch(e){return Promise.reject(e)}},handleToggleRead:function(e){try{var t=e.isRead?"unread":"read";return s(function(n){return n.map(function(n){return e.id==n.id?J({},n,{isRead:"read"===t}):n})}),k([e.id],t)}catch(e){return Promise.reject(e)}},hasError:h,isLoading:d,read:v,unread:E}}({enabled:u.enabled,env:u.env,joltChannel:u.joltChannel}),m=d.handleCreateTask,h=d.handleMarkAllAsRead,f=d.handleMarkAsRead,g=d.handleToggleRead,v=d.hasError,E=d.isLoading,b=d.read,y=d.unread;return t.createElement(t.Fragment,null,t.createElement($t,{closeDrawer:n},t.createElement(p,{spacing:.5},t.createElement(p,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(tn,null,"Notifications"),E&&t.createElement(Z,{color:"hsl(0 0% 62%)",thickness:2,trackColor:"hsl(0 0% 97%)"}),v&&t.createElement(De,{fill:"hsl(8 60% 47%)",size:16})),b.length>0&&t.createElement(Sn,{onClick:function(){return i(function(e){return!e})},title:(r?"Hide":"Show")+" read"}))),t.createElement(ln,null,t.createElement(p,{alignment:"stretch",spacing:2},t.createElement("div",{style:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"space-between",margin:0,padding:"4px 0"}},!E&&0===y.length&&t.createElement(kn,J({context:"toolbar",description:"When you have "+(b.length>0?"unread ":"")+"notifications they will show up here."},b.length>0&&{title:"No unread notifications"})),y.length>0&&t.createElement(p,{axis:"horizontal",alignment:"center",distribution:"space-between",padding:2},t.createElement(Zn,null,"Unread"),y.length>0&&t.createElement(Sn,{onClick:function(){return h()},title:"Mark "+y.length+" as read"})),t.createElement(D,{exit:!1},y.map(function(e,n){return t.createElement(F,{key:e.id,timeout:0},function(a){return t.createElement("div",{style:J({},l,s[a])},t.createElement(Cn,J({isLast:y.length===n+1,key:e.id,onMarkAsRead:f,onToggleRead:function(){return g(e)},onCreateTask:m,showBottomBorder:b.length>0},{notification:e})))})})),b.length>0&&r&&t.createElement(t.Fragment,null,t.createElement(Zn,{padding:2},"Read"),t.createElement(D,{exit:!1},b.map(function(e){return t.createElement(F,{key:e.id,timeout:0},function(n){return t.createElement("div",{style:J({},l,s[n])},t.createElement("div",{style:{opacity:.6}},t.createElement(Cn,J({key:e.id,onToggleRead:function(){return g(e)},onCreateTask:m,showBottomBorder:!0},{notification:e}))))})})))))))},icons:{active:"toolbar.notification",static:"toolbar.notificationO"},name:"Notifications"};function Mn(){var e=document.head.querySelectorAll('meta[property^="pco:"]'),t={};return e.forEach(function(e){var n,a=e.getAttribute("property");t[a.substring("pco:".length)]="boolean"===(n=e).getAttribute("datatype")?"true"===n.content||"1"===n.content:n.content}),t}var Nn=he(Mn()),Vn=new MutationObserver(function(){var e=Nn.getState(),t=Mn();de(e,t)||Nn.setState(t)}),Hn=!1,zn=["children","badge","onClick"],_n=_.LoadingIndicator,Ln=_.StackView;function Tn(e){var n=e.children,a=e.badge,r=e.onClick,o=K(e,zn);return t.createElement(p,J({as:"button",axis:"horizontal",distribution:"space-between",alignment:"center",paddingBottom:.75,onClick:function(){return r()},spacing:1},o),n,a&&t.createElement(P,J({size:"sm",fontWeight:"600"},a)))}function On(e){var n=e.onMessage,a=e.requestedJoltChannel,r=e.joltPromise,o=e.env,i=st().disconnectJoltOnUnmount,l=re(r),c=oe({channelName:null==a?void 0:a.channelName,disconnectJoltOnUnmount:i,enabled:!!a,env:o,fetchSubscribeToken:function(e){try{return Promise.resolve(te(ee,a.subscribeUrl,{data:{data:{attributes:{connection_id:e}}},method:"POST"})).then(function(e){return e.json.data.id})}catch(e){return Promise.reject(e)}},joltPromise:r});return t.createElement(l?In:Rn,{channel:c,onMessage:n})}function In(e){return ce(e.channel,"*",e.onMessage),null}function Rn(e){return ce(e.channel,"",e.onMessage),null}var jn={component:function(e){var n=e.closeDrawer,r=e.env,i=e.isOpen,l=e.joltPromise,c=e.onReceiveWorker,u=e.openDrawer,d=e.currentPath,m=e.onChangePath,p=(Hn||(Hn=!0,Vn.observe(document.head,{attributes:!0,childList:!0,subtree:!0})),s(Nn.subscribe,function(){return Nn.getState()})),h=a(),f=h[0],g=h[1],v=a(),E=v[0],b=v[1],y=o(function(e){g(J({},e,{timestamp:(new Date).getTime()}))},[]),w=o(function(e,t){var n;if(void 0===t&&(t={}),null==(n=window)||!n.pendo)return console.warn("`window.pendo` is undefined");window.pendo.track(e,t)},[]);return t.createElement(t.Fragment,null,t.createElement(On,{onMessage:y,requestedJoltChannel:E,joltPromise:l,env:r}),t.createElement(z,{grow:1,display:"flex",extensionId:"staging"===r?"41":"2",onReceiveWorker:c,loadingFallback:t.createElement(Ln,{flex:1,axis:"vertical"},t.createElement($t,{closeDrawer:n},t.createElement(Ln,{axis:"horizontal",spacing:1},t.createElement(tn,null,"To do"),t.createElement(_n,null)))),additionalComponents:{DrawerHeader:$t,DrawerHeading:tn,NavLinkWithBadge:Tn,ScrollContainer:ln,SwitchView:sn},args:{closeDrawer:n,currentPath:d,isOpen:i,latestJoltMessage:f,onChangePath:m,openDrawer:u,pcoMeta:p,requestJoltChannel:b,trackPendo:w}}))},icons:{active:"toolbar.checklist",static:"toolbar.checklistO"},name:"Tasks"};function Un(e){return t.createElement($t,{closeDrawer:e.closeDrawer},t.createElement(p,{alignment:"center",axis:"horizontal",spacing:1},t.createElement(tn,null,"Chat"),t.createElement(Z,{color:"hsl(0 0% 62%)",thickness:2,trackColor:"hsl(0 0% 97%)"})))}function Dn(e,t){var a=t.messageType,r=t.allowedOrigin;n(function(){var t=function(t){t.origin===r&&t.data.type===a&&e(t)};return window.addEventListener("message",t),function(){window.removeEventListener("message",t)}},[])}function Fn(e){var r=e.env,l=e.closeDrawer,s=e.currentPath,u=e.onChangePath,d=a(!0),m=d[0],p=d[1],h=function(e){var t=e.currentPath,r=e.setFragmentRoute,l=e.env,s=a(t),u=s[0],d=s[1],m=c(l)("chat"),p=i(t);return Dn(o(function(e){var t=e.data.payload.replace(/^\/?topbar/,"").replace(/^\/+/,"");p.current=t,r(t)},[r]),{allowedOrigin:m,messageType:"NEW_ROUTE_RENDERED"}),n(function(){p.current!==t&&d(t)},[t]),[m,"topbar",u].filter(Boolean).join("/")}({currentPath:s,env:r,setFragmentRoute:u});return Dn(l,{allowedOrigin:c(r)("chat"),messageType:"CLOSE_DRAWER"}),t.createElement(t.Fragment,null,m&&t.createElement(Un,{closeDrawer:l}),t.createElement(y,{onLoad:function(){return p(!1)},as:"iframe",src:h,title:"Chat",width:"100%",height:"100%"}))}var Bn={component:function(e){var n=e.pcoChatEnabled,a=n?Fn:W.component;return"blankstate"===e.currentPath||null===n?t.createElement(Un,{closeDrawer:e.closeDrawer}):t.createElement(a,J({},e))},icons:{active:"general.textMessage",static:"general.outlinedTextMessage"},name:"Chat"},Wn=["token"],qn=function(){},Jn={Chat:Bn,Notifications:Pn,Tasks:jn},Gn=Object.fromEntries(Object.entries(Jn).map(function(e){var t=e[1];return[e[0].toLowerCase(),t]}));function Xn(i){var l,s,g,E,b,w,x,A,S,Z,P=i.appName,M=i.autoMountTool,N=i.enableJoltLogging,V=i.env,H=i.helpdeskConfig,z=void 0===H?{}:H,_=i.linkToProfile,T=void 0===_||_,O=i.userAvatarPath,I=i.userName,R=i.onReceiveTasksWorker,j=i._storeDataOverride,U=(x=function(e){var t=r(function(){return new RegExp(e+"=([^&]+)")},[e]),i=o(function(e){var n=e.match(t);return n?n[1]:null},[t]),l=a(function(){return i(location.hash)}),c=l[0],s=l[1],u=o(function(e){s(i(e))},[]);return n(function(){function e(){u(location.hash)}return window.addEventListener("hashchange",e),function(){return window.removeEventListener("hashchange",e)}},[u]),[c,u]}("toolbar"),A=x[0],Z=o(function(e,t){void 0===t&&(t="");var n="#toolbar="+e+"/"+t;history.replaceState(void 0,void 0,n),S(n)},[S=x[1]]),[r(function(){if(A){var e=A.split("/"),t=e[0];return{path:e.slice(1).join("/"),tool:t}}return null},[A]),Z,o(function(){history.replaceState(void 0,void 0,"#"),S("")},[])]),D=U[0],F=U[1],B=U[2],W=(E="topbarToolbarToolState",b=a(function(){return function(e){var t=document.cookie.split(";").map(function(e){return e.trim()}).find(function(t){return t.startsWith(e+"=")});return t&&decodeURIComponent(t.split("=")[1])}(E)}),w=b[1],l=[b[0],o(function(e){document.cookie=E+"="+encodeURIComponent(e)+"; "+Yt,w(e)},[E])],g=l[1],[r(function(){if(!s)return{};try{return JSON.parse(s)}catch(e){return{}}},[s=l[0]]),o(function(e){return g(JSON.stringify(e))},[g])]),q=W[0],G=W[1],X=e.useReducer(dn,J({},un,{currentContent:M?Jn[M]:null})),Y=X[0],Q=X[1],ne=Y.currentContent,ae=Y.open,re=!!ne,ie=J({},st(),"development"===V&&null!=j?j:{}),le=ie.chatEnabled,se=ie.disconnectJoltOnUnmount,ue=ie.hasConnectedPeople,me=ie.indicatorVisible,pe=ie.joltPromise,he=ie.userId;t.useEffect(function(){ae?(document.body.style.overflow="hidden",window.scrollTo(0,0)):document.body.style.overflow="auto"},[ae]),t.useEffect(function(){return window.openHelpdesk=function(){return Le(En)},function(){delete window.openHelpdesk}},[En]);var fe=Dt({appName:P.replace(/[\s-]/,""),env:V,userId:he}),ge=c(V)("login")+"/logout",ve="/people/AC"+he,be=En,ye=null!=z&&z.onClick?z.onClick:function(){return xe(be)},we=o(function(e){Q({payload:{content:e},type:nn.mount}),setTimeout(function(){return Q({type:nn.open})})},[]),Ce=o(function(e){e.name.toLowerCase()in Gn?F(e.name.toLowerCase(),q[e.name.toLowerCase()]):(B(),we(e))},[F,B,we,q]),ke=o(function(){B(),Q({type:nn.close}),setTimeout(function(){return Q({type:nn.unmount})},100)},[B]);t.useEffect(function(){var e;if(D){var t=J({},q,((e={})[D.tool]=D.path,e));de(t,q)||G(t)}},[D,q]),t.useEffect(function(){null==D||!D.tool||ne===Gn[D.tool]&&ae||we(Gn[D.tool])},[we,null==D?void 0:D.tool,ne,ae]);var xe=function(e){return ae&&(null==ne?void 0:ne.name)===e.name?ke():Ce(e)},Ae=function(e){var t=e.disconnectJoltOnUnmount,r=e.enableJoltLogging,o=e.env,i=e.userId,l=e.isEnabled,s=e.joltPromise,u=e.onConnectionFailure,d=void 0===u?qn:u,m=a(null),p=m[0],h=m[1],f=a(null),g=f[0],v=f[1],E=a(!1),b=E[0],y=E[1],w=a(0),C=w[0],k=w[1],x=oe({channelName:"chat.people."+i,disconnectJoltOnUnmount:t,enableJoltLogging:r,enabled:l,env:o,fetchSubscribeToken:function(e){try{var t=c(o)("api")+"/chat/v2/me/jolt_subscribe";return Promise.resolve(te(ee,t,{data:{data:{attributes:{cid:e}}},method:"POST"}).then(function(e){return e.json.data.id}))}catch(e){return Promise.reject(e)}},joltPromise:s}),A=function(){return function(){try{var e=c(o)("api")+"/chat/v2/me",t="?include=stream_user&context=linked_accounts&fields[Person]="+["pco_chat_enabled","satisfies_age_check_requirements","display_chat_icon","unread_count"].join(",")+"&fields[StreamUser]="+["api_key","token","unread"].join(",");return Promise.resolve(te($,""+e+t)).then(function(e){return e.json})}catch(e){return Promise.reject(e)}}().then(function(e){var t=e.included,n=e.data.attributes,a=n.pco_chat_enabled,r=n.display_chat_icon;k(n.unread_count),v(a),y(r);var i=t.find(function(e){return"StreamUser"===e.type}),l=i.id,s=i.attributes,u=s.token,m=K(s,Wn);u?h(function(e){return J({id:l},e,m,{tokenProvider:function(){return Promise.resolve(function(){try{var e=c(o)("api")+"/chat/v2/me/stream_user";return Promise.resolve(te($,e+"?context=linked_accounts&fields[StreamUser]=token")).then(function(e){return e.json.data})}catch(e){return Promise.reject(e)}}()).then(function(e){return e.attributes.token})}})}):(d(),h(null))}).catch(qn)};return ce(l?x:void 0,"STREAM_USER_UPDATED",A),n(function(){l&&A()},[l]),{chatStreamUser:p,displayChatIcon:b,pcoChatEnabled:g,unreadIndicator:g?C>0:null==p?void 0:p.unread}}({disconnectJoltOnUnmount:se,enableJoltLogging:N,env:V,isEnabled:Boolean(he&&le),joltPromise:pe,onConnectionFailure:function(){return ne===Bn&&ke()},userId:he}),Se=Ae.chatStreamUser,Ze=Ae.pcoChatEnabled,Pe=Ae.unreadIndicator,Me=[Pn,jn,Ae.displayChatIcon&&Bn].filter(Boolean),Ne={component:function(){return function(e){var n=e.closeDrawer,a=e.linkToProfile,r=e.loginSettingsUrl,o=e.logoutUrl,i=e.profileUrl,l=e.userAvatarPath,c=st(),s=c.mfaConfigured,u=c.mfaEnabled,g=c.name;return t.createElement(p,{axis:"vertical",spacing:t.createElement(d,null)},t.createElement(C,{columns:"auto 1fr auto",alignment:"start",spacing:2,padding:2,paddingTop:1,width:"100%"},t.createElement(k,{source:l,size:"md"}),t.createElement(p,{axis:"vertical",spacing:1,grow:0,shrink:1},t.createElement(tn,{paddingTop:.5,lineHeight:3.25},g),a&&t.createElement(v,{to:i,style:{color:mt.lightNeutral45},size:3},"My profile"),u&&t.createElement(t.Fragment,null,t.createElement(v,{to:r,style:{color:mt.lightNeutral45},size:3},"My login settings"),t.createElement(p,{axis:"horizontal",alignment:"center",spacing:.5,width:"100%"},t.createElement(f,{name:s?"general.lock":"general.unlock",size:"sm",color:s?mt.success25:mt.danger45}),t.createElement(h,{size:5,weight:400,color:mt.lightNeutral62,wrap:!0},"Two-step verification ",s?"active":"inactive")))),t.createElement(m,{icon:{fill:mt.lightNeutral24,name:"general.x",size:"md"},onClick:n,title:"Close",variant:"naked",theme:!1,marginTop:.25,hover:{backgroundColor:mt.lightNeutral95}})),t.createElement("form",{method:"POST",action:o},t.createElement(m,{"data-turbolinks":!1,onClick:function(){Ee()},style:{padding:0},theme:!1,type:"submit",width:"100%"},t.createElement(p,{distribution:"space-between",alignment:"center",axis:"horizontal",grow:1,paddingHorizontal:3,paddingVertical:2},t.createElement(h,{color:mt.lightNeutral45,size:3},"Log out"),t.createElement(f,{name:"general.intoBox",fill:mt.lightNeutral45})))))}({closeDrawer:ke,linkToProfile:T,loginSettingsUrl:fe,logoutUrl:ge,profileUrl:ve,userAvatarPath:O})},name:"Profile"},Ve=function(e){var t=function(e){return"undefined"!=typeof window&&window.matchMedia(e).matches},r=a(t(e)),o=r[0],i=r[1];function l(){i(t(e))}return n(function(){var t=window.matchMedia(e);return l(),t.addListener?t.addListener(l):t.addEventListener("change",l),function(){t.removeListener?t.removeListener(l):t.removeEventListener("change",l)}},[e]),o}("(max-width: 599px)"),He=t.useState(0),ze=He[0],_e=He[1];t.useLayoutEffect(function(){var e=function(){_e(window.innerHeight)};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]);var Le=function(e){var t;Ce(e),null==(t=document.getElementById("toolbarDrawer"+e.name))||t.scrollTo({behavior:"smooth",top:0})},Te={Chat:{chatStreamUser:Se,hasConnectedPeople:ue,pcoChatEnabled:Ze},Tasks:{onReceiveWorker:R}},Oe=o(function(e){F(null==ne?void 0:ne.name.toLowerCase(),e)},[null==ne?void 0:ne.name]),Ie=J({appName:P,closeDrawer:ke,currentPath:(null==D?void 0:D.tool)&&Gn[D.tool]===ne?null==D?void 0:D.path:null,env:V,helpdeskConfig:z,isOpen:ae,joltPromise:pe,onChangePath:Oe,openDrawer:function(){return ne&&Ce(ne)},userId:he},ne?Te[ne.name]:{}),Re=J({},me,{Chat:Pe});return t.createElement(u,{theme:Bt},t.createElement(L,null,Ve?t.createElement(t.Fragment,null,t.createElement(p,{left:0,position:"absolute",right:0,pointerEvents:"none",style:{minHeight:ze},top:0,zIndex:10001},t.createElement(p,{alignItems:"start",axis:"horizontal",backgroundColor:"white",borderTopColor:"separatorTertiary",borderTopWidth:1,bottom:0,distribution:"fill",height:"calc(52px + env(safe-area-inset-bottom))",left:0,position:"fixed",pointerEvents:"auto",right:0},t.createElement(p,{alignment:"center",flex:"1",position:"relative"},t.createElement(m,{css:{WebkitTapHighlightColor:"transparent"},color:ae?mt.lightNeutral62:mt.lightNeutral24,hover:{color:mt.lightNeutral24},icon:{name:ae?"toolbar.planningCenterO":"toolbar.planningCenter",size:"20px"},onClick:function(){return ke()},padding:2,theme:!1,title:"Home"})),[be].concat(Me).map(function(e){return t.createElement(p,{alignment:"center",flex:"1",key:e.name,position:"relative"},t.createElement(m,{id:"toolbar-"+e.name.toLowerCase(),"aria-label":""+e.name,color:ae&&ne===e?mt.lightNeutral24:mt.lightNeutral62,css:{WebkitTapHighlightColor:"transparent"},hover:{color:mt.lightNeutral24},key:e.name,onClick:function(){return Le(e)},paddingHorizontal:2,paddingVertical:2,theme:!1},t.createElement(y,{position:"relative"},Re[e.name]&&t.createElement(an,{right:-.5,top:-.5}),t.createElement(f,{name:ae&&ne===e?e.icons.active:e.icons.static,size:"20px"}))))}))),re&&t.createElement(Qt,{id:"toolbarDrawer"+ne.name,bottom:"52px",height:ae?"calc(100% - 52px)":"0px",overflow:"auto",position:"absolute"},t.createElement(ne.component,J({},Ie)))):t.createElement(p,{height:"100%",position:"absolute",right:0,width:ae?"calc(360px + 48px)":"48px",transition:"all 100ms ease-in-out"},t.createElement(p,{backgroundColor:"surface",borderLeftColor:"separatorTertiary",borderLeftWidth:1,grow:1,paddingVertical:1,spacing:t.createElement(d,{margin:1.5}),zIndex:2,position:"absolute",right:0,height:"100%",width:"48px"},t.createElement(p,{alignment:"center","data-pendo":"toolbar-profile-support-wrapper",spacing:2},t.createElement(m,{"data-pendo":"toolbar-profile",onClick:function(){return xe(Ne)},radius:0,theme:!1},t.createElement(k,{alt:I+"'s avatar",hover:{outlineColor:mt.lightNeutral62},outlineColor:ae&&re&&"Profile"==ne.name?mt.lightNeutral62:"transparent",outlineOffset:"2px",outlineStyle:"solid",outlineWidth:"2px",size:"sm",source:O})),t.createElement(Kn,{currentContent:ne,indicatorState:Re,key:be.name,onClick:ye,open:ae,tool:be})),t.createElement(p,{alignment:"center",spacing:2},Me.map(function(e){return t.createElement(Kn,{currentContent:ne,indicatorState:Re,key:e.name,onClick:function(){return xe(e)},open:ae,tool:e})}))),re&&t.createElement(Qt,{hasShadow:!0,id:"toolbarDrawer"+ne.name,width:"360px"},t.createElement(ne.component,J({},Ie))))))}var Kn=function(e){var n=e.currentContent,a=e.indicatorState,r=e.onClick,o=e.open,i=e.tool;return t.createElement(y,{"data-pendo":"toolbar-"+i.name.toLowerCase(),key:i.name,position:"relative"},a[i.name]&&t.createElement(an,{right:.25,top:.25}),t.createElement(m,{id:"toolbar-"+i.name.toLowerCase(),color:o&&n===i?mt.lightNeutral24:mt.lightNeutral62,hover:{color:mt.lightNeutral24},icon:{name:o&&n===i?i.icons.active:i.icons.static,size:"20px"},key:i.name,onClick:r,title:"Open "+i.name+" drawer",theme:!1}))};export{ge as AppsProvider,Re as BellIcon,ye as ConnectedPeopleProvider,Ce as DisplaySwitch,wt as NotSmallRoute,yt as NotSmallTopbar,Zt as PlatformAnnouncements,St as PlatformAnnouncementsStyleProvider,zt as ProductAnnouncement,_t as ProductAnnouncementStyleProvider,Xt as SmallRoute,Gt as SmallTopbar,Fe as SpyglassIcon,At as StyledPlatformAnnouncement,Lt as StyledProductAnnouncement,Tt as StyledProductAnnouncementDimissButton,sn as SwitchView,Xn as Toolbar,Be as XIcon,ve as mapApps,ee as railsCsrfFetch};
|
|
2
2
|
//# sourceMappingURL=topbar.module.js.map
|