PageSourceSearch

https://www.rijksmuseum.nl/statics/generated/page-in-page-container.7fcc8afa276201c2df31.js

js rijksmuseum.nl collected 2026-09-24 07:50:49 UTC 6,873 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8372],{64482:function(t,e,o){o.r(e);o(81678),o(4754),o(94),o(52697),o(78557),o(90076);var r=o(41827),n=o(44899),i=o(29017);function l(t,e){for(var o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}var u=function(t){function e(){var e;return(e=t.apply(this,arguments)||this).playlistTemplate="",e.apiBaseUrl="/"+e.language+"/api/pageinpage-playlist",e.pageInPageVisible=!!e.directSlug,e.initialLoad=!e.directSlug,e.hasNavigatedToNextPageInPage=!1,e.showMoreStories=!1,e.showMoreStoriesButton=!1,e.scrollElement=null,e.setShowMoreStoriesButtonTimeout=null,e.currentScrollPosition=0,e.savedScrollPosition=void 0,e.scrollingUp=!1,e.contentWrapper=document.querySelector(".page-in-page-teaser-modal.open")||document.documentElement,e}var o,r;r=t,(o=e).prototype=Object.create(r.prototype),o.prototype.constructor=o,a(o,r);var n=e.prototype;return n.mounted=function(){this.pageInPageTeaserId&&(this.scrollElement=document.querySelector("#"+this.pageInPageTeaserId)),this.scrollElement?this.scrollElement.addEventListener("scroll",this.onScroll):window.addEventListener("scroll",this.onScroll)},n.beforeDestroy=function(){this.scrollElement?this.scrollElement.removeEventListener("scroll",this.onScroll):window.removeEventListener("scroll",this.onScroll)},n.onScroll=function(){var t=this;this.$refs.relatedStories&&requestAnimationFrame(function(){t.currentScrollPosition=window.scrollY,t.scrollElement&&(t.currentScrollPosition+=t.scrollElement.scrollTop);var e=t.$el.clientHeight,o=window.innerHeight,r=t.$refs.relatedStories;t.currentScrollPosition>=e-o-r.clientHeight/1.5&&(t.showMoreStoriesButton=!1,t.setShowMoreStoriesButtonTimeout&&(clearTimeout(t.setShowMoreStoriesButtonTimeout),t.setShowMoreStoriesButtonTimeout=null)),t.setShowMoreStoriesButtonTimeout||(t.setShowMoreStoriesButtonTimeout=setTimeout(function(){var e,o=void 0===t.savedScrollPosition||t.currentScrollPosition<t.savedScrollPosition;t.savedScrollPosition=t.currentScrollPosition,null!=(e=document.querySelector(".more-stories-button"))&&e.matches(":hover")?t.showMoreStoriesButton=!0:t.showMoreStoriesButton=!o,t.setShowMoreStoriesButtonTimeout=null},2e3))})},n.toggleMoreStories=function(){this.showMoreStories=!this.showMoreStories},n.getPlaylist=function(){for(var t=this,e=this.apiBaseUrl,o=0;o<this.playlistIds.length;o++)e+=(0===o?"?":"&")+"pageInPageIds="+this.playlistIds[o];(0,i.A)(fetch(e)).then(function(e){e.template&&(t.playlistTemplate=e.template)})},n.onVisibleChange=function(t){if(this.initialLoad=!1,t)return this.contentWrapper&&(this.contentWrapper.style.overflowY=""),void(this.playlistIds.length>0&&!this.playlistTemplate&&this.getPlaylist());this.contentWrapper&&(this.contentWrapper.style.overflowY="scroll")},n.onShowContentChange=function(t){t&&this.contentWrapper&&(this.contentWrapper.style.overflowY="scroll")},n.onUrlChange=function(){this.hasNavigatedToNextPageInPage=!0,this.showMoreStories=!1,this.showMoreStoriesButton=!1},function(t,e,o){return e&&l(t.prototype,e),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"pageInPagePlaylistComponent",get:function(){return{name:"PageInPagePlaylistComponent",template:this.playlistTemplate}}},{key:"loaderStyle",get:function(){if(this.initialLoad)return{top:"90vh",transform:"initial"}}}])}(n.Vue);(0,r.Cg)([(0,n.Prop)()],u.prototype,"directSlug",void 0),(0,r.Cg)([(0,n.Prop)({default:function(){return[]}})],u.prototype,"playlistIds",void 0),(0,r.Cg)([(0,n.Prop)({default:!0})],u.prototype,"showContent",void 0),(0,r.Cg)([(0,n.Prop)()],u.prototype,"language",void 0),(0,r.Cg)([(0,n.Prop)()],u.prototype,"pageInPageTeaserId",void 0),(0,r.Cg)([(0,n.Watch)("pageInPageVisible")],u.prototype,"onVisibleChange",null),(0,r.Cg)([(0,n.Watch)("showContent")],u.prototype,"onShowContentChange",null),(0,r.Cg)([(0,n.Watch)("$route")],u.prototype,"onUrlChange",null),u=(0,r.Cg)([n.Component],u),e.default=u},46446:function(t,e,o){var r=o(2293),n=o(348),i=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return n(this,t)}},32429:function(t,e,o){var r=o(1483),n=o(71704),i=o(51953);t.exports=function(t,e,o){var l,s;return i&&r(l=e.constructor)&&l!==o&&n(s=l.prototype)&&s!==o.prototype&&i(t,s),t}},14544:function(t,e,o){var r=o(14762),n=o(53312),i=o(26261),l=o(35870),s=r("".replace),a=RegExp("^["+l+"]+"),u=RegExp("(^|[^"+l+"])["+l+"]+$"),c=function(t){return function(e){var o=i(n(e));return 1&t&&(o=s(o,a,"")),2&t&&(o=s(o,u,"$1")),o}};t.exports={start:c(1),end:c(2),trim:c(3)}},52430:function(t,e,o){var r=o(14762);t.exports=r(1.1.valueOf)},35870:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},4754:function(t,e,o){var r=o(55755),n=o(77914),i=o(46446),l=o(70001)("toPrimitive"),s=Date.prototype;r(s,l)||n(s,l,i)},94:function(t,e,o){var r=o(28612),n=o(19557),i=o(20382),l=o(85578),s=o(26589),a=o(14762),u=o(98730),c=o(55755),p=o(32429),h=o(4815),f=o(31423),g=o(22355),v=o(28473),m=o(12278).f,d=o(4961).f,y=o(25835).f,S=o(52430),w=o(14544).trim,P="Number",b=l[P],I=s[P],E=b.prototype,T=l.TypeError,C=a("".slice),N=a("".charCodeAt),M=function(t){var e,o,r,n,i,l,s,a,u=g(t,"number");if(f(u))throw new T("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=w(u),43===(e=N(u,0))||45===e){if(88===(o=N(u,2))||120===o)return NaN}else if(48===e){switch(N(u,1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+u}for(l=(i=C(u,2)).length,s=0;s<l;s++)if((a=N(i,s))<48||a>n)return NaN;return parseInt(i,r)}return+u},B=u(P,!b(" 0o1")||!b("0b1")||b("+0x1")),_=function(t){var e,o=arguments.length<1?0:b(function(t){var e=g(t,"number");return"bigint"==typeof e?e:M(e)}(t));return h(E,e=this)&&v(function(){S(e)})?p(Object(o),this,_):o};_.prototype=E,B&&!n&&(E.constructor=_),r({global:!0,constructor:!0,wrap:!0,forced:B},{Number:_});var O=function(t,e){for(var o,r=i?m(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),n=0;r.length>n;n++)c(e,o=r[n])&&!c(t,o)&&y(t,o,d(e,o))};n&&I&&O(s[P],I),(B||n)&&O(s[P],b)},81678:function(t,e,o){var r=o(97849),n=o(18192);r("toPrimitive"),n()}}]);

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.