PageSourceSearch

https://rahvaroivad.ee/_next/static/chunks/pages/region-b9794c227a16481f.js

js rahvaroivad.ee collected 2026-10-02 22:03:47 UTC 9,521 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[928],{8280:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/region",function(){return n(2297)}])},60:function(t,e,n){"use strict";var r=n(5893),a=n(1664),s=n.n(a);n(7294);e.Z=function(t){return(0,r.jsx)(s(),{href:t.href,as:t.as,children:(0,r.jsx)("a",{children:t.text})})}},771:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(1438),a=n(2951),s=n(8029),i=n(460),o=n(5893),l=n(7294),c=n(4593),u=n(3615),h=[{locale:"en",translations:{content_label:"ENG Eesti rahvar\xf5ivaste lehek\xfclg."}},{locale:"et",translations:{content_label:"Eesti rahvar\xf5ivaste lehek\xfclg."}}],d=function(t){(0,s.Z)(n,t);var e=(0,i.Z)(n);function n(){return(0,r.Z)(this,n),e.call(this,h)}return n}(u.Z),p=function(t){(0,s.Z)(n,t);var e=(0,i.Z)(n);function n(t){var a;return(0,r.Z)(this,n),(a=e.call(this,t)).state={translations:(new d).getTranslationsByLocale("et")},a}return(0,a.Z)(n,[{key:"render",value:function(){return(0,o.jsxs)(c.q,{children:[(0,o.jsx)("title",{children:this.props.title}),(0,o.jsx)("meta",{name:"description",content:this.state.translations.content_label}),(0,o.jsx)("meta",{name:"og:title",property:"og:title",content:this.props.title}),(0,o.jsx)("meta",{httpEquiv:"cache-control",content:"max-age=0"})]})}}]),n}(l.Component)},1236:function(t,e,n){"use strict";n.d(e,{Z:function(){return Z}});var r=n(4111),a=n(1438),s=n(2951),i=n(4924),o=n(8029),l=n(460),c=n(5893),u=n(5675),h=n.n(u),d=n(7294),p=n(3615),f=[{locale:"en",translations:{read_more:"Read more"}},{locale:"et",translations:{read_more:"Loe edasi"}}],v=function(t){(0,o.Z)(n,t);var e=(0,l.Z)(n);function n(){return(0,a.Z)(this,n),e.call(this,f)}return n}(p.Z),m=n(60),Z=function(t){(0,o.Z)(n,t);var e=(0,l.Z)(n);function n(t){var s;return(0,a.Z)(this,n),s=e.call(this,t),(0,i.Z)((0,r.Z)(s),"getHrefUrl",(function(){var t="en"==s.props.locale?"/region":"/regioonid";return"".concat(t,"/").concat(s.props.post.slug)})),s.state={translations:(new v).getTranslationsByLocale(t.locale)},s}return(0,s.Z)(n,[{key:"render",value:function(){return"rest_post_invalid_id"==this.props.post.code?(0,c.jsxs)("p",{children:[null!=this.props.title?this.props.title:null,":"," ",this.props.post.message]}):(0,c.jsxs)("div",{className:"row",children:[(0,c.jsx)("section",{className:"col-lg-6 remove-padding",children:(0,c.jsx)("div",{className:"rahvaroivad-th",children:this.props.post.featured_media_parent?(0,c.jsx)(h(),{src:"".concat("https://iip.rahvaroivad.ee/iiif/rahvaroivad/").concat(this.props.post.featured_media_parent,".tif/pct:0,15,100,50/1200,/0/default.webp"),alt:"",className:"img-fluid",width:"569",height:"426",priority:"false",layout:"intrinsic"}):null})}),(0,c.jsxs)("section",{className:"col-lg-6 ov-section",children:[(0,c.jsx)("h1",{className:"section-heading",children:this.props.post.title.rendered}),(0,c.jsx)("div",{className:"section-desc",dangerouslySetInnerHTML:{__html:this.props.post.excerpt.rendered}}),(0,c.jsx)("div",{className:"read-more",children:(0,c.jsx)(m.Z,{href:"en"==this.props.locale?"/region/[piirkond]":"/regioonid/[piirkond]",as:this.getHrefUrl(),text:this.state.translations.read_more})})]})]})}}]),n}(d.Component)},841:function(t,e,n){"use strict";n.d(e,{Z:function(){return Z}});var r=n(4111),a=n(1438),s=n(2951),i=n(4924),o=n(8029),l=n(460),c=n(5893),u=n(5675),h=n.n(u),d=n(7294),p=n(3615),f=[{locale:"en",translations:{read_more:"Read more"}},{locale:"et",translations:{read_more:"Loe edasi"}}],v=function(t){(0,o.Z)(n,t);var e=(0,l.Z)(n);function n(){return(0,a.Z)(this,n),e.call(this,f)}return n}(p.Z),m=n(60),Z=function(t){(0,o.Z)(n,t);var e=(0,l.Z)(n);function n(t){var s;return(0,a.Z)(this,n),s=e.call(this,t),(0,i.Z)((0,r.Z)(s),"getHrefUrl",(function(){var t="en"==s.props.locale?"/region":"/regioonid";return"".concat(t,"/").concat(s.props.post.slug)})),s.state={translations:(new v).getTranslationsByLocale(t.locale)},s}return(0,s.Z)(n,[{key:"render",value:function(){return"rest_post_invalid_id"==this.props.post.code?(0,c.jsxs)("p",{children:[null!=this.props.title?this.props.title:null," ",this.props.post.message]}):null==this.props.post.title?(0,c.jsx)(c.Fragment,{}):(0,c.jsxs)("div",{className:"row flex-column-reverse flex-lg-row",children:[(0,c.jsxs)("section",{className:"col-lg-6 ov-section",children:[(0,c.jsx)("h1",{className:"section-heading",children:this.props.post.title.rendered}),(0,c.jsx)("div",{className:"section-desc",dangerouslySetInnerHTML:{__html:this.props.post.excerpt.rendered}}),(0,c.jsx)("div",{className:"read-more",children:(0,c.jsx)(m.Z,{href:this.getHrefUrl(),text:this.state.translations.read_more})})]}),(0,c.jsx)("section",{className:"col-lg-6 remove-padding",children:(0,c.jsxs)("div",{className:"rahvaroivad-th",children:[" ",this.props.post.featured_media_parent?(0,c.jsx)(h(),{src:"".concat("https://iip.rahvaroivad.ee/iiif/rahvaroivad/").concat(this.props.post.featured_media_parent,".tif/pct:0,15,100,50/1200,/0/default.webp"),alt:"",className:"img-fluid",width:"569",height:"426",priority:"false",layout:"intrinsic"}):null]})})]})}}]),n}(d.Component)},2297:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return _}});var r=n(4111),a=n(7568),s=n(1438),i=n(2951),o=n(4924),l=n(8029),c=n(828),u=n(460),h=n(7582),d=n(5893),p=n(7294),f=n(1236),v=n(841),m=n(771),Z=n(6178),g=n(2435),_=function(t){(0,l.Z)(n,t);var e=(0,u.Z)(n);function n(t){var i;(0,s.Z)(this,n),i=e.call(this,t);var l=(0,r.Z)(i);(0,o.Z)((0,r.Z)(i),"componentDidMount",(0,a.Z)((function(){return(0,h.__generator)(this,(function(t){switch(t.label){case 0:return[4,l.fetchData(l.props.locale)];case 1:return t.sent(),PubSub.subscribe("change_locale",function(){var t=(0,a.Z)((function(t,e){return(0,h.__generator)(this,(function(t){switch(t.label){case 0:return[4,l.fetchData(e.locale)];case 1:return t.sent(),[2]}}))}));return function(e,n){return t.apply(this,arguments)}}()),[2]}}))})));var u=(0,r.Z)(i);return(0,o.Z)((0,r.Z)(i),"fetchData",function(){var t=(0,a.Z)((function(t){var e,n,r,a,s,i;return(0,h.__generator)(this,(function(o){switch(o.label){case 0:return[4,Promise.all([(0,Z.oX)(t),(0,Z.MX)(t),(0,Z.G0)(t),(0,Z.K$)(t),(0,Z.K0)(t)])];case 1:return e=c.Z.apply(void 0,[o.sent(),5]),n=e[0],r=e[1],a=e[2],s=e[3],i=e[4],u.setState({Saared:null,
1Laane:null,Louna:null,Pohja:null,Ajalugu:null}),u.setState({Saared:n,Laane:r,Louna:a,Pohja:s,Ajalugu:i}),[2]}}))}));return function(e){return t.apply(this,arguments)}}()),i.state={Saared:null,Laane:null,Louna:null,Pohja:null,Ajalugu:null,locale:i.props.locale,translations:(new g.Z).getTranslationsByLocale("en")},i}return(0,i.Z)(n,[{key:"render",value:function(){return null==this.state.Saared?(0,d.jsx)(d.Fragment,{}):(0,d.jsxs)(p.Fragment,{children:[(0,d.jsx)(m.Z,{title:this.state.translations.helmet_title}),(0,d.jsxs)("div",{className:"container",children:[(0,d.jsx)("div",{className:"row",children:(0,d.jsx)("section",{className:"col add-tb-margin-20px",children:(0,d.jsx)("h1",{className:"section-heading",children:this.state.translations.region_content_title})})}),(0,d.jsx)(f.Z,{post:this.state.Saared,locale:this.state.locale}),(0,d.jsx)(v.Z,{post:this.state.Louna,locale:this.state.locale}),(0,d.jsx)(f.Z,{post:this.state.Laane,locale:this.state.locale}),(0,d.jsx)(v.Z,{post:this.state.Pohja,locale:this.state.locale})]})]})}}]),n}(p.Component);_.getInitialProps=function(){var t=(0,a.Z)((function(t){return(0,h.__generator)(this,(function(t){return[2,{}]}))}));return function(e){return t.apply(this,arguments)}}()},3615:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(1438),a=n(4924),s=function t(e){var n=this;(0,r.Z)(this,t),(0,a.Z)(this,"getTranslationsByLocale",(function(t){var e=n.translations.map((function(e){return e.locale===t?e:void 0})).filter((function(t){return void 0!=t}))[0];return null==e||null==e.translations?[]:e.translations})),this.translations=e}},2435:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1438),a=n(8029),s=n(460),i=n(3615),o=[{locale:"en",translations:{helmet_title:"Overview",region_content_title:"Regions and their differences"}},{locale:"et",translations:{helmet_title:"\xdclevaade",region_content_title:"Regioonid ja nende erinevused"}}],l=function(t){(0,a.Z)(n,t);var e=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),e.call(this,o)}return n}(i.Z)},943:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:function(){return r}})},3375:function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,{Z:function(){return r}})},828:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(3375);var a=n(1566);function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||(0,r.Z)(t,e)||(0,a.Z)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(943);function a(t,e){if(t){if("string"===typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}},function(t){t.O(0,[152,617,774,888,179],(function(){return e=8280,t(t.s=e);var e}));var e=t.O();_N_E=e}]);

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.