Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/socialnetwork/slider/ |
Upload File : |
(function(){if(window.top!==window){return}if(!BX.type.isNotEmptyString(BX.message("SONET_SLIDER_USER_SEF"))||BX.message("SONET_SLIDER_INTRANET_INSTALLED")!=="Y"){return}const e=("/"+(BX.message.SITE_DIR||"/").replace(/[\\*+?.()|[\]{}]/g,"\\$&")+"/").replace(/\/+/g,"/");const o=BX.Extension.getSettings("socialnetwork.slider").get("isSpacesAvailable")==="Y";const n=[{condition:[BX.message("SONET_SLIDER_USER_SEF")+"user/(\\d+)/groups/create/"],loader:"group-loader",options:{width:1200}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/edit/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:1200,loader:"/bitrix/js/socialnetwork/slider/images/group.svg"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/invite/",BX.message("SONET_SLIDER_SPACES_SEF")+"group/(\\d+)/invite/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:950,loader:"group-invite-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/features/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:800,loader:"group-features-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/card/"],loader:"socialnetwork:group-card",options:{width:900}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/users/",BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/moderators/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:1200,loader:"group-users-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/user_request/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:800,loader:"group-user-request-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/user_leave/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:800,loader:"group-user-leave-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/requests/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:1200,loader:"group-requests-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/requests_out/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:1200,loader:"group-requests-out-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/delete/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:800,loader:"group-delete-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}},{condition:[BX.message("SONET_SLIDER_GROUP_SEF")+"group/(\\d+)/copy/"],handler:function(e,o){BX.SidePanel.Instance.open(o.url,{width:1e3,loader:"group-copy-loader"});BX.SocialnetworkUICommon.closeGroupCardMenu(o.anchor);e.preventDefault()}}];n.push({condition:[new RegExp(`${e}workgroups/group/[0-9]+/$`,"i")],options:{contentClassName:"bitrix24-group-slider-content",loader:"intranet:slider-livefeed",cacheable:false,customLeftBoundary:0,newWindowLabel:true,copyLinkLabel:true}},{condition:[new RegExp(`${e}workgroups/group/[0-9]+/tasks/$`,"i")],options:{contentClassName:"bitrix24-group-slider-content",loader:"intranet:slider-projects-tasklist",cacheable:false,customLeftBoundary:0,newWindowLabel:true,copyLinkLabel:true}},{condition:[new RegExp(`${e}workgroups/group/[0-9]+/\\?scrum=Y$`,"i"),new RegExp(`${e}workgroups/group/[0-9]+/tasks/\\?scrum=Y$`,"i")],options:{contentClassName:"bitrix24-group-slider-content",loader:"intranet:slider-scrum",cacheable:false,customLeftBoundary:0,newWindowLabel:true,copyLinkLabel:true}});n.push({condition:["(?<url>/spaces/group/(\\d+)/tasks/task/view/(?<taskId>\\d+)/)","(?<url>/spaces/group/(\\d+)/tasks/task/edit/(?<taskId>\\d+)/)"],minimizeOptions:e=>({entityType:"tasks:task",entityId:e.matches.groups.taskId,entityName:BX.message("INTRANET_BINDINGS_TASK"),url:e.matches.groups.url}),loader:"intranet:task-detail",options:{label:{text:BX.message("INTRANET_BINDINGS_TASK"),bgColor:"#2FC6F6"}}});BX.SidePanel.Instance.bindAnchors({rules:n})})(); //# sourceMappingURL=socialnetwork.slider.map.js