PageSourceSearch

https://www.obs.no/assets/8435.chunk.d8763cb94ec74f69acc8.js

js obs.no collected 2026-09-25 02:37:40 UTC 5,372 bytes, 3 lines download raw bytes

1/*! For license information please see 8435.chunk.d8763cb94ec74f69acc8.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunknitro5_app=globalThis.webpackChunknitro5_app||[]).push([[8435],{4654:(e,t,n)=>{n.d(t,{A:()=>p});var a=n(3696),r=n(774),o=n(4519);let i=null;function c(){return i||(i=new Promise(e=>{const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",t.id="YTscript";const n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),window.onYouTubeIframeAPIReady=()=>{e(window.YT)}})),i}var l=n(6739);const p=(0,r.I4)(e=>{var t;const{ratio:n,youTubeId:r,isDuplicate:i}=e,p=(0,a.useRef)(null),d=i?`player-copy-id-${r}`:`player-id-${r}`,[m,h]=(0,a.useState)(!1),f=()=>h(!0),v=(0,a.useCallback)(()=>{c().then(e=>{p.current=new e.Player(d,{videoId:r,events:{onReady:f}})})},[d,r]);(0,a.useEffect)(()=>(v(),()=>{var e;p&&(null===(e=p.current)||void 0===e||e.destroy())}),[r,v]);const w=null===(t=(0,l.Z)(e.isCurrent))||void 0===t?void 0:t.current;return(0,a.useEffect)(()=>{var t;m&&!e.isCurrent&&w&&p.current&&(null===(t=null==p?void 0:p.current)||void 0===t||t.pauseVideo())},[m,w,e.isCurrent]),a.createElement(s,{ratio:n||o.w.SixteenToNine},a.createElement(u,{id:d}))}),s=(0,r.I4)(o.A,{position:"relative"}),u=r.I4.div({width:"100%",height:"100%",position:"absolute",top:0,left:0})},5730:(e,t,n)=>{n.d(t,{o_:()=>k,Yh:()=>I});var a=n(62),r=n(3696),o=n(6488),i=n(8331),c=n(774),l=n(4702),p=n(3071),s=n(9331);function u(e){return"medium"===e||"huge"===e||"large"===e?parseFloat(s.P.dimension15.medium):"small"===e||"tiny"===e||"thick"===e?parseFloat(s.P.dimension8.medium):0}function d(e){return"medium"===e||"huge"===e||"large"===e?parseFloat(s.P.dimension15.small):"small"===e||"tiny"===e||"thick"===e?parseFloat(s.P.dimension8.small):0}var m=n(9540),h=n(2586);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f.apply(null,arguments)}const v=(0,c.I4)(e=>{const t=(0,m.tO)(),n=(0,r.useContext)(h.xl),a=function(e,t){const n=Object.assign(Object.assign({},e),{desktopAppearance:w(e.desktopAppearance,t),mobileAppearance:w(e.mobileAp
2pearance,t)});return n}(e.appearance,e.defaultAppearance),i=function(e,t,n){const a=t?e.hasGapForMobile:e.hasGapForDesktop,r=t?e.mobileAppearance:function(e,t){if(t.hasLayout&&b(e,t.appearanceWidthContext))return t.appearanceWidthContext;return e}(e.desktopAppearance,n);return{hasGap:a,appearanceWidth:r}}(a,t,n),s=(0,r.useMemo)(()=>{return e=a.desktopTop,t=a.desktopBottom,(0,c.I4)({marginTop:d(e),marginBottom:d(t)},(0,l.$_)(p._fM,{marginTop:u(e),marginBottom:u(t)}));var e,t},[a.desktopBottom,a.desktopTop]);return b(a.desktopAppearance,n.appearanceWidthContext)&&"full"!==a.desktopAppearance?r.createElement(o.x,{appearanceWidth:"full"},r.createElement(o.x,{appearanceWidth:i.appearanceWidth,hasGap:i.hasGap,css:s},e.children)):r.createElement(o.x,{appearanceWidth:i.appearanceWidth,hasGap:i.hasGap,css:s},e.children)});function w(e,t){return null!=t?t:e}function b(e,t){return"narrow"===t?"narrow"!==e:"normal"===t?"wide"===e||"full"===e:"wide"===t&&"full"===e}function g(e){const t=(0,a.c)(5),{appearance:n,shouldWrap:o,defaultAppearance:i,children:c}=e;let l;return t[0]!==n||t[1]!==c||t[2]!==i||t[3]!==o?(l=o&&n?r.createElement(v,{appearance:n,defaultAppearance:i},c):r.createElement(r.Fragment,null,c),t[0]=n,t[1]=c,t[2]=i,t[3]=o,t[4]=l):l=t[4],l}const E=(0,r.createContext)(!1);function I(e){const t=(0,a.c)(2),{children:n}=e;let o;return t[0]!==n?(o=r.createElement(E.Provider,{value:!0},n),t[0]=n,t[1]=o):o=t[1],o}function k(e){const t=(0,a.c)(3),n=(0,i.YY)(),o=(0,r.useContext)(E),c=!n&&!o;let l;return t[0]!==e||t[1]!==c?(l=r.createElement(g,f({shouldWrap:c},e)),t[0]=e,t[1]=c,t[2]=l):l=t[2],l}},8435:(e,t,n)=>{n.d(t,{default:()=>u});var a=n(62),r=n(3696),o=n(774),i=n(121),c=n(4519),l=n(5730),p=n(3071),s=n(4654);const u=(0,i.pG)(e=>{const t=(0,a.c)(23),{component:n,block:o,appearance:p}=e,u=void 0===n?"div":n;let f;t[0]!==o.videoSource?(f=(0,i.Jn)(o.videoSource),t[0]=o.videoSource,t[1]=f):f=t[1];const v="youTube"===f;let w;t[2]!==o.header?(w=(0,i.Jn)(o.header),t[2]=o.header,t[3]=w):w=t[3];const b=w;let g;t[4]!==o.testId?(g=(0,i.Jn)(o.testId),t[4]=o.testId,t[5]=g):g=t[5];const E=g;let I,k,y,A,T;return t[6]!==b?(I=!!b&&r.createElement(h,null,b),t[6]=b,t[7]=I):I=t[7],t[8]!==o.description?(k=(0,i.Jn)(o.description)&&r.createElement(i.Cx,{for:o.description}),t[8]=o.description,t[9]=k):k=t[9],t[10]!==o.allowFullscreen||t[11]!==o.videoId||t[12]!==v?(y=v?r.createElement(s.A,{youTubeId:(0,i.Jn)(o.videoId)}):r.createElement(d,{ratio:c.w.SixteenToNine},r.createElement(m,{frameBorder:"0",allowFullScreen:(0,i.Jn)(o.allowFullscreen),src:`//player.vimeo.com/video/${o.videoId}`})),t[10]=o.allowFullscreen,t[11]=o.videoId,t[12]=v,t[13]=y):y=t[13],t[14]!==p||t[15]!==I||t[16]!==k||t[17]!==y?(A=r.createElement(l.o_,{appearance:p},I,k,y),t[14]=p,t[15]=I,t[16]=k,t[17]=y,t[18]=A):A=t[18],t[19]!==u||t[20]!==A||t[21]!==E?(T=r.createElement(u,{"data-test-id":E},A),t[19]=u,t[20]=A,t[21]=E,t[22]=T):T=t[22],T}),d=(0,o.I4)(c.A,{position:"relative"}),m=o.I4.iframe({position:"absolute",top:"0",left:"0",height:"100%",width:"100%"}),h=o.I4.h3((0,p.Wlv)("HeadlineMedium"))}}]);
3//# sourceMappingURL=8435.chunk.d8763cb94ec74f69acc8.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.