PageSourceSearch

https://www.bagorama.no/build/chunks/5c36b3c5e523fb5acc8a.js

js bagorama.no collected 2026-09-26 18:47:32 UTC 8,799 bytes, 2 lines download raw bytes

1(window.webpackJsonpStreamline=window.webpackJsonpStreamline||[]).push([[23],{133:function(t,e,n){"use strict";(function(r){var i,a,o=n(2);n(1),n(54),n(7),n(25),n(16),n(302),n(24),n(4),n(6),n(60),n(32),n(107),n(29),n(5),n(395),n(275);var c,s=o(n(19));c=function(){var t=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},e=m,n=h,i=function(t){return u(h(t))},a=u,o=v,c=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function h(t){for(var e,n=[],r=0,i=0,a="";null!=(e=c.exec(t));){var o=e[0],s=e[1],h=e.index;if(a+=t.slice(i,h),i=h+o.length,s)a+=s[1];else{a&&(n.push(a),a="");var u=e[2],p=e[3],l=e[4],d=e[5],v=e[6],m=e[7],g="+"===v||"*"===v,w="?"===v||"*"===v,y=u||"/",x=l||d||(m?".*":"[^"+y+"]+?");n.push({name:p||r++,prefix:u||"",delimiter:y,optional:w,repeat:g,pattern:f(x)})}}return i<t.length&&(a+=t.substr(i)),a&&n.push(a),n}function u(e){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"===(0,s.default)(e[r])&&(n[r]=new RegExp("^"+e[r].pattern+"$"));return function(r){for(var i="",a=r||{},o=0;o<e.length;o++){var c=e[o];if("string"!=typeof c){var s,h=a[c.name];if(null==h){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to be defined')}if(t(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received "'+h+'"');if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var u=0;u<h.length;u++){if(s=encodeURIComponent(h[u]),!n[o].test(s))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');i+=(0===u?c.prefix:c.delimiter)+s}}else{if(s=encodeURIComponent(h),!n[o].test(s))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+s+'"');i+=c.prefix+s}}else i+=c}return i}}function p(t){return t.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function f(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function l(t,e){return t.keys=e,t}function d(t){return t.sensitive?"":"i"}function v(t,e){for(var n=(e=e||{}).strict,r=!1!==e.end,i="",a=t[t.length-1],o="string"==typeof a&&/\/$/.test(a),c=0;c<t.length;c++){var s=t[c];if("string"==typeof s)i+=p(s);else{var h=p(s.prefix),u=s.pattern;s.repeat&&(u+="(?:"+h+u+")*"),i+=u=s.optional?h?"(?:"+h+"("+u+"))?":"("+u+")?":h+"("+u+")"}}return n||(i=(o?i.slice(0,-2):i)+"(?:\\/(?=$))?"),i+=r?"$":n&&o?"":"(?=\\/|$)",new RegExp("^"+i,d(e))}function m(e,n,r){return t(n=n||[])?r||(r={}):(r=n,n=[]),e instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return l(t,e)}(e,n):t(e)?function(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(m(t[i],e,n).source);return l(new RegExp("(?:"+r.join("|")+")",d(n)),e)}(e,n,r):function(t,e,n){for(var r=h(t),i=v(r,n),a=0;a<r.length;a++)"string"!=typeof r[a]&&e.push(r[a]);return l(i,e)}(e,n,r)}e.parse=n,e.compile=i,e.tokensToFunction=a,e.tokensToRegExp=o;var g=$;$.default=$,$.Context=P,$.Route=I,$.sameOrigin=N;var w,y,x,b="undefined"!=typeof document,E="undefined"!=typeof window,R="undefined"!=typeof history,k=void 0!==r,T=b&&document.ontouchstart?"touchstart":"click",A=E&&!(!window.history.location&&!window.location),O=!0,S=!0,L="",C=!1,U=!1;function $(t,e){if("function"==typeof t)return $("*",t);if("function"==typeof e)for(var n=new I(t),r=1;r<arguments.length;++r)$.callbacks.push(n.middleware(arguments[r]));else"string"==typeof t?$["string"==typeof e?"redirect":"show"](t,e):$.start(t)}function j(t){return"string"!=typeof t?t:S?decodeURIComponent(t.replace(/\+/g," ")):t}function P(t,e){var n=V();"/"===t[0]&&0!==t.indexOf(n)&&(t=n+(U?"#!":"")+t);var r=t.indexOf("?");if(this.canonicalPath=t,this.path=t.replace(n,"")||"/",U&&(this.path=this.path.replace("#!","")||"/"),this.title=b&&x.document.title,this.state=e||{},this.state.path=t,this.querystring=~r?j(t.slice(r+1)):"",this.pathname=j(~r?t.slice(0,r):t),this.params={},this.hash="",!U){if(!~this.path.indexOf("#"))return;var i=this.path.split("#");this.path=this.pathname=i[0],this.hash=j(i[1])||"",this.querystring=this.querystring.split("#")[0]}}function I(t,n){(n=n||{}).strict=n.strict||C,this.path="*"===t?"(.*)":t,this.method="GET",this.regexp=e(this.path,this.keys=[],n)}
1$.callbacks=[],$.exits=[],$.current="",$.len=0,$.base=function(t){if(0===arguments.length)return L;L=t},$.strict=function(t){if(0===arguments.length)return C;C=t},$.start=function(t){if(t=t||{},!w&&(w=!0,x=t.window||E&&window,!1===t.dispatch&&(O=!1),!1===t.decodeURLComponents&&(S=!1),!1!==t.popstate&&E&&x.addEventListener("popstate",q,!1),!1!==t.click&&b&&x.document.addEventListener(T,K,!1),(U=!!t.hashbang)&&E&&!R&&x.addEventListener("hashchange",q,!1),O)){var e;if(A){var n=x.location;e=U&&~n.hash.indexOf("#!")?n.hash.substr(2)+n.search:U?n.search+n.hash:n.pathname+n.search+n.hash}$.replace(e,null,!0,O)}},$.stop=function(){w&&($.current="",$.len=0,w=!1,b&&x.document.removeEventListener(T,K,!1),E&&x.removeEventListener("popstate",q,!1),E&&x.removeEventListener("hashchange",q,!1))},$.show=function(t,e,n,r){var i=new P(t,e),a=y;return y=i,$.current=i.path,!1!==n&&$.dispatch(i,a),!1!==i.handled&&!1!==r&&i.pushState(),i},$.back=function(t,e){$.len>0?(R&&x.history.back(),$.len--):t?setTimeout((function(){$.show(t,e)})):setTimeout((function(){$.show(V(),e)}))},$.redirect=function(t,e){"string"==typeof t&&"string"==typeof e&&$(t,(function(t){setTimeout((function(){$.replace(e)}),0)})),"string"==typeof t&&void 0===e&&setTimeout((function(){$.replace(t)}),0)},$.replace=function(t,e,n,r){var i=new P(t,e),a=y;return y=i,$.current=i.path,i.init=n,i.save(),!1!==r&&$.dispatch(i,a),i},$.dispatch=function(t,e){var n=0,r=0;function i(){var e=$.callbacks[n++];if(t.path===$.current)return e?void e(t,i):function(t){t.handled||(U?A&&V()+x.location.hash.replace("#!",""):A&&x.location.pathname+x.location.search)!==t.canonicalPath&&($.stop(),t.handled=!1,A&&(x.location.href=t.canonicalPath))}(t);t.handled=!1}e?function t(){var n=$.exits[r++];if(!n)return i();n(e,t)}():i()},$.exit=function(t,e){if("function"==typeof t)return $.exit("*",t);for(var n=new I(t),r=1;r<arguments.length;++r)$.exits.push(n.middleware(arguments[r]))},$.Context=P,P.prototype.pushState=function(){$.len++,R&&x.history.pushState(this.state,this.title,U&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},P.prototype.save=function(){R&&"file:"!==x.location.protocol&&x.history.replaceState(this.state,this.title,U&&"/"!==this.path?"#!"+this.path:this.canonicalPath)},$.Route=I,I.prototype.middleware=function(t){var e=this;return function(n,r){if(e.match(n.path,n.params))return t(n,r);r()}},I.prototype.match=function(t,e){var n=this.keys,r=t.indexOf("?"),i=~r?t.slice(0,r):t,a=this.regexp.exec(decodeURIComponent(i));if(!a)return!1;for(var o=1,c=a.length;o<c;++o){var s=n[o-1],h=j(a[o]);void 0===h&&hasOwnProperty.call(e,s.name)||(e[s.name]=h)}return!0};var q=function(){var t=!1;if(E)return b&&"complete"===document.readyState?t=!0:window.addEventListener("load",(function(){setTimeout((function(){t=!0}),0)})),function(e){if(t)if(e.state){var n=e.state.path;$.replace(n,e.state)}else if(A){var r=x.location;$.show(r.pathname+r.hash,void 0,void 0,!1)}}}();function K(t){if(1===function(t){return null==(t=t||E&&window.event).which?t.button:t.which}(t)&&!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented)){for(var e=t.path?t.path[0]:t.target;e&&"A"!==e.nodeName.toUpperCase();)e=e.parentNode;if(e&&"A"===e.nodeName.toUpperCase()){var n="object"===(0,s.default)(e.href)&&"SVGAnimatedString"===e.href.constructor.name;if(!e.hasAttribute("download")&&"external"!==e.getAttribute("rel")){var r=e.getAttribute("href");if((U||!function(t){if(!A)return!1;var e=x.location;return t.pathname===e.pathname&&t.search===e.search}(e)||!e.hash&&"#"!==r)&&!(r&&r.indexOf("mailto:")>-1)&&!(n?e.target.baseVal:e.target)&&(n||N(e.href))){var i=n?e.href.baseVal:e.pathname+e.search+(e.hash||"");i="/"!==i[0]?"/"+i:i,k&&i.match(/^\/[a-zA-Z]:\//)&&(i=i.replace(/^\/[a-zA-Z]:\//,"/"));var a=i,o=V();0===i.indexOf(o)&&(i=i.substr(L.length)),U&&(i=i.replace("#!","")),o&&a===i||(t.preventDefault(),$.show(a))}}}}}function N(t){if(!t||!A)return!1;var e=function(t){if("function"==typeof URL&&A)return new URL(t,location.toString());if(b){var e=document.createElement("a");return e.href=t,e}}(t),n=x.location;return n.protocol===e.protocol&&n.hostname===e.hostname&&n.port===e.port}function V(){if(L)return L;var t=E&&x.location;return E&&U&&"file:"===t.protocol?t.pathname:L}return $.sameOrigin=N,g},"object"===(0,s.default)(e)&&void 0!==t?t.exports=c():void 0===(a="function"==typeof(i=c)?i.call(e,n,e,t):i)||(t.exports=a)}).call(this,n(180))}}]);
2//# sourceMappingURL=5c36b3c5e523fb5acc8a.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.