From 0ba1bfbb4fec6e0abab3ebae49ebe08dacae0185 Mon Sep 17 00:00:00 2001 From: Casper Juel Date: Thu, 3 Oct 2024 11:16:38 +0200 Subject: [PATCH] build latest version --- .gitignore | 1 - build/bundle.js | 2 + build/bundle.js.LICENSE.txt | 45 +++ build/index.html | 1 + build/main.css | 573 ++++++++++++++++++++++++++++++++++++ 5 files changed, 621 insertions(+), 1 deletion(-) create mode 100644 build/bundle.js create mode 100644 build/bundle.js.LICENSE.txt create mode 100644 build/index.html create mode 100644 build/main.css diff --git a/.gitignore b/.gitignore index dd87e2d..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ node_modules -build diff --git a/build/bundle.js b/build/bundle.js new file mode 100644 index 0000000..fcb384a --- /dev/null +++ b/build/bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see bundle.js.LICENSE.txt */ +(()=>{var e={1549:(e,t,n)=>{var r=n(2032),a=n(3862),l=n(6721),o=n(2749),i=n(5749);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(3702),a=n(80),l=n(4739),o=n(8655),i=n(1175);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(6110)(n(9325),"Map");e.exports=r},3661:(e,t,n)=>{var r=n(3040),a=n(7670),l=n(289),o=n(4509),i=n(2949);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(9325).Symbol;e.exports=r},4932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n{var r=n(5288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},7422:(e,t,n)=>{var r=n(1769),a=n(7797);e.exports=function(e,t){for(var n=0,l=(t=r(t,e)).length;null!=e&&n{var r=n(1873),a=n(659),l=n(9350),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):l(e)}},5083:(e,t,n)=>{var r=n(1882),a=n(7296),l=n(3805),o=n(7473),i=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,c=u.toString,f=s.hasOwnProperty,d=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!l(e)||a(e))&&(r(e)?d:i).test(o(e))}},7556:(e,t,n)=>{var r=n(1873),a=n(4932),l=n(6449),o=n(4394),i=r?r.prototype:void 0,u=i?i.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(l(t))return a(t,e)+"";if(o(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1769:(e,t,n)=>{var r=n(6449),a=n(8586),l=n(1802),o=n(3222);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:l(o(e))}},5481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},4840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},2651:(e,t,n)=>{var r=n(4218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},6110:(e,t,n)=>{var r=n(5083),a=n(392);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},659:(e,t,n)=>{var r=n(1873),a=Object.prototype,l=a.hasOwnProperty,o=a.toString,i=r?r.toStringTag:void 0;e.exports=function(e){var t=l.call(e,i),n=e[i];try{e[i]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[i]=n:delete e[i]),a}},392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2032:(e,t,n)=>{var r=n(1042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},3862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6721:(e,t,n)=>{var r=n(1042),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},2749:(e,t,n)=>{var r=n(1042),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},5749:(e,t,n)=>{var r=n(1042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},8586:(e,t,n)=>{var r=n(6449),a=n(4394),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||o.test(e)||!l.test(e)||null!=t&&e in Object(t)}},4218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7296:(e,t,n)=>{var r,a=n(5481),l=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!l&&l in e}},3702:e=>{e.exports=function(){this.__data__=[],this.size=0}},80:(e,t,n)=>{var r=n(6025),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))}},4739:(e,t,n)=>{var r=n(6025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},8655:(e,t,n)=>{var r=n(6025);e.exports=function(e){return r(this.__data__,e)>-1}},1175:(e,t,n)=>{var r=n(6025);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},3040:(e,t,n)=>{var r=n(1549),a=n(79),l=n(8223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(l||a),string:new r}}},7670:(e,t,n)=>{var r=n(2651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},289:(e,t,n)=>{var r=n(2651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(2651);e.exports=function(e){return r(this,e).has(e)}},2949:(e,t,n)=>{var r=n(2651);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},2224:(e,t,n)=>{var r=n(104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},1042:(e,t,n)=>{var r=n(6110)(Object,"create");e.exports=r},9350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325:(e,t,n)=>{var r=n(4840),a="object"==typeof self&&self&&self.Object===Object&&self,l=r||a||Function("return this")();e.exports=l},1802:(e,t,n)=>{var r=n(2224),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(l,"$1"):n||e)})),t}));e.exports=o},7797:(e,t,n)=>{var r=n(4394);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},7473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},5288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},8156:(e,t,n)=>{var r=n(7422);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},6449:e=>{var t=Array.isArray;e.exports=t},1882:(e,t,n)=>{var r=n(2552),a=n(3805);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4394:(e,t,n)=>{var r=n(2552),a=n(346);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},104:(e,t,n)=>{var r=n(3661);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],l=n.cache;if(l.has(a))return l.get(a);var o=e.apply(this,r);return n.cache=l.set(a,o)||l,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},3222:(e,t,n)=>{var r=n(7556);e.exports=function(e){return null==e?"":r(e)}},4482:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5884),a=n(5363);t.default=(e,t,n)=>{const l=e.localName,o=e.local,i=e.remote,u=e.originForSending,s=e.originForReceiving;let c=!1;n(`${l}: Connecting call receiver`);const f=e=>{if(e.source!==i||e.data.penpal!==r.CALL)return;if(e.origin!==s)return void n(`${l} received message from origin ${e.origin} which did not match expected origin ${s}`);const o=e.data,f=o.methodName,d=o.args,p=o.id;n(`${l}: Received ${f}() call`);const h=e=>t=>{if(n(`${l}: Sending ${f}() reply`),c)return void n(`${l}: Unable to send ${f}() reply due to destroyed connection`);const o={penpal:r.REPLY,id:p,resolution:e,returnValue:t};e===r.REJECTED&&t instanceof Error&&(o.returnValue=(0,a.serializeError)(t),o.returnValueIsError=!0);try{i.postMessage(o,u)}catch(e){throw e.name===r.DATA_CLONE_ERROR&&i.postMessage({penpal:r.REPLY,id:p,resolution:r.REJECTED,returnValue:(0,a.serializeError)(e),returnValueIsError:!0},u),e}};new Promise((e=>e(t[f].apply(t,d)))).then(h(r.FULFILLED),h(r.REJECTED))};return o.addEventListener(r.MESSAGE,f),()=>{c=!0,o.removeEventListener(r.MESSAGE,f)}},e.exports=t.default},2502:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(5884),l=n(8005),o=(r=n(1043))&&r.__esModule?r:{default:r},i=n(5363);t.default=(e,t,n,r,u)=>{const s=t.localName,c=t.local,f=t.remote,d=t.originForSending,p=t.originForReceiving;let h=!1;return u(`${s}: Connecting call sender`),n.reduce(((e,t)=>(e[t]=(e=>function(){for(var t=arguments.length,n=new Array(t),m=0;m{const l=(0,o.default)(),h=n=>{if(n.source!==f||n.data.penpal!==a.REPLY||n.data.id!==l)return;if(n.origin!==p)return void u(`${s} received message from origin ${n.origin} which did not match expected origin ${p}`);u(`${s}: Received ${e}() reply`),c.removeEventListener(a.MESSAGE,h);let o=n.data.returnValue;n.data.returnValueIsError&&(o=(0,i.deserializeError)(o)),(n.data.resolution===a.FULFILLED?t:r)(o)};c.addEventListener(a.MESSAGE,h),f.postMessage({penpal:a.CALL,id:l,methodName:e,args:n},d)}))})(t),e)),e),()=>{h=!0}},e.exports=t.default},7414:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5884),a=n(8005),l=s(n(686)),o=s(n(4482)),i=s(n(2502)),u=s(n(6913));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.parentOrigin,n=void 0===t?"*":t,s=e.methods,c=void 0===s?{}:s,f=e.timeout,d=e.debug;const p=(0,u.default)(d);if(window===window.top){const e=new Error("connectToParent() must be called within an iframe");throw e.code=a.ERR_NOT_IN_IFRAME,e}const h=(0,l.default)(),m=h.destroy,v=h.onDestroy,y=window,g=y.parent;return{promise:new Promise(((e,t)=>{let l;void 0!==f&&(l=setTimeout((()=>{const e=new Error(`Connection to parent timed out after ${f}ms`);e.code=a.ERR_CONNECTION_TIMEOUT,t(e),m()}),f));const u=t=>{try{clearTimeout()}catch(e){return}if(t.source!==g||t.data.penpal!==r.HANDSHAKE_REPLY)return;if("*"!==n&&n!==t.origin)return void p(`Child received handshake reply from origin ${t.origin} which did not match expected origin ${n}`);p("Child: Received handshake reply"),y.removeEventListener(r.MESSAGE,u);const a={localName:"Child",local:y,remote:g,originForSending:"null"===t.origin?"*":t.origin,originForReceiving:t.origin},s={},f=(0,o.default)(a,c,p);v(f);const d=(0,i.default)(s,a,t.data.methodNames,m,p);v(d),clearTimeout(l),e(s)};y.addEventListener(r.MESSAGE,u),v((()=>{y.removeEventListener(r.MESSAGE,u);const e=new Error("Connection destroyed");e.code=a.ERR_CONNECTION_DESTROYED,t(e)})),p("Child: Sending handshake"),g.postMessage({penpal:r.HANDSHAKE,methodNames:Object.keys(c)},n)})),destroy:m}},e.exports=t.default},5884:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATA_CLONE_ERROR=t.MESSAGE=t.REJECTED=t.FULFILLED=t.REPLY=t.CALL=t.HANDSHAKE_REPLY=t.HANDSHAKE=void 0,t.HANDSHAKE="handshake",t.HANDSHAKE_REPLY="handshake-reply",t.CALL="call",t.REPLY="reply",t.FULFILLED="fulfilled",t.REJECTED="rejected",t.MESSAGE="message",t.DATA_CLONE_ERROR="DataCloneError"},686:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=()=>{const e=[];let t=!1;return{destroy(){t=!0,e.forEach((e=>{e()}))},onDestroy(n){t?n():e.push(n)}}},e.exports=t.default},6913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=e=>function(){if(e){for(var t=arguments.length,n=new Array(t),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERR_NO_IFRAME_SRC=t.ERR_NOT_IN_IFRAME=t.ERR_CONNECTION_TIMEOUT=t.ERR_CONNECTION_DESTROYED=void 0,t.ERR_CONNECTION_DESTROYED="ConnectionDestroyed",t.ERR_CONNECTION_TIMEOUT="ConnectionTimeout",t.ERR_NOT_IN_IFRAME="NotInIframe",t.ERR_NO_IFRAME_SRC="NoIframeSrc"},5363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deserializeError=t.serializeError=void 0,t.serializeError=e=>({name:e.name,message:e.message,stack:e.stack}),t.deserializeError=e=>{const t=new Error;return Object.keys(e).forEach((n=>t[n]=e[n])),t}},1043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let n=0;t.default=()=>++n,e.exports=t.default},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n