PageSourceSearch

https://www.68nord.no/dist/js/1865.ab1e4435a1fcf1adfab8.js

js 68nord.no collected 2026-10-02 20:06:12 UTC 7,554 bytes, 2 lines download raw bytes

1"use strict";(window.webpackChunksdc_neos=window.webpackChunksdc_neos||[]).push([[1865],{68003:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(94184),o=n.n(r),i=n(67294),s=n(96967),a=n(77630);function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}const m=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=!(r=u(t).call(this,e))||"object"!=(o=r,o&&"undefined"!=typeof Symbol&&o.constructor===Symbol?"symbol":typeof o)&&"function"!=typeof r?c(this):r).onResize=n.onResize.bind(c(n)),n.onMouseMove=n.onMouseMove.bind(c(n)),n.getDataFromDocumentJson=n.getDataFromDocumentJson.bind(c(n)),n.list=[],n.domRefs={},n.singleLink=!1,n}var r,m;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),r=t,(m=[{key:"onResize",value:function(){if(this.domRefs.scrollwrap&&this.domRefs.scrollcontent){var e=this.domRefs.scrollwrap,t=this.domRefs.scrollcontent,n=e.getBoundingClientRect().width,r=this.getWidthOfAllChildren(t);if(r>n){var o=r-n+20;e.scrollLeft=o}}}},{key:"getWidthOfAllChildren",value:function(e){var t=0;if(e.children&&e.children.length){var n=!0,r=!1,o=void 0;try{for(var i,s=e.children[Symbol.iterator]();!(n=(i=s.next()).done);n=!0)t+=i.value.clientWidth}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}}return t}},{key:"onMouseMove",value:function(e){if(this.domRefs.scrollwrap){var t=this.domRefs.scrollwrap,n=this.domRefs.scrollcontent,r=t.getBoundingClientRect(),o=this.getWidthOfAllChildren(n),i=e.clientX-r.left,s=o-r.width+32;if(i>=0&&i<=r.width&&s>0){var a=s*Math.ceil(i/(r.width/100))/100;t.scrollLeft=a}}}},{key:"getDataFromDocumentJson",value:function(){var e=(0,a.D)("NavigationProps"),t=(0,a.D)("BreadcrumbList");if(e){var n=e.breadcrumbLink;n&&(this.singleLink=n,this.forceUpdate())}if(t){var r=[];t&&t.itemListElement&&t.itemListElement.forEach(function(e){r.push({Label:e.item.name,Url:e.item["@id"]})}),this.list=r,this.forceUpdate()}}},{key:"componentDidMount",value:function(){this.props.list&&(this.list=this.props.list),this.props.list||this.props.singleLink||this.getDataFromDocumentJson(),window.addEventListener("resize",this.onResize),this.domRefs.scrollwrap&&(this.domRefs.scrollwrap.addEventListener("mousemove",this.onMouseMove),this.domRefs.scrollwrap.addEventListener("mouseleave",this.onResize)),setTimeout(this.onResize,200)}},{key:"componentWillUnmount",value:function(){n.g.window&&(window.removeEventListener("resize",this.onResize),this.domRefs.scrollwrap&&(this.domRefs.scrollwrap.removeEventListener("mousemove",this.onMouseMove),this.domRefs.scrollwrap.removeEventListener("mouseleave",this.onResize)))}},{key:"render",value:function(){var e,t,n,r=this.list,a=this.props.singleLink||this.singleLink,c=o()("breadcrumb",(e={},t="".concat(this.props.className),n=!!this.props.className,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e));return i.createElement("nav",{className:c,"aria-label":"breadcrumb",role:"navigation"},i.createElement("div",{className:"breadcrumb__inner",ref:function(e){return this.domRefs.scrollwrap=e}.bind(this)},i.createElement("ul",{className:"breadcrumb-list",ref:function(e){return this.domRefs.scrollcontent=e}.bind(this)},a?i.createElement("li",{className:"breadcrumb-list__item"},i.createElement("span",{className:"breadcrumb-icon"},i.createElement(s.Z,{iconId:"icon_16_arrow-left"})),i.createElement("a",{href:a.Url,className:"breadcrumb-list__item-link"},i.createElement("span",{className:"breadcrumb-title"},a.Label))):r.map(function(e,t){return i.createElement("li",{className:"breadcrumb-list__item",key:t},t>0&&i.createElement("span",{className:"breadcrumb-icon"},i.createElement(s.Z,{iconId:"icon_16_arrow-right"})),e.Url?i.createElement("a",{href:e.Url,className:"breadcrumb-list__item-link"},i.createElement("span",{className:"breadcrumb-title"},e.Label)):i.createElement("span",{className:"breadcrumb-list__item-nolink"},i.createElement("span",{className:"breadcrumb-title"},e.Label)))}))))}}])&&l(r.prototype,m),t}(i.Component)},77630:(e,t,n)=>{n.d(t,{D:()=>i,v:()=>s});var r=[],o=[];function i(e){if(n.g.window){var t=document.getElementById(e);if(t){var r=t.innerHTML;return JSON.parse(r)}}}function s(e,t,n){var i=function(){++f<l||n&&!u&&(n(),u=!0)},s=function(e){r.includes(e)?i():o.includes(e)?function(e){setTimeout(function(){s(e)},100)}(e):(o.push(e),a(e))},a=function(e){var t="script",n=document.getElementsByTagName(t)[0];document.querySelector('script[src="'+e+'"]')?i():((n=document.createElement(t)).onload=function(){var t=o.indexOf(e);t>-1&&o.splice(t,1),r.push(e),i()},n.setAttribute("type","text/javascript"),n.setAttribute("async",""),n.src=c+e,document.getElementsByTagName("head")[0].appendChild(n))},c=void 0===e?"./":e,l=t.length,u=!1,f=0;if(Array.isArray(t))for(var m=0;m<t.length;m++)s(t[m]);else t&&s(t)}},1865:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});var r=n(67294),o=n(68003);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const s=function(e){var t=e.breadcrumbConfig,n=void 0===t?{}:t;return r.createElement("div",{className:"frame breadcrumb-container"},r.createElement("div",{className:"frame__cell"},r.createElement("div",{className:"frame__cell-item"},r.createElement(o.Z,i({},n)))))};function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}var f=function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};const m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,!(n=l(t).apply(this,arguments))||"object"!==f(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n;var e,n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){return r.createElement(s,c({},this.props.contextModel))}}])&&a(n.prototype,o),t}(r.Component)}}]);
2//# sourceMappingURL=1865.ab1e4435a1fcf1adfab8.js.map

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.