PageSourceSearch

https://sdworx.ro/_next/static/chunks/3950.c962c1135c5046be.js

js sdworx.ro collected 2026-10-09 22:42:14 UTC 22,340 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3950],{39925:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(15039),a=r.n(n),o=r(14232),s=r(44935),i=r(92749),c=r(37876);let l=o.forwardRef((e,t)=>{let{active:r=!1,disabled:n=!1,className:o,style:s,activeLabel:l="(current)",children:u,linkStyle:d,linkClassName:f,as:h=i.A,...m}=e,p=r||n?"span":h;return(0,c.jsx)("li",{ref:t,style:s,className:a()(o,"page-item",{active:r,disabled:n}),children:(0,c.jsxs)(p,{className:a()("page-link",f),style:d,...m,children:[u,r&&l&&(0,c.jsx)("span",{className:"visually-hidden",children:l})]})})});function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=o.forwardRef((e,n)=>{let{children:a,...o}=e;return(0,c.jsxs)(l,{...o,ref:n,children:[(0,c.jsx)("span",{"aria-hidden":"true",children:a||t}),(0,c.jsx)("span",{className:"visually-hidden",children:r})]})});return n.displayName=e,n}l.displayName="PageItem";let d=u("First","\xab"),f=u("Prev","‹","Previous"),h=u("Ellipsis","…","More"),m=u("Next","›"),p=u("Last","\xbb"),v=o.forwardRef((e,t)=>{let{bsPrefix:r,className:n,size:o,...i}=e,l=(0,s.oU)(r,"pagination");return(0,c.jsx)("ul",{ref:t,...i,className:a()(n,l,o&&"".concat(l,"-").concat(o))})});v.displayName="Pagination";let g=Object.assign(v,{First:d,Prev:f,Ellipsis:h,Item:l,Next:m,Last:p})},50281:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(37876),a=r(14232),o=r(39925),s=r(16347),i=r(96851),c=r(89099),l=r(10314),u=r(32033);let d=e=>{let{onPageChange:t,initialPage:r,activePageIndex:d,...f}=e,h=(0,c.useRouter)(),m=(0,i.c)(),p=(0,s.A)("(min-width:1200px)"),v=f.nbrOfPages,g=f.nbrOfItems,b=f.nbrOfItemsPerPage,y=(0,u.bP)(null==h?void 0:h.asPath),[x,j]=(0,a.useState)(r||1),w=(0,a.useCallback)(()=>null!=v?v:Math.ceil(g?g/(b||1):0),[b,g,v]),O=(0,a.useCallback)((e,r)=>{j(e),null==t||t(e,r)},[t]);d!==x&&d&&O(d,!!d);let N=(0,a.useCallback)(e=>{e.preventDefault(),1!==x&&O(x-1)},[x,O]),P=(0,a.useCallback)(e=>{e.preventDefault(),O(+e.target.innerText)},[O]),_=(0,a.useCallback)(e=>{e.preventDefault(),x!==w()&&O(x+1)},[x,w,O]),A=(0,a.useCallback)(()=>{let e,t=[],r=2*!!p,a=x-r,s=x+r,i=a>2,c=s<w()-1;for(i&&t.push((0,n.jsx)(o.A.Ellipsis,{disabled:!0},"ellipsis-before")),e=a;e<=s;e++)e>1&&e<w()&&t.push((0,n.jsx)(o.A.Item,{className:"".concat(x===e?"active":""),onClick:P,href:"".concat("https://www.sdworx.ro","/").concat(h.locale).concat((0,l.R)(y,e)),children:e},"page-".concat(e)));return c&&t.push((0,n.jsx)(o.A.Ellipsis,{disabled:!0},"ellipsis-after")),t},[x,p,w,P,y,h.locale]),S=(0,a.useCallback)(()=>{let e=()=>(0,n.jsx)(o.A.Item,{className:"".concat(1===x?"active":""),onClick:P,href:"".concat("https://www.sdworx.ro","/").concat(h.locale).concat((0,l.R)(y,1)),children:1},"page-first");return 1>=w()?e():(0,n.jsxs)(n.Fragment,{children:[e(),A(),(0,n.jsx)(o.A.Item,{className:"".concat(x===w()?"active":""),onClick:P,href:"".concat("https://www.sdworx.ro","/").concat(h.locale).concat((0,l.R)(y,w())),children:w()},"page-last")]})},[x,w,P,A,y,h.locale]);return(0,n.jsx)("div",{className:"d-flex justify-content-center w-100",children:(0,n.jsxs)(o.A,{className:"align-items-center c-pagination",children:[(0,n.jsx)(o.A.Prev,{title:"Prev",className:"d-inline-flex flex-row align-items-center c-pagination-prev",disabled:1===x,onClick:N,href:1===x?void 0:"".concat("https://www.sdworx.ro","/").concat(h.locale).concat((0,l.R)(y,x-1)),children:p?m("pagination_prev"):null}),S(),(0,n.jsx)(o.A.Next,{title:"Next",className:"d-inline-flex flex-row align-items-center c-pagination-next",disabled:x===w(),onClick:_,href:x===w()?void 0:"".concat("https://www.sdworx.ro","/").concat(h.locale).concat((0,l.R)(y,x+1)),children:p?m("pagination_next"):null})]})})}},63435:function(e){e.exports=function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEac
1h(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,o=void 0;try{for(var s,i=e[Symbol.iterator]();!(n=(s=i.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){a=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(a)throw o}}return r}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(e){return function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function a(){var e="undefined"!=typeof globalThis?globalThis:void 0;return e&&e.scheduler&&e.scheduler.yield?e.scheduler.yield().catch(function(e){return console.error("Failed to yield to main: ",e),new Promise(function(e){return setTimeout(e,0)})}):new Promise(function(e){return setTimeout(e,0)})}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);var s=n(),i=a&&a.miss||function(){return Promise.resolve()};return s.then(function(e){return i(e)}).then(function(){return s})},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function s(e,t){return t&&Object.keys(t).forEach(function(r){e[r]=t[r](e)}),e}function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[a++])})}function c(e,t){var r=e||{},n=r.data||{};return Object.keys(r).forEach(function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])}),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}function l(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:r,lastUpdate:Date.now()})}function u(e){return"string"==typeof e?{protocol:"https",url:e,accept:3}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||3}}var d="POST";function f(e,r,a,o){var s,i,c,d=[],f=function(e,r){if("GET"!==e.method&&(void 0!==e.data||void 0!==r.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),r.data))}(a,o),v=(s=t(t({},e.headers),o.headers),i={},Object.keys(s).forEach(function(e){var t=s[e];i[e.toLowerCase()]=t}),i),g=a.method,b="GET"!==a.method?{}:t(t({},a.data),o.data),y=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),b),o.queryParameters),x=0,j=function t(r,n){var s,i,c,u,b=r.pop();if(void 0===b)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:m(d)};var j={data:f,headers:v,method:g,url:(s=b,i=a.path,c=h(y),u="".concat(s.protocol,"://").concat(s.url,"/").concat("/"===i.charAt(0)?i.substr(1):i),c.length&&(u+="?".concat(c)),u),
1connectTimeout:n(x,e.timeouts.connect),responseTimeout:n(x,o.timeout)},w=function(e){var t={request:j,response:e,host:b,triesLeft:r.length};return d.push(t),t},O={onSuccess:function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}},onRetry:function(a){var o=w(a);return a.isTimedOut&&x++,Promise.all([e.logger.info("Retryable failure",p(o)),e.hostsCache.set(b,l(b,a.isTimedOut?3:2))]).then(function(){return t(r,n)})},onFail:function(e){throw w(e),function(e,t){var r=e.content,n=e.status,a=r;try{a=JSON.parse(r).message}catch(e){}return{name:"ApiError",message:a,status:n,transporterStackTrace:t}}(e,m(d))}};return e.requester.send(j).then(function(e){var t,r,n;return(t=e.status,e.isTimedOut||(r=e.isTimedOut,n=e.status,!r&&0==~~n)||2!=~~(t/100)&&4!=~~(t/100))?O.onRetry(e):2==~~(e.status/100)?O.onSuccess(e):O.onFail(e)})};return(c=e.hostsCache,Promise.all(r.map(function(e){return c.get(e,function(){return Promise.resolve(l(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),a=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),o=[].concat(n(t),n(a));return{getTimeout:function(e,t){return(0===a.length&&0===e?1:a.length+3+e)*t},statelessHosts:o.length>0?o.map(function(e){return u(e)}):r}})).then(function(e){return j(n(e.statelessHosts).reverse(),e.getTimeout)})}function h(e){return Object.keys(e).map(function(t){var r;return i("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]))}).join("&")}function m(e){return e.map(function(e){return p(e)})}function p(e){var r=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),r)})})}var v=function(e){var n,a,o,i,l,d,h,m,p,v,g,b,y,x=e.appId,j=(n=void 0!==e.authMode?e.authMode:1,a={"x-algolia-api-key":e.apiKey,"x-algolia-application-id":x},{headers:function(){return 1===n?a:{}},queryParameters:function(){return 0===n?a:{}}}),w=(i=(o=t(t({hosts:[{url:"".concat(x,"-dsn.algolia.net"),accept:1},{url:"".concat(x,".algolia.net"),accept:2}].concat(function(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:"".concat(x,"-1.algolianet.com")},{url:"".concat(x,"-2.algolianet.com")},{url:"".concat(x,"-3.algolianet.com")}]))},e),{},{headers:t(t(t({},j.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:t(t({},j.queryParameters()),e.queryParameters)})).hostsCache,l=o.logger,d=o.requester,h=o.requestsCache,m=o.responsesCache,p=o.timeouts,v=o.userAgent,g=o.hosts,b=o.queryParameters,y={hostsCache:i,logger:l,requester:d,requestsCache:h,responsesCache:m,timeouts:p,userAgent:v,headers:o.headers,queryParameters:b,hosts:g.map(function(e){return u(e)}),read:function(e,t){var n=c(t,y.timeouts.read),a=function(){return f(y,y.hosts.filter(function(e){return 0!=(1&e.accept)}),e,n)};if(!0!==(void 0!==n.cacheable?n.cacheable:e.cacheable))return a();var o={request:e,mappedRequestOptions:n,transporter:{queryParameters:y.queryParameters,headers:y.headers}};return y.responsesCache.get(o,function(){return y.requestsCache.get(o,function(){return y.requestsCache.set(o,a()).then(function(e){return Promise.all([y.requestsCache.delete(o),e])},function(e){return Promise.all([y.requestsCache.delete(o),Promise.reject(e)])}).then(function(e){var t=r(e,2);return t[0],t[1]})})},{miss:function(e){return y.responsesCache.set(o,e)}})},write:function(e,t){return f(y,y.hosts.filter(function(e){return 0!=(2&e.accept)}),e,c(t,y.timeouts.write))}});return s({transporter:w,appId:x,addAlgoliaAgent:function(e,t){w.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([w.requestsCache.clear(),w.responsesCache.clear()]).then(function(){})}},e.methods)},g=function(e){return function(t,r){return"GET"===t.method?e.transporter.read(t,r):e.transporter.write(t,r)}},b=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},y=function(e){return function(r,n){var a=r.map(function(e){return t(t
1({},e),{},{params:h(e.params||{})})});return e.transporter.read({method:d,path:"1/indexes/*/queries",data:{requests:a},cacheable:!0},n)}},x=function(e){return function(r,n){return Promise.all(r.map(function(r){var a=r.params,o=a.facetName,s=a.facetQuery,i=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(a,["facetName","facetQuery"]);return b(e)(r.indexName,{methods:{searchForFacetValues:O}}).searchForFacetValues(o,s,t(t({},n),i))}))}},j=function(e){return function(t,r,n){return e.transporter.read({method:d,path:i("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},w=function(e){return function(t,r){return e.transporter.read({method:d,path:i("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},O=function(e){return function(t,r,n){return e.transporter.read({method:d,path:i("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},N=function(e){return function(r,n){var a=r.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:d,path:"1/indexes/*/recommendations",data:{requests:a},cacheable:!0},n)}};function P(e,s,i){var c,l,u,d,f,h,m,p;return v(t(t(t({},{appId:e,apiKey:s,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return r.setRequestHeader(t,e.headers[t])});var n,a=function(e,n){return setTimeout(function(){r.abort(),t({status:0,content:n,isTimedOut:!0})},1e3*e)},o=a(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(o),n=a(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(o),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(o),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:function e(t){var a=n(t.caches),o=a.shift();return void 0===o?{get:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,n.miss(e)])}).then(function(e){return r(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return o.get(t,r,n).catch(function(){return e({caches:a}).get(t,r,n)})},set:function(t,r){return o.set(t,r).catch(function(){return e({caches:a}).set(t,r)})},delete:function(t){return o.delete(t).catch(function(){return e({caches:a}).delete(t)})},clear:function(){return o.clear().catch(function(){return e({caches:a}).clear()})}}}({caches:[(c={key:"".concat("4.26.0","-").concat(e)},u="algoliasearch-client-js-".concat(c.key),d=function(){return void 0===l&&(l=c.localStorage||window.localStorage),l},f=function(){return JSON.parse(d().getItem(u)||"{}")},h=function(e){d().setItem(u,JSON.stringify(e))},m=function(){var e=c.timeToLive?1e3*c.timeToLive:null,t=f(),n=(new Date).getTime();return Object.fromEntries(Object.entries(t).filter(function(t){var a=r(t,2)[1];return!(!a||void 0===a.timestamp)&&(!e||a.timestamp+e>=n)}))},{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return a().then(function(){var n=m(),a=n[JSON.stringify(e)];return h(n),a?a.value:t().then(function(e){return r.miss(e).then(function(){return e})})})},set:function(e,t){return a().then(function(){var r=f();return r[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},d().setItem(u,JSON.stringify(r)),t})},delete:function(e){return a().then(function(){var t=f();delete t[JSON.stringify(e)],d().setItem(u,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){d().removeItem(u)})}}),o()]}),userAgent:(p={value:"Algolia for JavaScript (".concat("4.26.0",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===p.value.indexOf(t)&&(p.value="".concat(p.value).concat(t)),p}}).add({segment:"Browser",version:"lite"}),authMode:0}),i),{},{methods:{search:y,searchForFacetValues:x,multipleQueries:y,multipleSearchForFacetValues:x,customRequest:g,initIndex:function(e){return function(t){return b(e)(t,{methods:{search:w,searchForFacetValues:O,findAnswers:j}})}},getRecommendations:N}}))}return P.version="4.26.0",P}()},83950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>N});var n=r(37876),a=r(14232),o=r(40876),s=r(97719),i=r(60929),c=r(89099),l=r.n(c),u=r(63435),d=r.n(u),f=r(32033),h=r(97620),m=r(50281),p=r(96851),v=r(48230),g=r.n(v),b=r(54587),y=r.n(b),x=r(65364);let j=e=>{var t,r;let{overviewItem:a}=e,o=(0,p.c)(),s=a.type,i=a.title,c=null!=(t=null==a?void 0:a.field_overview_description)?t:null==a?void 0:a.processed,u=new Date(1e3*a.field_publication_date).toLocaleDateString(x.env.DEFAULTLOCALE||(null===l()||void 0===l()?void 0:l().locale)),d=a.field_media_url||"",f=null!=(r=a.alt)?r:"no-alt";return(0,n.jsx)(g(),{className:"c-card c-card__animate d-flex flex-column col-lg-4 col-md-6",href:a.url,locale:a.search_api_language,prefetch:!1,children:(0,n.jsxs)("div",{className:"c-card__preview d-flex flex-column bg-white position-relative",children:[(0,n.jsx)("div",{className:"position-relative c-card__image",children:(0,n.jsx)(y(),{src:d,alt:f,fill:!0})}),(0,n.jsx)("div",{className:"c-card__tag c-card__tag--".concat(s," position-absolute"),children:(0,n.jsx)("p",{children:o.raw("resourcepreview_".concat(s))})}),(0,n.jsxs)("div",{className:"c-card__text-wrapper d-flex flex-column",children:[(0,n.jsx)("div",{className:"c-card__title",children:(0,n.jsx)("p",{children:i})}),c?(0,n.jsx)("div",{className:"c-card__description",children:(0,n.jsx)("div",{className:"clamp",dangerouslySetInnerHTML:{__html:c}})}):null,"tool"===s?null:(0,n.jsx)("span",{className:"c-card__date d-flex",children:u})]})]})})};var w=r(65364);let O=d()("66MRVKRIPJ","438005ba5e6b4a7d84199d402cb7326a").initIndex("prd_COUNTRY_WEBSITE_SORT_DATE"),N=e=>{var t;let{page:r,children:l,pageNumber:u,algoliaHits:d,nbPages:p}
1=e,v=(0,c.useRouter)(),g=(0,a.useRef)(null),[b,y]=(0,a.useState)(d),[x,N]=(0,a.useState)(u||1),[P,_]=(0,a.useState)(p),A=r.attributes.field_overview_title,S=null==(t=r.relationships.field_tools)?void 0:t.data.map(e=>e.id),T="node--tool_overview"===r.type,q="node--podcast_overview"===r.type,C="node--video_overview"===r.type,k=(0,a.useCallback)(e=>{var t;N(e);let r=v.asPath.split("/").filter(Boolean);r.length>0&&!isNaN(Number(r[r.length-1]))?r[r.length-1]=String(e):1!==e&&r.push(String(e));let n="/"+r.join("/");1!==e||isNaN(Number(r[r.length-1]))?v.push(n):(r.pop(),v.push("/"+r.join("/"))),null==(t=g.current)||t.scrollIntoView({behavior:"smooth"})},[v]);(0,a.useEffect)(()=>{v.isReady&&(async()=>{try{let e=await O.search("",{hitsPerPage:T?f.eL:f.zp,filters:(()=>{var e;let t=["search_api_language:".concat(null!=(e=w.env.DEFAULTLOCALE)?e:v.locale),"group_field_machine_name:".concat("romania"),"status:true"];return T&&(null==S?void 0:S.length)?[...t,"type:tool",S.map((e,t)=>0===t?"uuid:".concat(e):" OR uuid:".concat(e)).join(" ")].join(" AND "):q?[...t,"type:podcast"].join(" AND "):C?[...t,"type:video"].join(" AND "):t.join(" AND ")})(),page:(x||1)-1});y(e.hits),_(e.nbPages),k(x)}catch(e){console.error("Algolia search failed:",e)}})()},[v.isReady,x]);let E=T&&(null==S?void 0:S.length)?[...b].sort((e,t)=>S.indexOf(e.uuid)-S.indexOf(t.uuid)):b;return(0,n.jsxs)("section",{className:"c-overview",children:[(0,n.jsxs)("div",{className:"c-overview__hero",children:[(0,n.jsx)(h.A,{page:r}),l]}),(0,n.jsx)("section",{className:"section-box c-overview__scroll-to-top",ref:g,children:(0,n.jsxs)(o.A,{fluid:!0,children:[A&&(0,n.jsx)("div",{className:"c-overview__overview-title",children:(0,n.jsx)("p",{children:A})}),(0,n.jsx)(s.A,{className:"c-overview__cards",children:E.map(e=>(0,n.jsx)(j,{overviewItem:e},e.objectID))}),(0,n.jsx)(s.A,{className:"mt-4",children:(0,n.jsx)(i.A,{children:(0,n.jsx)(m.A,{nbrOfPages:p,onPageChange:k,initialPage:u})})})]})})]})}},89099:(e,t,r)=>{e.exports=r(16296)},97620:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(37876);r(14232);var a=r(97719),o=r(60929),s=r(40876),i=r(7918),c=r(50172),l=r(34711);let u=e=>{var t,r;let{page:u,hideImageOnMobile:d=!1}=e,f="node--homepage"===u.type,h=null==(r=u.relationships)||null==(t=r.field_media)?void 0:t.data;return(0,n.jsx)("section",{className:"section-box c-hero ".concat(h?"with-image":""),children:(0,n.jsx)(s.A,{fluid:!0,children:(0,n.jsxs)(a.A,{children:[(0,n.jsxs)(o.A,{lg:h?"6":"10",className:"c-hero__intro",children:[(0,n.jsx)("h1",{className:"mb-0",children:u.attributes.title}),u.attributes.field_subtitle?(0,n.jsx)("p",{className:"c-hero__intro-subtitle mt-4 mb-0",children:u.attributes.field_subtitle}):null,u.attributes.field_description?(0,n.jsx)(l.A,{extraClass:"c-hero__intro-description rich-text mt-4",html:u.attributes.field_description.processed}):null,u.attributes.field_button?(0,n.jsx)(c.A,{extraClass:"btn mt-4 ".concat(f?"btn--white":"btn--darker-black"),link:u.attributes.field_button,children:u.attributes.field_button.title}):null]}),(0,n.jsx)(o.A,{className:"".concat(h?"mt-4 m-lg-0 p-lg-0 align-items-lg-start ml-lg-auto":"d-none"," ").concat(d?"d-none d-lg-block":""),children:h?(0,n.jsx)(i.A,{priority:!0,item:h}):null})]})})})}}}]);

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.