1"use strict";(self.webpackChunk_vkmedia_services_frontrobot=self.webpackChunk_vkmedia_services_frontrobot||[]).push([[7720,9594],{98124(t,r,e){e.d(r,{lm:()=>p,xe:()=>h});var n=e(17493),o=e(22749),i=e(18495);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function c(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,u,c=[],a=!0,f=!1;try{if(i=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;a=!1}else for(;!(a=(n=i.call(e)).done)&&(c.push(n.value),c.length!==r);a=!0);}catch(t){f=!0,o=t}finally{try{if(!a&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(f)throw o}}return c}}(t,r)||function(t,r){if(t){if("string"==typeof t)return a(t,r);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(t,r):void 0}}(t,r)||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.")}()}function a(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n)}return e}function l(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?f(Object(e),!0).forEach(function(r){s(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEac
1h(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}function s(t,r,e){return(r=function(t){var r=function(t,r){if("object"!=u(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,r||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==u(r)?r:r+""}(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var p=function(t,r,e,n){var o=g(t,r),i=h(o,n);return l(l({},t),{},i?{displayName:i.title,link:i.route}:{displayName:y(o),link:b(o,e)})},y=function(t){if(d(t)){var r=m(t),e=v(t);return"".concat(e.uuid===i.q[n.V.Kronika]?"Krönikor":"Ledare"," av ").concat(r.name)}return t.map(function(t){return t.name}).join(" och ")},b=function(t,r){if(1===t.length){var e=c(t,1)[0];if(e.slug&&r.categoryArchive)return"".concat(r.categoryArchive,"/").concat(e.slug);if(r.archive)return"".concat(r.archive,"/").concat(e.uuid)}if(d(t)){var o=v(t),u=m(t);if(o.uuid===i.q[n.V.Kronika]&&r.columnistArchive)return"".concat(r.columnistArchive||"","/").concat(u.uuid);if(o.uuid===i.q[n.V.Ledare]&&r.editorialArchive)return"".concat(r.editorialArchive||"","/").concat(u.uuid)}},m=function(t){return t.find(function(t){return t.imType===o.d.Author})},v=function(t){return t.find(function(t){return t.imType===o.d.ContentProfile})},d=function(t){var r,e=v(t),u=t.map(function(t){return t.imType});return 2===t.length&&u.includes(o.d.ContentProfile)&&u.includes(o.d.Author)&&((r=e).uuid===i.q[n.V.Kronika]||r.uuid===i.q[n.V.Ledare])},g=function(t,r){var e=t.items.map(function(t){return r.find(function(r){return r.uuid===t})}).filter(function(t){return t});if(!e.length)throw new Error("Cannot get decorated subscription without matching concepts. SubscriptionId: ".concat(t.subscriptionId,", items: ").concat(t.items.join(",")));return e},h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=t.map(function(t){return t.uuid});return r.find(function(t){return t.concepts.sort().join()===e.sort().join()})}},49594(t,r,e){e.r(r),e.d(r,{getArchivePath:()=>n});var n=function(t){return function(t){return!!t.slug}(t)?"/kategori/".concat(t.slug):"/arkiv/".concat(t.uuid)}},85339(t,r,e){e.r(r),e.d(r,{getTagFromConcept:()=>l});var n=e(98124),o=e(49594);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function u(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n)}return e}function c(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?u(Object(e),!0).forEach(function(r){a(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEac
1h(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}function a(t,r,e){return(r=function(t){var r=function(t,r){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,r||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==i(r)?r:r+""}(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var f={concepts:[],name:void 0,link:void 0},l=function(t,r){var e;if(!t||!r)return f;var i=(null==r||null===(e=r.myNews)||void 0===e?void 0:e.mappings)||[],u=(0,n.xe)([t],i);return u?{concepts:[t.uuid],name:t.name,link:u.route}:c(c({},t),{},{concepts:[t.uuid],link:(0,o.getArchivePath)(t)})}},22749(t,r,e){e.d(r,{d:()=>n});var n=function(t){return t.Channel="channel",t.Organisation="organisation",t.Section="section",t.Person="person",t.Category="category",t.Author="author",t.Tag="tag",t.Place="place",t.ContentProfile="content-profile",t.Topic="topic",t.Story="story",t}({})}}]);
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.