1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[83],{"8Pv2":function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[insId]/kategorije-vijesti/components/SideContent",function(){return n("GUTj")}])},"C+fU":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var c=n("LxTm"),a={colors:{bg:{default:"#FFF",reverse:"#2C3A59",wash:"#F3F2F1",divider:"#096EBF",border:"#bfc1c3",success:"#2a9d8f",warn:"#FFCC00",danger:"#e63946",inactive:"#f1f6f8"},brand:{default:"#2C3A59",alt:"#096EBF",wash:"#F3F2F1",border:"#bfc1c3",dark:"#2C3A59",text_default:"#00171F"},text:{default:"#00171F",secondary:"#5F758E",alt:"#2C3A59",placeholder:"#c0c0c0",reverse:"#FFFFFF",danger:"#e63946",link:"#1d70b8"}},fontSizes:[12,14,16,20,24,32,48,64],space:[0,4,8,16,32,64,128,256],fonts:{body:"Open Sans, Verdana, sans-serif",heading:"inherit",monospace:"Menlo, monospace"},fontWeights:{body:400,heading:700,bold:700},lineHeights:{body:1.5,heading:1.25},shadows:{small:"0 0 4px rgba(0, 0, 0, .125)",large:"0 0 24px rgba(0, 0, 0, .125)"},breakpoints:c.s},o={colors:{bg:{default:"#181818",reverse:"#272727",wash:"#404345",divider:"#096EBF",border:"#bfc1c3",success:"#2a9d8f",warn:"#FFCC00",danger:"#e63946",inactive:"#444"},brand:{default:"#2C3A59",alt:"#096EBF",wash:"#F3F2F1",border:"#bfc1c3",dark:"#2C3A59",text_default:"#fff"},text:{default:"#fff",alt:"#f3f2f1",secondary:"#eee",placeholder:"#c0c0c0",reverse:"#fff",danger:"#e63946",link:"#ddd"}},fontSizes:[12,14,16,20,24,32,48,64],space:[0,4,8,16,32,64,128,256],fonts:{body:"Open Sans, Verdana, sans-serif",heading:"inherit",monospace:"Menlo, monospace"},fontWeights:{body:400,heading:700,bold:700},lineHeights:{body:1.5,heading:1.25},shadows:{small:"0 0 4px rgba(0, 0, 0, .125)",large:"0 0 24px rgba(0, 0, 0, .125)"},breakpoints:c.s};e.b=a},GUTj:function(t,e,n){"use strict";n.r(e);var c=n("HbGN"),a=n("ERkP"),o=n.n(a),i=(n("7xIC"),n("T8kG")),r=n("jbCs"),s=n("LxTm"),l=n("fiWp"),d=["insId","modId","catId","subcategoryId","items","langRoute"],u=o.a.createElement;e.default=function(t){var e=t.insId,n=t.modId,o=t.catId,f=t.subcategoryId,p=t.items,v=void 0===p?[]:p,g=t.langRoute,j=(Object(c.a)(t,d),function(){return v.findIndex((function(t){return t.id==f}))}),b=Object(a.useState)(j()),m=b[0],k=b[1];Object(a.useEffect)((function(){return k(j())}),[f]);var h=function(t,c){return null===c?"".concat(g,"/").concat(e,"/kategorije-vijesti/").concat(n,"/").concat(o,"/").concat(t):Object(l.a)(c)};return u(r.default,{vertical:!0},0!==v.length&&v.map((function(t,e){var n,c=t.name,a=t.id,o=t.url,l=t.subcategoryNewWindow;return u(s.l,{key:a,target:"D"===l?"_blank":"_self",href:h(a,o)},u(r.StyledAsideItem,{active:(n=e,n===m)},u(s.q,null,c),u(s.q,null,u(i.FaAngleRight,{color:"#1d70b8"}))))})),0===v.length&&u(r.StyledEmptyHeader,null,"Trenutno nema podkategorija vijesti"))}},ZUB1:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var c=n("ERkP"),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=c.createContext&&c.createContext(a),i=function(){return(i=Object.assign||function(t){for(var e,n=1,c=arguments.length;n<c;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},r=function(t,e){var n={};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&e.indexOf(c)<0&&(n[c]=t[c]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(c=Object.getOwnPropertySymbols(t);a<c.length;a++)e.indexOf(c[a])<0&&(n[c[a]]=t[c[a]])}return n};function s(t){return function(e){return c.createElement(l,i({attr:i({},t.attr)},e),function t(e){return e&&e.map((function(e,n){return c.createElement(e.tag,i({key:n},e.attr),t(e.child))}))}(t.child))}}function l(t){var e=function(e){var n,a=t.size||e.size||"1em";e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className);var o=t.attr,s=t.title,l=r(t,["attr","title"]);return c.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,o,l,{className:n,style:i({color:t.color||e.color},e.style,t.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&c.createElement("title",null,s),t.children)};return void 0!==o?c.createElement(o.Consumer,null,(function(t){return e(t)})):e(a)}},fiWp:function(t,e,n){"use strict";var c=n("7xIC"),a=n("ERkP"),o=n("R/is"),i=function(t,e,n){var c,o,i,r,s,l,d=Object(a.useState)(!1),u=d[0],f=d[1];if(Object(a.useEffect)((function(){return f(!0)}),[]),(null===(c=t)||void 0===c?void 0:c.includes("://"))&&!((null===(o=t)||void 0===o?void 0:o.includes("pravosudje.ba"))&&(null===(i=t)||void 0===i?void 0:i.includes(".jsp"))))return t;if((null===(r=t)||void 0===r?void 0:r.includes("vstvfo"))&&!(null===(s=t)||void 0===s?void 0:s.includes("pravosudje.ba"))&&u)return window.location.origin+("/"==(null===(l=t)||void 0===l?void 0:l[0])?"":"/")+t;var p=n?"/".concat(n):"";if(!t)return"";var v,g=t=t.replace(/amp;/gi,"");if((t=t.toLowerCase()).includes(":/"))v=new URL(t);else{if(t.includes("www"))return"".concat(p,"//").concat(t);
1v=new URL("https://vstv.ba/".concat(t))}var j=v.searchParams,b=j.get("ins")||e,m=j.get("modul"),k=j.get("kat"),h=j.get("kolona");if(t.includes("kategorijevijesti.jsp")||t.includes("kategorije.jsp")){if(h)return"".concat(p,"/").concat(b,"/kategorije-vijesti/").concat(m,"/").concat(k,"/").concat(h);if(k)return"".concat(p,"/").concat(b,"/kategorije-vijesti/").concat(m,"/").concat(k);if(m)return"".concat(p,"/").concat(b,"/kategorije-vijesti/").concat(m)}else{if(t.includes("grupevijesti.jsp")){var y=j.get("grupa");return"".concat(p,"/").concat(b,"/grupe-vijesti/").concat(y)}if(t.includes("/vijesti.jsp")){var w=j.get("id"),_=t.includes("&vijesti_jezik=")?t.slice(t.indexOf("&vijesti_jezik=")+"&vijesti_jezik=".length):p;return _=_[0].toUpperCase()+_.slice(1),"".concat(_,"/").concat(b,"/article/").concat(w)}if(t.includes("vijesti.jsp")){var x=j.get("id"),O=t.includes("&vijesti_jezik=")?t.slice(t.indexOf("&vijesti_jezik=")+"&vijesti_jezik=".length):p;return O=O[0].toUpperCase()+O.slice(1),"".concat(O,"/").concat(b,"/article/").concat(x)}if(t.includes("institucije.jsp")){var C=j.get("ins_def");return C?"".concat(p,"/").concat(b,"/institucije?insDef=").concat(C):"".concat(p,"/").concat(b,"/institucije")}if(t.includes("vjestaci.jsp"))return"".concat(p,"/").concat(b,"/vjestaci");if(t.includes("lawyers.jsp"))return"".concat(p,"/").concat(b,"/advokati");if(t.includes("taxcalculator.jsp"))return"".concat(p,"/").concat(b,"/calculators/tax");if(t.includes("tariffcalculator.jsp"))return"".concat(p,"/").concat(b,"/calculators/tariff");if(t.includes("vjestaci.jsp"))return"".concat(p,"/").concat(b,"/vjestaci");if(t.includes("lawyers.jsp"))return"".concat(p,"/").concat(b,"/advokati");if(t.includes("taxcalculator.jsp"))return"".concat(p,"/").concat(b,"/calculators/tax");if(t.includes("tariffcalculator.jsp"))return"".concat(p,"/").concat(b,"/calculators/tariff");if(t.includes("pdfservlet")||t.includes("docservlet")){var F=j.get("p_id_doc");return"".concat("https://portalfo1.pravosudje.ba/vstvfo-api","/vijest/download/").concat(F)}if(t.includes("login.jsp"))return"".concat(p,"/").concat(b,"/user/login");if(t.includes("imagedeatilservlet")){var E=j.get("p_id_slike");return"".concat("https://portalfo1.pravosudje.ba/vstvfo-api","/image/news-category-article-detail-images/").concat(E)}if(t.includes("pdfservlet")||t.includes("docservlet")){var I=j.get("p_id_doc");return"".concat("https://portalfo1.pravosudje.ba/vstvfo-api","/vijest/download/").concat(I)}if(t.includes("gis/izvjestaji_gm.html"))return"".concat(p,"/").concat(b,"/gis-mapa");if(t.includes("mapasajta.jsp"))return"".concat(p,"/").concat(e,"/mapa-stranice");if(t.includes("pregledrocista.jsp"))return"".concat(p,"/").concat(e,"/rocista");if(t.includes("optuznice.jsp"))return"".concat(p,"/").concat(e,"/optuznice");if(t.includes("linkovitportal.jsp")){var S=j.get("tip_linka");if(h)return"".concat(p,"/").concat(b,"/linkovi/").concat(m,"/").concat(k,"/").concat(h,"?tipLinka=").concat(S);if(k)return"".concat(p,"/").concat(b,"/linkovi/").concat(m,"/").concat(k,"?tipLinka=").concat(S);if(m)return"".concat(p,"/").concat(b,"/linkovi/").concat(m,"?tipLinka=").concat(S)}else if(t.includes("tportal.jsp")){var z=j.get("ukupno"),N=z?"?ukupno=".concat(null===z||void 0===z?void 0:z.toUpperCase()):"";if(h)return"".concat(p,"/").concat(b,"/akti/").concat(m,"/").concat(k,"/").concat(h).concat(N);if(k)return"".concat(p,"/").concat(b,"/akti/").concat(m,"/").concat(k).concat(N);if(m)return"".concat(p,"/").concat(b,"/akti/").concat(m).concat(N)}else if(t.includes("kategorijepretraga.jsp")){var A=j.get("ukupno"),L=A?"?ukupno=".concat(null===A||void 0===A?void 0:A.toUpperCase()):"";if(h)return"".concat(p,"/").concat(b,"/kategorije-pretraga/").concat(m,"/").concat(k,"/").concat(h).concat(L);if(k)return"".concat(p,"/").concat(b,"/kategorije-pretraga/").concat(m,"/").concat(k).concat(L);if(m)return"".concat(p,"/").concat(b,"/kategorije-pretraga/").concat(m).concat(L)}else{if(t.includes("runreport.jsp")){var P=j.get("p_izv_id");return"".concat(p,"/").concat(b,"/reports/").concat(P,"/").concat(m)}if(t.includes("simple.jsp"))return"".concat(p,"/").concat(b,"/kategorije-vijesti/").concat(m,"/simple")}}return g};e.a=function(t,e){var n=Object(c.useRouter)().query.insId,r=Object(a.useContext)(o.I18nContext).i18n.language;return i(t,n,r)}},jbCs:function(t,e,n){"use strict";n.r(e),n.d(e,"StyledEmptyHeader",(function(){return i})),n.d(e,"StyledAsideItem",(function(){return s})),n.d(e,"StyledAsideLink_Old",(function(){return l})),n.d(e,"StyledAsideItem_Old",(function(){return d}));var c=n("j/s1"),a=n("LxTm"),o=n("C+fU"),i=Object(c.e)(a.f).withConfig({displayName:"style__StyledEmptyHeader",componentId:"sc-171spa4-0"})(["font-family:'Open Sans',sans-serif;font-size:1.25rem;"]),r=Object(c.e)(a.m).withConfig({displayName:"style__StyledSideContent",componentId:"sc-171spa4-1"})(["flex:1 20%;order:1;padding:0;padding-right:0.375rem;@media only screen and (max-width:640px){flex:1 100%;order:2;margin-top:1rem;}"]),s=Object(c.e)(a.d).withConfig({displayName:"style__StyledAsideItem",componentId:"sc-171spa4-2"})(["box-sizing:border-box;font-family:'Open Sans',sans-serif !important;justify-content:space-between;padding:0.5rem;background-color:",";& > ","{color:",";}& > ",":last-child > svg{vertical-align:middle;}&:hover{background-color:",";}"],(function(t){return t.active?o.b.colors.bg.wash:"inherit"}),a.q,o.b.colors.text.link,a.q,o.b.colors.bg.wash),l=c.e.a.withConfig({displayName:"style__StyledAsideLink_Old",componentId:"sc-171spa4-3"})(["display:flex;flex:1;justify-content:space-between;& > *{color:",";}& > svg{vertical-align:center;}"],(function(t){return t.theme.colors.text.link})),d=Object(c.e)(a.l).withConfig({displayName:"style__StyledAsideItem_Old",componentId:"sc-171spa4-4"})(["box-sizing:border-box;color:",";justify-content:space-between;padding:0.5rem;"," &:hover{","}"],(function(t){return t.theme.colors.text.link}),(function(t){var e=t.active,n=t.theme;return e?Object(c.d)(["background-color:",";& "," > *{color:",";}"],n.colors.bg.reverse,StyledAsideLink,n.colors.text.reverse):Object(c.d)([""])}),(function(t){var e=t.active,n=t.theme;return e?Object(c.d)([""]):Object(c.d)(["background-color:",";"],n.colors.bg.wash)}));e.default=r}},[["8Pv2",0,2,5,1,3,4]]]);
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.