@dnb/eufemia 9.34.1 → 9.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ for(i=97;i<123;i++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=
14
14
  * @link https://github.com/ten1seven/what-input
15
15
  * @license MIT
16
16
  */
17
- !function(e,t){var r;r=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,r="initial",n=r,o=Date.now(),i="false",a=["button","input","select","textarea"],u=[],c=[16,17,18,91,93],l=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},v=!1;try{var y=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,y)}catch(e){}var h=function(){var e=!!v&&{passive:!0};document.addEventListener("DOMContentLoaded",m),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",w)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",w)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",w),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(j(),w,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",O),window.addEventListener("focusout",_)},m=function(){if(i=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(r=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(n=window.sessionStorage.getItem("what-intent"))}catch(e){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=E(e));var i=!l.length&&-1===c.indexOf(t),u=l.length&&-1!==l.indexOf(t),f="keyboard"===o&&t&&(i||u)||"mouse"===o||"touch"===o;if(S(o)&&(f=!1),f&&r!==o&&(x("input",r=o),b("input")),f&&n!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(x("intent",n=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?r:n),k(t)},w=function(e){var t=s[e.type];"pointer"===t&&(t=E(e)),P(e),(!f&&!S(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&n!==t&&(x("intent",n=t),b("intent"))},O=function(r){r.target.nodeName?(t=r.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),r.target.classList&&r.target.classList.length&&e.setAttribute("data-whatclasses",r.target.classList.toString().replace(" ",","))):_()},_=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},x=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},E=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),n="mouse"===e&&"touch"===r&&t-o<200;return o=t,n},j=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},k=function(e){for(var t=0,o=u.length;t<o;t++)u[t].type===e&&u[t].fn.call(void 0,"input"===e?r:n)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!0},T=function(e,t){var r=window.Element.prototype;if(r.matches||(r.matches=r.msMatchesSelector||r.webkitMatchesSelector),r.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(s[j()]="mouse",h()),{ask:function(e){return"intent"===e?n:r},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){l=e},registerOnChange:function(e,t){u.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,r=u.length;t<r;t++)if(u[t].fn===e)return t}(e);(t||0===t)&&u.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=r()}(jy);var ky=jy.exports;!function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new P(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return R()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=s(e,t,r);if("normal"===c.type){if(n=r.done?v:d,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=v,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function h(){}function m(){}function g(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==r&&n.call(O,i)&&(b=O);var _=g.prototype=h.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,u){var c=s(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function T(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:R}}function R(){return{value:t,done:!0}}return m.prototype=g,c(_,"constructor",g),c(g,"constructor",m),m.displayName=c(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},x(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(_),c(_,u,"Generator"),c(_,i,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var Py=Gn,Ty=f,Ry=p,Ny=Ra,Ly=W,Cy=Me,Ay=Qr,Dy=nl,Iy=mu,My=Wc,Fy=oe,By=rt("isConcatSpreadable"),zy=9007199254740991,$y="Maximum allowed index exceeded",Gy=Ty.TypeError,Hy=Fy>=51||!Ry((function(){var e=[];return e[By]=!1,e.concat()[0]!==e})),Uy=My("concat"),Vy=function(e){if(!Ly(e))return!1;var t=e[By];return void 0!==t?!!t:Ny(e)};Py({target:"Array",proto:!0,forced:!Hy||!Uy},{concat:function(e){var t,r,n,o,i,a=Cy(this),u=Iy(a,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Vy(i=-1===t?a:arguments[t])){if(c+(o=Ay(i))>zy)throw Gy($y);for(r=0;r<o;r++,c++)r in i&&Dy(u,c,i[r])}else{if(c>=zy)throw Gy($y);Dy(u,c++,i)}return u.length=c,u}});var Wy,Yy,Ky,qy,Xy,Jy,Zy,Qy,eh="Mac|iPad|iPhone|iPod",th="Linux",rh=!1;function nh(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}rh="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Wy=navigator)||void 0===Wy?void 0:Wy.userAgent),"undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Yy=navigator)||void 0===Yy?void 0:Yy.platform),"undefined"!=typeof navigator&&/safari/i.test(null===(Ky=navigator)||void 0===Ky?void 0:Ky.userAgent)&&/chrome/i.test(null===(qy=navigator)||void 0===qy?void 0:qy.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Xy=navigator)||void 0===Xy?void 0:Xy.platform),"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(Jy=navigator)||void 0===Jy?void 0:Jy.userAgent),"undefined"!=typeof navigator&&new RegExp(eh,"i").test(null===(Zy=navigator)||void 0===Zy?void 0:Zy.platform),"undefined"!=typeof navigator&&new RegExp(th,"i").test(null===(Qy=navigator)||void 0===Qy?void 0:Qy.platform);var oh=v,ih=Rr.EXISTS,ah=P,uh=Tt.f,ch=Function.prototype,lh=ah(ch.toString),sh=/^\s*function ([^ (]*)/,fh=ah(sh.exec);function dh(e){return function(e){if(Array.isArray(e))return af(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ph(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ph(Object(r),!0).forEach((function(t){cl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ph(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=vh(vh({},t),e);for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return vh(vh({},e),mh(e,t,n))}function hh(e){return e.reduce((function(e,t){return t&&(e=vh(vh({},e),t)),e}),{})}function mh(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.checkPropKey,i=void 0!==o&&o,a=hh(r);return Object.entries(a).reduce((function(r,n){var o=cf(n,2),a=o[0],u=o[1];return i&&!Object.prototype.hasOwnProperty.call(e,a)||e[a]!==t[a]||(r[a]=u),r}),{})}oh&&!ih&&uh(ch,"name",{configurable:!0,get:function(){try{return fh(sh,lh(this))[1]}catch(e){return""}}});var gh=P,bh=we,wh=W,Oh=ze,_h=La,xh=f.Function,Eh=gh([].concat),Sh=gh([].join),jh={},kh=function(e,t,r){if(!Oh(jh,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";jh[t]=xh("C,a","return new C("+Sh(n,",")+")")}return jh[t](e,r)},Ph=xh.bind||function(e){var t=bh(this),r=t.prototype,n=_h(arguments,1),o=function(){var r=Eh(n,_h(arguments));return this instanceof o?kh(t,r.length,r):t.apply(e,r)};return wh(r)&&(o.prototype=r),o},Th=Gn,Rh=Pa,Nh=Ph,Lh=Ol,Ch=At,Ah=W,Dh=To,Ih=p,Mh=X("Reflect","construct"),Fh=Object.prototype,Bh=[].push,zh=Ih((function(){function e(){}return!(Mh((function(){}),[],e)instanceof e)})),$h=!Ih((function(){Mh((function(){}))})),Gh=zh||$h;function Hh(e,t){return Hh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hh(e,t)}function Uh(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&&Hh(e,t)}function Vh(e,t){if(t&&("object"===lf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Wh(e){return Wh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Wh(e)}Th({target:"Reflect",stat:!0,forced:Gh,sham:Gh},{construct:function(e,t){Lh(e),Ch(t);var r=arguments.length<3?e:Lh(arguments[2]);if($h&&!zh)return Mh(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return Rh(Bh,n,t),new(Rh(Nh,e,n))}var o=r.prototype,i=Dh(Ah(o)?o:Fh),a=Rh(e,i,t);return Ah(a)?a:i}});var Yh=Gn,Kh=on.indexOf,qh=Bs,Xh=P([].indexOf),Jh=!!Xh&&1/Xh([1],1,-0)<0,Zh=qh("indexOf");Yh({target:"Array",proto:!0,forced:Jh||!Zh},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Jh?Xh(this,e,t)||0:Kh(this,e,t)}});var Qh,em={exports:{}},tm=p,rm=W,nm=L,om=Nf,im=Object.isExtensible,am=tm((function(){im(1)}))||om?function(e){return!!rm(e)&&((!om||"ArrayBuffer"!=nm(e))&&(!im||im(e)))}:im,um=!p((function(){return Object.isExtensible(Object.preventExtensions({}))})),cm=Gn,lm=P,sm=ar,fm=W,dm=ze,pm=Tt.f,vm=$r,ym=Na,hm=am,mm=um,gm=!1,bm=Ve("meta"),wm=0,Om=function(e){pm(e,bm,{value:{objectID:"O"+wm++,weakData:{}}})},_m=em.exports={enable:function(){_m.enable=function(){},gm=!0;var e=vm.f,t=lm([].splice),r={};r[bm]=1,e(r).length&&(vm.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===bm){t(n,o,1);break}return n},cm({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:ym.f}))},fastKey:function(e,t){if(!fm(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!dm(e,bm)){if(!hm(e))return"F";if(!t)return"E";Om(e)}return e[bm].objectID},getWeakData:function(e,t){if(!dm(e,bm)){if(!hm(e))return!0;if(!t)return!1;Om(e)}return e[bm].weakData},onFreeze:function(e){return mm&&gm&&hm(e)&&!dm(e,bm)&&Om(e),e}};sm[bm]=!0,function(){if("undefined"!=typeof window){var e=function(){function e(){rf(this,e)}return of(e,[{key:"version",get:function(){return"9.34.1"}}]),e}();window.Eufemia=new e}}(),ky.specificKeys([9]),Qh=function e(){if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp(eh))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp(th))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Qh):Qh();var xm=function(e,t){if(e&&e.attributes){var r=e.attributes;r&&("{"===r[0]&&(r=JSON.parse(r)),r&&"object"===lf(r)&&Object.entries(r).forEach((function(e){var r=cf(e,2),n=r[0],o=r[1];a(t,cl({},n,o))})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse?delete t.no_collapse:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var n=e.tabindex;"off"===n&&(n="-1"),t.tabIndex=n}if(t&&"object"===lf(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},Em=function e(){for(var t={},r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0];return!0!==i&&!1!==i||(n.shift(),i&&(t=n.shift())),n.reduce((function(t,r){return r&&(t=a(t,Object.entries(r).reduce((function(r,n){var o=cf(n,2),i=o[0],a=o[1];return null!==a&&("object"===lf(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(r[i]=a)):r[i]=a),r}),{}))),t}),t)},Sm=function(e){return null!=e&&("true"===String(e)||"1"===String(e))};!function(){function e(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};rf(this,e),cl(this,"checkOutsideClick",(function(e){var t=e.event,r=e.ignoreElements,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(jm(o))return;for(var i,a=0,u=r.length;a<u;++a)if(i=o,r[a])do{if(i===r[a])return;i=i&&i.parentNode}while(i);"function"==typeof n&&n()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){n.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof r&&r({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===Sy(e)&&(window.removeEventListener("keydown",n.keydownCallback),"function"==typeof r&&r({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=Sy(e);o.includedKeys.includes(t)&&"function"==typeof n.handleClickOutside&&n.handleClickOutside(e,(function(){n.keyupCallback&&window.removeEventListener("keyup",n.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}of(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}])}();var jm=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&km(e)},km=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},Pm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+Tm++).slice(-t)},Tm=0;function Rm(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Nm("aria-describedby",t)}function Nm(e,t){return""===(t=(t=t.map((function(r){return r&&t.includes(r[e])?null:(r&&void 0!==r[e]&&(r=r[e]),"string"!=typeof r&&(r=null),r)}))).filter(Boolean).join(" "))&&(t=void 0),t}function Lm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Cm(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lm(Object(r),!0).forEach((function(t){cl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lm(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Am=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?Em(Zs,e.locales):Zs;e.__newContext&&(a(e,e.__newContext),delete e.__newContext);var r=Dm(e.locale||qs,t),n=t[r]||Zs[qs]||{};t[r]&&(t[r]=Mm(t[r],n));var o=Cm(Cm({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==r)return o.locales[t]}return o.translation},locales:t,locale:null,breakpoints:null,skeleton:null},e),{},{translation:n});return o};function Dm(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var Im=o.default.createContext(Am({locale:qs,currency:"NOK",currency_display:"code"}));function Mm(e,t){for(var r in e)if(String(r).includes(".")){var n=r.split(".");t[n[0]]&&function(){var t=e[r],o=n.length-1;n.forEach((function(r,n){e[r]=n===o?t:e[r],e=e[r]||{}}))}()}return e}var Fm={exports:{}},Bm={},zm="function"==typeof Symbol&&Symbol.for,$m=zm?Symbol.for("react.element"):60103,Gm=zm?Symbol.for("react.portal"):60106,Hm=zm?Symbol.for("react.fragment"):60107,Um=zm?Symbol.for("react.strict_mode"):60108,Vm=zm?Symbol.for("react.profiler"):60114,Wm=zm?Symbol.for("react.provider"):60109,Ym=zm?Symbol.for("react.context"):60110,Km=zm?Symbol.for("react.async_mode"):60111,qm=zm?Symbol.for("react.concurrent_mode"):60111,Xm=zm?Symbol.for("react.forward_ref"):60112,Jm=zm?Symbol.for("react.suspense"):60113,Zm=zm?Symbol.for("react.suspense_list"):60120,Qm=zm?Symbol.for("react.memo"):60115,eg=zm?Symbol.for("react.lazy"):60116,tg=zm?Symbol.for("react.block"):60121,rg=zm?Symbol.for("react.fundamental"):60117,ng=zm?Symbol.for("react.responder"):60118,og=zm?Symbol.for("react.scope"):60119;function ig(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case $m:switch(e=e.type){case Km:case qm:case Hm:case Vm:case Um:case Jm:return e;default:switch(e=e&&e.$$typeof){case Ym:case Xm:case eg:case Qm:case Wm:return e;default:return t}}case Gm:return t}}}function ag(e){return ig(e)===qm}Bm.AsyncMode=Km,Bm.ConcurrentMode=qm,Bm.ContextConsumer=Ym,Bm.ContextProvider=Wm,Bm.Element=$m,Bm.ForwardRef=Xm,Bm.Fragment=Hm,Bm.Lazy=eg,Bm.Memo=Qm,Bm.Portal=Gm,Bm.Profiler=Vm,Bm.StrictMode=Um,Bm.Suspense=Jm,Bm.isAsyncMode=function(e){return ag(e)||ig(e)===Km},Bm.isConcurrentMode=ag,Bm.isContextConsumer=function(e){return ig(e)===Ym},Bm.isContextProvider=function(e){return ig(e)===Wm},Bm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===$m},Bm.isForwardRef=function(e){return ig(e)===Xm},Bm.isFragment=function(e){return ig(e)===Hm},Bm.isLazy=function(e){return ig(e)===eg},Bm.isMemo=function(e){return ig(e)===Qm},Bm.isPortal=function(e){return ig(e)===Gm},Bm.isProfiler=function(e){return ig(e)===Vm},Bm.isStrictMode=function(e){return ig(e)===Um},Bm.isSuspense=function(e){return ig(e)===Jm},Bm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Hm||e===qm||e===Vm||e===Um||e===Jm||e===Zm||"object"==typeof e&&null!==e&&(e.$$typeof===eg||e.$$typeof===Qm||e.$$typeof===Wm||e.$$typeof===Ym||e.$$typeof===Xm||e.$$typeof===rg||e.$$typeof===ng||e.$$typeof===og||e.$$typeof===tg)},Bm.typeOf=ig;
17
+ !function(e,t){var r;r=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,r="initial",n=r,o=Date.now(),i="false",a=["button","input","select","textarea"],u=[],c=[16,17,18,91,93],l=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},v=!1;try{var y=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,y)}catch(e){}var h=function(){var e=!!v&&{passive:!0};document.addEventListener("DOMContentLoaded",m),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",w)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",w)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",w),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(j(),w,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",O),window.addEventListener("focusout",_)},m=function(){if(i=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(r=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(n=window.sessionStorage.getItem("what-intent"))}catch(e){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=E(e));var i=!l.length&&-1===c.indexOf(t),u=l.length&&-1!==l.indexOf(t),f="keyboard"===o&&t&&(i||u)||"mouse"===o||"touch"===o;if(S(o)&&(f=!1),f&&r!==o&&(x("input",r=o),b("input")),f&&n!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(x("intent",n=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?r:n),k(t)},w=function(e){var t=s[e.type];"pointer"===t&&(t=E(e)),P(e),(!f&&!S(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&n!==t&&(x("intent",n=t),b("intent"))},O=function(r){r.target.nodeName?(t=r.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),r.target.classList&&r.target.classList.length&&e.setAttribute("data-whatclasses",r.target.classList.toString().replace(" ",","))):_()},_=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},x=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},E=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),n="mouse"===e&&"touch"===r&&t-o<200;return o=t,n},j=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},k=function(e){for(var t=0,o=u.length;t<o;t++)u[t].type===e&&u[t].fn.call(void 0,"input"===e?r:n)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!0},T=function(e,t){var r=window.Element.prototype;if(r.matches||(r.matches=r.msMatchesSelector||r.webkitMatchesSelector),r.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(s[j()]="mouse",h()),{ask:function(e){return"intent"===e?n:r},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){l=e},registerOnChange:function(e,t){u.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,r=u.length;t<r;t++)if(u[t].fn===e)return t}(e);(t||0===t)&&u.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=r()}(jy);var ky=jy.exports;!function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new P(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return R()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=s(e,t,r);if("normal"===c.type){if(n=r.done?v:d,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=v,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",y={};function h(){}function m(){}function g(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==r&&n.call(O,i)&&(b=O);var _=g.prototype=h.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,u){var c=s(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function T(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:R}}function R(){return{value:t,done:!0}}return m.prototype=g,c(_,"constructor",g),c(g,"constructor",m),m.displayName=c(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},x(E.prototype),c(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(_),c(_,u,"Generator"),c(_,i,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var Py=Gn,Ty=f,Ry=p,Ny=Ra,Ly=W,Cy=Me,Ay=Qr,Dy=nl,Iy=mu,My=Wc,Fy=oe,By=rt("isConcatSpreadable"),zy=9007199254740991,$y="Maximum allowed index exceeded",Gy=Ty.TypeError,Hy=Fy>=51||!Ry((function(){var e=[];return e[By]=!1,e.concat()[0]!==e})),Uy=My("concat"),Vy=function(e){if(!Ly(e))return!1;var t=e[By];return void 0!==t?!!t:Ny(e)};Py({target:"Array",proto:!0,forced:!Hy||!Uy},{concat:function(e){var t,r,n,o,i,a=Cy(this),u=Iy(a,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Vy(i=-1===t?a:arguments[t])){if(c+(o=Ay(i))>zy)throw Gy($y);for(r=0;r<o;r++,c++)r in i&&Dy(u,c,i[r])}else{if(c>=zy)throw Gy($y);Dy(u,c++,i)}return u.length=c,u}});var Wy,Yy,Ky,qy,Xy,Jy,Zy,Qy,eh="Mac|iPad|iPhone|iPod",th="Linux",rh=!1;function nh(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}rh="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Wy=navigator)||void 0===Wy?void 0:Wy.userAgent),"undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Yy=navigator)||void 0===Yy?void 0:Yy.platform),"undefined"!=typeof navigator&&/safari/i.test(null===(Ky=navigator)||void 0===Ky?void 0:Ky.userAgent)&&/chrome/i.test(null===(qy=navigator)||void 0===qy?void 0:qy.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Xy=navigator)||void 0===Xy?void 0:Xy.platform),"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(Jy=navigator)||void 0===Jy?void 0:Jy.userAgent),"undefined"!=typeof navigator&&new RegExp(eh,"i").test(null===(Zy=navigator)||void 0===Zy?void 0:Zy.platform),"undefined"!=typeof navigator&&new RegExp(th,"i").test(null===(Qy=navigator)||void 0===Qy?void 0:Qy.platform);var oh=v,ih=Rr.EXISTS,ah=P,uh=Tt.f,ch=Function.prototype,lh=ah(ch.toString),sh=/^\s*function ([^ (]*)/,fh=ah(sh.exec);function dh(e){return function(e){if(Array.isArray(e))return af(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ph(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ph(Object(r),!0).forEach((function(t){cl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ph(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=vh(vh({},t),e);for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return vh(vh({},e),mh(e,t,n))}function hh(e){return e.reduce((function(e,t){return t&&(e=vh(vh({},e),t)),e}),{})}function mh(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.checkPropKey,i=void 0!==o&&o,a=hh(r);return Object.entries(a).reduce((function(r,n){var o=cf(n,2),a=o[0],u=o[1];return i&&!Object.prototype.hasOwnProperty.call(e,a)||e[a]!==(null==t?void 0:t[a])||(r[a]=u),r}),{})}oh&&!ih&&uh(ch,"name",{configurable:!0,get:function(){try{return fh(sh,lh(this))[1]}catch(e){return""}}});var gh=P,bh=we,wh=W,Oh=ze,_h=La,xh=f.Function,Eh=gh([].concat),Sh=gh([].join),jh={},kh=function(e,t,r){if(!Oh(jh,t)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";jh[t]=xh("C,a","return new C("+Sh(n,",")+")")}return jh[t](e,r)},Ph=xh.bind||function(e){var t=bh(this),r=t.prototype,n=_h(arguments,1),o=function(){var r=Eh(n,_h(arguments));return this instanceof o?kh(t,r.length,r):t.apply(e,r)};return wh(r)&&(o.prototype=r),o},Th=Gn,Rh=Pa,Nh=Ph,Lh=Ol,Ch=At,Ah=W,Dh=To,Ih=p,Mh=X("Reflect","construct"),Fh=Object.prototype,Bh=[].push,zh=Ih((function(){function e(){}return!(Mh((function(){}),[],e)instanceof e)})),$h=!Ih((function(){Mh((function(){}))})),Gh=zh||$h;function Hh(e,t){return Hh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hh(e,t)}function Uh(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&&Hh(e,t)}function Vh(e,t){if(t&&("object"===lf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Wh(e){return Wh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Wh(e)}Th({target:"Reflect",stat:!0,forced:Gh,sham:Gh},{construct:function(e,t){Lh(e),Ch(t);var r=arguments.length<3?e:Lh(arguments[2]);if($h&&!zh)return Mh(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return Rh(Bh,n,t),new(Rh(Nh,e,n))}var o=r.prototype,i=Dh(Ah(o)?o:Fh),a=Rh(e,i,t);return Ah(a)?a:i}});var Yh=Gn,Kh=on.indexOf,qh=Bs,Xh=P([].indexOf),Jh=!!Xh&&1/Xh([1],1,-0)<0,Zh=qh("indexOf");Yh({target:"Array",proto:!0,forced:Jh||!Zh},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Jh?Xh(this,e,t)||0:Kh(this,e,t)}});var Qh,em={exports:{}},tm=p,rm=W,nm=L,om=Nf,im=Object.isExtensible,am=tm((function(){im(1)}))||om?function(e){return!!rm(e)&&((!om||"ArrayBuffer"!=nm(e))&&(!im||im(e)))}:im,um=!p((function(){return Object.isExtensible(Object.preventExtensions({}))})),cm=Gn,lm=P,sm=ar,fm=W,dm=ze,pm=Tt.f,vm=$r,ym=Na,hm=am,mm=um,gm=!1,bm=Ve("meta"),wm=0,Om=function(e){pm(e,bm,{value:{objectID:"O"+wm++,weakData:{}}})},_m=em.exports={enable:function(){_m.enable=function(){},gm=!0;var e=vm.f,t=lm([].splice),r={};r[bm]=1,e(r).length&&(vm.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===bm){t(n,o,1);break}return n},cm({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:ym.f}))},fastKey:function(e,t){if(!fm(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!dm(e,bm)){if(!hm(e))return"F";if(!t)return"E";Om(e)}return e[bm].objectID},getWeakData:function(e,t){if(!dm(e,bm)){if(!hm(e))return!0;if(!t)return!1;Om(e)}return e[bm].weakData},onFreeze:function(e){return mm&&gm&&hm(e)&&!dm(e,bm)&&Om(e),e}};sm[bm]=!0,function(){if("undefined"!=typeof window){var e=function(){function e(){rf(this,e)}return of(e,[{key:"version",get:function(){return"9.34.2"}}]),e}();window.Eufemia=new e}}(),ky.specificKeys([9]),Qh=function e(){if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp(eh))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp(th))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Qh):Qh();var xm=function(e,t){if(e&&e.attributes){var r=e.attributes;r&&("{"===r[0]&&(r=JSON.parse(r)),r&&"object"===lf(r)&&Object.entries(r).forEach((function(e){var r=cf(e,2),n=r[0],o=r[1];a(t,cl({},n,o))})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse?delete t.no_collapse:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var n=e.tabindex;"off"===n&&(n="-1"),t.tabIndex=n}if(t&&"object"===lf(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},Em=function e(){for(var t={},r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0];return!0!==i&&!1!==i||(n.shift(),i&&(t=n.shift())),n.reduce((function(t,r){return r&&(t=a(t,Object.entries(r).reduce((function(r,n){var o=cf(n,2),i=o[0],a=o[1];return null!==a&&("object"===lf(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(r[i]=a)):r[i]=a),r}),{}))),t}),t)},Sm=function(e){return null!=e&&("true"===String(e)||"1"===String(e))};!function(){function e(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};rf(this,e),cl(this,"checkOutsideClick",(function(e){var t=e.event,r=e.ignoreElements,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(jm(o))return;for(var i,a=0,u=r.length;a<u;++a)if(i=o,r[a])do{if(i===r[a])return;i=i&&i.parentNode}while(i);"function"==typeof n&&n()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){n.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof r&&r({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===Sy(e)&&(window.removeEventListener("keydown",n.keydownCallback),"function"==typeof r&&r({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=Sy(e);o.includedKeys.includes(t)&&"function"==typeof n.handleClickOutside&&n.handleClickOutside(e,(function(){n.keyupCallback&&window.removeEventListener("keyup",n.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}of(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}])}();var jm=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&km(e)},km=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},Pm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+Tm++).slice(-t)},Tm=0;function Rm(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Nm("aria-describedby",t)}function Nm(e,t){return""===(t=(t=t.map((function(r){return r&&t.includes(r[e])?null:(r&&void 0!==r[e]&&(r=r[e]),"string"!=typeof r&&(r=null),r)}))).filter(Boolean).join(" "))&&(t=void 0),t}function Lm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Cm(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lm(Object(r),!0).forEach((function(t){cl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lm(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Am=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?Em(Zs,e.locales):Zs;e.__newContext&&(a(e,e.__newContext),delete e.__newContext);var r=Dm(e.locale||qs,t),n=t[r]||Zs[qs]||{};t[r]&&(t[r]=Mm(t[r],n));var o=Cm(Cm({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==r)return o.locales[t]}return o.translation},locales:t,locale:null,breakpoints:null,skeleton:null},e),{},{translation:n});return o};function Dm(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var Im=o.default.createContext(Am({locale:qs,currency:"NOK",currency_display:"code"}));function Mm(e,t){for(var r in e)if(String(r).includes(".")){var n=r.split(".");t[n[0]]&&function(){var t=e[r],o=n.length-1;n.forEach((function(r,n){e[r]=n===o?t:e[r],e=e[r]||{}}))}()}return e}var Fm={exports:{}},Bm={},zm="function"==typeof Symbol&&Symbol.for,$m=zm?Symbol.for("react.element"):60103,Gm=zm?Symbol.for("react.portal"):60106,Hm=zm?Symbol.for("react.fragment"):60107,Um=zm?Symbol.for("react.strict_mode"):60108,Vm=zm?Symbol.for("react.profiler"):60114,Wm=zm?Symbol.for("react.provider"):60109,Ym=zm?Symbol.for("react.context"):60110,Km=zm?Symbol.for("react.async_mode"):60111,qm=zm?Symbol.for("react.concurrent_mode"):60111,Xm=zm?Symbol.for("react.forward_ref"):60112,Jm=zm?Symbol.for("react.suspense"):60113,Zm=zm?Symbol.for("react.suspense_list"):60120,Qm=zm?Symbol.for("react.memo"):60115,eg=zm?Symbol.for("react.lazy"):60116,tg=zm?Symbol.for("react.block"):60121,rg=zm?Symbol.for("react.fundamental"):60117,ng=zm?Symbol.for("react.responder"):60118,og=zm?Symbol.for("react.scope"):60119;function ig(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case $m:switch(e=e.type){case Km:case qm:case Hm:case Vm:case Um:case Jm:return e;default:switch(e=e&&e.$$typeof){case Ym:case Xm:case eg:case Qm:case Wm:return e;default:return t}}case Gm:return t}}}function ag(e){return ig(e)===qm}Bm.AsyncMode=Km,Bm.ConcurrentMode=qm,Bm.ContextConsumer=Ym,Bm.ContextProvider=Wm,Bm.Element=$m,Bm.ForwardRef=Xm,Bm.Fragment=Hm,Bm.Lazy=eg,Bm.Memo=Qm,Bm.Portal=Gm,Bm.Profiler=Vm,Bm.StrictMode=Um,Bm.Suspense=Jm,Bm.isAsyncMode=function(e){return ag(e)||ig(e)===Km},Bm.isConcurrentMode=ag,Bm.isContextConsumer=function(e){return ig(e)===Ym},Bm.isContextProvider=function(e){return ig(e)===Wm},Bm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===$m},Bm.isForwardRef=function(e){return ig(e)===Xm},Bm.isFragment=function(e){return ig(e)===Hm},Bm.isLazy=function(e){return ig(e)===eg},Bm.isMemo=function(e){return ig(e)===Qm},Bm.isPortal=function(e){return ig(e)===Gm},Bm.isProfiler=function(e){return ig(e)===Vm},Bm.isStrictMode=function(e){return ig(e)===Um},Bm.isSuspense=function(e){return ig(e)===Jm},Bm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Hm||e===qm||e===Vm||e===Um||e===Jm||e===Zm||"object"==typeof e&&null!==e&&(e.$$typeof===eg||e.$$typeof===Qm||e.$$typeof===Wm||e.$$typeof===Ym||e.$$typeof===Xm||e.$$typeof===rg||e.$$typeof===ng||e.$$typeof===og||e.$$typeof===tg)},Bm.typeOf=ig;
18
18
  /*
19
19
  object-assign
20
20
  (c) Sindre Sorhus