!function(){"use strict";var n={41347:function(n,t,r){r.d(t,{F:function(){return i}});var e=r(791);function i(n){var t=(0,e.prependHTTP)(n).match(/^(https?:)?\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(t&&t[3])return t[3]}},46195:function(n,t,r){r.d(t,{x:function(){return u}});var e=window.lodash,i=r(2006),o=r(41347);function u(n){var t=(0,o.F)(n);if(!t)return!1;var r=(0,i.getOption)("adminUrl","/wp-admin/");if((0,e.includes)(n,r))return!0;var u=(0,i.getOption)("homeUrl",!1);return u?!(0,e.includes)(n,u):t!==window.location.hostname}},46344:function(n,t,r){r.d(t,{n:function(){return i}});var e=r(791);function i(n){return(0,e.getPath)(n)===(0,e.getPath)(window.location.href)&&(0,e.getFragment)(n)}},45100:function(n,t,r){r.d(t,{u:function(){return i}});var e=r(791);function i(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".main-content",t=(0,e.getFragment)(window.location.href);if(t&&"#"!==t){var r=document.querySelector(t);if(r){var i=r.offsetTop,o=document.querySelector(n);o&&(o.scrollTop=i-10)}}}},2006:function(n){n.exports=window.nisje.settings},791:function(n){n.exports=window.wp.url}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return n[e](o,o.exports,r),o.exports}r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var e={};!function(){r.r(e),r.d(e,{getHostname:function(){return u.F},isExternalUrl:function(){return a.x},isFragmentUrl:function(){return c.n},scrollToFragment:function(){return l.u},isAbsoluteUrl:function(){return f},getRelativeUrl:function(){return s},isFileUrl:function(){return d},isDataUrl:function(){return v},isModifiedEvent:function(){return p}});var n=r(2006),t=r(791),i={};for(var o in t)["default","getHostname","isExternalUrl","isFragmentUrl","scrollToFragment","isAbsoluteUrl","getRelativeUrl","isFileUrl","isDataUrl","isModifiedEvent"].indexOf(o)<0&&(i[o]=function(n){return t[n]}.bind(0,o));r.d(e,i);var u=r(41347),a=r(46195),c=r(46344),l=r(45100);function f(n){return/^(?:[a-z]+:)?\/\//i.test(n)}function s(t){var r=(0,n.getOption)("base","/");"/"!==r&&(t=t.replace(r,"/"));var e=t.match(/^(http)?s?:?\/\/([^/]*)(\/?.*)$/i);return e?e[3]?e[3]:"/":t}function d(n){var t,r,e;return(null===(t=s(n))||void 0===t||null===(r=t.split("/"))||void 0===r||null===(e=r.pop())||void 0===e?void 0:e.includes("."))||!1}function v(n){return!!n.match(/^\s*data:([a-z]+\/[a-z]+(;[a-z-]+=[a-z-]+)?)?(;base64)?,[a-z0-9!$&',()*+,;=\-._~:@/?%\s]*\s*$/i)}function p(n){return n.metaKey||n.ctrlKey||n.shiftKey}}(),(window.nisje=window.nisje||{}).url=e}();