1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[9313],{323643(e,n,a){a.d(n,{CustomizeSpaceDrawerCompass:()=>p});var s=a(391426),o=a(398061),i=a(791009),t=a(417980),l=a(66108),c=a(177631),r=a(605274),d=a(739042),h=a(987858),m=function(e){var n=e.children,a=e.isLockscreenTabActive,o=e.isMembersTabActive;return a?(0,s.jsx)("div",{className:"-mb-8 -mx-6 min-h-0 flex-1",children:n}):o?(0,s.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden",children:n}):(0,s.jsx)(s.Fragment,{children:n})},C=a(335307),f=a(858353),u=a(213408),b=a(351365),v=a(671449),g=function(e){var n=e.isSaving,a=e.title,o=(0,b.lB)(),c=o.currentTab,g=o.hasLockscreenUnsavedChanges,x=o.hasUnsavedChanges,p=o.isImageProcessing,j=o.isLockscreenSaving,T=o.isNotificationsConfirmModalOpen,y=o.isTabChangeConfirmModalOpen,S=o.scrollToId,_=o.scrollToKey,M=o.tabs,k=(0,b.jN)(),I=k.closeModal,O=k.closeNotificationsConfirmModal,N=k.closeTabChangeConfirmModal,L=k.confirmTabChange,A=k.handleNotificationsScopeSelect,D=k.setCurrentTab,z=(0,f.mJ)(c),B=(0,f.PD)(c),F=(0,r.J6)(),w=(0,f.pL)(c),R=B?h.Y:h.O,J=B?j:n,K=B?g:x,P=z&&(!B||F);return(0,v.F)({scrollToId:S,scrollToKey:_}),(0,s.jsxs)(i.a.Content,{children:[(0,s.jsx)(i.a.Header,{title:a,showCloseButton:!0,tabs:M,selectedTabValue:c,onTabValueChange:D,tabSize:"md"}),(0,s.jsx)(i.a.Body,{customLayout:B||w,children:(0,s.jsx)(m,{isLockscreenTabActive:B,isMembersTabActive:w,children:(0,s.jsx)(C.M,{})})}),(0,s.jsx)(u.Q,{isOpen:T,onClose:O,onSelectNotificationScope:A}),(0,s.jsx)(l.R,{isOpen:y,title:(0,t.t)("unsaved_changes_label"),onClose:N,onCancel:N,onConfirm:L,confirmText:(0,t.t)("confirm"),children:(0,t.t)("unsaved_tab_change_message")}),P&&(0,s.jsx)(i.a.Footer,{startContent:K?(0,s.jsx)(d.$,{type:"button",variant:"ghost",size:"sm",disabled:!0,tabIndex:-1,children:(0,t.t)("unsaved_changes_label")}):void 0,secondaryAction:{label:(0,t.t)("cancel"),onClick:function(){return I({refetch:!1})},shouldCloseModal:!1},primaryAction:{disabled:p,form:R,label:(0,t.t)("save_changes"),loading:J,type:"submit"}})]})},x=a(722241),p=function(e){var n,a=e.open,r=e.onOpenChange,d=e.refetch,h=e.spaceId,m=e.initialTab,C=e.onTabChange,f=e.scrollToId,u=(0,x.n)({spaceId:h,refetch:d,onClose:function(){return r(!1)}}),v=u.closeConfirmModal,p=u.confirmCloseModal,j=u.handleDirtyStateChange,T=u.isCloseConfirmOpen,y=u.isSaving,S=u.onSave,_=u.requestClose,M=u.tabs,k=u.space,I=m?null==(n=M.find(function(e){return e.label===m}))?void 0:n.value:void 0;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.a.Root,{open:a,onOpenChange:function(e){e||_({refetch:!0})},size:"full-screen",children:k?(0,s.jsx)(o.Yy,{spaceId:k.id,children:(0,s.jsx)(b.ax,{initialTab:I,onClose:_,onDirtyStateChange:j,onSave:S,onTabChange:C,scrollToId:f,tabs:M,space:k,children:(0,s.jsx)(g,{isSaving:y,title:k.name})})}):(0,s.jsx)(i.a.Content,{children:(0,s.jsx)(i.a.Body,{customLayout:!0,children:(0,s.jsx)("div",{className:"flex h-full items-center justify-center bg-primary",children:(0,s.jsx)(c.D,{})})})})}),(0,s.jsx)(l.R,{isOpen:T,title:(0,t.t)("unsaved_changes_label"),onClose:v,onCancel:v,onConfirm:p,confirmText:(0,t.t)("confirm"),children:(0,t.t)("prevent_accidental_leave_message")})]})}}}]); 2//# sourceMappingURL=/packs/js/CustomizeSpaceDrawerCompassComponent-2c257eba30d712f4.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.