PageSourceSearch

https://posta.md/_next/static/chunks/pages/[lang]/p/[slug]-46c58188fc37b2d7.js

js posta.md collected 2026-10-02 07:35:30 UTC 13,467 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7117,6259],{1834:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/p/[slug]",function(){return t(8371)}])},6259:function(e,n,t){"use strict";t.r(n),t.d(n,{StoreContext:function(){return s}});var r=t(5893),o=t(7294),i=t(3638);function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){u(e,n,t[n])}))}return e}function c(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(t.push(u.value),!n||t.length!==n);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return t}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l={url:"",isMobile:!0,isDeploy:!1},s=(0,o.createContext)(a({},l,{setState:function(){return null}}));n.default=function(e){var n=e.children,t=c((0,i.Y6)(a({},l)),2),u=t[0],d=t[1];(0,o.useEffect)((function(){d({url:null===window||void 0===window?void 0:window.location.href,isMobile:(null===window||void 0===window?void 0:window.innerWidth)<934})}),[]);var v=(0,o.useCallback)((function(e){return d(e)}),[]);return(0,r.jsx)(s.Provider,{value:a({},u,{setState:v}),children:n})}},3428:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(8520),o=t.n(r),i=t(5893),u=t(7294),a=t(8767),c=t(4273),l=t(9694),s=t(6177);function d(e,n,t,r,o,i,u){try{var a=e[i](u),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(r,o)}function v(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){v(e,n,t[n])}))}return e}var p,b={getNamespacesData:(p=o().mark((function e(n,t){var r,i,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new a.QueryClient(l.vC),e.next=3,r.prefetchQuery(["data",{text_id__in:n}],(function(e){return c.Fd.getList(e,{"Accept-Language":t})}));case 3:return i=(0,l.NW)(r).data,u=f({},s.I),e.abrupt("return",((null===i||void 0===i?void 0:i.results)||[]).reduce((function(e,n){var r=f({},e);r[t]=f({},r[t],v({},n.text_id,{}));try{r[t][n.text_id]=JSON.parse(n.i18n[t])}catch(o){console.warn("Failed to parse namespace:",n.text_id)}return r}),u)||void 0);case 6:case"end":return e.stop()}}),e)})),function(){var e=this,n=arguments;return new Promise((function(t,r){var o=p.apply(e,n);function i(e){d(o,t,r,i,u,"next",e)}function u(e){d(o,t,r,i,u,"throw",e)}i(void 0)}))})},g=t(2534),m=t(4291),y=t(4004);function h(e,n,t,r,o,i,u){try{var a=e[i](u),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(r,o)}function x(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function w(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){x(e,n,t[n])}))}return e}var j=function(e){return function(n){var t=function(e){var t=(0,u.useContext)(s.Z).dispatch;return(0,u.useEffect)((function(){t({type:m.Us.ADD,dictionary:e.dictionary})}),[e.dictionary]),(0,i.jsx)(n,w({},e.pageProps))};return t.getInitialProps=function(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function u(e){h(i,r,o,u,a,"next",e)}function a(e){h(i,r,o,u,a,"throw",e)}u(void 0)}))}}(o().mark((function t(r){var i,u;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i={pageProps:{},dictionary:w({},s.I)},u="".concat(r.query.lang),!n.getInitialProps){t.next=6;break}return t.next=5,n.getInitialProps(r);case 5:i.pageProps=t.sent;case 6:return t.prev=6,t.next=9,b.getNamespacesData(e,(0,g.isLocale)(u)?u:y.go.RO);case 9:i.dictionary=t.sent,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(6);case 15:return t.abrupt("return",i);case 16:case"end":return t.stop()}}),t,null,[[6,12]])}
1))),t.displayName="WithTranslation(".concat(n.displayName,")"),t}},O=t(6259);function P(e,n,t,r,o,i,u){try{var a=e[i](u),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(r,o)}function k(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var _=function(){return function(e){var n=function(n){var t=n.menu,r=n.pageProps,o=(0,u.useContext)(O.StoreContext),a=o.isDeploy,c=o.setState;return(0,u.useEffect)((function(){"undefined"!==typeof t?c({menu:t}):a||c({isDeploy:!0})}),[t]),(0,i.jsx)(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){k(e,n,t[n])}))}return e}({},r))};return n.getInitialProps=function(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function u(e){P(i,r,o,u,a,"next",e)}function a(e){P(i,r,o,u,a,"throw",e)}u(void 0)}))}}(o().mark((function n(t){var r,i,u,s;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r="".concat(t.query.lang),i={pageProps:{}},!e.getInitialProps){n.next=6;break}return n.next=5,e.getInitialProps(t);case 5:i.pageProps=n.sent;case 6:return n.prev=6,u=new a.QueryClient(l.vC),n.next=10,u.prefetchQuery(["data",{page_size:100,tags:y.r5.MENU,has_parents:!1}],(function(e){return c.Dq.getList(e,{"Accept-Language":(0,g.isLocale)(r)?r:y.go.RO})}),{cacheTime:l.Xu});case 10:s=(0,l.NW)(u).data,i.menu=null===s||void 0===s?void 0:s.results,n.next=17;break;case 14:n.prev=14,n.t0=n.catch(6);case 17:return n.abrupt("return",i);case 18:case"end":return n.stop()}}),n,null,[[6,14]])}))),n.displayName="WithStore(".concat(e.displayName,")"),j(["common","footer","header","pages","contact"])(n)}}},8371:function(e,n,t){"use strict";t.r(n);var r=t(8520),o=t.n(r),i=t(5893),u=t(7294),a=t(3935),c=t(8767),l=t(5152),s=t(9008),d=t(4184),v=t.n(d),f=t(3428),p=t(1938),b=t(6259),g=t(4273),m=t(9694),y=t(4004);function h(e,n,t,r,o,i,u){try{var a=e[i](u),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(r,o)}function x(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function w(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){x(e,n,t[n])}))}return e}var j,O=(0,l.default)((function(){return t.e(9688).then(t.bind(t,9688))}),{loadableGenerated:{webpack:function(){return[9688]},modules:["[lang]/p/[slug].tsx -> components/Grid/Container"]}}),P=(0,l.default)((function(){return t.e(653).then(t.bind(t,653))}),{loadableGenerated:{webpack:function(){return[653]},modules:["[lang]/p/[slug].tsx -> components/Grid/Row"]}}),k=(0,l.default)((function(){return t.e(5925).then(t.bind(t,5925))}),{loadableGenerated:{webpack:function(){return[5925]},modules:["[lang]/p/[slug].tsx -> components/Grid/Col"]}}),_=(0,l.default)((function(){return Promise.all([t.e(9351),t.e(4676)]).then(t.bind(t,4676))}),{loadableGenerated:{webpack:function(){return[4676]},modules:["[lang]/p/[slug].tsx -> components/Wrapper"]}}),N=(0,l.default)((function(){return t.e(3031).then(t.bind(t,3031))}),{loadableGenerated:{webpack:function(){return[3031]},modules:["[lang]/p/[slug].tsx -> components/Layout/Section"]}}),S=(0,l.default)((function(){return t.e(4250).then(t.bind(t,3882))}),{loadableGenerated:{webpack:function(){return[3882]},modules:["[lang]/p/[slug].tsx -> components/Breadcrumbs"]}}),C=(0,l.default)((function(){return t.e(2981).then(t.bind(t,2981))}),{loadableGenerated:{webpack:function(){return[2981]},modules:["[lang]/p/[slug].tsx -> components/Responsive"]}}),E=(0,l.default)((function(){return t.e(9090).then(t.bind(t,9090))}),{loadableGenerated:{webpack:function(){return[9090]}
1,modules:["[lang]/p/[slug].tsx -> components/ErrorPage"]}}),L=function(e){var n,t,r,o,c,l,d,f,g,y,h,x,w=e.data,j=e.articleList,L=(0,u.useContext)(p.LanguageContext).lang,D=(0,u.useContext)(b.StoreContext).url,I=(0,u.useState)(!1),G=I[0],A=I[1],T=function(){A((function(e){return e?document.body.classList.remove("no-scroll"):document.body.classList.add("no-scroll"),!e}))},W=(0,u.useCallback)((function(e){27===e.keyCode&&(A(!1),document.body.classList.remove("no-scroll"))}),[]);return(0,u.useEffect)((function(){return document.addEventListener("keydown",W),function(){document.removeEventListener("keydown",W)}}),[W]),w?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.default,{children:[(0,i.jsx)("title",{children:(0,m.FG)((null===w||void 0===w?void 0:w.i18n)&&(null===(n=w.i18n[L])||void 0===n?void 0:n.title))}),(null===w||void 0===w?void 0:w.i18n)&&(null===(t=null===w||void 0===w?void 0:w.i18n[L])||void 0===t?void 0:t.preview)&&(0,i.jsx)("meta",{name:"description",content:(0,m.Jh)(null===(r=null===w||void 0===w?void 0:w.i18n[L])||void 0===r?void 0:r.preview)}),(0,i.jsx)("meta",{property:"og:url",content:D}),(0,i.jsx)("meta",{name:"og:title",content:(0,m.FG)((null===w||void 0===w?void 0:w.i18n)&&(null===(o=null===w||void 0===w?void 0:w.i18n[L])||void 0===o?void 0:o.title))}),(null===w||void 0===w?void 0:w.i18n)&&((null===(c=null===w||void 0===w?void 0:w.i18n[L])||void 0===c?void 0:c.preview)||(null===(l=null===w||void 0===w?void 0:w.i18n[L])||void 0===l?void 0:l.content))&&(0,i.jsx)("meta",{property:"og:description",content:(0,m.Jh)((null===(d=null===w||void 0===w?void 0:w.i18n[L])||void 0===d?void 0:d.preview)||(null===(f=null===w||void 0===w?void 0:w.i18n[L])||void 0===f?void 0:f.content))}),(null===w||void 0===w?void 0:w.background)&&(0,i.jsx)("meta",{property:"og:image",content:null===w||void 0===w?void 0:w.background})]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{children:(0,i.jsx)(O,{className:"mt-16",children:(0,i.jsx)(S,{title:(null===w||void 0===w?void 0:w.i18n)&&(null===(g=null===w||void 0===w?void 0:w.i18n[L])||void 0===g?void 0:g.title)})})}),(0,i.jsx)(O,{className:v()("pt-20"),children:(0,i.jsx)(P,{g:4,children:(0,i.jsx)(k,{size:12,children:(0,i.jsxs)(P,{g:3,children:[(0,i.jsx)(k,{size:12,children:(0,i.jsxs)(N,{className:v()((null===w||void 0===w?void 0:w.background)?"section-image__history":""),bgImage:(null===w||void 0===w?void 0:w.background)?null===w||void 0===w?void 0:w.background:null,children:[G&&(null===w||void 0===w?void 0:w.background)&&(0,a.createPortal)((0,i.jsx)("div",{className:"portal-image",onClick:T,style:{backgroundImage:"url(".concat(null===w||void 0===w?void 0:w.background,")")},children:(0,i.jsx)("div",{className:"portal-image__close",onClick:T})}),document.body),(null===w||void 0===w?void 0:w.background)?(0,i.jsx)("div",{className:"background-gradient",children:(0,i.jsx)("div",{className:"section-box",children:(0,i.jsx)("h2",{className:"section-box__title",children:(null===w||void 0===w?void 0:w.i18n)&&(null===(y=null===w||void 0===w?void 0:w.i18n[L])||void 0===y?void 0:y.title)})})}):(0,i.jsx)("h1",{className:"section__title",children:(null===w||void 0===w?void 0:w.i18n)&&(null===(h=null===w||void 0===w?void 0:w.i18n[L])||void 0===h?void 0:h.title)})]})}),(0,i.jsx)(k,{size:12,children:(0,i.jsx)(N,{children:(0,i.jsx)("div",{className:"section-text__content",dangerouslySetInnerHTML:{__html:(null===w||void 0===w?void 0:w.i18n)&&(null===(x=null===w||void 0===w?void 0:w.i18n[L])||void 0===x?void 0:x.content)}})})})]})})})}),(0,i.jsx)("div",{className:"separated-border__sm mt-70 "}),(0,i.jsx)(N,{children:(0,i.jsx)(_,{articleList:j})})]})]}):(0,i.jsx)(E,{status:404})};L.getInitialProps=(j=o().mark((function e(n){var t,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.query,r=new c.QueryClient(m.vC),e.next=4,r.prefetchQuery(["data",{id:null===t||void 0===t?void 0:t.slug}],(function(e){return g.Dq.get(e,{"Accept-Language":null===t||void 0===t?void 0:t.lang})}),{cacheTime:m.Xu});case 4:return e.next=6,r.prefetchQuery(["articleList",w({},m.js,{page_size:18,tags:[y.r5.NEWS,y.r5.ANNOUNCES,y.r5.WARNINGS,y.r5.PROMOTIONS]})],(function(e){return g.Dq.getList(e,{"Accept-Language":null===t||void 0===t?void 0:t.lang})}
1),{cacheTime:m.Xu});case 6:return e.abrupt("return",(0,m.NW)(r));case 7:case"end":return e.stop()}}),e)})),function(){var e=this,n=arguments;return new Promise((function(t,r){var o=j.apply(e,n);function i(e){h(o,t,r,i,u,"next",e)}function u(e){h(o,t,r,i,u,"throw",e)}i(void 0)}))}),n.default=(0,f.Z)()(L)}},function(e){e.O(0,[9351,9774,2888,179],(function(){return n=1834,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.