PageSourceSearch

https://umcmrg.ru/_next/static/chunks/pages/control-panel/export/pao-standard-using-c4dfd5d339349b9b.js

js umcmrg.ru collected 2026-10-08 15:56:12 UTC 10,695 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6575],{1849:function(e,n,t){"use strict";var i=t(64836);n.Z=void 0;var r=i(t(64938)),s=t(85893);n.Z=(0,r.default)((0,s.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh")},66382:function(e,n,t){"use strict";var i=t(64836);n.Z=void 0;var r=i(t(64938)),s=t(85893);n.Z=(0,r.default)((0,s.jsx)("path",{d:"M15 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V9zM5 19V5h9v5h5v9zM9 8c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1m0 4c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1m0 4c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1"}),"SummarizeOutlined")},17650:function(e,n,t){"use strict";var i=t(64836);n.Z=void 0;var r=i(t(64938)),s=t(85893);n.Z=(0,r.default)((0,s.jsx)("path",{d:"m12 16 4-4h-3V3h-2v9H8zm9-13h-6v1.99h6v14.03H3V4.99h6V3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-9 13 4-4h-3V3h-2v9H8zm9-13h-6v1.99h6v14.03H3V4.99h6V3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"SystemUpdateAltOutlined")},742:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/control-panel/export/pao-standard-using",function(){return t(38984)}])},49394:function(e,n,t){"use strict";var i=t(85893),r=t(67294),s=t(11163),a=t(9038),o=t(73669),l=t(13245),c=function(e){var n=(0,s.useRouter)(),t=(0,o.E)(),c=(0,r.useState)(!1),u=c[0],d=c[1],h=function(){(0,l.v)({type:"error",message:"У Вас недостаточно прав доступа к этой странице!",duration:5e3}),n.back()};return(0,r.useLayoutEffect)(function(){t.userPrivileges||h(),e.privileges.includes("all")?d(!0):e.privileges.includes(t.userPrivileges)?d(!0):h()},[n,t.userPrivileges,t.userDataFetchingState]),(0,i.jsx)(r.Fragment,{children:u?e.children:(0,i.jsxs)("div",{style:{width:"100vw",height:"100vh",display:"flex",flexDirection:"row",gap:"2rem",alignItems:"center",justifyContent:"center"},children:[(0,i.jsx)(a.Z,{}),(0,i.jsx)(a.Z,{}),(0,i.jsx)(a.Z,{})]})})};n.Z=c},41385:function(e,n,t){"use strict";var i=t(26042),r=t(85893),s=t(68269),a=t(34179),o=function(e){return(0,r.jsxs)(s.Z,{direction:"row",alignItems:"center",justifyContent:"space-evenly",sx:(0,i.Z)({width:"100%",height:"150px"},e.sx),gap:1.5,children:[(0,r.jsx)(a.Z,{size:e.loadersSize||40})," ",(0,r.jsx)(a.Z,{size:e.loadersSize||40})," ",(0,r.jsx)(a.Z,{size:e.loadersSize||40})]})};n.Z=o},34179:function(e,n,t){"use strict";var i=t(14924),r=t(26042),s=t(69396),a=t(85893),o=t(5616),l=t(66489),c=t(22346),u=function(e){return e.iconVariant?(0,a.jsx)(l.Z,{value:e.variant?void 0!==e.value?e.value:80:void 0,variant:e.variant||"indeterminate",disableShrink:void 0===e.disableShrink||e.disableShrink,size:e.size||24,thickness:e.thickness||8,sx:(0,s.Z)((0,r.Z)({},e.sx),(0,i.Z)({color:e.secondaryColor?function(n){return"light"===n.palette.mode?e.secondaryColor.lightTheme:e.secondaryColor.darkTheme}:function(e){return"light"===e.palette.mode?"#1a90ff":"#308fe8"},animationDuration:e.animationDuration||"600ms",position:"absolute",top:"50%",left:"50%",marginTop:"-12px",marginLeft:"-12px"},"& .".concat(c.Z.circle),{strokeLinecap:"round"}))}):(0,a.jsxs)(o.Z,{sx:(0,s.Z)((0,r.Z)({},e.sx),{position:"relative",display:"inline",width:"fit-content",height:"fit-content"}),children:[(0,a.jsx)(l.Z,{variant:"determinate",size:e.size||24,thickness:e.thickness||4,value:100,sx:{color:e.secondaryColor?function(n){return"light"===n.palette.mode?e.secondaryColor.lightTheme:e.secondaryColor.darkTheme}:function(e){return e.palette.grey["light"===e.palette.mode?200:800]}}}),(0,a.jsx)(l.Z,{variant:e.variant||"indeterminate",size:e.size||24,disableShrink:void 0===e.disableShrink||e.disableShrink,thickness:e.thickness||4,value:e.variant?void 0!==e.value?e.value:80:void 0,sx:(0,i.Z)({color:e.color?function(n){return"light"===n.palette.mode?e.color.lightTheme:e.color.darkTheme}:function(e){return"light"===e.palette.mode?"#1a90ff":"#308fe8"},animationDuration:e.animationDuration||"600ms",position:"absolute",left:0},"& .".concat(c.Z.circle),{strokeLinecap:"round"})})]})};n.Z=u},38984:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return T},default:function(){return V}});var i=t(85893),r=t(9008),s=t.n(r),a=t(67294),o=t(49394),l=t(81784),c=t(828),u=t(60660),d=t(76638),h=t(74682),x=t(1849),f=t(66382),m=t(17650),p=t(12963),_=t(68269),b=t(69417),g=t(67720),v=t
1(15861),y=t(41664),j=t.n(y),Z=t(73669),S=t(41385),C=t(47568),k=t(51438),z=t(97582),w=t(13245),I=t(79479),E=function(){function e(){(0,k.Z)(this,e)}return e.exportAllFeedbacks=function(e){return(0,C.Z)(function(){return(0,z.__generator)(this,function(n){switch(n.label){case 0:var t;return[4,e.post("".concat("https://api.umcmrg.ru","/pao-standard-using/export"),{},{responseType:"blob"}).then(function(e){return(0,I.HY)(new Blob([e.data],{type:"application/vnd.ms -excel"}),"О возможности использования стандарта ПАО")}).catch((t=(0,C.Z)(function(e){var n,t,i,r;return(0,z.__generator)(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,new Blob([e.response.data]).text()];case 1:return n=s.sent().split('"message":"')[1],(0,w.v)({message:n.split('"}')[0],type:"error"}),[3,3];case 2:return s.sent(),"object"==typeof e.response&&"error"in e.response?(0,w.v)({message:null===(t=e.response.error.data)||void 0===t?void 0:t.message,type:"error"}):(0,w.v)({message:(null===(i=e.response)||void 0===i?void 0:null===(r=i.data)||void 0===r?void 0:r.message)||"Ошибка выполнения экспорта данных!",type:"error"}),[3,3];case 3:return[2]}})}),function(e){return t.apply(this,arguments)}))];case 1:return[2,n.sent()]}})})()},e}(),L=t(4441),N=t.n(L),H=function(){var e=function(){t.current||(t.current=!0,o(!0),n.authInstance.get("pao-standard-using/all").then(function(e){C(e.data)}).catch(function(e){}).finally(function(){t.current=!1,o(!1)}))},n=(0,Z.E)(),t=a.useRef(!1),r=(0,c.Z)(a.useState(!1),2),s=r[0],o=r[1],l=(0,c.Z)(a.useState(),2),y=l[0],C=l[1];a.useEffect(function(){e()},[]);var k=a.useCallback(function(){t.current||(t.current=!0,E.exportAllFeedbacks(n.authInstance).finally(function(){return t.current=!1}))},[]);return(0,i.jsxs)("section",{className:N().mainContainer,children:[(0,i.jsxs)("div",{className:N().headerContainer,children:[(0,i.jsxs)(p.Z,{"aria-label":"breadcrumb",className:"mrgBreadcrumb",children:[(0,i.jsx)(j(),{href:"/",children:(0,i.jsxs)("a",{children:[(0,i.jsx)(d.Z,{sx:{mr:.5},fontSize:"inherit"}),"Главная"]})}),(0,i.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:[(0,i.jsx)(h.Z,{sx:{mr:.5},fontSize:"inherit"}),"Панель администрирования"]}),(0,i.jsx)(j(),{href:"/control-panel/export",children:(0,i.jsxs)("a",{children:[(0,i.jsx)(u.Z,{sx:{mr:.5},fontSize:"inherit"}),"Экспорт данных"]})}),(0,i.jsx)(j(),{href:"/control-panel/export/pao-standard-using",children:(0,i.jsxs)("a",{children:[(0,i.jsx)(f.Z,{sx:{mr:.5},fontSize:"inherit"}),"О возможности использования стандарта ПАО \xabГазпром\xbb"]})})]}),(0,i.jsx)("h1",{children:"Анкета. О возможности использования стандарта ПАО \xabГазпром\xbb"})]}),(0,i.jsxs)(_.Z,{component:"section",alignItems:"center",justifyContent:"center",marginTop:{xs:"2rem",lg:"unset"},gap:0,children:[(0,i.jsxs)(_.Z,{width:"100%",direction:"row",justifyContent:"flex-end",gap:2,children:[(0,i.jsxs)(b.Z,{size:"small",color:"primary",variant:"text",sx:{paddingInline:"1.5rem"},onClick:e,children:["Обновить данные таблицы ",(0,i.jsx)(x.Z,{sx:{fontSize:"1.15rem",marginLeft:".25rem"}})]}),(0,i.jsxs)(b.Z,{size:"small",variant:"text",color:"warning",onClick:k,sx:{paddingInline:"1.5rem"},children:["Полная выгрузка БД ",(0,i.jsx)(m.Z,{sx:{fontSize:"1.15rem",marginLeft:".25rem"}})]})]}),(0,i.jsx)(g.Z,{sx:{width:"600px",marginInline:"auto 0"}}),s?(0,i.jsx)(S.Z,{}):(null==y?void 0:y.length)?(0,i.jsxs)(v.Z,{component:"span",textAlign:"left",fontSize:".8rem",color:"secondary",marginInline:"0 auto",sx:{marginBottom:".15rem"},children:["Всего анкет: ",(0,i.jsx)("strong",{children:y.length})]}):(0,i.jsx)(v.Z,{textAlign:"center",children:"На текущий момент база анкет пуста."})]})]})},T=!0,V=function(e){return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:"Анкета: О возможности использования стандарта ПАО \xabГазпром\xbb"}),(0,i.jsx)("meta",{charSet:"utf-8"}),(0,i.jsx)("meta",{name:"description",content:"О возможности использования стандарта ПАО \xabГазпром\xbb"}),(0,i.jsx)("meta",{name:"keywords",content:"О возможности использования стандарта ПАО \xabГазпром\xbb"}),(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico",type:"image/x-icon"}),(0,i.jsx)("link",{rel:"icon",href:"/images/png/logo-mini.png",type:"image/png"})]}),(0,i.jsx)(l.Z,{discardFooter:!0,paddingEnabled:!0,discardMouseIndicator:!0,fetchedNews:e.fetchedNews,fetchedContacts:e.fetchedContacts,children:(0,i.jsx)(o.Z,{privileges:["superuser","admin","seminar"],children:(0,i.jsx)(H,{})})})]})}},4441:function(e){e.exports={mainContainer:"baseStyles_mainContainer__WmQYk",headerContainer:"baseStyles_headerContainer__CdtYU",blockWarningContainer:"baseStyles_blockWarningContainer__ucI4i",content:"baseStyles_content__t2YPQ",emailingContainer:"baseStyles_emailingContainer__EfODI",mailEditContainer:"baseStyles_mailEditContainer__xA_3W",loaderContainer:"baseStyles_loaderContainer__T_xd_",butEditContainer:"baseStyles_butEditContainer__DY80k",lkContent:"baseStyles_lkContent__WCIDz",userInfoContainer:"baseStyles_userInfoContainer__GAqZy",alertSpan:"baseStyles_alertSpan__h0APZ",okSpan:"baseStyles_okSpan__AcJNn",buttonsContainer:"baseStyles_buttonsContainer__A1yeI",lkLegend:"baseStyles_lkLegend__tobdh",errorLabel:"baseStyles_errorLabel__tLROJ",b:"baseStyles_b__yVo2r",up:"baseStyles_up__FpINE",analiticsContentContainer:"baseStyles_analiticsContentContainer__PrIDC",analiticsButtons:"baseStyles_analiticsButtons__ncdW9",switchHelper:"baseStyles_switchHelper__rTpHP",analiticsLoader:"baseStyles_analiticsLoader__F1NgG",active:"baseStyles_active__cvCGO",disabled:"baseStyles_disabled__aHJuo"}}},function(e){e.O(0,[5427,8946,6350,6853,1784,9774,2888,179],function(){return e(e.s=742)}),_N_E=e.O()}]);

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.